/*
Theme Name: Impreza Child
Template: Impreza
Version: 1.0
Author:	UpSolution
Theme URI: http://impreza.us-themes.com/
Author URI: http://us-themes.com/
*/

/*Add your own styles here:*/

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.l-canvas.type_wide {
    overflow: clip;
}

.g-cols.via_flex.type_default {
    margin: 0 -15px;
}

.g-cols.via_flex.type_default>div>.vc_column-inner {
    padding-left: 15px;
    padding-right: 15px;
}

.g-cols.via_flex.type_default>.wpb_column.stretched:last-of-type {
    margin-inline-end: calc(var(--margin-inline-stretch) + 15px);
}

.h1-style {
    font-size: var(--h1-font-size);
    line-height: var(--h1-line-height);
    font-weight: var(--h1-font-weight);
    font-family: var(--h1-font-family);
    letter-spacing: var(--h1-letter-spacing);
    font-style: var(--h1-font-style);
    text-transform: var(--h1-text-transform);
}

.h2-style {
    font-size: var(--h2-font-size);
    line-height: var(--h2-line-height);
    font-weight: var(--h2-font-weight);
    font-family: var(--h2-font-family);
    letter-spacing: var(--h2-letter-spacing);
    font-style: var(--h2-font-style);
    text-transform: var(--h2-text-transform);
}

.h3-style {
    font-size: var(--h3-font-size);
    line-height: var(--h3-line-height);
    font-weight: var(--h3-font-weight);
    font-family: var(--h3-font-family);
    letter-spacing: var(--h3-letter-spacing);
    font-style: var(--h3-font-style);
    text-transform: var(--h3-text-transform);
}

.h4-style {
    font-size: var(--h4-font-size);
    line-height: var(--h4-line-height);
    font-weight: var(--h4-font-weight);
    font-family: var(--h4-font-family);
    letter-spacing: var(--h4-letter-spacing);
    font-style: var(--h4-font-style);
    text-transform: var(--h4-text-transform);
    color: var(--color-content-heading);
}

.h5-style {
    font-size: var(--h5-font-size);
    line-height: var(--h5-line-height);
    font-weight: var(--h5-font-weight);
    font-family: var(--h5-font-family);
    letter-spacing: var(--h5-letter-spacing);
    font-style: var(--h5-font-style);
    text-transform: var(--h5-text-transform);
    color: var(--color-content-heading);
}

.h6-style {
    font-size: var(--h6-font-size);
    line-height: var(--h6-line-height);
    font-weight: var(--h6-font-weight);
    font-family: var(--h6-font-family);
    letter-spacing: var(--h6-letter-spacing);
    text-transform: var(--h6-text-transform);
}

ul,
ol {
    margin-left: 1rem;
    text-wrap: pretty;
}

/* Nav */

.w-nav-close {
    opacity: 1;
}

.w-nav-close:before {
    font-weight: 300;
}

.menu-call-appointment-block {
    margin-top: 1rem;
}

.menu-call-appointment-block .w-btn {
    min-width: 210px;
}


/* Page Title Section */

.below-title-hwrapper {
    background: var(--color-content-bg-alt);
    padding: 20px;
    border-radius: 10px;
    align-items: center !important;
    margin-top: 4rem;
}

.below-title-vwrapper {
    background: var(--color-content-bg-alt);
    padding: 20px;
    border-radius: 10px;
    margin-top: 4rem;
}

.below-title-hwrapper .w-image {
    width: 85px;
    flex: none;
    border-radius: 10px;
    overflow: clip;
}

.below-title-hwrapper .w-btn-wrapper {
    margin: 0;
}

/* Home */

.home-services-section .w-image {
    width: min(296px,100%);
    margin: 0 auto 2.5rem;
}

.home-services-section .w-text {
    min-height: calc(var(--h3-line-height) * 2em);
    min-height: 2lh;
}

.expertise-section .w-hwrapper.alternate-bg {
    border-radius: 36px;
    padding: 2rem;
    justify-content: space-between;
}

.expertise-section .w-hwrapper.alternate-bg:not(:last-of-type) {
    margin-bottom: 12px;
}

.expertise-section {
    counter-reset: expertise-counter;
}

.expertise-section .w-hwrapper.alternate-bg {
    counter-increment: expertise-counter;
}

.expertise-section .w-hwrapper.alternate-bg h6.w-text {
    flex-shrink: 0;
}

.expertise-section .w-hwrapper.alternate-bg h6.w-text::before {
    content: counter(expertise-counter, decimal-leading-zero) " /";
    font-style: italic;
    font-weight: 400;
    line-height: normal;
    font-size: var(--h5-font-size);
    font-family: var(--h5-font-family);
    padding-right: 8px;
}

