/* Remove this line if WooCommerce is not used on this site */
@import "woo-style.css";

/* Child theme fonts */
:root {
    --font-family--default: 'neue-haas-grotesk-text';
    --font-family--h--1: 'neue-haas-grotesk-text';
    --font-family--h--2: var(--font-family--h--1);
    --font-family--h--3: var(--font-family--h--1);
    --font-family--h--4: var(--font-family--h--1);
    --font-family--h--5: var(--font-family--h--1);
    --font-family--h--6: var(--font-family--h--1);
    --font-family--h--2--footer: var(--font-family--h--1);
    --font-family--h--3--footer: var(--font-family--h--1);
    --font-family--h--4--footer: var(--font-family--h--1);
    --font-family--main-navigation: var(--font-family--default);
    --font-family--dropdown: var(--font-family--default);
    --font-family--megamenu--heading: var(--font-family--h--1);
    --font-family--gallery--caption: var(--font-family--default);
    --font-family--collapsible: var(--font-family--default);
    --font-family--tab: var(--font-family--default);
    --font-family--button: var(--font-family--default);
    --font-family--h--sub-heading--0: var(--font-family--h--1);
    --font-family--h--lead-text--0: var(--font-family--default);
}

/* Query Loop Fix */
.wp-block-post .imt-card .imt-buttons {
    flex-grow: 1;
    justify-content: flex-end;
}

/* collabsible code from Roofman */
.imt-collapsible-container[data-background-button=imt-bg-color-accent-5] .imt-collapsible>button {
    /* REMOVE: added to parent in 1.1.248*/
    display: flex;
    justify-content: space-between;
}

/* Gallery lightbox arrows */
/* Example from Second Nature */
/* Gallery lightbox arrows - positioning */
body figure.lightbox>a {
    /* REMOVE: added to parent in 1.1.248*/
    padding: 0 60px !important;
}

body figure.lightbox i.fa-solid {
    /* REMOVE: added to parent in 1.1.248*/
    top: 0 !important;
    bottom: 0 !important;
}

/* override section min-height from parent styles */
.imt-section {
    /* REMOVE: added to parent in 1.1.248*/
    min-height: 30px;
}

/* specificity fix for nested sections */
.imt-card .imt-section {
    padding-top: 0 !important;
    padding-bottom: 0;
}

/* border radius specificity fix */
.imt-card.imt-border-radius-0 {
    border-radius: 0 !important;
}

/* main nav right spacer between menu and cta button */
nav.imt-main-nav {
    /* REMOVE: added to parent in 1.1.248*/
    margin-right: calc(var(--wp--custom--imt--spacer) * 1);
}

/* Main Navigation */
.imt-header-sm nav.imt-main-nav>div ul>li a:hover {
    color: var(--wp--custom--imt--main-navigation--link--top-level--hover--color);
}

.imt-header-sm nav.imt-main-nav>div ul>li a.imt-current-menu-item {
    color: var(--wp--custom--imt--main-navigation--link--top-level--active--color);
}

@media only screen and (min-width: 1281px) {
    nav.imt-main-nav>div>ul>li:not(.megamenu) .submenu.imt-menu-level-2 {
        border: calc(var(--wp--custom--imt--border-width) * 1) solid var(--wp--custom--imt--color--background--secondary--color) !important;
        border-top: none !important;
    }

    /* Additional desktop mods for 2nd and 3rd level dropdown links where 3rd level links are supplied */
    nav.imt-main-nav>div>ul>li:not(.megamenu) .submenu>.imt-link-level-2.has-children {
        font-weight: 500;
    }

    nav.imt-main-nav>div>ul>li:not(.megamenu) .submenu>.imt-link-level-2.has-children>ul.imt-menu-level-3>li.imt-link-level-3 {
        padding-left: 24px;
    }

    /* nav.imt-main-nav>div>ul>li:not(.megamenu) .submenu.imt-menu-level-3 {
        border:calc(var(--wp--custom--imt--border-width) * 1) solid var(--wp--custom--imt--color--background--secondary--color) !important;
        border-left: none !important;
    } */

    nav.imt-main-nav.full-mega>div>ul>li.megamenu>.submenu .imt-megamenu-wrapper {
        justify-content: center;
    }

    nav.imt-main-nav.full-mega>div>ul>li.megamenu>.submenu .imt-megamenu-wrapper li.imt-link-level-2 {
        max-width: 25%;
    }

    nav.imt-main-nav.full-mega>div>ul>li.megamenu>.submenu .imt-megamenu-wrapper li.imt-link-level-2.imt-mm-two-col {
        max-width: 50%;
    }

    nav.imt-main-nav.full-mega>div>ul>li.megamenu>.submenu .imt-megamenu-wrapper li.imt-link-level-2.imt-mm-two-col .submenu {
        column-count: 2;
        column-gap: calc(var(--wp--custom--imt--spacer) * 1);
    }

    nav.imt-main-nav .imt-link-level-1>.imt-current-menu-item,
    nav.imt-main-nav>div ul>li.imt-link-level-1>a:hover {
        position: relative;
    }

    nav.imt-main-nav .imt-link-level-1>.imt-current-menu-item:after,
    nav.imt-main-nav>div ul>li.imt-link-level-1>a:hover:after {
        content: '';
        position: absolute;
        bottom: 1px;
        left: 0;
        right: 0;
        margin: 0 auto;
        width: 32px;
        height: 8px;
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
    }

    nav.imt-main-nav .imt-link-level-1>.imt-current-menu-item:after {
        background-color: var(--wp--custom--imt--color--palette--background--primary--active);
    }

    nav.imt-main-nav>div ul>li.imt-link-level-1>a:hover:after {
        background-color: var(--wp--custom--imt--color--palette--background--secondary--active);
    }

    nav.imt-main-nav>div ul>li.imt-link-level-1>a:hover:before {
        content: '';
        position: absolute;
        bottom: 0px;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: var(--wp--custom--imt--color--palette--background--secondary--active);
    }

    /* Position and display icons */
    .imt-mm-icon>a {
        position: relative;
        padding: 16px 0 16px 0 !important
    }

    .imt-mm-online-advertising a::before {
        background: url('/wp-content/uploads/2024/09/Online_Advertising-Green.png');
    }

    .imt-mm-web-dev a::before {
        background: url('/wp-content/uploads/2024/09/Web_Dev-Orange.png');
    }

    .imt-mm-conv-tracking a::before {
        background: url('/wp-content/uploads/2024/09/Success_Reporting-Orange.png');
    }

    .imt-mm-seo a::before {
        background: url('/wp-content/uploads/2024/09/SEO-Green.png');
    }

    .imt-mm-content a::before {
        background: url('/wp-content/uploads/2024/09/Copywriting-Content-Orange.png');
    }

    .imt-mm-leadership a::before {
        background: url('/wp-content/uploads/2024/09/Leadership_Development-Green.png');
    }

    .imt-mm-icon>a::before {
        content: '';
        position: absolute;
        top: 0;
        left: -60px;
        background-position: center;
        background-repeat: no-repeat;
        background-size: 48px 48px;
        width: 48px;
        height: 48px;
    }

    /* overlap form/section above it */
    .imt-section-overlap-top-100 {
        margin-top: -150px;
        z-index: 2;
    }

    .imt-section-overlap-top-100 .imt-section__background {
        margin-top: 150px;
    }

    .imt-hero {
        margin-bottom: 120px;
    }

    .imt-hero-no-margin-bottom {
        margin-bottom: 0px;
    }
}

