/* PRODUCT CARDS */
.product-new-new {
    display: flex;
    align-content: space-between;
    flex-direction: column;    
}

.product-new-new .pr-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-content: flex-end;
}
.product-new-new .title a {
    line-height: 17px;
}
.product-new-new .title .sub-title {
    line-height: 17px;
}
.product-new-new .pr-prices p {
    font-family: sans-serif;
    font-weight: bold !important;
}
.product-new-new .bottom-icons img {
    width: 18px !important;
    display: inline-block;
}
/* delete when we get rid of old card */
.product.product-new .bottom-icons img {
    width: 18px !important;
    display: inline-block;
}
.product.product-new .bottom-icons {
    width: 100%;
}
.product.product-new .bottom-icons .free-delivery {
    width: 100%;
}
@media(min-width: 1200px) {
    .product.product-new .bottom-icons .free-delivery {
        width: auto;
    }
}
@media(min-width: 992px) {
    .product-new-new .bottom-icons {
        flex: 0 0 100%;
    }
}
/* delete when we get rid of old card */
.color-data img,
.delivery-data img,
.color-data p,
.delivery-data p {
    vertical-align: middle;
}
.product-new-new .bottom-icons {
    width: 100%;
}
.bottom-icons {
    display: flex;
    flex-flow: wrap;
    justify-content: space-between;
}
.bottom-icons.has-delivery {
    justify-content: center;
}
.product-new .bottom-icons .free-delivery {
    width: 100%;
}
@media(min-width: 1200px) {
    .product-new .bottom-icons .free-delivery {
        width: auto;
    }
}
.product-new .bottom-icons p {
    line-height: 26px;
}
@media(min-width: 992px) {
    .product-new-new .pr-info {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .product-new-new  .pr-titles,
    .product-new-new  .pr-prices {
        display: inline-block;
        align-self: center;
    }
    
    .product-new-new  .pr-titles {
        flex: 0 0 70%;
    }
    
    .product-new-new  .pr-prices {
        flex: 0 0 30%;
        border-left: 1px solid lightgray;
    }
    .product-new-new  .pr-prices > div > * {
        width: 100% !important;
    }
    .product-new-new .bottom-icons {
        flex: 0 0 100%;
    }
}

.product-new-new .preview img {
    width: 100%;
    max-width: unset;
}
@media(max-width: 500px) {
    .color-data p,
    .delivery-data p {
        font-size: 11px;
    }
    .product.product-new-new .striken-price {
        font-size: 10px !important;
    }
    .product.product-new-new .price {
        font-size: 12px !important;
    }
    
    .product-new-new .title .sub-title {
        font-size: 10px;
    }
}
/* PRODUCT CARDS */

/* HEADER */
.header-new .cart-img,
.header-new .burger-img {
    width: 25px;
}

.header-new .header-sub-title,
.header-new .header-main-title {
    font-weight: bold;
}

.header-new .subnav {
    overflow: visible;
}

.header-new #cart {
    width: 32px;
}
.header-new #cart span.nm {
    background: #5894cf;
    color: white;
    top: -13px;
    right: -3px
}
.header-new .phone {
    width: 20px;
}
.header-new .options button {
    height: 31px !important;
    line-height: unset;
    padding: 0 20px !important;
}
.header-new .options button i {
    margin: 0;
}
.header-new h1 {
    font-weight: normal !important;
}

#myHeader.header-new .title-cont {
    line-height: 17px !important;
}

@media(max-width: 400px) {
    #myHeader.header-new .title-cont {
        line-height: 20px !important;
    }
    .header-new .header-sub-title {
        font-size: 15px;
    }
    .header-new .header-main-title {
        font-size: 19px;
    }
}
@media(min-width: 400px) AND (max-width: 600px) {
    #myHeader.header-new .title-cont {
        line-height: 25px !important;
    }
    .header-new .header-sub-title {
        font-size: 19px;
    }
    .header-new .header-main-title {
        font-size: 25px;
    }
}
@media(min-width: 600px) AND (max-width: 991px) {
    #myHeader.header-new .title-cont {
        line-height: 27px !important;
    }
    .header-new .header-sub-title {
        font-size: 22px;
    }
    .header-new .header-main-title {
        font-size: 29px;
    }
}


