/* Add this line if WooCommerce is used on this site */
/* @import "woo-style.css"; */
@import "imt-css/new-style.css";

/* Child theme fonts */
:root {
    --font-family--default: 'Lato';
    --font-family--h--1: 'Figtree';
    --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);
}

/* aligns images to the left */
.imt-section .imt-card-group.imt-card-style-default .our-process-card .imt-img-container.imt-img-max-width-sm {
    margin-left: 0 !important;
    }

/* full-height cta button for header */
header .imt-btn-wrapper {
    height: 100%;
}

header a.imt-btn {
    display: flex;
    align-items: center;
    box-shadow: none !important;
    border-radius: 0px !important;
}

@media only screen and (min-width: 1281px) {

    .imt-mm-icon a::before {
        content: '';
        position: absolute;
        top: 0px;
        left: -48px;
        background-position: center;
        background-repeat: no-repeat;
        background-size: 48px 48px;
        width: 56px;
        height: 56px;
    }


    /* on desktop, for non-footer buttons, add the icon on hover */
    /* will not affect form buttons */
    /* applies to main nav link-level-2 items */
    .imt-section:not(#imt-footer-wrapper) .imt-btn::after,
    .imt-link-level-2 .imt-menu-link::after {
        font-family: "Font Awesome 6 Pro";
        font-weight: 900;
        content: "\f178";
        /* long-arrow-alt-right */
        display: inline-block;
        width: 0;
        opacity: 0;
        margin-left: 0;
        transform: translateX(-10px);
        transition: var(--wp--custom--imt--hover-transition);
        flex-shrink: 0;
    }

}

.imt-business-details {
    text-transform: uppercase !important;
    font-weight: 600 !important;
}

/* ------- Megamenu Styling - NO ICONS, COLUMN WRAPPING - Sun Valley ------- */
@media only screen and (min-width: 1281px){
    nav.imt-main-nav.full-mega>div>ul>li.megamenu>.submenu .imt-megamenu-wrapper>li.menu-item:last-of-type{
        flex-basis: calc((100% / 3) * 2) !important;
    }
    
    nav.imt-main-nav.full-mega>div>ul>li.megamenu>.submenu .imt-megamenu-wrapper>li.menu-item:not(:last-of-type){
        flex-basis: calc((100% / 3) - var(--wp--custom--imt--main-navigation--megamenu--wrapper--column-gap)) !important;
    }

    nav.imt-main-nav.full-mega>div>ul>li.megamenu>.submenu .imt-megamenu-wrapper>li.menu-item:last-of-type > ul{
        column-count: 2;
        column-gap: calc(var(--wp--custom--imt--spacer) * 2);
    }
    nav.imt-main-nav.full-mega>div>ul>li.megamenu>.submenu .imt-megamenu-wrapper>li.menu-item:last-of-type > ul > li{
        break-inside: avoid-column;
    }

    /* on desktop, for non-footer buttons, add the icon on hover */
    /* will not affect form buttons */
    /* applies to main nav link-level-2 items */
    .imt-section:not(#imt-footer-wrapper) .imt-btn::after,
    .imt-link-level-2 .imt-menu-link::after {
        font-family: "Font Awesome 6 Pro";
        font-weight: 900;
        content: "\f178";
        /* long-arrow-alt-right */
        display: inline-block;
        width: 0;
        opacity: 0;
        margin-left: 0;
        transform: translateX(-10px);
        transition: var(--wp--custom--imt--hover-transition);
        flex-shrink: 0;
    }

    .imt-section:not(#imt-footer-wrapper) .imt-btn:hover::after,
    .imt-section:not(#imt-footer-wrapper) .imt-btn:focus::after,
    .imt-link-level-2 .imt-menu-link:hover::after {
        width: 18px;
        opacity: 1;
        margin-left: calc(var(--wp--custom--imt--spacer) * 0.75);
        transform: translateX(0);
    }

    /* increase the border width on hover */
    /* .imt-section:not(#imt-footer-wrapper) .imt-buttons .imt-btn:hover,
    .imt-section:not(#imt-footer-wrapper) .imt-buttons.imt-btn-size-sm .imt-btn:hover,
    .imt-section:not(#imt-footer-wrapper) .imt-buttons.imt-btn-size-lg .imt-btn:hover,
    .gform_wrapper.gravity-theme .button:is(input[type=submit]):hover {
        border-width: 0 0 0 4px !important;
    } */

    /* adjust span color for menu on scroll + btns */
    #imt-header:not(.imt-header-sm) li:not(.imt-btn-1) .imt-current-menu-item span::after {
        background-color: var(--wp--custom--imt--color--palette--background--secondary--300);
    }

    /* add transition for link on hover */
    #imt-header li,
    #imt-header li a {
        transition: var(--wp--custom--imt--hover-transition);
    }

}

/* * force spacing between sections with full-width layouts */
.imt-section.imt-section-margin {
    margin: calc(var(--wp--custom--imt--spacer) * 0.25) 0 calc(var(--wp--custom--imt--spacer) * 0.25);
}



