/* Upgrade Page style */

.offer-filter-wrap{
    width: 100%;
    margin: auto;
    background: #FFF;
    display: flex;
}
.offer-filter-wrap label{
    position: relative;
}

.offer-filter-wrap ul{
    float:left;
    width:100%;
    padding:0;
    margin:0;
    list-style-type:none;
}

.offer-filter-wrap li{
    display:inline;
    padding: 20px 15px;
}

.offer-filter-wrap input{
    margin-right: 10px;
    cursor: pointer;
}

.bsf-offer-section {
    display: none;
    visibility: hidden;
    transition: visibility 0.3s linear,opacity 0.3s linear;
    margin-top: 0px;
}

.bsf-active-offer.bsf-offer-section{
    display: block;
    visibility: visible;
}

.offer-filter-wrap input[type=radio]{
    display: none;
}

.offer-filter-wrap input[type=radio]:checked:before{
    font-size: 12px;
    margin-left: -8px;
    margin-top: 0;
    width: 17px;
    content: '';
}

.offer-filter-group input[type=radio]:checked{
    border-color: #66a700;
}

.offer-filter-group label{
    font-size: 17px;
}

li.offer-filter-group.offer-143516 {
    position: relative;
}
li.offer-filter-group.offer-143516 label:before {
    content: "Best Deal";
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: #25ae57;
    padding: 4px 8px;
    color: #ffffff;
    border-radius: 4px;
    position: absolute;
    top: auto;
    bottom: calc(100% + 13px);
    left: 0;
    width: auto;
    border-bottom-left-radius: 0;
}
li.offer-filter-group.offer-143516 label:after {
    content: '';
    width: 0;
    position: absolute;
    left: 0px;
    top: auto;
    bottom: calc(100% + 5px);
    border-left: 0px solid transparent;
    border-right: 5px solid transparent;
    border-top: 8px solid #25ae57;
}

.bsf-offer-section .bsf-pricing-table-features a.button{
    padding: 12px 14px;
    background: #66a700;
}

.agency-content-1{
    text-align: left;
    flex: 1;
    margin-left: 10px;
    padding-left: 10px;
}

.offer-filter-wrap label {
    color: #2c2d30;
    cursor: pointer;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 -1px;
    padding: 18px 10px;
    text-align: center;
    box-shadow: inset 0 6px 0 0 #d7dde2;
    background: #eef3f7;
    transition: box-shadow 125ms ease-out,background-color 125ms ease-out;
}
.offer-filter-wrap label:hover {
    background-color: #edeff3;
    box-shadow: inset 0 6px 0 0 #c2c8cf;
}
.offer-filter-wrap input:checked + label{
    color: #2c2d30;
    border-bottom: 1px solid #fff;
    background-color: #fff;
    box-shadow: inset 0 6px 0 0 #66a700;
    cursor: pointer;
}
/*FAQ Section Style*/

.bsf-store-testimonials {
    min-height: 260px;
    padding: 20px 40px;
    margin: 10px 0;
    border-radius: 8px 8px 8px 8px;
    border: 1px solid #F8F9FB;
    box-shadow: 0 0 5px 0 rgba(78, 78, 78, 0.04), 0 4px 16px 0 rgba(10,31,68,0.06);
}

/* Growth Bundle Upgrade */

.agency-title{
    text-align: left;
}

.agency-title h2 {
    font-size: 30px;
    font-weight: 600;
}

.bsf-store-upgrade-license-box,
.bsf-agency-upgrade-license-box {
    width: 100%;
    margin: auto;
    background: #fff;
    padding: 30px 30px 50px;
    text-align: center;
    position: relative;
}

.bsf-agency-upgrade-license-box{
    padding:20px 30px 50px;
}

.bsf-store-upgrade-license-box{
    margin-bottom: 40px;
}

.bsf-store-upgrade-license-box h3{
    line-height: 1.8;
}

.agency-description {
    width: 100%;
    max-width: 670px;
    margin: auto;
    padding-bottom: 10px;
}
.agency-description p{
    margin-bottom: 20px;
}

.bsf-agency-features-content {
    text-align: left;
    flex: 1;
    padding-left: 25px;
    font-size: 17px;
    flex-direction: column;
}
.offer-143516 {
    position: relative;
}

/*.offer-396346:before,
.offer-396344:before,
.offer-4086048:before,*/
.offer-143516:before {
    content: "";
    text-transform: uppercase;
    font-size: 12px;
    text-align: center;
    background: #85bf31;
    padding: 4px 8px;
    color: #ffffff;
    border-radius: 4px;
    position: absolute;
    bottom: calc(100% + 10px);
    z-index: 9;
    left: 50%;
    transform: translate(-50%);
    width: 81px;
    border-bottom-left-radius: 4px;
    box-sizing: content-box;
}