.expertise-section .w-hwrapper.alternate-bg .wpb_text_column {
    flex-basis: 260px;
}

.about-section .w-hwrapper.alternate-bg {
    padding: 70px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    column-gap: calc(var(--site-content-width)  / 12 - 45px);
}

.about-section .w-hwrapper.alternate-bg > .w-vwrapper .wpb_text_column {
    margin-bottom: 2rem;
}

.w-video-h video {
    object-position: bottom;
}

/* Misc Elements */

.l-section.color_primary {
    color: var(--color-alt-content-heading);
}

.l-section.rounded-section.color_primary,
.l-section.rounded-section.color_footer-bottom {
    margin: 0 var(--padding-inline);
    border-radius: 30px;
}

.service-approach-section .w-image {
    width: min(296px, 100%);
    margin: 0 auto 2.5rem;
}

.service-approach-section .w-text {
    min-height: calc(var(--h3-line-height) * 2em);
    min-height: 2lh;
}

.service-approach-section + .qualifications-section{
    margin-top: 6rem;
}

.rounded-box {
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 10px;
    max-width: calc((var(--site-content-width) / 12) * 5);
    text-wrap: pretty;
}

.alternate-bg {
    background: var(--color-content-bg-alt);
}

.w-tabs.accordion>div>.w-tabs-section {
    background: var(--color-content-bg-alt);
    margin-bottom: 10px;
    border-radius: 10px;
    border-width: 0 0 0 0;
}

.w-tabs.accordion>div>.w-tabs-section:last-of-type {
    border-bottom-width: 0;
}

.w-tabs.accordion>div>.w-tabs-section .w-tabs-section-content {
    padding-bottom: 2.5rem;
    padding-left: 2.1rem;
    padding-right: 2.1rem;
}

.w-tabs-sections {
    counter-reset: faq-counter;
}

.w-tabs-section {
    counter-increment: faq-counter;
}

.w-tabs-section-header {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding: 1.2em 2.1rem;
}

.no-touch .w-tabs-section-header:hover,
.no-touch .w-tabs-section-header:focus {
    background: rgba(0, 0, 0, 0.01);
}

.w-tabs-section-title {
    font-size: var(--h5-font-size) !important;
    font-family: var(--h5-font-family);
    color: var(--color-content-heading);
    font-style: italic;
}

.w-tabs-section-title::before {
    content: counter(faq-counter, decimal-leading-zero) " /";
    font-style: italic;
    font-weight: 400;
    line-height: normal;
    font-size: var(--h5-font-size);
    font-family: var(--h5-font-family);
    padding-right: 8px;
    color: var(--color-content-secondary);
}

.vertical-line::after {
    display: block;
    content: '';
    width: 1px;
    height: 95px;
    background: var(--color-alt-content-primary);
    margin: 70px auto -3rem;
}

/* Gravity Forms */

input::placeholder,
textarea::placeholder {
    opacity: 1 !important;
}

.l-body .gform_wrapper.gravity-theme .gform_fields {
    grid-row-gap: 24px;
}

.gform_wrapper.gravity-theme textarea {
    box-shadow: 0 0 0 1px var(--color-footer-heading) inset;
}

.gform_wrapper.gravity-theme textarea:focus,
.gform_wrapper.gravity-theme textarea:active {
    box-shadow: 0 0 0 1px var(--color-footer-link) inset;
}

.l-body .gform_wrapper.gravity-theme .gfield textarea.medium {
    height: 120px;
    margin: 24px 0 10px;
}

.gform_wrapper.gravity-theme .gform_footer input[type=submit] {
    text-transform: uppercase;
    font-size: 13px;
    line-height: 1.2 !important;
    font-weight: 600;
    letter-spacing: 0em;
    padding: 0.8em 2.0em;
    background: var(--color-content-bg-alt);
    color: var(--color-content-heading) !important;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}

.gform_wrapper.gravity-theme .gform_footer input[type=submit]:hover {
    background: var(--color-content-secondary);
    color: var(--color-content-bg-alt) !important;
}

/* Footer */

.footer-get-in-touch-section .rounded-box {
    margin-bottom: 0;
}

.l-section.rounded-section.main-footer-section.color_footer-bottom {
    margin-top: var(--padding-inline);
}

.footer-large-name .w-text-value > span {
    font-style: italic;
}

.footer-phone-img {
    width: 168px;
}

@media (min-width: 1600px) {
    
    .about-section .w-hwrapper.alternate-bg {
        padding: 90px;
        column-gap: calc(var(--site-content-width) / 12 - 45px);
    }
}