/* Request an Estimate form custom styles */
/* ---------- CHECKBOXES & RADIOS ---------- */
#gform_wrapper_7 .gfield--type-checkbox:not(.imt-standard-checkbox) .gfield_checkbox,
#gform_wrapper_7 .gfield--type-radio:not(.imt-standard-radio) .gfield_radio {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: calc(var(--wp--custom--imt--spacer) * 0.5);
    column-gap: calc(var(--wp--custom--imt--spacer) * 0.5);
    margin-top: calc(var(--wp--custom--imt--spacer) * 1) !important;
}

#gform_wrapper_7 .gfield--type-checkbox:not(.imt-standard-checkbox) .gfield_checkbox>.gchoice,
#gform_wrapper_7 .gfield--type-radio:not(.imt-standard-radio) .gfield_radio>.gchoice {
    margin: 0 !important;
    border: 2px solid #C8C6C4 !important;
    border-radius: 8px;
    transition: var(--wp--custom--imt--hover-transition);
}

#gform_wrapper_7 .gfield--type-checkbox:not(.imt-standard-checkbox) .gfield_checkbox>.gchoice:hover,
#gform_wrapper_7 .gfield--type-radio:not(.imt-standard-radio) .gfield_radio>.gchoice:hover {
    border-color: var(--wp--custom--imt--color--palette--background--accent--1--active) !important;
    background-color: #FFF6DF;
}

#gform_wrapper_7 .gfield--type-checkbox:not(.imt-standard-checkbox) .gfield_checkbox>.gchoice:focus-within,
#gform_wrapper_7 .gfield--type-radio:not(.imt-standard-radio) .gfield_radio>.gchoice:focus-within {
    border-color: var(--wp--custom--imt--color--palette--background--accent--4--active) !important;
    background-color: #EFF7E5;
}

#gform_wrapper_7 .gfield--type-checkbox:not(.imt-standard-checkbox) .gfield-choice-input+label,
#gform_wrapper_7 .gfield--type-radio:not(.imt-standard-radio) .gfield-choice-input+label {
    color: var(--wp--custom--imt--color--text--dark);
    display: flex;
    max-width: 100% !important;
    padding: calc(var(--wp--custom--imt--spacer) * 1) !important;
    text-align: center;
    height: 100% !important;
    line-height: 1.3;
}

/* checkboxes are styled as :before so it needs to be column-reverse and flex-end */
#gform_wrapper_7 .gfield--type-checkbox:not(.imt-standard-checkbox) .gfield-choice-input+label {
    flex-direction: column-reverse;
    justify-content: flex-end;
}

/* radio buttons are styled as :after so it needs to be column and flex-start */
#gform_wrapper_7 .gfield--type-radio:not(.imt-standard-radio) .gfield-choice-input+label {
    flex-direction: column;
    justify-content: flex-start;
}

#gform_wrapper_7 .gfield--type-checkbox:not(.imt-standard-checkbox) input[type=checkbox]+label:after,
#gform_wrapper_7 .gfield--type-radio:not(.imt-standard-radio) input[type=radio]+label:before {
    display: block !important;
    height: 80px;
    width: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url('/wp-content/uploads/2023/07/Conversion-Machine-Placeholder.png') !important;
    position: relative;
    margin-bottom: calc(var(--wp--custom--imt--spacer) * 0.5) !important;
}

/* +30px for checkboxes (taller item) */
#gform_wrapper_7 .gfield--type-checkbox:not(.imt-standard-checkbox) input[type=checkbox]+label:after {
    margin-top: calc((var(--wp--custom--imt--spacer) * 0.5) + 30px) !important;
}

/* +20px for checkboxes (shorter item) */
#gform_wrapper_7 .gfield--type-radio:not(.imt-standard-radio) input[type=radio]+label:before {
    margin-top: calc((var(--wp--custom--imt--spacer) * 0.5) + 20px) !important;
}

#gform_wrapper_7 .imt-standard-checkbox .gfield-choice-input+label,
#gform_wrapper_7 .imt-standard-radio .gfield-choice-input+label {
    max-width: 100% !important;
    line-height: 1.1;
    padding-top: 3px !important;
}