/*.offer-396346:after, 
.offer-396344:after,
.offer-4086048:after,*/
.offer-143516:after {
    content: '';
    width: auto;
    position: absolute;
    left: 50%;
    bottom: calc(100% + 3px);
    border-right: 7px solid transparent;
    border-left: 7px solid transparent;
    border-top: 7px solid #85bf31;
    transform: translateX(-50%);
}
/*
.offer-396346:before {
    content: "Best Deal!";
}
.offer-396344:before {
    content: "Best Deal!";
}
.offer-4086048:before {
    content: "Best Deal!";
}
*/
.offer-143516:before {
    content: "Popular!";
}

.bsf-pricing-tb-wrapper {
    text-align: center;
    flex: 2;
    flex-wrap: wrap;
    padding: 10px;
}

span.bsf-reg-price {
    text-decoration: line-through;
    font-size: 0.85em;
    color: #999999;
    margin-right: 3px;
    letter-spacing: 0.5px;
}

.bsf-flex,
.col-2 .bsf-flex {
     display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
}

.bsf-agency-img-content img {
    float: right;
    width: 67%;
}

.bsf-pricing-tb-wrapper {
    margin-top: 0px;
}

.agency-upgrades{
    display: flex;
    display: -webkit-flex;
}

.upgrade-license-wrapper .pricing-table {
    border: none !important;
    box-shadow: 0px 2px 40px #eae7f1;
}

.bsf-agency-features ul{
	margin: 0 0 0 20px;
}

.bsf-agency-features ul li {
    font-size: 15px;
    line-height: 30px;
    list-style: none;
    list-style-position: outside;
    margin-left: -21px;
}
.bsf-agency-features ul li:before {
    content: url(/wp-content/themes/brainstorm-force-edd-store/images/right.png);
    vertical-align: middle;
    padding-right: 3px;
}

.bsf-agency-read-more {
    font-size: 16px;
    display: block;
}

.bsf-pricing-table{
    flex: 1;
}

.bsf-pricing-table-features .license-title {
    font-size: 20px;
    line-height: 1.8;
    font-weight: 600;
    color: #2c2d30;
    text-transform: uppercase;
}
.license-title,
.bsf-feature-title{
    font-size: 20px;
}
.offer-filter-wrap.bsf-single-offer label {
    font-size: 24px;
}
.bsf-feature-title{
    margin-bottom: 15px;
}

.bsf-pricing-table-features a.button {
    padding: 13px 26px;
}

.bsf-pricing-table-features a.button.btn-lifetime-license {
    background: #66a700;
}
.bsf-pricing-table-features a.button:hover {
    border-color: #002094;
    background-color: #002094;
    box-shadow: inset 0 -2px rgba(0, 0, 0, 0.13)
}

.bsf-pricing-table .pricing-table-price {
    margin: 25px auto;
}

/* Products license Upgrade */

.page-template-template-upgrade-page .pricing-section {
   display: block;
   width: 100%;
   margin: 6% auto 0;
   padding: 0 5%;
   max-width: 1600px;
}

.bsf-store-upgrade-license-box .pricing-table-price {
    font-size: 40px;
    line-height: 48px;
}

