/* new fonts */
@font-face {
    font-family: 'Adelia';
    /* The browser will load the first format it understands. WOFF2 is preferred for performance. */
    src: url('kaweb/adelia.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    /* Optional: 'swap' tells the browser to use a fallback font until the custom font loads */
    font-display: swap;
}

/* general overrides */

html .c-btn, html .c-btn.c-nav_link, html .c-btn.c-mobile-nav_link, html main.template-faq .ahpf-poser-question-wrapper #ahpf_faq_form_question .button-wrapper button, html main.template-questionnaire-odq #template-questionnaire-odq .steps-btn a#return-steps, html main.template-questionnaire-odq #template-questionnaire-odq .steps-btn a#next-steps, html main.template-questionnaire-odq #template-questionnaire-odq .steps-btn button#save, html body.page-template-before-after .navigation .alignleft a, html body.page-template-before-after .navigation .alignright a, html body.page-template-patient-referral form .bottom-wrapper button {
    background-color: #0F6491 !important;
    color: white !important;
}

body.home.page {
    background-color: #343937 !important;
}
body.page, body.single {
    background-color: #fff !important;
    color: #343937 !important;
}
body.page .c-heading.-h3,
body.page .c-heading.-h4,
body.single .c-heading.-h3,
body.single.c-heading.-h4,
body.page h3,
body.page h4,
body.single h3,
body.single h4,
html body.page .c-schedule-table_day,
html body.page .c-schedule-table_hours,
body.page a:not(.c-btn):not(footer a):not(.c-nav a),
body.page p,
body.single a:not(.c-btn):not(footer a):not(.c-nav a),
body.single p {
    color: #343937 !important;
}
.c-hero_overline.c-heading.-h3 {
    font-weight: 400;
}
.u-padding-vertical-xl.u-bg-surface,
footer .o-container,
footer .c-heading.-h3 {
    background-color: #F1EBDF !important;
    color: #343937;
}

body.single .c-dynamic-content_form,
body.single .c-dynamic-content_form:before {
    display: none;
}

/* menu */

body .c-nav_sub-menu {
    background-color: #0F6491;
}

/* home sections */

div.c-hero_content p {
    color: #353A38 !important;
    font-size: 3.6rem !important;
    line-height: 1.2em !important;
    margin-bottom: 0 !important;
    font-family: 'Adelia', sans-serif;
}
div.c-hero_content h1 {
    font-size: 2rem !important;
    font-weight: 200 !important;
    padding-left: 7em;
}

html body .c-hero .c-hero_media::after {
    opacity: 0;
    z-index: 0;
}

html body .c-carousel_btn {
    border-color: #353A38 !important;
}

html body .c-carousel_btn:after {
    background-color: #353A38 !important;
}
    html body .c-carousel_btn:focus, 
    html body .c-carousel_btn:hover {
        background-color:white;
    }
html body .c-progress .c-progress_bar {
    background-color: #DFE2DA;
}

main section.o-section:nth-child(3) {
    background-color: #F1EBDF;
    color: #353A38;
}

    main section.o-section:nth-child(3) .c-heading.-h3 {
        color: #353A38;
    }

    main section.o-section:nth-child(3) a:hover {
        color: #0F6491 !important;
    }
    
.c-service.o-layout_item p,
.c-service.o-layout_item a {
    color: #353A38;
}
main section.o-section:nth-child(4) {
    padding-bottom: 200px;
}
main section.o-section:nth-child(5) {
    position:relative;
    background-color: #F1EBDF !important;
}

    main section.o-section:nth-child(5):before {
        position: absolute;
        top: -105px;
        right: 100px;
        width: 100%;
        display: block;
        content:"";
        height: 100px;
        background-color: #0F6491;
        border-top: 5px solid #BB9A63;

    }
    main section.o-section:nth-child(5):after {
        position: absolute;
        top: -170px;
        width: 100px;
        height: 170px;
        right: 0;
        content: "";
        background-image: url('kaweb/o-right_opaque.png');
        background-repeat: no-repeat;
        background-position: top left;
        background-size: 101px 171px;
        z-index: 1;
    }

    main section.o-section:nth-child(5) .o-container {
        margin-top: -135px;
    }

        main section.o-section:nth-child(5) .o-container h2.o-section_heading {
            color: #F1EBDF !important;
        }

        main section.o-section:nth-child(5) .o-container .c-members-grid-modele-1 {
            margin-top: 100px;
        }

main > p {
    display: none;
}

/* footer */
footer .o-layout_item p,
footer .o-layout_item a {
    color: #343937 !important;
}       
    footer .o-layout_item a.c-btn {
        color: white !important;
    }
        footer .o-layout_item a.c-btn:hover {
            color: white !important;
        }
    footer .o-layout_item a:hover {
        color: #0F6491 !important;
    }