@media only screen and (min-width:1281px) {

    #gform_wrapper_7 .gfield--type-checkbox:not(.imt-standard-checkbox) .gfield_checkbox>.gchoice,
    #gform_wrapper_7 .gfield--type-radio:not(.imt-standard-radio) .gfield_radio>.gchoice {
        width: calc((100% / 4) - (var(--wp--custom--imt--spacer) * 0.5)) !important;
    }

    /* style 3 per row on 2nd page with 3 denominator */
    #gform_wrapper_7 #gform_page_7_2 .gfield--type-checkbox:not(.imt-standard-checkbox) .gfield_checkbox>.gchoice,
    #gform_wrapper_7 #gform_page_7_2 .gfield--type-radio:not(.imt-standard-radio) .gfield_radio>.gchoice {
        width: calc((100% / 3) - (var(--wp--custom--imt--spacer) * 0.5)) !important;
    }
}

@media only screen and (max-width:1280px) {

    /* moved from separate @media query to keep together */
    #gform_wrapper_7 .gfield_checkbox>.gchoice,
    #gform_wrapper_7 .gfield_radio>.gchoice {
        width: 100% !important;
    }

    #gform_wrapper_7 .imt-standard-checkbox .gfield_checkbox,
    #gform_wrapper_7 .imt-standard-radio .gfield_radio {
        /* flex-flow: column wrap; */
        grid-column-gap: 0 !important;
        grid-template-columns: 1fr !important;
    }
}

#gform_wrapper_7 .gfield--type-checkbox:not(.imt-standard-checkbox) input[type=checkbox]+label:before,
#gform_wrapper_7 .gfield--type-radio:not(.imt-standard-radio) input[type=radio]+label:after {
    top: calc(var(--wp--custom--imt--spacer) * 1) !important;
    left: calc(var(--wp--custom--imt--spacer) * 1) !important;
    line-height: 1.3 !important;
}

/* --------- PAGE 1 - REVENUE --------- */
#gform_wrapper_7 .imt-revenue .ginput_container .gfield_radio .gchoice:nth-child(1) label:before {
    background-image: url('/wp-content/uploads/2024/09/1M.png') !important;
    /* 1M Replacement */
}

#gform_wrapper_7 .imt-revenue .ginput_container .gfield_radio .gchoice:nth-child(1):focus-within label:before {
    background-image: url('/wp-content/uploads/2024/09/1M-Focus.png') !important;
    /* 1M Focus Replacement */
}

#gform_wrapper_7 .imt-revenue .ginput_container .gfield_radio .gchoice:nth-child(2) label:before {
    background-image: url('/wp-content/uploads/2024/09/5M.png') !important;
    /* 5M Replacement */
}

#gform_wrapper_7 .imt-revenue .ginput_container .gfield_radio .gchoice:nth-child(2):focus-within label:before {
    background-image: url('/wp-content/uploads/2024/09/5M-Focus.png') !important;
    /* 5M Focus Replacement */
}

#gform_wrapper_7 .imt-revenue .ginput_container .gfield_radio .gchoice:nth-child(3) label:before {
    background-image: url('/wp-content/uploads/2024/09/10M.png') !important;
    /* 10M Replacement */
}

#gform_wrapper_7 .imt-revenue .ginput_container .gfield_radio .gchoice:nth-child(3):focus-within label:before {
    background-image: url('/wp-content/uploads/2024/09/10M-Focus.png') !important;
    /* 10M Focus Replacement */
}

#gform_wrapper_7 .imt-revenue .ginput_container .gfield_radio .gchoice:nth-child(4) label:before {
    background-image: url('/wp-content/uploads/2024/09/10M-Plus.png') !important;
    /* 10M+ Replacement */
}

#gform_wrapper_7 .imt-revenue .ginput_container .gfield_radio .gchoice:nth-child(4):focus-within label:before {
    background-image: url('/wp-content/uploads/2024/09/10M-Plus-Focus.png') !important;
    /* 10M+ Focus Replacement */
}

/* --------- PAGE 2 - FOCUS --------- */
#gform_wrapper_7 .imt-focus .ginput_container .gfield_radio .gchoice:nth-child(1) label:before {
    background-image: url('/wp-content/uploads/2025/12/Residential.png') !important;
    /* Residential Replacement */
}

#gform_wrapper_7 .imt-focus .ginput_container .gfield_radio .gchoice:nth-child(1):focus-within label:before {
    background-image: url('/wp-content/uploads/2025/12/Residential-Focus.png') !important;
    /* Residential Focus Replacement */
}

#gform_wrapper_7 .imt-focus .ginput_container .gfield_radio .gchoice:nth-child(2) label:before {
    background-image: url('/wp-content/uploads/2025/12/Commercial.png') !important;
    /* Commercial Replacement */
}

#gform_wrapper_7 .imt-focus .ginput_container .gfield_radio .gchoice:nth-child(2):focus-within label:before {
    background-image: url('/wp-content/uploads/2025/12/Commercial-Focus.png') !important;
    /* Commercial Focus Replacement */
}

#gform_wrapper_7 .imt-focus .ginput_container .gfield_radio .gchoice:nth-child(3) label:before {
    background-image: url('/wp-content/uploads/2025/12/Both.png') !important;
    /* Both Replacement */
}

#gform_wrapper_7 .imt-focus .ginput_container .gfield_radio .gchoice:nth-child(3):focus-within label:before {
    background-image: url('/wp-content/uploads/2025/12/Both-Focus.png') !important;
    /* Both Focus Replacement */
}

@media only screen and (max-width: 1280px) {
    body figure.lightbox>a {
        /* REMOVE: added to parent in 1.1.248*/
        padding: 0 40px !important;
    }

    body figure.lightbox i.fa-close {
        /* REMOVE: added to parent in 1.1.248*/
        right: 10px !important;
    }

    figure.lightbox i.fa-solid:nth-child(2) {
        /* REMOVE: added to parent in 1.1.248*/
        left: 10px !important;
    }

    body figure.lightbox i.fa-solid:last-of-type {
        /* REMOVE: added to parent in 1.1.248*/
        right: 10px !important;
    }
}

