/* TSP-3207 move the 'limit' field below subscribe buutton */
.section-subscribe .access-offers-wrapper .access-methods-list .subscription-service .offer-details .offer-limits {
    position: absolute;
    bottom: 18px;
    left: 0;
    right: 0;
    height: 82px;
    font-size: 12px !important;
    font-style: normal;
    font-weight: 400 !important;
    line-height: 18px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 0;
}
.section-subscribe .access-offers-wrapper .subscription-service .offer-details {
    min-height:initial;
}
.section-subscribe .access-offers-wrapper .subscription-service .offer-cycle {
    margin-bottom: 16px !important;
}
.section-subscribe .access-offers-wrapper .access-methods-list .subscription-service {
    padding-bottom: 100px !important;
    grid-gap: 0;
}
.section-subscribe .access-offers-wrapper .subscription-service.panel .method-footer a.btn {
    padding: 14px 16px !important;
    width: fit-content;
    margin-bottom: 0;
}

/* for some reason .single-offer panel is inline-block which breaks margin-top:auto for non-single offer */
.section-subscribe  .access-offers-wrapper .access-methods-list:not(.single-offer) .subscription-service.panel .method-footer a.btn {
  margin-top: 8px !important; 
}
@media (max-width: 991px) {
    .access-methods-list.single-offer .offer-details p:last-child {
        margin-bottom: 24px !important;
    }
}


/* end TSP-3207 */



/* subscribe page */
 .access-offers-wrapper {
     color:#404040;
     margin:0 auto 
}
.section-users .access-offers-wrapper {
    width: 75%;
}
 .access-offers-wrapper header {
     font-family: 'Merriweather Sans', sans-serif !important;
 }
 .access-offers-wrapper .offer-group-title, .access-offers-wrapper .offer-group-description {
     color:white;
}

.section-subscribe .section-subscribe #site-navbar-container{
    margin-bottom: 0
}
 .section-subscribe .section-subscribe .row-one > div {
    min-height: auto !important
}
 .section-subscribe #tncms-region-index-breakout-one{
    margin-top: -10px
}
 .section-subscribe .access-offers-wrapper .access-methods-list .subscription-service .method-image img{
    max-width:220px 
}
 .section-subscribe .access-offers-wrapper .access-methods-list{
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    margin-left: 10px;
    margin-right: 10px
}
#access-methods.access-methods-list.single-offer, .access-offers-wrapper .access-methods-list.single-offer {
    grid-template-columns: repeat(auto-fit, minmax(200px, 480px));
    justify-content: center;
    align-items: center;
    text-align: center;
}

.access-offers-block.access-offers-wrapper.access-offers-in-page.access-display-default div.access-methods-list.single-offer {
    grid-template-columns: repeat(auto-fit, minmax(200px, 480px)) !important;
}

 .section-subscribe .access-offers-wrapper .access-methods-list .subscription-service .method-header{
    font-size: 1.7rem;
    padding-top: 15px;
}
 .section-subscribe .access-offers-wrapper .btn.btn-lg{
    font-size: 1.3rem
}
 .section-subscribe .access-offers-wrapper .subscription-service .offer-details{
    margin-left: 20px;
    margin-right: 20px
}
 .section-subscribe:not(.section-success) #tncms-region-index-breakout-one {
    color: #404040;
    background: var(--paywall-offer-bg);
    background: var(--paywall-offer-bg-gradient);
    min-height: 600px;
    padding:40px 0;
}

 .section-subscribe:not(.section-success) #tncms-region-index-breakout-one .mainSubscribeOffer{
     margin:0 auto;
     width: 100%;
     max-width: 1170px;
}


 .section-subscribe:not(.section-success) #tncms-region-front-index-breakout-one {
    display:flex;
    color: #404040;
    background-color:#00548b;
    padding:40px 0;
}
 .section-subscribe:not(.section-success) #tncms-region-front-index-breakout-one{
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}
.section-subscribe.section-simcoe:not(.section-success) #tncms-region-index-breakout-one {
    color: #404040;
    background: #00991F;
    min-height: 600px;
    padding:40px 0;
    margin-left: -15px;
    margin-right: -15px
}
.section-subscribe.section-simcoe:not(.section-success) #tncms-region-front-index-breakout-one {
    display:flex;
    color: #404040;
    background-color:#00991F;
    padding:40px 0;
    margin-left: -15px;
    margin-right: -15px
}
.section-subscribe.section-swg-mtm:not(.section-success) #tncms-region-front-index-breakout-one,
.section-subscribe.section-swg-ann:not(.section-success) #tncms-region-front-index-breakout-one {
    background: var(--paywall-offer-bg);
}

 @media only screen and (max-width: 1156px){
     .section-subscribe #tncms-region-front-index-breakout-one{
        flex-direction: column
    }
}
 @media only screen and (max-width: 767px){
    .section-subscribe #tncms-region-front-index-breakout-one{
        gap:10px
    }
    .section-subscribe #tncms-region-index-breakout-one .access-offers-wrapper{
         margin:0 auto;
         max-width:350px;
    }
}