@media (min-width: 1025px) {

    .header-menu-hwrapper {
        padding: 0 4px 0 24px;
    }

    .header-menu-hwrapper .w-btn {
        margin-left: 24px;
    }

    .page-featured-section .w-post-elm.post_image.stretched,
    .page-featured-section .w-slider {
        transform: translateY(calc(var(--header-height) * -1));
        -webkit-transform: translateY(calc(var(--header-height) * -1));
        -moz-transform: translateY(calc(var(--header-height) * -1));
        -ms-transform: translateY(calc(var(--header-height) * -1));
        -o-transform: translateY(calc(var(--header-height) * -1));
        border-bottom-left-radius: 30px;
        overflow: clip;
    }

   .page-featured-section {
       margin-bottom: calc(var(--header-height) * -1);
   }

    .page-featured-section .g-cols.via_flex.type_default>div.stretched>.vc_column-inner {
        padding-right: 0;
    }

    .expertise-section .vc_col-sm-12.vc_col-md-3 > .vc_column-inner > .wpb_wrapper {
        display: flex;
        flex-direction: column;
    }

    .expertise-section .vc_col-sm-12.vc_col-md-3 >.vc_column-inner > .wpb_wrapper .w-text {
        margin-top: auto;
    }

    .about-section .w-hwrapper.alternate-bg {
        margin: 0 -15px;
    }

    .about-section .w-hwrapper.alternate-bg .w-image {
        flex: 0 0 35%
    }

    .qualifications-section .g-cols.via_flex.type_default>.wpb_column.stretched:first-of-type,
    .streched-image-left-section .g-cols.via_flex.type_default>.wpb_column.stretched:first-of-type {
        margin-inline-start: calc(var(--margin-inline-stretch) + 5px);
    }

    .qualifications-section .w-video,
    .qualifications-section .w-image,
    .streched-image-left-section .w-image {
        border-top-right-radius: 30px;
        border-bottom-right-radius: 30px;
        overflow: clip;
    }

    .service-approach-section .vc_col-lg-offset-1.vc_col-lg-10 .vc_col-md-9 {
        width: 80%;
    }

    .service-approach-section .vc_col-lg-offset-1.vc_col-lg-10 .vc_col-md-3 {
        width: 20%;
    }

    .service-approach-section .approaches-hwrapper {
        column-gap: calc(var(--site-content-width) / 12 - 30px);
    }
}

@media (max-width: 1024px) {

    .page-featured-section .w-slider {
        border-radius: 20px;
        margin-top: 1.5rem;
}

    .page-featured-section .g-cols.stacking_default.reversed>div:last-of-type  {
        order: -1;
    }

    .page-featured-section .w-post-elm.post_image.stretched {
        border-radius: 20px;
        margin-top: 1.5rem;
    }

    .approaches-hwrapper {
        flex-wrap: wrap;
        gap: 2.5rem;
    }

    .approaches-hwrapper .w-vwrapper {
        width: 100%;
    }

    .service-approach-section .w-text {
        min-height: auto;
    }

    .expertise-section .w-hwrapper.alternate-bg {
        flex-wrap: wrap;
        gap: 0.7rem;
    }

    .qualifications-section .w-video,
    .qualifications-section .w-image,
    .streched-image-left-section .w-image {
        border-radius: 30px;
        overflow: clip;
    }

    .vertical-line::after {
        height: 70px;
        margin: 3rem auto -1.5rem;
    }
}

@media (max-width: 1024px) and (min-width: 601px) {

    .page-featured-section .g-cols.via_flex.type_default>.wpb_column.stretched:last-of-type {
        margin-inline-end: 0;
        margin-top: 0 !important;
    }

    .page-featured-section .w-post-elm.post_image.stretched {
        aspect-ratio: 6 / 5;
    }

    .page-featured-section .w-post-elm.post_image.stretched img {
        aspect-ratio: 6 / 5;
        object-fit: cover;
    }
}

@media (max-width: 767px) {

    .about-section .w-hwrapper.alternate-bg {
        flex-wrap: wrap;
        flex-direction: column-reverse;
        gap: 1.5rem;
        padding: 2.5rem;
    }
}

@media (max-width: 600px) {

    ul,
    ol {
        margin-left: 1.5rem;
    }

    .page-featured-section .w-post-elm.post_image.stretched {
        aspect-ratio: 5 / 6;
    }

    .page-featured-section .w-post-elm.post_image.stretched img {
        aspect-ratio: 5 / 6;
        object-fit: cover;
    }

    .l-section.height_medium {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .below-title-hwrapper,
    .below-title-vwrapper {
        margin-top: 2.5rem;
    }

    .l-section.main-footer-section.height_huge {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
}