/* Mobile navigation background */
@media only screen and (max-width: 1280px) {
    nav.imt-main-nav.offcanvas #imt-offcanvas>ul>li .submenu {
        /* REMOVE: added to parent in 1.1.248*/
        width: auto;
        padding-right: 0 !important;
    }

    nav.imt-main-nav.offcanvas #imt-offcanvas .acf-innerblocks-container {
        padding-top: calc(var(--wp--custom--imt--spacer) * 1);
        background-color: #fff !important;
    }

    nav.imt-main-nav {
        /* REMOVE: added to parent in 1.1.248*/
        margin-right: 0;
    }

    #imt-menu-toggle i {
        /* REMOVE: added to parent in 1.1.248*/
        min-width: 24px;
    }

    /* Request A Quote, mobile */
    .imt-main-nav .imt-btn-1 a {
        /* REMOVE: added to parent in 1.1.248*/
        justify-content: center !important;
    }

    /* center mobile navigation */
    nav.imt-main-nav li.menu-item {
        text-align: center;
    }

    nav.imt-main-nav.offcanvas #imt-offcanvas>ul>li a {
        font-weight: var(--wp--custom--imt--main-navigation--font--weight) !important;
        font-size: var(--wp--custom--imt--main-navigation--font--font-size) !important;
        display: block !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    nav.imt-main-nav>div ul>li .submenu {
        min-width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }
}