.access-offers-wrapper .access-methods-list .subscription-service{
    border: 0;
    border-radius: 4px;
    box-shadow: 0 2px 4px 0 rgb(0 0 0 / 15%);
    padding:0 24px;
}
 .section-subscribe .access-offers-wrapper .access-methods-list .subscription-service .method-header{
    color: #333
}
 .access-offers-wrapper .access-methods-list .subscription-service{
    display: flex;
    flex-direction: column;
    padding-bottom: 40px
}
 .access-offers-wrapper .subscription-service .method-description{
    display: none
}
 .access-offers-wrapper .access-methods-list .subscription-service .method-footer{
    margin-top: auto
}
 .access-offers-wrapper .subscription-service .offer-cancel{
    display: none
}
 .access-offers-wrapper .subscription-service .offer-rate, .asset #asset-content .access-offers-wrapper .subscription-service p.offer-rate {
    color: #404040;
    font-family: var(--font-daily-serif);
    font-size: 32px
}
 .access-offers-wrapper .subscription-service .offer-limits, .asset #asset-content .access-offers-wrapper .subscription-service p.offer-limits {
    font-size: 16px;
    line-height: 28.8px;
    margin-bottom: 16px;
    font-weight: 400;
    color: #404040
}
 .access-offers-wrapper .subscription-service .offer-cycle, .asset #asset-content .access-offers-wrapper .subscription-service p.offer-cycle{
    font-size: 16px;
    line-height: 28.8px;
    margin-bottom: 16px;
    font-weight: 400;
    color: #404040 
}

.access-offers-wrapper .subscription-service .offer-savings, .asset #asset-content .access-offers-wrapper .subscription-service p.offer-savings {
    font-size: 16px;
    line-height: 28.8px;
    margin-bottom: 16px !important;
    font-weight: 400;
    color: #404040 
}

 .access-offers-wrapper .subscription-service.panel .btn, .access-methods-list .subscription-service .subscription-service.panel .btn {
    box-shadow: none;
    padding:0;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: none;
    border-radius: 4px;
    height: 48px;
    min-height: 48px;
    font-size: 20px;
    margin-top: 24px;
    margin-bottom: 16px;
    min-width:150px;
    border: 1px solid #b40404;
    background-color:#fff;
    color: #b40404;
}

 .access-offers-wrapper .subscription-service.panel .btn.btn-lg, .access-methods-list .subscription-service .subscription-service.panel .btn.btn-lg  {
     font-size: 1.2rem;
}
 .access-offers-wrapper .subscription-service.panel .btn:hover, .access-methods-list .subscription-service .subscription-service.panel .btn:hover {
     background-color: #fff;
     color: #b40404;
     -webkit-box-shadow: 0 2px 8px 0 rgb(0 0 0 / 40%);
     box-shadow: 0 2px 8px 0 rgb(0 0 0 / 40%);
}

 .access-offers-wrapper .subscription-service.featured .btn:hover,.access-methods-list .subscription-service.featured .btn {
    border: 1px solid #b40404;
    background-color:#b40404;
    color: #fff;
}
 .access-offers-wrapper .subscription-service.featured .btn:hover,.access-methods-list .subscription-service.featured .btn:hover {
    background-color:#fff;
    color: #b40404;
}



 #access-offers-modal .method-featured, .access-offers-wrapper .access-methods-list .subscription-service .method-featured, .access-offers-wrapper .purchase-form-wrapper .featured {
    width: 100%;
    margin-left: 0;
    left: 0;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
     text-align: left
}
 .access-offers-wrapper .access-methods-list .subscription-service .method-featured .featured-icon{
    display: none
}
 .access-offers-wrapper .access-methods-list .subscription-service .method-featured .featured-message{
    display: block;
     line-height: 20px;
     overflow: hidden;
     font-size: 12px;
     width: 120px;
     text-align: center;
     height: 20px;
     position: relative;
     color: white;
     border-top-left-radius: 4px;
     background: rgb(180, 4, 4);
    text-transform: none;
    margin-left: 1px;
    margin-top: 1px;
    letter-spacing: normal 
}
 .access-offers-wrapper .access-methods-list .subscription-service .method-featured .featured-message:before {
     content: "";
     position: absolute;
     left: 115px;
     bottom: 0px;
     width: 0px;
     height: 0px;
     border-right: 5px solid white !important;
     border-top: 10px solid transparent !important;
     border-bottom: 10px solid transparent !important;
}