@media(max-width: 991px) {
    .header-new .phone {
        width: 25px;
    }
    .header-new ul.options {
        width: 100%;
        display: block;
    }
}
/* HEADER */
/* SHOP */
.price-filter-cont .price-input {
    width: 45px;
    padding: 3px;
    text-align: center;
}
.price-filter-cont .from-price-input {
    float: left;
    margin-left: 5px;
}
.price-filter-cont .to-price-input {
    float: right;
    margin-right: 5px;
}

.toggle-filters .carret {
    display: inline-block;
    transition: 0.1s transform;
    margin-left: 10px;
    font-size: 1.3rem;
    transform: rotate(90deg);
}

.toggle-filters.is-hidden .carret {
    transform: rotate(0);
}

.h0 {
    font-size: 0;
}
.filter-buttons {
    font-size: 0;
}.filter-buttons button {
    font-size: 1rem;
}

.filter-buttons .clear-filters {
    background-image: linear-gradient(62deg, #99c4ef 0%, #b79ddf 100%);
}
@media(max-width: 991px) {
    .filters-container > * {
        display: none;
    }
    .filters-container > .toggle-filters {
        display: block;
    }

    #breadcrumb a {
        font-size: 12px;
    }
    
    h1 {
        font-size: 29px !important;
    }
    
    .filter-buttons button {
        width: 45%;
        margin: 0 2.5%;
        display: inline-block !important;
    }
    
    .shop-filter {
        margin-bottom: 0 !important;
        
    }
}
/* SHOP */


/* PRODUCT */
.page-product h1 > div:first-of-type {
    border-right: 1px solid rgb(229,229,229);
}

.progress-bar {
    height: 20px;
    background-color: #f5f5f5;
    max-width: 400px;
    border-radius: 1rem;
}

.progress-bar .progress-bar__inner {
    background-color: #5894cf;
    border-radius: 1rem;
}

/* counter n prices */
.old-price-product {
    font-size: 25px;
    line-height: 30px!important;
}

.promo-title {
    line-height: 23px!important;
}
#countdown-timer {
    margin-top: 15px;
}
#countdown-timer .pr-nice-but {
    border-radius: 0;
}
#countdown-timer .pr-nice-but .nice-but {
    font-size: 16px;
    font-weight: normal;
}
#countdown-timer .pr-nice-but .nice-but span {
    font-size: 20px;
}
@media(max-width:990px) {
    #countdown-timer li span.nice-but {
        font-size: 0!important;
    }
    #countdown-timer li span.nice-but span {
        font-size: 16px;
        line-height: 29px;
    }
    #countdown-timer li span.nice-but br {
        display: none;
    }
}
@media(max-width: 500px) {
    .promo-title {
        font-size: 16px !important;
    }
    
    .new-add-info-prod .col-4 {
        padding: 0 5px !important;
        font-size: 14px;
    }
}
@media(max-width: 990px) {
    #buy-on-leasing-dd {
        display: none;
    }
    #buy-on-leasing-dd.is-modal {
        position: fixed;
        z-index: 9999;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        padding: 7px !important;
        background: black;
        background: rgba(0,0,0,0.7);
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    #buy-on-leasing-dd.is-modal > div {
        background: white;
        padding: 10px;
        border-radius: 5px;
    }
}

@media(min-width: 991px) {
    .promo-price {
        font-size: 30px !important;
        margin-left: 5px;
    }
}
@media(min-width: 1200px) {
    .promo-price {
        font-size: 40px !important;
        margin-left: 10px;
    }
}

/* counter n prices */
@media(max-width: 991px) {
    .page-product #fb-customer-chat {
        display: none!important;
    }
    .page-product .fb_dialog iframe {
        bottom: 60px !important;
        right: -6px !important;
    }
}
@media(max-width: 991px) and (orientation: portrait) {
    .page-product h1 {
        position: sticky;
        top: 0;
        background: white;
        border-bottom: 1px solid rgb(229,229,229);
        z-index: 10;
    }
}
/* buy on leasing */
#buy-on-leasing-dd {
    /* display: none; */
}
/* .page-checkout [name="lease-type"] {
    position: absolute;
    left: 0;
    top: calc(50% - 12px + 8px);
} */