/* Logo slider */
.imt-section .imt-logo-slider .imt-slide {
    height: 120px;
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.imt-section .imt-logo-slider .imt-slide .imt-img-max-width-sm img {
    max-width: var(--wp--custom--imt--image--max-width--sm);
    max-height: var(--wp--custom--imt--image--max-width--sm);
    width: auto;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Testimonial slider */
h2.imt-custom-testimonial-heading-icon:before {
    position: absolute;
    font-weight: 400;
    font-family: var(--font-family--h--1);
    content: "\201D";
    color: rgba(255, 255, 255, 0.25);
    font-size: 150px;
    top: 35px;
    left: 50%;
    transform: translate(-50%);
    z-index: -1;
}

@media only screen and (max-width: 600px) {

    /* Testimonial slider */
    .imt-slider-style-2 .slick-slide {
        padding: calc(var(--wp--custom--imt--spacer) * 2) calc(var(--wp--custom--imt--spacer) * 1) !important;
    }

    /* Slider controls */
    .imt-slider .slick-prev {
        top: calc(100% + 22px) !important;
        left: calc(50% - 115px) !important;
    }

    .imt-slider .slick-next {
        top: calc(100% + 22px) !important;
        right: calc(50% - 115px) !important;
    }

    /* Logo slider */
    .imt-logo-slider .slick-slider {
        margin-bottom: 64px;
    }

    .imt-imt-logo-slider .slick-slider .slick-slide {
        min-height: 100px;
    }

    .imt-slider.imt-logo-slider .slick-slide {
        padding: 16px !important;
        margin: 0 !important;
    }
}

/* vertically center content in small media row content areas; add for both media row styles used */
@media only screen and (min-width: 600px) {

    .imt-media-row-style-default>.imt-content-col>.imt-content-col__inner,
    .imt-media-row-style-1>.imt-content-col>.imt-content-col__inner,
    .imt-media-row-style-2>.imt-content-col>.imt-content-col__inner,
    .imt-media-row-style-3>.imt-content-col>.imt-content-col__inner {
        display: flex;
        align-items: center;
    }
}

/* Adjust media row content paragraphs bottom margin */
.imt-media-row-style-default .imt-paragraphs p:last-of-type,
.imt-media-row-style-1 .imt-paragraphs p:last-of-type,
.imt-media-row-style-2 .imt-paragraphs p:last-of-type,
.imt-media-row-style-3 .imt-paragraphs p:last-of-type {
    /* REMOVE: added to parent in 1.1.248*/
    margin-bottom: 0;
}

/* Media row -- override width of images on mobile */
@media only screen and (max-width: 800px) {
    .imt-media-col__inner.imt-img-as-bg {
        /* REMOVE: added to parent in 1.1.248*/
        width: calc(100% + 64px) !important;
        left: -32px;
        height: 300px !important;
    }

    /* fix content background positioning */
    .imt-content-col__inner .imt-content-col__background {
        /* REMOVE: added to parent in 1.1.248*/
        width: calc(100% + 128px) !important;
        left: -64px !important;
        /* top: -64px !important;
        padding-bottom: 128px; */
    }

    /* add in min height to force media rows on mobile to take the correct min height */
    .imt-content-col__inner {
        /* REMOVE: added to parent in 1.1.248*/
        /* margin-bottom: 12px !important; */
        min-height: var(--wp--custom--imt--media-row--style--content--mobile--min-height) !important;
    }

    /* .imt-media-row-style-default,
    .imt-media-row-style-1,
    .imt-media-row-style-3 {
        margin-bottom: 36px !important;
    } */

    /* .imt-media-col {
        margin-top: 0px !important;
    } */

    .imt-section .imt-media-row.imt-media-row-style-default .imt-media-col,
    /* REMOVE: added to parent in 1.1.248*/
    .imt-section .imt-media-row.imt-media-row-style-1 .imt-media-col,
    /* REMOVE: added to parent in 1.1.248*/
    .imt-section .imt-media-row.imt-media-row-style-2 .imt-media-col,
    /* REMOVE: added to parent in 1.1.248*/
    .imt-section .imt-media-row.imt-media-row-style-3 .imt-media-col {
        /* REMOVE: added to parent in 1.1.248*/
        margin: 0px !important;
    }
}

/* Gravity forms */
/* .gform_fields .gfield {
    margin-top: 0px;
} */

.gform_fields input,
.gform_fields textarea,
.gform_fields select,
.gform_fields .chosen-choices,
.gform_fields .chosen-choices .search-choice,
.gform_fields .chosen-single {
    border-radius: 8px !important;
    /* REMOVE: added to parent in 1.1.248*/
    border-color: var(--wp--custom--imt--color--palette--background--neutral--700) !important;
    /* REMOVE: added to parent in 1.1.248*/
    border-style: solid;
    /* REMOVE: added to parent in 1.1.248*/
    font-family: var(--font-family--default) !important;
    box-shadow: none !important;
    /* REMOVE: added to parent in 1.1.248*/
    background-color: #fff !important;
    /* REMOVE: added to parent in 1.1.248*/
}

.gform_wrapper.gravity-theme input:not([type=radio]):not([type=checkbox]):not([type=image]):not([type=file]) {
    /* REMOVE: added to parent in 1.1.248*/
    line-height: 24px;
    /* REMOVE: added to parent in 1.1.248*/
}

.gform_fields .gfield_description {
    /* REMOVE: added to parent in 1.1.248*/
    color: var(--wp--custom--imt--color--text--dark) !important;
    padding-top: 4px !important;
}

.gform_fields .gfield_label {
    margin-bottom: 2px !important;
    /* REMOVE: added to parent in 1.1.248 theme.json does not work, keep for now*/
}

.gform_fields .gsection_title {
    color: var(--wp--custom--imt--color--palette--background--primary--active);
    font-weight: 400 !important;
    font-family: var(--font-family--default);
    font-size: 18px;
}

.gform_fields .gform-field-label--type-sub {
    /* REMOVE: added to parent in 1.1.248*/
    font-size: 14px !important;
    color: var(--wp--custom--imt--color--palette--background--text--dark) !important;
}

.gform_required_legend {
    /* REMOVE: added to parent in 1.1.248*/
    color: var(--wp--custom--imt--color--palette--background--text--dark);
    margin: 0 0 8px !important;
    font-size: calc(var(--wp--custom--imt--font-size) * .89);
    text-align: center;
}

@media only screen and (max-width: 800px) {
    .gform_required_legend {
        /* REMOVE: added to parent in 1.1.248*/
        margin-bottom: 0px !important;
    }
}

.gform_footer input.gform_button,
.gform_button_select_files,
.gform_next_button,
.gform_previous_button,
.gform_button {
    border-radius: var(--wp--custom--imt--button--sm--border-radius);
    /* REMOVE: added to parent in 1.1.248*/
    font-weight: var(--wp--custom--imt--button--sm--font-weight);
    /* REMOVE: added to parent in 1.1.248*/
    box-shadow: var(--wp--custom--imt--button--sm--box-shadow--default);
    /* REMOVE: added to parent in 1.1.248*/
    font-family: var(--font-family--button);
    transition: var(--wp--custom--imt--hover-transition);
    /* REMOVE: added to parent in 1.1.248*/
}

.gform_footer input.gform_button:hover,
.gform_button_select_files:hover,
.gform_next_button:hover,
.gform_previous_button:hover,
.gform_button:hover {
    /* REMOVE: added to parent in 1.1.248*/
    cursor: pointer;
    box-shadow: var(--wp--custom--imt--button--sm--box-shadow--hover);
}

.gform_footer {
    /* REMOVE: added to parent in 1.1.248*/
    padding-top: calc(var(--wp--custom--imt--spacer) * 2) !important;
    padding-bottom: 0px !important;
    margin: 0px !important;
}

.gform_fields .ginput_complex {
    margin-bottom: 0px;
}

.gform_fields .ginput_complex label {
    /* REMOVE: added to parent in 1.1.248*/
    color: var(--wp--custom--imt--color--text--dark);
    margin-top: 2px;
    line-height: normal;
    padding-top: 0px !important;
}

.gform_fields .ginput_container--name {
    margin-bottom: -2px;
}

@media only screen and (max-width: 800px) {
    .gform_footer {
        /* REMOVE: added to parent in 1.1.248*/
        padding-bottom: 24px !important;
    }

    .gform_fields .ginput_container--name {
        margin-bottom: -8px;
    }
}

.gform_wrapper .button.gform_previous_button {
    /* REMOVE: added to parent in 1.1.248*/
    margin-right: calc(var(--wp--custom--imt--spacer) * 1) !important;
}

/* adjust padding for progress bar text */
.gf_progressbar_title {
    /* REMOVE: added to parent in 1.1.248*/
    margin-bottom: calc(var(--wp--custom--imt--spacer) * 0.5) !important;
}

/* update validation color and padding */
.gfield_description.validation_message {
    /* REMOVE: added to parent in 1.1.248*/
    color: var(--wp--custom--imt--color--palette--text--danger) !important;
    padding-top: 12.992px !important;
    background-color: #fff9f9 !important;
}

/* 404 page button */
.error404 form[role="search"] button[type="submit"],
.search form[role="search"] button[type="submit"] {
    padding: var(--wp--custom--imt--button--default--padding);
    /* REMOVE: added to parent in 1.1.248*/
    border-radius: var(--wp--custom--imt--button--default--border-radius);
    /* REMOVE: added to parent in 1.1.248*/
    text-transform: var(--wp--custom--imt--button--default--transform);
    /* REMOVE: added to parent in 1.1.248*/
    background-color: var(--wp--custom--imt--color--palette--background--primary--active);
    /* REMOVE: added to parent in 1.1.248*/
    font-family: var(--font-family--default);
    font-size: var(--wp--custom--imt--button--default--font-size);
    /* REMOVE: added to parent in 1.1.248*/
    font-weight: var(--wp--custom--imt--button--default--font-weight);
    /* REMOVE: added to parent in 1.1.248*/
    box-shadow: var(--wp--custom--imt--button--default--box-shadow--default);
    /* REMOVE: added to parent in 1.1.248*/
    transition: var(--wp--custom--imt--hover-transition);
    /* REMOVE: added to parent in 1.1.248*/
    color: var(--wp--custom--imt--color--palette--primary--text-color);
}

.error404 form[role="search"] button[type="submit"]:hover,
.search form[role="search"] button[type="submit"]:hover {
    /* REMOVE: added to parent in 1.1.248*/
    background-color: var(--wp--custom--imt--color--background--primary--hover--button--color);
    box-shadow: var(--wp--custom--imt--button--default--box-shadow--hover);
}

.wp-block-search__input {
    border-color: var(--wp--custom--imt--color--text--dark);
    border-width: 2px;
    border-radius: 8px;
}

.wp-block-search__input:focus,
.wp-block-search__input:focus-within {
    border-color: var(--wp--custom--imt--color--palette--background--secondary--active) !important;
}

#error-404 h1,
.imt-single h1 {
    font-weight: var(--wp--custom--imt--h--1--font-weight);
}

#error-404 .imt-paragraphs,
.imt-single .imt-paragraphs {
    font-size: var(--wp--custom--imt--font-size);
}

#error-404 .imt-lead-text--0 {
    font-size: var(--wp--custom--imt--h--lead-text--0--font-size);
}

/* Repace Twitter logo with X logo */
.fa-twitter::before {
    content: "\e61b" !important;
}

/* hover icon show */
.imt-hover-reveal-icon .imt-btn-icon {
    /* REMOVE: added to parent in 1.1.248*/
    float: right;
    margin-left: 10px;
}

.imt-hover-reveal-icon .imt-btn {
    /* REMOVE: added to parent in 1.1.248*/
    transition: opacity 0.3s linear 0s;
    position: relative;
}

.imt-hover-reveal-icon .imt-btn span.imt-link-text {
    /* REMOVE: added to parent in 1.1.248*/
    left: 0;
    position: relative;
    transition: all 0.2s ease-out 0s;
}

.imt-hover-reveal-icon .imt-btn span.imt-btn-icon {
    /* REMOVE: added to parent in 1.1.248*/
    width: 18px;
    position: absolute;
    right: 30px;
    top: 50%;
    margin-top: -9px;
    line-height: 18px;
    opacity: 0;
    transition: all 0.2s ease-out 0s;
}

.imt-hover-reveal-icon article.imt-card:hover .imt-btn span.imt-link-text {
    /* REMOVE: added to parent in 1.1.248*/
    left: -18px;
}

.imt-hover-reveal-icon article.imt-card:hover .imt-btn span.imt-btn-icon {
    /* REMOVE: added to parent in 1.1.248*/
    opacity: 1;
    right: 12px;
}

/* Footer text links */
#imt-footer-wrapper .imt-buttons .imt-btn-wrapper .imt-btn.imt-btn-text {
    font-size: calc(var(--wp--custom--imt--font-size) * .89);
}

