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

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

/* Mobile navigation background */
@media only screen and (max-width: 1280px) {
    nav.imt-main-nav.offcanvas #imt-offcanvas .acf-innerblocks-container {
        padding-top: calc(var(--wp--custom--imt--spacer) * 1);
        background-color: #fff !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: 800px) {

    /* 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;
    }
}

/* match line height of ul for sitemap */
.sitemap-item {
    line-height: var(--wp--custom--imt--ul--li--line-height);
}

/* Hide BG Map Image on mobile  */
@media only screen and (max-width: 800px) {
    .imt-section-bg-image-hide-on-mobile .imt-section__background-image {
        display: none !important;
    }
}

.imt-blog-heading {
    text-align: center !important;
}

/* gallery anchor buttons */
.imt-portfolio-btn {
    margin-bottom: 10px !important;
}

form[role=search] button[type=submit]:hover {
    color: #000 !important;
}

.imt-years-experience-color {
    font-weight: 700 !important;
    color: var(--wp--custom--imt--color--palette--background--primary--active) !important;
}

/* .imt-btn.imt-btn-primary-outline {
    background-color: #fff !important;
}

.imt-btn.imt-btn-primary-outline:hover {
    background-color: var(--wp--custom--imt--color--palette--background--primary--active);
    border-color: var(--wp--custom--imt--color--palette--background--primary--active);
} */

/* footer font targeting */
.imt-business-details {
    font-family: var(--font-family--default);
}

/* Footer mobile margins */
@media only screen and (max-width: 1000px) {
    .imt-business-details .imt-has-icon {
        margin-left: 0px !important;
    }
}

/* Footer confirmation message business name margin */
.gform_confirmation_message .imt-business-name {
    margin-bottom: 0px !important;
}