.page-checkout .bnpl_button_div,
.page-product .bnpl_button_div {
    width: 100%;
}
.page-checkout .bnpl_row,
.page-product .bnpl_row {
    padding-top: 0;
}

.page-checkout .lease-tbi > table,
.page-product .lease-tbi > table {
    width: 100%;
}
.page-checkout .tbi_button_div_old,
.page-product .tbi_button_div_old {
    width: 100% !important;
}
.page-checkout .dsk_table ,
.page-checkout .dsk_table_img {
    width: 100%;
    max-width: 100% !important;
}
.page-checkout .dsk_table,
.page-product .dsk_table {
    margin-top: 0!important;
}
.page-checkout .dsk_button_table p,
.page-product .dsk_button_table p {
    margin-bottom: 0;
}

.page-checkout .dsk_button_table img,
.page-product .dsk_button_table img {
    width: 100%;
}
/* buy on leasing */

#v-pills-tabContent {
    background: #f5f5f5;
    border: none;
}
#v-pills-tabContent > div {
    padding: 40px 30px;
    margin-top: 25px;
    background: white;
}

@media(max-width: 700px) {
    #v-pills-tab .nav-link {
        padding: 8px 3px !important;
        margin: 0 4px !important;
    } 
}

.page-product .availability,
.page-product .caracrestics b,
.page-product .caracrestics li,
.page-product .caracrestics span,
.page-product .guarantee p,
.page-product .guarantee p b {
    font-size: 1rem;
    font-weight: normal;
    color: black;
}
.page-product #back-to-top {
    display: none;
}
.page-product .add-to-cart-fixed {
    position: fixed;
    bottom: 10px;
    left: 10px;
    right: 10px;
    width: calc(100% - 20px);
    margin-left: 0;
    padding: 15px 5px;
    background: #3333CB;
    color: white;
    z-index: 999;
    text-align: center;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
    }
    
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }
    
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}
.page-product .old-price-product {
    color: #666;
}
.page-product .prices-box .disc-label {
    
}

@media(max-width:991px) {
    .page-product .old-price-product {
        font-size: 17px;
    }
    .page-product footer .footer-bar {
        margin-bottom: 42px;
    }
}
#descriptions-accordion a {
    text-decoration: underline;
    color: #0645ad;
}
#descriptions-accordion .card-header {
    padding: 10px;
}
#descriptions-accordion .card-header  button {
    background: none;
    border: none;
}

#descriptions-accordion .card-header .lil-arrow {
    line-height: 17px!important;
    transition: 0.5s transform, 0.5s top;
    position: relative;
}
#descriptions-accordion .card-header [aria-expanded="true"] .lil-arrow {
    transform: rotate(90deg);
    top: 4px;
}
@media(min-width:991px) {
    #descriptions-accordion .card-header h5,
    #descriptions-accordion .lil-arrow {
        transition: 0.3s color;
    }
    #descriptions-accordion .card-header {
        transition: 0.5s background;
    }
    #descriptions-accordion .card-header:hover {
        background: #5894cf;
    }
    #descriptions-accordion .card-header:hover h5,
    #descriptions-accordion:hover .lil-arrow {
        color: white;
    }
}
/* PRODUCT */





/* equalize carousel card heights */
/* owl - index */
@media(min-width: 750px) {
    .owl-stage,
    .owl-item {
        display: flex;
    }
    .owl-stage .owl-item .pr-cont {
        margin: 0!important;
    }
}
.page-product .owl-stage,
.page-product  .owl-item {
    display: flex;
}

.product-box-carousel.ind-owl .owl-nav .owl-prev, .product-box-carousel.ind-owl .owl-nav .owl-next {
    box-shadow: none;
    background: none;
    border: none;
    font-size: 35px;
    top: 50%;
    background: rgba(88,148,207,0.4);
    border-radius: 50%;
    text-align: center;
    color: white;
    cursor: pointer;
}
.product-box-carousel.ind-owl .owl-nav .owl-prev:hover,
.product-box-carousel.ind-owl .owl-nav .owl-next:hover {
    background: rgba(88,148,207,1);
}
.product-box-carousel.ind-owl .owl-nav .owl-prev.disabled:hover,
.product-box-carousel.ind-owl .owl-nav .owl-next.disabled:hover {
    background: rgba(88,148,207,0.4);
    cursor: auto;
}