/* Blog query loop support */
body.blog .imt-query-loop .imt-card .imt-paragraphs,
body.archive .imt-query-loop .imt-card .imt-paragraphs,
body.search .imt-query-loop .imt-card .imt-paragraphs {
    flex-grow: 1;
    text-align: center;
}

body.blog nav.wp-block-query-pagination,
body.archive nav.wp-block-query-pagination,
body.search nav.wp-block-query-pagination {
    justify-content: center;
    margin-top: calc(var(--wp--custom--imt--spacer) * 2);
}

/* Blog and query loop cleanup */
body.imt-sticky-header main .imt-query-loop .imt-section:first-of-type {
    margin-top: 0;
    padding-top: 0;
}

/* Mobile query loop cleanup */
@media only screen and (max-width: 600px) {
    .imt-query-loop .imt-section {
        padding: var(--wp--custom--imt--section--padding--mobile) !important;
    }

    .imt-query-loop .imt-section.imt-padding-top-0 {
        padding-top: 0 !important;
    }

    .imt-query-loop .imt-section.imt-padding-bottom-0 {
        padding-bottom: 0 !important;
    }
}

/* Support full range of card widths for query loop inside card group */
.imt-section.imt-section-query-loop-wrapper .imt-card-group>.acf-innerblocks-container {
    /* row-gap: 0;
    -moz-column-gap: 0;
    column-gap: 0; */
    display: block;
}

.imt-section.imt-section-query-loop-wrapper .imt-card-group>.acf-innerblocks-container .imt-query-loop ul.wp-block-post-template {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: var(--wp--custom--imt--card-group--style--default--gutter--row--default);
    -moz-column-gap: var(--wp--custom--imt--card-group--style--default--gutter--column--default);
    column-gap: var(--wp--custom--imt--card-group--style--default--gutter--column--default);
}

.imt-section.imt-section-query-loop-wrapper .imt-card-group.imt-cards-per-row-1>.acf-innerblocks-container .imt-query-loop ul.wp-block-post-template li.wp-block-post {
    width: calc(100%) !important;
}

.imt-section.imt-section-query-loop-wrapper .imt-card-group.imt-cards-per-row-2>.acf-innerblocks-container .imt-query-loop ul.wp-block-post-template li.wp-block-post {
    width: calc((100% - var(--wp--custom--imt--card-group--style--default--gutter--column--default) * 1)/ 2) !important;
}

.imt-section.imt-section-query-loop-wrapper .imt-card-group.imt-cards-per-row-3>.acf-innerblocks-container .imt-query-loop ul.wp-block-post-template li.wp-block-post {
    width: calc((100% - var(--wp--custom--imt--card-group--style--default--gutter--column--default) * 2)/ 3) !important;
}

.imt-section.imt-section-query-loop-wrapper .imt-card-group.imt-cards-per-row-4>.acf-innerblocks-container .imt-query-loop ul.wp-block-post-template li.wp-block-post {
    width: calc((100% - var(--wp--custom--imt--card-group--style--default--gutter--column--default) * 3)/ 4) !important;
    ;
}