html body .u-bg-footer {
    background-color: #343937;
    color: #ffffff;
} 

    html .u-bg-footer p,
    html .u-bg-footer a,
    html .u-bg-footer a.c-link {
        color: white !important;
    }

    html body .u-bg-footer .c-circle-btn {
        background-color: #C29556;
    }

    .cky-btn-revisit-wrapper {
        background-color: #C29556 !important;
    }


/* forms */

html body .c-form {
    background-color: #F1EBDF;
}

html body .c-form .c-text-field,
html body .c-form .c-textarea,
html body .c-form .c-select_head,
html body .c-form .c-datepicker_input,
body.page-template-patient-referral form input[type="text"],
body.page-template-patient-referral form input[type="number"],
body.page-template-patient-referral form input[type="email"],
body.page-template-patient-referral form textarea {
    color: #2b2a34 !important;
    background-color: #ededed;
    border: 1px solid #0F6491;
}
body.page-template-patient-referral form ::placeholder {
    color: #2b2a34 !important;
}
body.page-template-patient-referral form .dropzone {
    background-color: #ededed !important;
    border: 1px solid #0F6491 !important;
    color: #2b2a34;
}

body .c-form,
body.page-template-patient-referral form {
    background-color: #F1EBDF !important;
}

body button.button.wp-plogg-privacy-policy-form-button, 
body .cookie-button {
    background-color: #0F6491;
}


/* layouts */
html body main.job-offers .c-form {
    background-color: #3C413F;
}

html .c-member-modal_content {
    background-color: #F1EBDF;
}
html .c-member-modal_title .c-member-modal_heading {
    color: #0F6491 !important;
}
html .c-member-modal_close {
    border-color: #0F6491 !important;
}
html .c-member-modal_close .c-icon {
    background-color: #0F6491 !important;
}
/* menu */
body .c-nav_sub-menu-nav-item.has-children .c-nav_sub-menu-nav-link:after,
body.c-nav_sub-menu-nav-item.has-children .c-nav_sub-sub-menu-nav-link:after,
body.c-nav_sub-sub-menu-nav-item.has-children .c-nav_sub-menu-nav-link:after,
body.c-nav_sub-sub-menu-nav-item.has-children .c-nav_sub-sub-menu-nav-link:after {
    background-color: #E1C8A0 !important;
}
.c-nav_sub-menu a.c-link, 
.c-nav_sub-menu a {
    color: white !important;
}
        .c-nav_sub-menu a.c-link:hover,
        .c-nav_sub-menu a:hover {
            color: #E1C8A0 !important;
        }

/* headers inner */

body main .title-default-page {
    background-color: #0F6491;
}
    body main .title-default-page h1.o-title{
        color: #E1C8A0;
    }

/* hero slider */
.c-hero_inner {
    position: relative;
}
.c-hero_inner:before {
    position: absolute;
    bottom: 0;
    width:  100px;
    height: 170px;
    right: 0;
    content: "";
    background-image: url('kaweb/o-right_trans.png');
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
}
.c-hero_inner:after {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;
    right: 100px;
    content: "";
    background-color: rgba(15, 100, 154, 0.5);
    border-top: 10px solid #C29556;
    z-index: 1;
}

/* visitez */

.page-template-visit-the-clinic .o-section.u-bg-surface {
    background-color: #0F6491;
}

    .page-template-visit-the-clinic .o-section.u-bg-surface h2.o-section_heading {
        color: #E1C8A0;
    }
/* media queries */
@media (max-width: 860px) {

    /* Your CSS styles for screens 860px and below go here */

    main section.o-section:nth-child(5):before {
        display: none;
    }

    main section.o-section:nth-child(5) .o-container .o-section_heading {
        margin-left: -2.5rem;
        margin-right: -2.5rem;
        padding: 1.5rem 0;
        background-color: #0F6491;
        border-top: 5px solid #BB9A63;
    }

    main section.o-section:nth-child(5):after {
        display: none;
    }
        .c-hero_overline.c-heading.-h3,
        .c-hero_heading.c-heading.-h0 {
            display: none;
        }
}
@media (max-width: 425px) {
    main section.o-section:nth-child(5) .o-container .o-section_heading {
            margin-left: -1.5rem;
            margin-right: -1.5rem;
        }
    /* Your CSS styles for screens 425px and below go here */
    .c-hero_overline.c-heading.-h3,
    .c-hero_heading.c-heading.-h0 {
        display: none;
    }
    .c-hero.full .c-hero_content.-mobile_v-align-center {
        bottom: 200px;
    }
    .c-hero_btn {
        margin: 0 auto;
    }
}