/**
 * Paywall counter
 */

.paywall_counter{
    margin: 2em 0;
    border: 1px solid #EB1414;
    padding: 1em .7em;

    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.sub_btn{
    display: block; 
    clear: both; 
    border-radius: 3px; 
    background-color: #c8252f; 
    width: 50%; 
    color: #FFF; 
    text-align: center; 
    font-weight: bold; 
    font-size: 1.5em; 
    text-decoration: none; 
    margin: 0 auto; 
    position: relative; 
    top: 1em;
    padding: 2%;
}
.already_sub_link{
    color: white;
    display: block;
    clear: both;
    margin-top: 45px;
    text-align: center;
}
.paywall_close{
    position: absolute; top: -20px; right: -25px; cursor: pointer;
}

.paywall_text{
    margin: 0 0 2em;
}

#paywall_bg{
    padding-top: 50px;
    width: 100%;
}
#paywallWrapper{
    margin: 5% 20%;
    color: #fff;
    position: relative;
}
.table_left, .table_center{
    float: left;
}

.table_left{
    width: 45%;
}
.table_center{
    width: 25%;
    padding-left: 2.5%;
    background: #000;
    position: relative;
}
.table_right{
    float: right;
    width: 25%;
    text-align: left;
}
.table_row{
    border-bottom: 1px solid #555;
    zoom: 1;
}
.table_row:after{
    content: '.';
    height: 0;
    display: block;
    clear: both;
    visibility: hidden;
}

/**
 * Todo: this will be duplicated when expiration code gets
 * merged -- dry it out at some point
 */

.pricing_stamp{
       -moz-border-radius: 55px;
    -webkit-border-radius: 55px;
            border-radius: 55px;
       -moz-transform: rotate(-15deg);
        -ms-transform: rotate(-15deg);
    -webkit-transform: rotate(-15deg);
            transform: rotate(-15deg);
    display: table;
    background: #c8252f;
    font-size: 15px;
    font-weight: bold;
    height: 110px;
    position: absolute;
    left: -105px;
    text-align: center;
    text-transform: uppercase;
    top: -55px;
    width: 110px;
}
.pricing_stamp > span{
    display: table-cell;
    vertical-align: middle;
}

.paywall_text_b_first {
    margin-bottom: 0.5em;
}

@media screen and (max-width: 768px) {
    .paywall_text_b {
        font-size: 1.1em;
        font-weight: bold;
    }
    .pricing_stamp {
        font-size: 10px;
        width: 70px;
        height: 70px;
        top: -45px;
        left: -75px;
    }
    .pricing_stamp > span {
        line-height: 13px;
    }
}

@media screen and (max-width: 700px){
    #paywallWrapper{
        margin: 5%;
    }
    .table_left{
        width: 42%;
        margin-right: 2%;
    }
    .table_right{
        width: 28%;
    }
    .table_center{
        width: 24%;
        padding-left: 2%;
    }
}

@media screen and (max-width: 500px){
    .table_left{
        width: 34%;
        margin-right: 2%;
    }
    .table_center, .table_right{
        width: 32%;
        background: none;
    }
    .paywall_text{
        margin-bottom: 1em;
    }
    .medium_header{
        margin-bottom: .5em;
    }
}