.imt-section.imt-section-query-loop-wrapper .imt-card-group.imt-cards-per-row-5>.acf-innerblocks-container .imt-query-loop ul.wp-block-post-template li.wp-block-post {
    width: calc((100% - var(--wp--custom--imt--card-group--style--default--gutter--column--default) * 4)/ 5) !important;
    ;
}

.imt-section.imt-section-query-loop-wrapper .imt-card-group.imt-cards-per-row-6>.acf-innerblocks-container .imt-query-loop ul.wp-block-post-template li.wp-block-post {
    width: calc((100% - var(--wp--custom--imt--card-group--style--default--gutter--column--default) * 5)/ 6) !important;
    ;
}

.imt-section .imt-card-group>.acf-innerblocks-container .imt-query-loop ul.wp-block-post-template li.wp-block-post .imt-card,
.imt-section .imt-card-group>.acf-innerblocks-container .imt-query-loop ul.wp-block-post-template li.wp-block-post>.wp-block-imt-card {
    width: 100% !important;
    height: 100%;
}

@media only screen and (max-width: 600px) {

    .imt-section.imt-section-query-loop-wrapper .imt-card-group.imt-cards-per-row-1>.acf-innerblocks-container .imt-query-loop ul.wp-block-post-template li.wp-block-post,
    .imt-section.imt-section-query-loop-wrapper .imt-card-group.imt-cards-per-row-2>.acf-innerblocks-container .imt-query-loop ul.wp-block-post-template li.wp-block-post,
    .imt-section.imt-section-query-loop-wrapper .imt-card-group.imt-cards-per-row-3>.acf-innerblocks-container .imt-query-loop ul.wp-block-post-template li.wp-block-post,
    .imt-section.imt-section-query-loop-wrapper .imt-card-group.imt-cards-per-row-4>.acf-innerblocks-container .imt-query-loop ul.wp-block-post-template li.wp-block-post,
    .imt-section.imt-section-query-loop-wrapper .imt-card-group.imt-cards-per-row-5>.acf-innerblocks-container .imt-query-loop ul.wp-block-post-template li.wp-block-post,
    .imt-section.imt-section-query-loop-wrapper .imt-card-group.imt-cards-per-row-6>.acf-innerblocks-container .imt-query-loop ul.wp-block-post-template li.wp-block-post,
    .imt-section .imt-card-group>.acf-innerblocks-container .imt-query-loop ul.wp-block-post-template li.wp-block-post .imt-card,
    .imt-section .imt-card-group>.acf-innerblocks-container .imt-query-loop ul.wp-block-post-template li.wp-block-post>.wp-block-imt-card {
        width: 100% !important;
        height: 100%;
    }
}

/* Fade in video embed */
.imt-section .imt-section__background-video-embed {
    animation: imtVideoFadeInAnimation ease 4s;
}

@keyframes imtVideoFadeInAnimation {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Custom button, breadcrumbs */
.imt-btn-icon-left .imt-btn-icon {
    margin-right: 8px;
}

/* Custom button, breadcrumbs */
.imt-btn-icon-right .imt-btn-icon {
    margin-left: 8px;
    float: right;
}

/* no gap on mobile for multi column lists */
@media only screen and (max-width: 600px) {
    .imt-section .imt-card-group.imt-no-list-gap-mobile>.acf-innerblocks-container {
        row-gap: 0;
    }
}

/* center headings, footer logo, icons + text on mobile */
@media only screen and (max-width: 600px) {
    .imt-center-align-mobile {
        text-align: center !important;
    }

    /* footer logo and text */
    #imt-footer-wrapper .imt-content-item,
    #imt-bottom-bar-wrapper .imt-content-item .cd-footer-privacy {
        text-align: center !important;
    }

    .imt-social-links.imt-social-horizontal {
        justify-content: center !important;
    }
}

/* disable hover shadow on outline and text buttons */
.imt-btn-secondary-outline,
.imt-btn-secondary-outline:hover,
.imt-btn-primary-outline,
.imt-btn-primary-outline:hover.imt-btn-secondary-outline,
.imt-btn-secondary-outline:hover,
.imt-btn-white-outline,
.imt-btn-white-outline:hover,
.imt-btn-black-outline,
.imt-btn-black-outline:hover,
.imt-btn-text,
.imt-btn-text:hover {
    box-shadow: none !important;
}

/* fix white filled button text color */
.imt-btn.imt-btn-white {
    color: var(--wp--custom--imt--color--palette--background--primary--active) !important;
}

.imt-btn.imt-btn-white-outline:hover {
    color: var(--wp--custom--imt--color--palette--background--accent--3--active) !important;
}

/* fix primary outlined button text and fill color for hover */
.imt-btn.imt-btn-primary-outline:hover {
    background-color: var(--wp--custom--imt--color--palette--background--primary--active) !important;
    border-color: var(--wp--custom--imt--color--palette--background--primary--active) !important;
    color: var(--wp--custom--imt--color--text--light) !important;
}

/* override and set background and border color for white buttons */
.imt-btn-white-outline:hover {
    background-color: rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 1) !important;
}

/* Adjust hero paragraph margins */
.imt-section .imt-content.imt-hero p:last-of-type {
    margin: 0 0 calc(var(--wp--custom--imt--spacer) * 1.5) 0;
}

/* vertically center icon on mobile menu items */
/* @media only screen and (max-width: 1280px) {
    .menu-item i {
        display: flex;
        align-items: center;
    }
} */

/* class to further adjust bottom margin for specific elements */
.imt-reduce-bottom-margin {
    margin-bottom: 0px !important;
}

/* match line height of ul for sitemap */
.sitemap-item {
    line-height: var(--wp--custom--imt--ul--li--line-height);
}

/* fix slider dot misalignment */
ul.slick-dots {
    display: flex;
    justify-content: center;
}

/* timeline bar styles */
.imt-timeline-bar {
    height: calc(100% + 96px) !important;
}