/* Upgrade Menu - Label */
.upgrade-offer-menu a:after {
    content: "";
    position: absolute;
    right: auto;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    line-height: 1;
    margin-left: 6px;
    background-image: url('/wp-content/themes/brainstorm-force-edd-store/images/fire.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 1em;
    height: 1em;
}
.upgrade-offer-main-menu a:after {
    content: "";
    position: relative;
    left: 0;
    font-size: 20px;
    line-height: 1;
    margin-left: 6px;
    background-image: url(/wp-content/themes/brainstorm-force-edd-store/images/fire.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 1em;
    height: 1em;
}

/* Upgrade Page Customizations - Store upgrade license box */

.bsf-store-upgrade-license-boxes h5 {
    font-weight: 600;
    font-family: 'Lato', sans-serif !important;
    margin-bottom: 20px;
}
.bsf-store-upgrade-license-boxes {
    background: #fff;
    position: relative;
    display: block;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto 40px;
    padding: 40px 40px 30px;
    overflow: hidden;
}

/* Upgrade Page - When user have only one license */
.bsf-pricing-table-features {
    padding: 30px 35px;
    border-radius: 8px 8px 8px 8px;
    border: 1px solid #e8e8e8;
    min-height: 320px;
    vertical-align: middle;
    margin: 0 15px;
}
.pricing-table-discount-price {
    color: #2c2d30;
    font-size: 20px;
    line-height: 38px;
    font-weight: 500;
    vertical-align: middle;
}
.pricing-table {
    position: relative;
}
.pricing-table-original-price > span {
    font-size: 16px;
    text-decoration: line-through;
    color: #969696;
    margin-right: 5px;
    vertical-align: middle;
}
.bsf-upgrade-offer-wrap{
    font-size: 15px;
    margin: 10px 0 25px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed #e8e8e8;
}
.bsf-one-time{
    font-size: 15px;
}
.pricing-table-product-name {
    margin-top: 10px;
    font-size: 22px;
}
.pricing-table-price-desc {
    margin-top: 2%;
}
.pricing-table.upgrade-to-download-143516-price-option-2 {
    padding-top: 5%;
    padding-bottom: 5%;
}
.renewal-fee, 
.renewal-time {
    width: 100%;
    display: block;
}

.renewal-time {
    font-style: italic;
    font-size: 0.9em;
    line-height:1.9em;
}

/* Upgrade Page - When user doesn't purchase any license */
.pricing-section .content-not-logged-in {
    text-align: left;
}
.pricing-section > .post {
    position: relative;
    max-width: 1600px;
    margin: 0 auto;
    overflow: hidden;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}
.pricing-section > .post > .post-content {
    background: #fff;
    position: relative;
    display: block;
    width: 78%;
    max-width: 1600px;
    margin: 0 auto 40px;
    overflow: hidden;
}
.pricing-section .post .support-purchase-option {
    text-align: left;
}

/*Thank you page*/

.page-sub-heading {
    text-align: center;
    font-weight: 600;
    margin-bottom: 35px;
}
.store-block-warp {
    display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: stretch;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    margin:0 auto 35px auto;
}

.store-block {
    width: calc(100% / 2 - 20px);
    margin: 10px;
    padding: 25px 25px 30px 25px;
    background-color: #fff;
    border: 1px solid #ebeff3;
    border-radius: .280rem;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.store-block-warp h4 {
    font-size: 21px;
    line-height: 29px;
    font-weight: 700;
}

#edd_purchase_receipt_products th,
#edd_purchase_receipt th {
    padding: 15px;
}

@media (min-width: 920px) and (max-width: 1366px) { 
    .bsf-agency-features ul li {
        font-size: 13px;
    }
    .bsf-pricing-table-features {
        padding: 30px 10px;
    }
    .bsf-agency-features-content {
        padding-left: 20px;
    }
}

.page-template-template-upgrade-page.ast-separate-container .ast-article-single {
    float: left;
    width: 100%;
    padding: 90px 80px;
}
@media (max-width: 544px) {
    .page-template-template-upgrade-page.ast-separate-container .ast-article-single {
        padding: 1em;
    }
}

.page-template-template-upgrade-page #masthead:focus{
    outline: none;
}

.bf-upgrade-notification {
    font-size: 18px;
    background: rgba(133, 191, 48, 0.15);
    border: 1px solid rgba(102, 167, 0, 0.45);
    color: #3e5a12;
    padding: 20px 40px;
    text-align: center;
    width: auto;
    max-width: max-content;
    margin: 0 auto;
}

/* Mobile responsive view */
@media (max-width: 768px) {
    .bf-upgrade-notification {
        font-size: 16px;
        line-height: 1.5;
        padding: 15px;
        margin-bottom: 50px !important;
    }
    .offer-filter-wrap label {
        font-size: 13px;
        line-height: 1.5;
        padding: 15px 5px;
    }
    .bsf-store-upgrade-license-box,
    .bsf-agency-upgrade-license-box {
        padding: 25px 0;
    }
    .agency-description p {
        margin-bottom: 10px;
    }
    #edd_sl_license_upgrades {
        flex-direction: column;
    }
    .bsf-pricing-tb-wrapper {
        flex-direction: column;
    }
    .bsf-pricing-table-features {
        padding: 25px 10px;
        margin: 0 0 20px;
        min-height: auto;
    }
    .bsf-pricing-table-features .license-title {
        font-size: 16px;
    }
    .bsf-upgrade-offer-wrap {
        margin: 10px 0 15px;
    }
    .bsf-offer-section .bsf-pricing-table-features a.button {
        display: inline-block;
        width: auto;
        margin: 0 auto;
    }
    .bsf-feature-title {
        font-size: 18px;
    }
    .bsf-agency-features ul li {
        font-size: 15px;
        line-height: 1.5;
        margin: 0 0 5px -20px;
        list-style: none;
    }
    .offer-143516:before {
        font-size: 10px;
        width: auto;
    }
    .ast-advanced-headers.ast-normal-title-enabled .main-header-bar {
        background-image: none;
    }
}