.page-product .similar-products .owl-prev,
.page-product .similar-products .owl-next,
.page-product .we-reccomend .owl-prev,
.page-product .we-reccomend .owl-next {
    font-size: 0;
    box-shadow: none;
    background: none;
    border: none;
    position: absolute;
    top: 50%;
    /* background: rgba(88,148,207,0.4); */
    border-radius: 50%;
    text-align: center;
    margin: 0;
    color: black;
    cursor: pointer;
}
.page-product .similar-products .owl-prev::before,
.page-product .similar-products .owl-next::before,
.page-product .we-reccomend .owl-prev::before,
.page-product .we-reccomend .owl-next::before {
    font-size: 28px;
}

.page-product .similar-products .owl-prev,
.page-product .we-reccomend .owl-prev {
    left: -10px;
    padding-right: 3px;
}
.page-product .similar-products .owl-next,
.page-product .we-reccomend .owl-next {
    right: -10px;
    padding-left: 3px;
}
.page-product .we-reccomend,
.page-product .similar-products {
    overflow: hidden;
    position: relative;
}

/* .page-product .similar-products .owl-prev:hover,
.page-product .similar-products .owl-next:hover,
.page-product .we-reccomend .owl-prev:hover,
.page-product .we-reccomend .owl-next:hover {
    background: rgba(88,148,207,1);
} */
/* owl - index */
.notify-on-availability .guide-text {
    font-size: 14px;
}
.notify-on-availability input,
.notify-on-availability button {
    height: 35px;
}



#breadcrumb ol li:last-of-type a {
    text-decoration: underline;
}

.swal-button--cancel {
    color: white;
}

.add-to-cart-modal .swal-footer {
    font-size: 0;
    display: flex;
}
.add-to-cart-modal .swal-footer .swal-button-container {
    font-size: 1rem;
    width: 48%;
    margin: 0
}
.add-to-cart-modal .swal-footer .swal-button-container:first-of-type {
    margin-right: 4%;
}

.add-to-cart-modal .swal-footer .swal-button-container button {
    width: 100%;
    height: 100%;
}


/* page cart */
.cart-timeline .timeline-item  {
    text-align: center;
    position: relative;
}
.cart-timeline .timeline-item .text {
    color: #888;
    display: block;
    font-weight: bold;
}
.cart-timeline .timeline-item .num {
    color: #888;
    width: 76px;
    height: 76px;
    display: inline-block;
    border-radius: 50%;
    border: 3px solid #cfcfcf;
    font-size: 30px;
    line-height: 72px;
    margin-bottom: 10px;
    background: white;
    font-weight: bold;
}

.cart-timeline .timeline-item.active .num {
    color: white;
    border-color: #5894cf;
    background: #5894cf;
}

.cart-timeline .timeline-item.active.last::after {
    background: #cfcfcf;
    
}
.cart-timeline .timeline-item.active::after {
    background: #5894cf;
}
.cart-timeline .timeline-item.active::before {
    background: #5894cf;
}

.cart-timeline .timeline-item::after,
.cart-timeline .timeline-item::before {
    content: '';
    width: 50%;
    position: absolute;
    height: 4px;
    top: 38px;
    z-index: -1;
    background: #cfcfcf;
}
.cart-timeline .timeline-item::before {
    left: 0;
}
.cart-timeline .timeline-item:last-of-type::after,
.cart-timeline .timeline-item:first-of-type::before {
    display: none;
}


.cart-item-row .remove-from-cart {
    font-size: 20px;
    font-weight: bold;
    transition: 0.5s color;
}.cart-item-row .remove-from-cart:hover {
    color: red;
}