@media only screen and (max-width: 600px) {
    .imt-timeline-bar {
        display: none;
    }
}

/* apply button padding to social icons for more consistent spacing */
.imt-social-links.imt-social-horizontal,
.imt-social-links.imt-social-vertical {
    padding: var(--wp--custom--imt--footer--buttons--default--button--padding) !important;
}

.imt-business-details>span {
    margin-bottom: 16px;
}

/* Media row content-right background sample  */
.imt-section .imt-media-row.imt-media-row-style-1.imt-media-col-left .imt-content-col .imt-content-col__inner .imt-content-col__background {
    background-color: #f8f8f8;
}

/* custom bullet card positioning */
.imt-card-group.imt-custom-bullet-cards .imt-content-item {
    text-align: center;
}

.imt-custom-bullet-cards ul {
    display: inline-block;
}

.imt-custom-bullet-cards ul li {
    display: inline-block;
    /* padding: 40px !important; */
    margin-right: 80px !important;
}

.imt-custom-bullet-cards ul li:last-of-type {
    margin-right: 0px !important;
}

@media only screen and (max-width: 600px) {
    .imt-card-group.imt-custom-bullet-cards .acf-innerblocks-container {
        text-align: center;
    }

    .imt-card-group.imt-custom-bullet-cards .imt-content-item {
        display: inline-block;
    }

    .imt-card-group.imt-custom-bullet-cards .imt-content-item {
        text-align: unset;
    }

    .imt-custom-bullet-cards ul {
        margin: 0 auto;
        display: inline-block;
    }

    .imt-custom-bullet-cards ul li {
        text-align: left;
        display: block;
        margin-right: 0px !important;
    }
}

/* Card group image area -- handle inner section / content replacement of top image on cards */
.imt-card .imt-section {
    margin-top: 0 !important;
    padding: 48px 0 !important;
    margin-bottom: 16px;
}

/* set cards min-height setting */
.imt-card-height-min-1 .imt-card {
    min-height: 276px;
}

/* v2 card hover animation, show button on hover but keep content vertically centred for desktop */
@media only screen and (min-width: 990px) {

    /* card */
    .imt-btn-hover-card {
        padding: inherit 0 !important;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        overflow: hidden;
    }

    /* card heading */
    .imt-card-heading {
        margin: 0 !important;
        /* transition: transform 0.8s linear; */
    }

    /* card button */
    .imt-card-btn {
        opacity: 0;
        max-height: 0;
        margin-top: 0;
        overflow: hidden;
        transition: opacity 0.3s linear, max-height 0.5s linear, margin-top 0.3s linear;
    }

    .imt-btn-hover-card:hover .imt-card-btn,
    .imt-btn-hover-card:focus-within .imt-card-btn {
        opacity: 1;
        margin-top: 16px;
        max-height: 500px;
    }
}

/* add underline accents to headings */
.underline {
    position: relative !important;
}

.underline:before {
    content: "";
    width: calc(var(--wp--custom--imt--spacer) * 4);
    height: 4px;
    background: var(--wp--custom--imt--color--background--primary--color);
    border-radius: calc(var(--wp--custom--imt--border-radius) * 0.5);
    position: absolute;
    bottom: 0px;
}

.underline.green:before {
    background: var(--wp--custom--imt--color--background--secondary--color);
}

h2.underline:before {
    bottom: -4px;
}

.underline.imt-text-align-center:before {
    right: 0;
    left: 0;
    margin-left: auto;
    margin-right: auto;
}

#imt-footer-wrapper {
    border-top: 2px solid var(--wp--custom--imt--color--palette--background--primary--active);
}

/* hide section bg after certain breakpoint */
@media only screen and (max-width: 1280px) {
    .imt-section-bg-image-hide-on-mobile .imt-section__background-image {
        display: none !important;
    }
}

#gform_wrapper_4 {
    margin-bottom: 8px;
}

#imt-footer-wrapper .gform_validation_errors h2 {
    font-family: var(--font-family--h--2);
    font-size: 13.2px;
    font-weight: 400;
    line-height: 17.6px;
}

/* custom style select field */
.gform_wrapper.gravity-theme .ginput_complex select {
    height: 44px;
    border-radius: 8px !important;
}

.imt-green-checkmark .fa-li {
    color: var(--wp--custom--imt--color--palette--background--accent--5--active) !important;
}

/* Enable level 3 submenu display within submenu level 2 */
@media only screen and (min-width: 1280px) {
    ul.submenu.imt-menu-level-3 {
        position: relative !important;
        left: 0 !important;
        padding: 16px 0 24px 0 !important;
        margin: 0 !important;
        min-width: 216px !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
}

body header #imt-header,
body header #imt-header.imt-header-sm {
    border-bottom: none;
}

body header #imt-header .imt-section__background:after {
    content: '';
    width: 100%;
    height: 2px;
    background-color: var(--wp--custom--imt--color--background--primary--color);
    position: absolute;
    bottom: 0;
}

body.imt-sticky-header main>.entry-content>.imt-section.imt-min-height-full:first-of-type{
    min-height:calc(100vh - var(--wp--custom--imt--header--sticky--hero-offset--default--margin-top));
}

/* Center button for form on 5 mistakes audit thank you page */
#imt-ty-five-mistakes .gform-footer {
	justify-content: center;
}

@media only screen and (max-width: 400px) {
	#imt-ty-five-mistakes .gform-footer input{
		text-wrap: wrap;
	}
}

/* target all heroes, style 1st card to dynamically respond to the resizing of screens to reduce risk of cut off text- */
@media only screen and (max-height: 800px) and (min-width: 800px) and (max-width: 1280px) {
    .imt-hero .imt-card-group .imt-card:first-of-type {
        align-self: flex-start !important;
        padding-top: calc(var(--wp--custom--imt--card--global--lg--padding-top-bottom) * 3) !important;
    }
}