/*
Deferred styles for the Loomis Sayles theme.

Split out of style.css so the critical half (base typography + header) can load
render-blocking while everything below-the-fold or interaction-triggered loads
async. Everything here was previously the second half of style.css, unchanged
and in its original order — footer, Gravity Forms, consent popup, subscribe
popup, video playback controls, captcha.

Loaded async by thirtysix_add_css_preload(). Keep the cascade order: these rules
must stay AFTER the ones in style.css.
*/

/*============footer======================*/

footer{
    position: relative;
    z-index: 2;
}

footer .wp-block-thirtysix-blocks-column nav .wp-block-navigation{
    gap: 0;
}
footer .wp-block-thirtysix-blocks-column nav ul li + li{
    margin-top: 13px;
}

footer .wp-block-thirtysix-blocks-column nav ul li a span{
    color: #ffffff;
    transition: all 0.3s ease-in-out;
    font-family: var(--wp--preset--font-family--acumin-pro);
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

footer .footer-bottom .wp-block-thirtysix-blocks-column .wp-block-separator{
    margin: 11px 0 6px;
}

footer .footer-bottom .footer-bottom-nav p.copy-right{
    font-size: 14px;
    line-height: 24px;
}

footer .footer-bottom .footer-bottom-nav nav ul{
    gap: 13px;
}

footer .footer-bottom .footer-bottom-nav nav ul li + li{
    margin: 0;
}

footer .footer-bottom .footer-bottom-nav nav ul li a span{
    font-size: 14px;
    line-height: 24px;
}

@media screen and (min-width: 1025px){
    footer .wp-block-thirtysix-blocks-column nav ul li a:hover span{
        text-decoration: underline;
    }
}

@media screen and (max-width: 1024px){
    footer .footer-top-right .wp-block-thirtysix-blocks-variable-width + .wp-block-thirtysix-blocks-variable-width{
        margin-top: 60px;
    }   

    footer .footer-bottom .wp-block-thirtysix-blocks-column .wp-block-separator{
        margin: 20px 0 15px;
    }

    footer .footer-bottom .footer-bottom-nav .wp-block-thirtysix-blocks-variable-width ul.items-justified-right{
        justify-content: flex-start !important;
        margin-top: 26px;
    }
    
}



/*=============g form============*/

.gform_wrapper {
    width: 100%;
}
.gform_wrapper .gform_validation_errors, .gform_wrapper .gform_heading {
    display: none !important;
}
.gform_wrapper form {
    width: 100%;
    display: block;
}
.gform_wrapper form .gform-body .gform_fields {
    grid-column-gap: 20px;
    grid-row-gap: 40px;
}
/* @media screen and (max-width: 767px) {
    .gform_wrapper form .gform-body .gform_fields {
        grid-template-columns: 1fr;
   }
} */
.gform_wrapper form .gform-body .gform_fields .gfield {
    position: relative;
    display: block;
    margin-bottom: 20px;
}
.gform_wrapper form .gform-body .gform_fields .gfield.focus .gfield_label {
    color: var(--wp--preset--color--ui-slate) !important;
}
.gform_wrapper form .gform-body .gform_fields .gfield.focus .gfield_label .gfield_required {
    color: var(--wp--preset--color--ui-slate) !important;
}
.gform_wrapper form .gform-body .gform_fields .gfield .gfield_label {
    color: var(--wp--preset--color--brand-secondary);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    margin: 0;
    padding: 0;
    display: block;
}
.gform_wrapper form .gform-body .gform_fields .gfield .gfield_label .gfield_required {
    color: var(--wp--preset--color--brand-secondary) !important;
}
.gform_wrapper form .gform-body .gform_fields .gfield .ginput_container {
    width: 100%;
    display: block;
}
.gform_wrapper form .gform-body .gform_fields .gfield .gfield_label + .ginput_container.ginput_container_radio{
    margin-top: 10px;
}
.gform_wrapper form .gform-body .gform_fields .gfield .ginput_container input[type="text"], 
.gform_wrapper form .gform-body .gform_fields .gfield .ginput_container input[type="tel"], 
.gform_wrapper form .gform-body .gform_fields .gfield .ginput_container input[type="email"], 
.gform_wrapper form .gform-body .gform_fields .gfield .ginput_container input[type="number"], 
.gform_wrapper form .gform-body .gform_fields .gfield .ginput_container input[type="url"] {
    width: 100%;
    height: 38px;
    padding: 5px 0 8px;
    border-radius: 0;
    outline: 0;
    box-shadow: none;
    color: var(--wp--preset--color--brand-secondary);
    font-size: 20px;
    font-family: var(--wp--preset--font-family--freight-display-pro);
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    background-color: transparent;
    border: 0;
    border-bottom: solid 1px var(--wp--preset--color--brand-primary);
    transition: all 0.3s ease-in-out;
}
.gform_wrapper form .gform-body .gform_fields .gfield .ginput_container select{
    width: 100%;
    height: 38px;
    padding: 5px 0 8px;
    border-radius: 0;
    outline: 0;
    box-shadow: none;
    color: var(--wp--preset--color--brand-secondary);
    font-size: 20px;
    font-family: var(--wp--preset--font-family--freight-display-pro);
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    background-color: transparent;
    border: 0;
    border-bottom: solid 1px var(--wp--preset--color--brand-primary);
    -webkit-appearance: none;
    background-image: var(--icon-chevron-down-blue);
    background-repeat: no-repeat;
    background-position: right center;
    transition: all 0.3s ease-in-out;
}
.gform_wrapper form .gform-body .gform_fields .gfield .ginput_container textarea {
    width: 100%;
    height: 82px;
    padding: 6px 0;
    border-radius: 0;
    outline: 0;
    box-shadow: none;
    color: var(--wp--preset--color--brand-secondary);
    font-size: 20px;
    font-family: var(--wp--preset--font-family--freight-display-pro);
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    resize: none;
    background-color: transparent;
    border: 0;
    border-bottom: solid 1px var(--wp--preset--color--brand-primary);
    transition: all 0.3s ease-in-out;
    @media screen and (max-width: 640px) {
        height: 134px;
    }
}

.gform_wrapper form .gform-body .gform_fields .gfield.gfield--input-type-radio{
    position: relative;
    display: block;
    margin-bottom: 20px;
    border: 0;
    padding: 0;
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
}

.gform_wrapper form .gform-body .gform_fields .gfield.gfield--input-type-captcha{
    display: none;
}

.gform_wrapper form .gform-body .gform_fields .gfield.gfield--type-honeypot{
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.gform_wrapper form .gform-body .gform_fields .gfield.focus .ginput_container input[type="text"], 
.gform_wrapper form .gform-body .gform_fields .gfield.focus .ginput_container input[type="tel"], 
.gform_wrapper form .gform-body .gform_fields .gfield.focus .ginput_container input[type="email"], 
.gform_wrapper form .gform-body .gform_fields .gfield.focus .ginput_container input[type="number"], 
.gform_wrapper form .gform-body .gform_fields .gfield.focus .ginput_container input[type="url"],
.gform_wrapper form .gform-body .gform_fields .gfield.focus .ginput_container textarea{
    border-bottom: solid 3px var(--wp--preset--color--ui-slate);
    position: relative;
    display: block;
    margin-bottom: 20px;
    border: 0;
    padding: 0;
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    border-bottom: solid 1px var(--wp--preset--color--brand-primary);
    transition: all 0.3s ease-in-out;
}

.gform_wrapper form .gform-body .gform_fields .gfield.gfield_error .ginput_container input[type="text"], 
.gform_wrapper form .gform-body .gform_fields .gfield.gfield_error .ginput_container input[type="tel"], 
.gform_wrapper form .gform-body .gform_fields .gfield.gfield_error .ginput_container input[type="email"], 
.gform_wrapper form .gform-body .gform_fields .gfield.gfield_error .ginput_container input[type="number"], 
.gform_wrapper form .gform-body .gform_fields .gfield.gfield_error .ginput_container input[type="url"],
.gform_wrapper form .gform-body .gform_fields .gfield.gfield_error .ginput_container textarea{
    border-bottom: solid 3px #DC0004;
}

.gform_wrapper form .gform-body .gform_fields .gfield .ginput_container .gfield_description.instruction.validation_message {
    display: none !important;
}
.gform_wrapper form .gform-body .gform_fields .gfield .gfield_validation_message {
    font-family: var(--wp--preset--font-family--acumin-pro);
    color: #DC0004;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
    padding: 5px 0;
    margin: 0;
    text-align: left;
    background: transparent;
    border: 0;
}
.gform_wrapper form .gform-body .gform_fields .gfield.gfield--type-html {
    max-width: 588px;
    color: var(--wp--preset--color--brand-primary);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
    display: block;
    margin-top: -26px;
}
.gform_wrapper form .gform-body .gform_fields .gfield.gfield--type-html a {
    color: var(--wp--preset--color--ui-slate);
    text-decoration: underline;
}
.gform_wrapper form .gform_footer {
    width: 100%;
    margin: 0;
    padding-top: 43px !important;
    position: relative;
}
.gform_wrapper form .gform_footer .button {
    padding: 10px 24px 10px 24px !important;
    margin: 0 !important;
    min-width: 128px !important;
    height: 48px !important;
    font-family: var(--wp--preset--font-family--acumin-pro);
    font-size: 14px !important;
    line-height: 24px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    background-color: var(--wp--preset--color--ui-slate) !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 40px !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: all 0.3s ease-in-out !important;
}
@media screen and (min-width: 1025px) {
    .gform_wrapper form .gform_footer .button {
        min-width: 128px;
   }
    .gform_wrapper form .gform_footer .button:hover {
        color: #fff !important;
        background-color: var(--wp--preset--color--brand-secondary) !important;
   }
}
.gform_wrapper form .gform_footer .gform-loader {
    position: absolute;
    left: 130px;
    border-left-color: #fff !important;
    border-top-color: #022922 !important;
    border-right-color: #fff !important;
    border-bottom-color: #022922 !important;
}

/*============Consent Popup============*/


.consent-popup-open{
    overflow: hidden;
}

.consent-popup-wrapper {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}
@media screen and (min-width: 1025px) {
    .consent-popup-wrapper {
        align-items: center;
   }
}
.consent-popup-wrapper.is-active {
    opacity: 1;
    visibility: visible;
}
.consent-popup-wrapper .consent-popup-overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
    background-color: rgba(15, 15, 15, 0.5);
}
.consent-popup {
    max-width: 813px;
    max-height: 100%;
    overflow: auto;
    background-color: #fff;
    border-radius: 8px;
    position: relative;
    z-index: 3;
}
.consent-popup .consent-popup-close {
    width: 19px;
    height: 19px;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    background-color: transparent;
    border: 0;
    padding: 0;
}
.consent-popup .consent-popup-close svg {
    width: 100%;
    height: auto;
    display: block;
}
.consent-popup .consent-popup-close svg path {
    transition: all 0.3s ease-in-out;
}
.consent-popup .consent-popup-close:hover svg path {
    stroke: var(--wp--preset--color--brand-secondary);
}
.consent-popup .consent-popup-in {
    padding: 44px 37px 30px;
}
.consent-popup .consent-popup-content h2 {
    color: var(--wp--preset--color--brand-secondary);
    leading-trim: both;
    text-edge: cap;
    font-family: var(--wp--preset--font-family--freight-display-pro);
    font-size: 32px;
    font-weight: 400;
    line-height: 32px;
}
.consent-popup .consent-popup-content .consent-popup-content-text, .consent-popup .consent-popup-content .consent-popup-content-text p {
    color: var(--wp--preset--color--brand-primary);
    font-family: var(--wp--preset--font-family--acumin-pro);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}
.consent-popup .consent-popup-buttons-wrapper {
    display: flex;
    align-items: center;
    gap: 19px;
    margin-top: 68px;
}
.consent-popup .consent-popup-buttons-wrapper .consent-popup-button-back {
    display: flex;
    padding: 13px 24px 11px 24px;
    justify-content: center;
    align-items: center;
    border-radius: 40px;
    border: 1px solid var(--wp--preset--color--ui-slate);
    color: var(--wp--preset--color--ui-slate);
    font-family: var(--wp--preset--font-family--acumin-pro);
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-decoration: none;
    cursor: pointer;
}
.consent-popup .consent-popup-buttons-wrapper .consent-popup-button-back:hover {
    border-color: var(--wp--preset--color--brand-secondary);
    background-color: var(--wp--preset--color--brand-secondary);
    color: #fff;
}
.consent-popup .consent-popup-buttons-wrapper .consent-popup-button-consent {
    display: flex;
    padding: 13px 24px 11px 24px;
    justify-content: center;
    align-items: center;
    border-radius: 40px;
    background: var(--wp--preset--color--ui-slate);
    color: #fff;
    font-family: var(--wp--preset--font-family--acumin-pro);
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-decoration: none;
}
.consent-popup .consent-popup-buttons-wrapper .consent-popup-button-consent:hover {
    background: var(--wp--preset--color--brand-secondary);
}


/*============Subscribe Popup============*/

.subscribe-from {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999;
}
.subscribe-from:not(.open):not(.closing) {
    opacity: 0 !important;
    visibility: hidden;
}
.subscribe-from.open,
.subscribe-from.closing {
    opacity: 1 !important;
    visibility: visible;
}
.subscribe-from.open {
    pointer-events: all !important;
}
.subscribe-from.open .subscribe-from-in {
    transform: translateX(0);
    transition: transform 1s cubic-bezier(0.645, 0.045, 0.355, 1), -webkit-transform 1s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.subscribe-from:after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    background: #0f0f0f;
    transition: opacity 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.subscribe-from.open:after {
    opacity: 0.5;
    transition: opacity 0.3s cubic-bezier(0.3, 0.045, 0.355, 0.3);
}
.subscribe-from .subscribe-from-in {
    width: 100%;
    height: 100%;
    max-width: 715px;
    padding: 31px 50px 31px 34px;
    background-color: #FFFFFF;
    background-color: var(--wp--preset--color--ui-white);
    isolation: isolate;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
    transform: translate(100%);
    transition: transform 0.5s cubic-bezier(0.645, 0.045, 0.355, 1), -webkit-transform 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.subscribe-from .subscribe-from-in .close-popup {
    width: 19px;
    height: 19px;
    background-image: var(--icon-close-navy);
    background-repeat: no-repeat;
    background-position: right center;
    display: block;
    margin: 0 0 24px auto;
    cursor: pointer;
    border: 0;
    padding: 0 !important;
    background-color: transparent !important;
    border-radius: 0 !important;
}
@media screen and (max-width: 1024px) {
    .subscribe-from .subscribe-from-in {
        padding: 20px;
   }
}
.subscribe-from .subscribe-from-content {
    height: calc(100% - 106px);
    overflow: auto;
    background-color: #FFFFFF;
    background-color: var(--wp--preset--color--ui-white);
}
.subscribe-from .gform_wrapper,
.subscribe-from .gform_wrapper form .gform-body,
.subscribe-from .gform_wrapper form .gform-body .gform_fields .gfield.gfield--input-type-radio {
    background-color: #FFFFFF;
    background-color: var(--wp--preset--color--ui-white);
}
.subscribe-from .gform_wrapper legend.gfield_label,
.subscribe-from .gform_wrapper .gfield--input-type-radio .gfield_label,
.subscribe-from .gform_wrapper .gchoice .gform-field-label--type-inline {
    color: var(--wp--preset--color--brand-secondary) !important;
}
@media screen and (max-width: 1024px) {
    .subscribe-from .subscribe-from-content {
        height: calc(100% - 84px);
   }
}
.subscribe-from .wp-block-heading {
    color: var(--wp--preset--color--brand-secondary);
    font-family: var(--wp--preset--font-family--freight-display-pro);
    font-size: 32px;
    font-weight: 400;
    line-height: 26px;
    margin: 0 0 13px;
}
.subscribe-from .description {
    margin: 0 0 30px;
}
.subscribe-from .description p {
    color: var(--wp--preset--color--brand-primary);
    font-family: var(--wp--preset--font-family--acumin-pro);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}
.subscribe-from .gform_wrapper .gform_footer input[type="submit"] {
    width: 100% !important;
}
.subscribe-from .gform_wrapper .gfield_html {
    max-width: inherit !important;
}
.subscribe-from .gform_wrapper .gform-body .gform_fields .gfield .ginput_container select option {
    color: var(--wp--preset--color--brand-secondary) !important;
}
.subscribe-from .gform_wrapper .gform-body .gform_fields .gfield .ginput_container input::placeholder,
.subscribe-from .gform_wrapper .gform-body .gform_fields .gfield .ginput_container textarea::placeholder,
.subscribe-from .gform_wrapper .gform-body .gform_fields .gfield .ginput_container input::-webkit-input-placeholder, 
.subscribe-from .gform_wrapper .gform-body .gform_fields .gfield .ginput_container textarea::-webkit-input-placeholder {
    color: var(--wp--preset--color--brand-primary);
    opacity: 1;
}
.subscribe-from .gform_wrapper .gform-body .gform_fields .gfield.gfield--input-type-radio .gfield_label{
    margin-bottom: 20px;
}
.subscribe-from .disclaimer {
    padding-top: 20px;
}
.subscribe-from .disclaimer p {
    color: var(--wp--preset--color--brand-primary);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
}

.subscribe-from .gform_confirmation_wrapper ~ .disclaimer {
    display: none;
}

/*============Video Playback Controls============*/

.video-playback-controls .container .pause-button {
    pointer-events: all;
    cursor: pointer;
    display: none;
}

.video-playback-controls .container .play-button {
    pointer-events: all;
    cursor: pointer;
}

.video-playback-controls.video-is-playing-true .pause-button {
    display: block;
}

.video-playback-controls.video-is-playing-true .play-button {
    display: none;
}

.progress-ring__progress {
    transition: stroke-dashoffset 0.3s linear;
}

.play-button,
.pause-button {
    background: none;
    border: 0;
    padding: 0;
    span {
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 30px;
        width: 30px;
        height: 30px;
        border: 3px solid rgba(255,255,255,0.2);
        transition: all 0.2s ease-in-out;
    }
    &:hover{
        span{
            border-color: rgba(255,255,255,0.6);
        }
    }
}

.video-playback-controls{
    position: absolute;
    top: 202px;
    left: 0;
    z-index: 99;
    width: 100%;
    /* opacity: 0;
    visibility: hidden; */
    transition: opacity 0.3s 
    ease-in-out, visibility 0.3s 
    ease-in-out;
    .container{
        max-width: var(--wp--style--global--content-size);
        margin: 0 auto;      
        display: flex;
        justify-content: end;      
    }      
}
.no-announcement .video-playback-controls{
    top: 160px;
}

.block-editor-block-list__layout .header{
    opacity: 1 !important;
}

.is-compact .fancybox__content>.f-button.is-close-btn{
    top: -38px;
    right: 0;
}


/*================================*/


.ls_products-template-default .wp-block-thirtysix-blocks-section:nth-of-type(1) .wp-block-thirtysix-blocks-columns:nth-of-type(2) > .container {
    z-index: 0;
}


/*============Captcha============*/
.grecaptcha-badge { visibility: hidden; }


.half-stack-desktop {
    max-width: 70%;
    text-wrap-style: balance;
}
@media screen and (max-width: 1024) {
    .half-stack-desktop {
        max-width: 100%;
    }
}
