/* 
Theme Name:		 EHG
Theme URI:		 http://outpaceseo.com/
Description:	 EHG is a child theme of Outpace Theme
Author:			 Outpace SEO
Author URI:		 http://outpaceseo.com/
Template:		 outpace-theme
Version:		 1.0.0
Text Domain:	 ehg
*/


/*
Add your custom styles here
*/

.section-banner p.section-title {
    color: #ffff;
}

.header-logo img {
    max-width: 350px;
    height: auto;
    width: 100%
}

.footer-logo img {
    height: auto;
    border-radius: 0;
    max-width: 300px;
    width: 100%
}

.aside-content-area form .form-phone-link,
.aside-content-area form h2 {
    display: none;
}

.aside-content-area form label {
    width: 100%;
    margin-bottom: 10px;
}

.aside-content-area form input {
    width: 100%;
    padding: 5px 10px;
}

.aside-content-area form .wpcf7-radio,
.aside-content-area form .wpcf7-checkbox {
    margin-top: 5px;
}

.aside-content-area form .wpcf7-list-item {
    margin: 0;
}


.aside-content-area form span.wpcf7-list-item-label {
    margin-left: 8px;
}

.aside-content-area {
    border: none;
    padding: 0;
    background: #fff;
}

.aside-content-area .contact-sidebar,
.aside-content-area .services-list-wrapper {
    border-top: 5px solid var(--primary-color);
    padding: 26px 30px;
    background-color: #f7f9fa;
    margin-bottom: 20px;
}

.aside-content-area .wpcf7-submit {
    background: var(--primary-color);
    color: #fff;
}

