/*
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:*/

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

ul li::marker,
ol li::marker {
    color: var(--color-content-secondary);
}

.h3-style {
    font-size: var(--h3-font-size);
    letter-spacing: var(--h3-letter-spacing);
}

.h4-style {
    font-size: var(--h4-font-size);
    letter-spacing: var(--h4-letter-spacing);
}

/* Header */

 .w-dropdown-item:not([role="button"]) .w-dropdown-item-title {
    padding-top: .6em;
}

/* Home */

.l-section.home-featured {
    background: url(img/featured_bg5.jpg);
    background-position: 0 100%;
    background-size: 50vw;
    background-repeat: no-repeat;
}

.services-hwrapper>.w-vwrapper {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 calc(100% / 4);
    flex: 0 0 calc(100% / 4);
    padding: 0 1.5rem;
}

.services-hwrapper>.w-vwrapper img {
    margin-bottom: 1.5rem;
}

/* */

.l-section.halves-with-img .stretched>.vc_column-inner>.wpb_wrapper {
    margin: 0 -1.5rem;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.l-section.halves-with-img .vc_col-lg-5.vc_col-md-6>.vc_column-inner {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

/* Misc */

.w-tabs-section.active:not(.has_text_color)>.w-tabs-section-header {
    color: var(--color-content-heading);
}

.w-hwrapper.trusted-elements-hwrapper {
    max-width: 450px;
}

.contact-info-vwrapper .w-text.icon_atleft a .fal,
.contact-info-vwrapper .w-text.icon_atleft .fal {
    text-align: center;
    width: 1.25em;
    color: var(--color-alt-content-secondary);
}

.contact-info-vwrapper .w-text.icon_atleft a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.contact-embed-map {
    position: relative;
    padding-bottom: 65%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.contact-embed-map iframe,
.contact-embed-map object,
.contact-embed-map embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.gform_wrapper.gravity-theme .gfield_label {
    font-size: 1rem;
    font-weight: 600;
}

/* Footer */

.l-footer .widget_recent_entries li {
    margin-bottom: 0.7rem;
}

.footer-map-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.footer-map-embed iframe,
.footer-map-embed object,
.footer-map-embed embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.footer-psychology .sx-verified-seal {
    margin: 0 auto;
    width: 200px !important;
    height: 58px !important;
    background-size: cover;
}

@media (max-width: 1450px) and (min-width: 1400px) {

    .l-body.header_hor .ush_menu_1.type_desktop .menu-item.level_1>a:not(.w-btn) {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 1399px) and (min-width: 1280px) {

    .l-body.header_hor .ush_menu_1.type_desktop .menu-item.level_1>a:not(.w-btn) {
        padding-left: 14px;
        padding-right: 14px;
    }
} 

@media (min-width: 1025px) and (max-width: 1380px) {
    .halves-with-img .g-cols.via_flex.type_default>div[class*="vc_col-lg-"] {
        margin-top: 0;
        margin-bottom: 0;
    }

    .l-section.halves-with-img .vc_col-lg-5.vc_col-md-6>.vc_column-inner {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

@media (max-width: 1355px) and (min-width: 1280px) {

    .menu-item.home-menu-item {
        display: none;
    }
}

@media (min-width: 1025px) {

    .l-body:not(.home) .l-main {
        background: #fff url(img/top_bg.jpg) 100% 142px no-repeat;
        background-size: 100vw;
    }

    .stretched>.vc_column-inner>.wpb_wrapper .w-image.has_ratio,
    .stretched>.vc_column-inner>.wpb_wrapper .post_image.has_ratio {
        height: 100%;
    }

    .footer-map-embed {
        padding-bottom: 20%;
    }
}

@media (max-width: 1024px) {

    .l-body:not(.home) .l-main {
        background: #fff url(img/top_bg.jpg) 100% 100px no-repeat;
        background-size: 120vw;
    }

    .g-cols.via_flex.type_default>.wpb_column.stretched:first-of-type,
    .g-cols.via_flex.type_default>.wpb_column.stretched:last-of-type {
        margin-right: -1rem;
        margin-left: -1rem;
        margin-top: 0;
    }


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

    .services-hwrapper {
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
        row-gap: 3rem;
    }
}

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

    .services-hwrapper>.w-vwrapper {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 calc(100% / 2);
        flex: 0 0 calc(100% / 2);
        padding: 0 1.5rem;
    }

    .footer-map-embed {
        padding-bottom: 45%;
    }
}

@media (max-width: 600px) {

    .services-hwrapper>.w-vwrapper {
        margin-bottom: 2.5rem !important;
    }

    .w-hwrapper.services-hwrapper .w-image {
        margin: 0 auto;
    }
}