.cart-input-container {
    font-size: 0;
}
.cart-input-container button {
    background: #5894cf;
    color: white;
    width: 30px;
    height: 30px;
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 10px;
    float: left;
    padding: 1px 6px;
}
.cart-input-container input {
    font-size: 1rem;
    float: left;
    display: inline-block;
    text-align: center;
    width: calc(100% - 60px);
    height: 30px;
    padding: 0;
    border-radius: 0;
}

.checkout-anchor {
    text-align: center;
    background: #5894cf;
    color: white;
    border: 2px solid #5894cf;
}.checkout-anchor:hover {
    background: white;
    color: #5894cf;
}

.cart-main .text-right,
.page-checkout .text-right {
    text-align: right !important;
}

@media(max-width:768px) {
    .checkout-anchor {
        width: 100%;
        display: block;
    }
}
/* page cart */


/* page checkout */
.page-checkout textarea {
    height: 100px;
}
.page-checkout > .container {
    width: 100%;
} 
@media(min-width: 1200px) {
    .page-checkout > .container {
        max-width: 50%;
    }
}

.page-checkout .dsk_table_img {
    margin-top: 15px !important;
}
@media (max-width: 500px) {
    .page-checkout h1 {
        line-height: 32px!important;
    }
    .page-checkout .checkbox-choices .gdpr-cont label {
        font-size: 12px;
    }
    .page-checkout .dsk_button_table p {
        font-size: 15px;
    }
}

.page-checkout .form-group {
    margin-bottom: 15px;
}
.page-checkout .form-group > label {
    margin-bottom: 5px;
}


.page-checkout input[type="text"],
.page-checkout input[type="email"],
.page-checkout input[type="password"],
.page-checkout input[type="search"],
.page-checkout input[type="tel"],
.page-checkout input[type="number"],
.page-checkout textarea {
    padding: 8px 16px;
}

.sendorder-button {
    display: block;
}
/* page checkout */

/* BESTSELLER */
#gallery-cont .bestseller {
    position: absolute;
    top: 15px;
    left: 25px;
    z-index: 5;
}
#gallery-cont .bestseller img {
    width: 75px;
}

.triangle::after {
    content: '';
    position: absolute;
    width: 0px;
    height: 0px;
}
.triangle.triangle-bottomright::after {
    top: 100%;
    right: 0;
    border-left: 0 solid transparent;
    border-right: 8px solid transparent;
    border-top: 4px solid #e07272;
}
.triangle.triangle-topleft::after {
    bottom: 100%;
    left: 0;
    border-left: 8px solid transparent;
    border-right: 0 solid transparent;
    border-bottom: 4px solid #e07272;
}

.per.new1 {
    margin: 0;
    top: 5px;
    border-radius: 0;
    line-height: 30px;
    width: 107px;
    background: #ff0018!important;
    font-size: 18px;
    font-weight: bold!important;
    box-shadow: 0 0 5px 1px white!important;
}
.per.right {
    right: -8px;
    left: unset;
    border-radius: 15px 0 0 15px;
}
.per.left {
    left: -8px;
    right: unset;
    border-radius: 0 15px 15px 0;
}
.per.bottom {
    top: unset;
    bottom: 5px;
}
.per.bottom-2 {
    top: unset;
    bottom: 40px;
}

.per.days-left {
    width: 140px;
    font-size: 14px
}
.per.days-left {
    width: 140px;
    font-size: 14px;
}
.per.weekly-offert {
    width: 185px;
    font-size: 14px;
}
.per.weekly-offert,
.per.days-left,
.per.right {
    padding: 0;
}