.contact-form-checkbox-wrapper {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.aside-content-area .contact-form-checkbox-wrapper {
    margin: 10px 0;
}

p.sub-title {
    font-family: var(--secondary-font);
    font-size: 13px;
    line-height: 24px;
    letter-spacing: 1px;
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 600;
    font-style: normal;
}

.wpcf7-checkbox,
.wpcf7-radio {
    margin-top: 0;
}

.header-banner-title h1 {
    color: #fff;
}

.error404 .header-banner {
    display: none;
}

.page-main.error-404 {
    padding-top: 100px;
}

@media only screen and (max-width: 1024px) {
    .page-main.error-404 {
        padding-top: 0;
    }
}

@media only screen and (max-width: 600px) {

    .mobile-fixed-cta .dark-button,
    .mobile-fixed-cta .light-button {
        width: 100%;
        margin: 0;
    }

    .mobile-fixed-cta {
        width: 100%;
        display: flex;
        gap: 16px;
        flex-wrap: wrap;
        border-radius: 0;
        bottom: 0;
        padding: 16px;
        transform: translateY(100%);
        transition: .5s ease-in-out;
    }

    .mobile-fixed-cta.show {
        transform: none;
    }

    .mobile-fixed-cta .dark-button a,
    .mobile-fixed-cta .light-button a {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 8px 16px;
        width: 100%;
        text-align: center;
    }

    .mobile-fixed-cta i {
        margin-right: 4px;
    }

    .mobile-fixed-cta .light-button a {
        color: var(--primary-color);
    }

}

.footer-secondary .row {
    justify-content: inherit;
}

table {
    width: 100%;
    margin-bottom: 1rem;
}

tr:nth-child(odd) {
    background-color: #fafafa;
}

tr:nth-child(even) {
    background-color: #eee;
}

th {
    background-color: var(--primary-color);
    color: #fff;
}

th,
td {
    border: 1px solid #e5e2e2;
    padding: 8px;
}

.contact-section-right label,
.hero-contact label {
    width: 100%;
    margin-right: 0;
    display: block;
}

.header-banner-contact-form label {
    width: 100%;
}

.hero-contact {
    padding: 32px 0;
}

.hero-contact__content {
    box-shadow: 0 0 8px 0px #ccc;
    padding: 1rem;
    border-radius: 4px;
}

.hero-contact h2 {
    font-size: 1.5rem;
}

.hero-contact__content input[type=text],
.hero-contact__content input[type=email] {
    width: 100%;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.hero-contact input[type=submit] {
    width: 100%;
    padding: 0.5rem;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 4px;
}

/**
* FAQ Page
*/

#faq-accordion .accordion-item {
    margin: 0 0 1rem;
}

body.page-template-faq-tpl .service-accordion {
    margin-top: 0;
}

.accordion-item {
    background-color: #f1f1f1;
}

.accordion-body {
    padding: 1rem 1.25rem;
}

/**
* Hero Banner (Homepage)
*/

.header-overlay {
    top: 0;
}

body.logged-in.admin-bar .header-overlay,
body.logged-in.admin-bar .header-overlay-bottom {
    top: 32px;
}

.hero-banner {
    margin-top: 136px;
    padding: 4rem 0;
    background-image: var(--hero-bg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    box-shadow: inset 0 0 0 2000px rgb(0 0 0 / 5%);
}

.hero-banner .hero__content h1,
.hero-banner .hero__content p {
    color: #fff;
}

.hero__cta-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cta-btn {
    font-family: var(--primary-font);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    color: #fff;
    background-color: var(--primary-color);
    border-radius: 3px 3px 3px 3px;
    display: inline-block;
    padding: 13px 42px;
    width: fit-content;
    text-align: center;
    botder-radius: 8px;
}

.cta-btn:hover {
    fill: #FFFFFF;
    color: #FFFFFF;
    background-color: var(--secondary-color);
}

.hero-banner .header-banner-contact-form {
    width: 100%;
    padding: 0;
}

.hero-banner .header-banner-contact-form-wrapper {
    margin: 0;
    padding: 1rem;
}

.hero-banner .header-banner-contact-form h2,
.hero-banner .header-banner-contact-form .styled-title {
    width: 100%;
    margin-left: -1rem;
    padding: 0;
    padding-left: 1rem;
    font-size: 1rem !important;
    background: var(--primary-color);
    color: #fff;
    margin-bottom: 20px;
    font-family: var(--secondary-font);
    line-height: 46px;
    font-weight: 700;
    font-style: normal;
    position: relative;

}

.footer-social {
    display: flex;
    gap: .5rem;
    align-items: center;
}

.social-footer-navigation {
    display: flex;
    gap: .5rem;
}

.social-footer-navigation a {
    display: flex;
    border-radius: 50%;
    height: 32px;
    text-align: center;
    width: 32px;
    color: #fff;
    align-items: center;
    justify-content: center;
}

.social-footer-navigation a:hover {
    background-color: hsla(0, 0%, 100%, .1);
}


@media (min-width: 1024px) and (max-width: 1200px) {
    header .header-logo img {
        max-width: 200px;
    }

    .header-menu ul li a,
    .header-appointment-button a {
        font-size: 12px;
    }
}

@media (max-width: 1024px) {
    .hero-banner {
        margin-top: 80px;
    }
}

@media only screen and (max-width: 991px) {
    .two-columns-ltr p.sub-title {
        margin-top: 40px;
    }
}

@media (max-width: 500px) {
    .hero__cta-group .cta-btn {
        flex-basis: 100%;
    }
}

/**
* Dynamic Two Column
*/

.page-template-front-page {
    .section-heading {
        max-width: 720px;
    }

    p.sub-title {
        color: #051F5A;
        font-family: Roboto;
        font-size: 1rem;
        font-style: normal;
        font-weight: 400;
        line-height: 130%;
        /* 1.3rem */
    }

    h2.title {
        color: #09090A;
        text-align: center;
        font-family: "Playfair Display";
        font-size: 3rem;
        font-weight: 400;
        line-height: 140%;
        /* 4.2rem */
        letter-spacing: 0.12rem;
        text-transform: capitalize;
    }

    .services-v2 {
        .service-grid-item {
            border-radius: 0.75rem;
            background: linear-gradient(180deg,
                    rgba(2, 29, 88, 0) 50%,
                    rgba(2, 29, 88, 0.76) 90%),
                var(--bg-image-url) lightgray 50% / cover no-repeat;
            min-height: 20.0625rem;

            &:hover {
                img {
                    transform: rotate(45deg);
                }
            }

            h3 {
                color: #FFF;
                font-family: Roboto;
                font-size: 1.5rem;
                font-weight: 500;
                line-height: 110%;
                margin-bottom: 1rem;

                img {
                    transition: transform 0.3s ease;
                    /* Smooth transition */
                }
            }
        }

    }

    .dark-button {
        a {
            min-width: 204px;
            padding: 16px 24px 16px 16px;
            gap: 10px;

            border-radius: 8px;
            background: #021D58;

            /* card */
            box-shadow: 3px 3px 26px 0 rgba(87, 73, 60, 0.06);


            flex: 1 0 0;
            color: #FFF;
            text-align: center;
            font-family: var(--primary-font);
            font-size: 1rem;
            font-weight: 500;
            line-height: 1.25;
        }

        a:hover {
            fill: #FFFFFF;
            color: #FFFFFF;
            background-color: var(--secondary-color);
        }
    }

    .two-columns.has-background {
        background-color: #F5F5F5;
    }

    .two-columns {


        padding: 5rem 0;

        .container {
            gap: 2.5rem;
            align-self: stretch;

            .section-heading {
                gap: 0.5rem;
                align-self: stretch;
                margin-bottom: 0;
                max-width: none;

                /* .sub-title {
                    color: #051F5A;
                    font-family: var(--primary-font);
                    font-size: 1rem;
                    line-height: 1.3;
                    text-transform: uppercase;
                    margin-bottom: 0;
                }
                    */

                .title {
                    margin-bottom: 0;
                }
            }

            .section-contents {

                .content.custom-margin {
                    margin-left: calc(49px - var(--bs-gutter-x) * .5);
                }

                .content {
                    width: 100%;
                    max-width: 628px;
                    gap: 24px;

                    h3 {
                        color: #09090A;
                        max-width: 591px;
                        width: 100%;
                        font-family: var(--primary-font);
                        font-size: 20px;
                        font-weight: 600;
                        line-height: 1.30;
                        margin-bottom: -8px;
                    }

                    p {
                        align-self: stretch;
                        /* color: var(--Gray, #4C4C4C); */
                        font-family: var(--primary-font);
                        font-size: 1rem;
                        line-height: 1.5;
                        margin-bottom: 0;

                        span {
                            color: var(--Gray, #4C4C4C);
                            font-family: var(--primary-font);
                            font-size: 1rem;
                            line-height: 1.5;
                            text-decoration-line: underline;
                            text-decoration-style: solid;
                            text-decoration-skip-ink: auto;
                            text-decoration-thickness: auto;
                            text-underline-offset: auto;
                            text-underline-position: from-font;
                        }
                    }

                    ul {
                        margin-left: 24px;
                        position: relative;

                        li {
                            list-style: none;
                            padding: 5px;
                        }

                        li:before {
                            color: var(--primary-color);
                            content: "\f00c";
                            font-family: 'Font Awesome\ 5 Free';
                            font-style: normal;
                            font-weight: 600;
                            transition: none;
                            position: absolute;
                            left: -24px;
                        }
                    }

                    ul.stylish {
                        margin-left: 0;
                        gap: 20px;
                        align-self: stretch;

                        li:before {
                            content: "";
                        }

                        li {
                            display: flex;
                            padding: 24px;
                            align-items: center;
                            gap: 24px;
                            align-self: stretch;
                            border-radius: 12px;
                            background: var(--Clear-White, #FFF);

                            /* Shadow */
                            box-shadow: 18px 15px 35px 0 rgba(218, 223, 222, 0.40);

                            img {
                                width: 32px;
                                height: 32px;
                            }

                            span,
                            strong {
                                color: var(--Blue, #021D58);
                                font-family: var(--primary-font);
                                font-size: 24px;
                                font-weight: 500;
                                line-height: 1.3;
                            }
                        }
                    }
                }

                .featured {
                    max-width: 594px;
                    width: 100%;
                    height: 100%;
                    border-radius: 1rem;

                    img {
                        height: 100%;
                        object-fit: cover;
                        object-position: center;
                    }

                    .caption {
                        padding: 20px 24px;
                        gap: 24px;
                        border-radius: 12px;
                        border: 2px solid rgba(255, 255, 255, 0.20);
                        background: #FFF;
                        box-shadow: 18px 15px 40px 0 rgba(2, 29, 88, 0.40);
                        margin: 0 25px 28px 25px;
                        bottom: 0;

                        p {
                            color: var(--Blue, #021D58);
                            font-family: var(--primary-font);
                            font-size: 16px;
                            line-height: 1.6;
                            margin-bottom: 0;
                        }
                    }
                }
            }

            .section-blocks {
                gap: 24px;
                align-self: stretch;

                .block-title {
                    align-self: stretch;
                    color: #09090A;
                    text-align: center;
                    font-family: var(--primary-font);
                    font-size: 2rem;
                    font-weight: 600;
                    line-height: 1.3;
                }

                .blocks {
                    gap: 24px;
                    align-self: stretch;

                    .block {
                        padding: 16px 24px;
                        gap: 24px;
                        flex: 1 0 0;
                        align-self: stretch;

                        border-radius: 16px;
                        border: 1px solid rgba(255, 255, 255, 0.22);
                        background: #0337A6;
                        box-shadow: 0 0 20px 0 rgba(218, 207, 207, 0.25) inset;
                        backdrop-filter: blur(4.349px);

                        img {
                            width: 48px;
                            height: 48px;
                            aspect-ratio: 1/1;
                        }

                        p {
                            color: rgba(255, 254, 254, 0.90);
                            font-family: var(--primary-font);
                            font-size: 16px;
                            line-height: 1.5;
                        }
                    }
                }


            }
        }
    }
}

@media only screen and (max-width: 768px) {
    .page-template-front-page {
        .two-columns {
            .container {
                .section-contents {
                    .col-b{
                        margin-top: 24px;
                    }
                    .content.custom-margin {
                        margin-left: 0;
                    }
                    .featured {
                        margin-left: 0;

                        img {
                            height: 650px;
                        }
                    }
                }

                .section-blocks {
                    .blocks {
                        flex-direction: column;
                    }
                }
            }
        }
    }
}

@media only screen and (min-width: 768px) and (max-width:991px) {
    .page-template-front-page {
        .two-columns {
            .container {
                .section-contents {

                    .featured {

                        img {
                            height: 650px;
                        }
                    }
                }
                .section-blocks {
                    .blocks {
                        justify-content: center;

                        .block {
                            flex: 0 0 30%;
                        }
                    }
                }
            }
        }
    }
}

/*
.hero-contact {
background-color: var(--secondary-color);
color: #fff;
padding: 32px 0;
}

.hero-contact h2 {
color: #fff;
}

.hero-contact label {
margin-bottom: 1rem;
}

.hero-contact input {
width: 100%;
padding: 0.5rem 1rem;
border-radius: 4px;
background-color: #00123936;
border: 1px solid #002e93;
color: #fff;
}

.hero-contact input[type=submit] {
background-color: #fff;
color: #262626;
} */

.tribe-community-events .tribe-event-form-container {
    display: flex;
    flex-wrap: wrap;
    margin: auto;
}

.tribe-community-events .tribe-event-form-container .form-group {
    flex: 1 1 50%;
}

.tribe-community-events .tribe-event-form-container .pr-2 {
    padding-right: 20px;
}

.tribe-community-events .tribe-event-form-container label {
    display: block;
    color: #000 !important;
    font-size: 15px !important;
}

.tribe-events-pg-template .tribe-community-events input[type=text],
.tribe-events-pg-template .tribe-community-events .tribe-event-form-container input {

    width: 100% !important;
    padding: 0 1em;
    outline: 0;
    transition: all .2s ease;
    border: 1px solid #dcdcdc;
    border-radius: 5px;
    background-color: #fff;
    font-size: 12px;
    color: #5e5e5e;
    height: 40px;
    margin: var(--tec-spacer-1) 0 var(--tec-spacer-4);
    box-shadow: none;
}

.tribe-events-pg-template .tribe-community-events input[type=submit],
.tribe-community-events .tribe-button.tribe-button-secondary {
    background: var(--primary-color);
    color: #fff;
    border-color: #fff;
    letter-spacing: .5px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    display: inline-block;
    padding: 14px 15px;
    text-decoration: none;
    line-height: normal !important;
    border-radius: 8px;
}

.tribe-events-pg-template .tribe-community-events input[type=submit]:hover,
.tribe-events .tribe-events-c-search__button:hover,
.tribe-events button.tribe-events-c-search__button:hover {
    opacity: .8;
    background: var(--primary-color) !important;
}

.tribe-community-events tbody tr:nth-child(even),
.tribe-community-events tbody tr:nth-child(odd),
.tribe-community-events tfoot tr:nth-child(even),
.tribe-community-events tfoot tr:nth-child(odd) {
    background-color: transparent;
}

.tribe-community-events .tribe-section.tribe-section-datetime {
    padding-bottom: 0px;
}

.tribe-community-events .tribe-community-event-info {
    margin: 0;
}

.tribe-community-events #event_captcha {
    margin: var(--tec-spacer-1) 0;
    background-color: transparent;
}

.tribe-community-events .tribe-section.tribe-section-datetime .tribe-section-header,
.tribe-community-events .tribe-section.tribe-section-venue .tribe-section-header,
.tribe-community-events .tribe-section.tribe-section-organizer .tribe-section-header {
    margin-bottom: 12px;
}

.g-recaptcha-bubble-arrow + div > iframe {
    min-height: 585px !important;
}

.tribe-community-events .tribe-section.tribe-section-datetime input[type=text] {
    width: 20% !important;
}

.tribe-events .tribe-events-c-search__button,
.tribe-events button.tribe-events-c-search__button {
    background-color: var(--primary-color);
    color: #fff;
}

.tribe-events .tribe-events-c-search__button:visited,
.tribe-events button.tribe-events-c-search__button:visited {
    background-color: var(--primary-color);
    color: #fff !important;
}

.tribe-common .tribe-common-c-btn-border,
.tribe-common a.tribe-common-c-btn-border {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.tribe-events-c-subscribe-dropdown__button:hover {
    background-color: var(--primary-color) !important;
}

@media (max-width: 600px) {
    .tribe-community-events .tribe-event-form-container .form-group {
        flex: 1 1 100%;
    }
}

input#post_title::placeholder {
    font-size: 15px;
}

.tribe-events-tooltip-theme,
.eventForm .tribe-datetime-block tr:nth-child(3),
.eventForm .tribe-datetime-block .tribe-change-timezone {
    display: none !important;
    /* Hide tooltips */
}

/** single event success page */
.tribe-community-events .tribe-community-notice-success p a {
    color: #fff;
    letter-spacing: .5px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    display: inline-block;
    background-color: var(--primary-color);
    padding: 14px 15px;
    text-decoration: none;
    line-height: normal !important;
    border-radius: 8px;
}

.tribe-community-events .tribe-community-notice-success p {
    font-size: 16px;
    color: #4c4c4c;
}

/** single event page */
.single-tribe_events .tribe-events-c-subscribe-dropdown,
.tribe-events .tribe-events-c-subscribe-dropdown {
    margin: 0;
}

#breadcrumbs span strong {
    font-weight: 400;
}

#breadcrumbs span.breadcrumb_last {
    color: #ccc;
}

@media only screen and (max-width: 768px) {
    .header-banner {
        height: auto;
        /* 		min-height: 400px; */
    }

    .header-page-title h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

}

@media (max-width: 782px) {
    .eventForm .tribe-datetime-block .tribe-change-timezone {
        display: none !important;
    }

    .tribe-community-events .tribe-section.tribe-section-datetime input[type=text] {
        width: 100% !important;
    }
}

@media (min-width: 768px) {

    .tribe-events-event-meta.primary,
    .tribe-events-event-meta.secondary {
        width: 50%;
    }

}