.access-offers-wrapper .offer-group-title{
    font-size: 34px;
     line-height: 43px;
     margin-bottom: 23px !important;
}
 .access-offers-wrapper .offer-group-description{
    margin-bottom: 30px
}
 @media only screen and (max-width: 767px){
     .access-offers-wrapper .offer-group-title{
        margin-bottom: 20px !important;
         font-size: 22px;
         line-height: 27.65px;
        margin-top: 0
    }
     .access-offers-wrapper header{
        padding-top: 0 !important
    }
     .access-offers-wrapper .offer-group-description{
        margin-bottom: 0px
    }
     .section-subscribe .access-offers-wrapper .access-methods-list{
        margin-top: 0
    }
    
    .section-subscribe:not(.section-success) #tncms-region-index-breakout-one .mainSubscribeOffer {
        width: 90%;
    }

}
 @media (max-width: 991px){
     .access-offers-wrapper .access-methods-list .subscription-service .method-header {
         text-align: center;
         padding-top: 0px;
         padding-bottom:0px;
    }
     .access-offers-wrapper .access-methods-list .subscription-service .offer-details {
        text-align: center
    }
     .access-offers-wrapper .access-methods-list .subscription-service .offer-rate {
         color: #404040;
         font-weight: 700;
         font-size: 25px;
         line-height: normal;
        margin-bottom: 15px !important 
    }
     .access-offers-wrapper .access-methods-list .subscription-service .offer-limits {
        color: #404040;
        font-weight: normal
    }
     .access-offers-wrapper .access-methods-list .subscription-service .btn {
        width: 100%;
        margin-left: 0;
        margin-right: 0
    }
     .access-offers-wrapper .access-methods-list .subscription-service .method-footer {
        align-self: stretch
    }
}

#form-federated-auth-super-purchase .access-offers-wrapper {
    width: 100%;
}
#form-federated-auth-super-purchase .access-offers-wrapper .btn {
    width: 100%;
}
#form-federated-auth-super-purchase .user-login-fed-auth button svg {
    margin-right:10px;
}

.section-subscribe h1, .section-subscribe h2, .section-subscribe h3 {
    font-weight: 700;
}

/* changes for purchase modal */
.access-offers-modal .modal-content {
    background-color: #fff;
}
.access-offers-modal .logged-in.alert.alert-success {
    padding-bottom: 32px;
}
.access-offers-wrapper .form-horizontal input[type=text], .access-offers-wrapper .form-horizontal input[type=number], .access-offers-wrapper .form-horizontal select  {
    background-color: #F8F8F8 !important;
}

/* gift subscription page */
#access-offers-gift-subscription .offer-group-title {color: #333}
#access-offers-gift-subscription .access-offers-wrapper .access-methods-list .subscription-service .method-featured .featured-message {padding-left:36px}

/* subscribe with google - purchase history */
.transaction[data-price="0.00"] .service-price {
    visibility: hidden;
}
.transaction[data-price="0.00"] .service-price:after {
    visibility:visible;
    content: 'N/A';
}
/* subscribe with google - manage subscription */
.services-container .panel-info[data-service-name="Google"] .panel-body {
    visibility: hidden;
}
.services-container .panel-info[data-service-name="Google"] .panel-body:after {
    visibility: visible;
    content: "Subscribe with Google";            
}
#user-modal-tab-purchase-success .modal-footer {
    text-align: center;
}