@media(max-width: 700px) {
    .per.days-left {
        width: 95px;
        font-size: 12px;
        line-height: 20px;
    }
    .per.weekly-offert {
        width: 170px;
        font-size: 12px;
        line-height: 20px;
    }
    .per.right {
        width: 65px;
        font-size: 15px;
        line-height: 20px;
        top: 4px;
    }
    .per.bottom-2 {
        bottom: 29px;
    }
    .per.bottom {
        bottom: 4px;
    }
}
@media(max-width: 500px) {
    .per.days-left {
        width: 95px;
        font-size: 10px;
        line-height: 17px;
    }
    .per.weekly-offert {
        width: 140px;
        font-size: 10px;
        line-height: 17px;
    }
    .per.right {
        width: 58px;
        font-size: 13px;
        line-height: 17px;
        top: 3px;
    }
    .per.bottom-2 {
        bottom: 25px;
    }
    .per.bottom {
        bottom: 3px;
    }
}
.per.new.bestseller {
    background: none;
    margin: 0;
    padding: 0;
    box-shadow: none;
    top: -11px;
    right: -9px;
}
.per.new.bestseller.bestseller-inside {
    top: 0;
    right: 0;
}
.per.new.bestseller.bestseller-smaller img {
    width: 35px;
}
.per.new.bestseller img {
    width: 55px;
}
@media(min-width: 420px) {
    .per.new.bestseller img {
        width: 65px;
    }
    .per.new.bestseller.bestseller-smaller img {
        width: 45px;
    }
}
@media(min-width: 520px) {
    .per.new.bestseller img {
        width: 75px;
    }
    .per.new.bestseller.bestseller-smaller img {
        width: 55px;
    }
}
@media(min-width: 991px) {
    #gallery-cont .bestseller img {
        width: 111px;
    }
    .per.new.bestseller img {
        width: 100px;
    }
    .per.new.bestseller.bestseller-smaller img {
        width: 80px;
    }
}


/* BESTSELLER */






.page-product #fast-order-modal .closebut,
.page-product #fast-order-modal .confirm,
.page-product #directions-modal .closebut,
.page-product #directions-modal .confirm,
.page-product #variations-modal .closebut,
.page-product #variations-modal .confirm {
    border-radius: 0;
    padding: 13px 30px!important;
}
.page-product #fast-order-modal .closebut::before,
.page-product #fast-order-modal .confirm::before,
.page-product #directions-modal .closebut::before,
.page-product #directions-modal .confirm::before,
.page-product #variations-modal .closebut::before,
.page-product #variations-modal .confirm::before {
    content: unset;
}
.page-product .pr-nice-but-cont.blue-vision,
.page-product .pr-nice-but.blue-vision,
.page-product .pr-nice-but.blue-vision.active,
.page-product .pr-nice-but-cont.blue-vision.active {
    background-image: none;
    border-radius: 0;
}
.page-product .pr-nice-but-cont.blue-vision > div,
.page-product .pr-nice-but.blue-vision > div,
.page-product .pr-nice-but-cont.blue-vision.active > div,
.page-product .pr-nice-but.blue-vision.active > div {
    border-radius: 0;
}
.page-product .pr-nice-but-cont.blue-vision .nice-but,
.page-product .pr-nice-but.blue-vision .nice-but,
.page-product .pr-nice-but-cont.blue-vision.active .nice-but,
.page-product .pr-nice-but.blue-vision.active .nice-but {
    color: #5894cf;
}
.page-product .pr-nice-but-cont.blue-vision.active button,
.page-product .pr-nice-but-cont.blue-vision.active div, 
.page-product .pr-nice-but-cont.blue-vision:hover button,
.page-product .pr-nice-but-cont.blue-vision:hover div, 
.page-product .pr-nice-but-cont.blue-vision.active:hover button,
.page-product .pr-nice-but-cont.blue-vision.active:hover div {
    background-image: unset;
    background: white!important;
}

.page-product .pr-nice-but.blue-vision .arrow,
.page-product .pr-nice-but-cont.blue-vision .arrow,
.page-product .pr-nice-but-cont.blue-vision:hover .arrow,
.page-product .pr-nice-but-cont.blue-vision.active .arrow {
    border-color: #5894cf;
}


.page-product .add-to-cart-desktop-but.btn {
    padding: 15px 20px !important;
    font-size: 18px !important;
}

.page-product .btn.small::before {
    border: none;
}
.page-product .pr-nice-but .bg-cont,
.page-product .pr-nice-but-cont .bg-cont {
    line-height: 24px;
}
.page-product .pr-nice-but .bg-cont a,
.page-product .pr-nice-but .bg-cont span,
.page-product .pr-nice-but-cont .bg-cont button {
    font-size: 18px !important;
}


.page-product .capitalize-first-letter:first-letter {
    text-transform: uppercase;
}
/* lease on desktop on click toggle */




.top-left-hat {
    position: absolute;
    top: -103px;
    left: -32px;
    max-width: 180px;
    z-index: 1;
}

.top-left-hat.hat-small {
    max-width: 100px;
    top: -28px;
    left: -18px;
    max-width: 65px;
    transition: 0.5s opacity;
}

@media(max-width: 991px) {
    .top-left-hat {
        max-width: 80px;
        top: -45px;
        left: -9px;
    }
}

#about-us-accordion button .top-left-hat {
    opacity: 0;
}

#about-us-accordion button[aria-expanded="true"] .top-left-hat {
    opacity: 1;
}

.snow-cap-with-img {
    position: absolute;
    top: -10%;
    left: -5%;
    max-width: calc(100% + 10%);
    z-index: 1;
    transition: 0.5s opacity;
    right: -5%;
}

.snow-cap {
    position: relative;
}

.snow-cap::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -6px;
    right: -6px;
    width: 100%;
    width: calc(100% + 12px);
    height: 20px;
    z-index: 9999;
    
    background-image: url("/images/snowcap.webp");
    background-size: 145px;
    background-position: top;
    background-repeat: repeat no-repeat;
}



@media (max-width: 991px) {
    .snow-cap::before {
        top: -9px;
    }
}

#tbi-elements-container > * {
    display: none;
}

.rotate-y-180 {
    transform: rotateY(180deg) !important;
}










.template-391 {
    display: none;
    min-height: 100vh;
    width: 100vw;
    top: 0;
    left: 0;
    position: fixed;
    z-index: 999999999;
    background: rgba(0, 0, 0, .75);
}

.template-391 .template__header,
.template-391 .template__footer {
    position: relative;
    z-index: 2;
}

.template-391 .template__inner {
    width: 96%;
    background: #fff;
    max-width: 820px;
    margin-top: 15px;
    overflow-y: auto;
    height: 88vh;
    max-height: 100vh;
    position: relative;
}

.template-391 .template__body {
    position: relative;
    height: calc(100% - 225px);
    overflow: hidden;
}

@media (min-width: 767px) {

    .template-391 .template__body {
        height: calc(100% - 140px);
    }
}

.template-391 .template__body > .row {
    overflow-x: hidden;
    overflow-y: auto;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
}

@media (min-width: 992px) {
    
    .template-391 .template__inner {
        margin-top: 30px;
        height: 92vh;
    }
}


@media (min-width: 993px) {
    
    .template-391 .tab-content {
        overflow-x: hidden;
        overflow-y: auto;
        /* max-height: 410px; */
    } 
}

.template-391 .tab-content::-webkit-scrollbar {
    width: 6px;
}

.template-391 .tab-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.template-391 .tab-content::-webkit-scrollbar-thumb {
    background: #888;
}

.template-391 .tab-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.template-391 .nav-pills .nav-link.active {
    background: #5894cf;
    color: white!important;
}

.template-391 .template__footer button {
    width: 100%;
}

.template-391 .switch {
    position: relative;
    display: inline-block;
    width: 66px;
    height: 34px;
    margin-bottom: 0;
}

.template-391 .switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.template-391  .switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}
.template-391  .switch .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 28px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

.template-391  .switch input:checked + .slider {
    background-color: #2196F3;
}

.template-391  .switch input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

.template-391  .switch input:checked + .slider:before {
    -webkit-transform: translateX(30px);
    -ms-transform: translateX(30px);
    transform: translateX(30px);
}


.template-391 .switch__words:before {
    content: "OFF";
    color: #fff;
    position: absolute;
    z-index: 10;
    font-size: 14px;
    font-weight: 700;
    left: 34px;
    top: 50%;
    transform: translateY(-50%);
}

.template-391 .switch:has(input:checked) .switch__words:before {
    content: 'ON';
    left: 5px;
}

@media (max-width: 991px) {
    .template-391 .tab-content {
        max-height: unset;
    }
}

@media (min-width: 767px) {

    .template-391 .template__footer button {
        width: auto;
    }
}

@media (min-width: 992px) {
    
    .template-391 .template__inner {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .template-391 .btn-2 {
        height: 35px;
        line-height: 0px;
        font-size: 14px;
        letter-spacing: 0;
    }
}