/* Allgemeine Einstellungen */

:root {
    --body: #666;
    --primary: #0C3F6C;
    --secondary: #6AAAD0;
    --weiss: #fff;
    --schwarz: #000;
    --lightgrey: #999;
}

body {
    font-family: 'Heebo';
    font-style: normal;
    color: var(--body);
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Heebo';
    font-style: normal;
}

h1 {
    color: var(--weiss);
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.24px;
    line-height: 37px;
}

#contentseite h1 {
    color: var(--body);
    font-size: 28px;
}

.page-id-99 h1,
.page-id-105 h1 {
    color: var(--primary);
    font-size: 34px;
    font-weight: 900;
    letter-spacing: -0.24px;
    line-height: 37px;
    margin-bottom: 30px;
}

h2 {
    color: var(--primary);
    font-size: 30px;
    font-weight: bold;
    line-height: 38px;
}

@media only screen and (max-width: 767px) {
    h2 {
        font-size: 25px;
        font-weight: bold;
        line-height: 32px;
    }
}

.page-id-99 h2,
.page-id-105 h2 {
    font-size: 24px;
    line-height: 26px;
    margin-top: 30px;
}

h3 {
    color: var(--secondary);
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 1px;
    line-height: 38px;
}

h3.et_pb_module_header {
    line-height: 28px;
}

.et_pb_text_inner h3 {
    margin-top: 40px;
}

.page-id-99 .et_pb_text_inner h3,
.page-id-105 .et_pb_text_inner h3 {
    margin-top: 0;
}

.contentseite_breit h3 {
    font-size: 28px;
}

a {
    color: var(--primary);
    text-decoration: none;
}

.vertical-align {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

small {
    font-size: 80%;
    font-style: italic;
}

.thin {
    font-weight: lighter;
}

.circleimg img {
    border-radius: 50%;
}

.narrow {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}

.semibold {
    font-weight: semibold;
}

.zentriert .et_pb_text_inner {
    text-align: center;
}

.keinabstand_unten {
    padding-bottom: 0 !important;
}

.keinabstand_oben {
    padding-top: 0 !important;
}

#et_search_icon:hover,
#top-menu li.current-menu-ancestor>a,
#top-menu li.current-menu-item>a,
.bottom-nav li.current-menu-item>a,
.comment-reply-link,
.entry-summary p.price ins,
.et-social-icon a:hover,
.et_password_protected_form .et_submit_button,
.footer-widget h4,
.form-submit .et_pb_button,
.nav-single a,
.posted_in a,
.woocommerce #content div.product p.price,
.woocommerce #content div.product span.price,
.woocommerce #content input.button,
.woocommerce #content input.button.alt,
.woocommerce #content input.button.alt:hover,
.woocommerce #content input.button:hover,
.woocommerce #respond input#submit,
.woocommerce #respond input#submit.alt,
.woocommerce #respond input#submit.alt:hover,
.woocommerce #respond input#submit:hover,
.woocommerce .star-rating span:before,
.woocommerce a.button,
.woocommerce a.button.alt,
.woocommerce a.button.alt:hover,
.woocommerce a.button:hover,
.woocommerce button.button,
.woocommerce button.button.alt,
.woocommerce button.button.alt:hover,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce input.button,
.woocommerce input.button.alt,
.woocommerce input.button.alt:hover,
.woocommerce input.button:hover,
.woocommerce-page #content div.product p.price,
.woocommerce-page #content div.product span.price,
.woocommerce-page #content input.button,
.woocommerce-page #content input.button.alt,
.woocommerce-page #content input.button.alt:hover,
.woocommerce-page #respond input#submit,
.woocommerce-page #respond input#submit.alt,
.woocommerce-page #respond input#submit.alt:hover,
.woocommerce-page #respond input#submit:hover,
.woocommerce-page .star-rating span:before,
.woocommerce-page a.button,
.woocommerce-page a.button.alt,
.woocommerce-page a.button.alt:hover,
.woocommerce-page a.button:hover,
.woocommerce-page button.button,
.woocommerce-page button.button.alt,
.woocommerce-page button.button.alt:hover,
.woocommerce-page button.button:hover,
.woocommerce-page div.product p.price,
.woocommerce-page div.product span.price,
.woocommerce-page input.button,
.woocommerce-page input.button.alt,
.woocommerce-page input.button.alt:hover,
.woocommerce-page input.button:hover,
.wp-pagenavi a:hover,
.wp-pagenavi span.current {
    color: var(--primary);
}

.et-search-form,
.et_mobile_menu,
.footer-widget li:before,
.nav li ul,
blockquote {
    border-color: var(--primary);
}

.et_overlay:before,
.et_pb_bg_layout_light .et_pb_more_button,
.et_pb_bg_layout_light .et_pb_newsletter_button,
.et_pb_bg_layout_light .et_pb_promo_button,
.et_pb_bg_layout_light.et_pb_module.et_pb_button,
.et_pb_contact_submit,
.et_pb_filterable_portfolio .et_pb_portfolio_filters li a.active,
.et_pb_filterable_portfolio .et_pb_portofolio_pagination ul li a.active,
.et_pb_gallery .et_pb_gallery_pagination ul li a.active,
.et_pb_member_social_links a:hover,
.et_pb_pricing li a,
.et_pb_pricing_table_button,
.et_pb_sum {
    color: var(--primary);
}

.et_pb_toggle_title:before {
    color: var(--primary);
}

.mobile_menu_bar:after,
.mobile_menu_bar:before {
    color: var(--schwarz);
}

div.mehr_erfahren>div {
    font-style: normal;
    font-size: 12px;
    letter-spacing: 0.46px;
    line-height: 18px;
    color: var(--primary);
    text-align: left;
    text-transform: uppercase;
}

div.mehr_erfahren>div:after {
    content: "\2192";
    margin-left: 12px;
}

.et_pb_button,
button {
    border: 1px solid var(--primary);
    border-radius: 2px;
    background-color: var(--primary);
    color: var(--weiss);
    font-size: 14px;
    letter-spacing: 0.93px;
    line-height: 15px;
    text-transform: uppercase;
    font-weight: 400;
    padding: 12px;
    margin-top: 15px;
}

.et_pb_button:after,
button:after {
    content: "\2192";
    margin-left: 12px;
    color: var(--weiss);
    position: unset;
    opacity: unset;
    font-size: unset;
}

.et_pb_button:hover,
button:hover {
    border: 1px solid var(--primary) !important;
    background-color: var(--weiss) !important;
    color: var(--primary);
    padding: 12px !important;
    cursor: pointer;
}

.et_pb_button:hover:after,
button:hover:after {
    color: var(--primary);
    margin-left: 12px;
}

.mehr {
    color: var(--primary);
    font-size: 14px;
    letter-spacing: 0.93px;
    line-height: 15px;
    text-transform: uppercase;
    max-width: 550px;
    margin: 0 auto;
}

.mehr:after {
    content: "\2192";
    margin-left: 8px;
    display: inline-block;
}

.mehr>div {
    display: inline-block;
}

/* Allgemeines Layout */

.page-id-99 #main-content>div,
.page-id-105 #main-content>div,
.page-id-99 div.et_pb_section_0,
.page-id-105 div.et_pb_section_0 {
    padding-top: 0 !important;
}

.page-id-99 .et_pb_module,
.page-id-105 .et_pb_module {
    margin-top: 50px;
}

/* Contentseite */

.contentseite div.et_pb_section:not(:first-of-type) div.et_pb_row {
    max-width: 800px;
    margin: 0 auto;
}

.page-id-99 .contentseite div.et_pb_row,
.page-id-105 .contentseite div.et_pb_row {
    max-width: 800px;
    margin: 0 auto;
}

/* Ende Contentseite */

/* Ende Allgemeines Layout */

/* Praxis */

@media only screen and (min-width: 981px) {
    .et_pb_gutters3 .et_pb_column_4_4 .et_pb_grid_item {
        margin: 0 5.5% 7.5% 0;
        width: 29.666%;
    }
}

/* Ende Praxis */

/* Willkommen */

@media only screen and (max-width: 980px) {
    #vorstellung {
        margin-top: 100px;
    }
}

#vorstellung .et_pb_image {
    width: 45%;
    float: left;
}

#vorstellung .et_pb_image:first-of-type {
    margin-right: 10%;
}

#vorstellung .et_pb_image img {
    border-radius: 50%;
}

/* Ende Willkommen */

/* Leistungen */

@media only screen and (min-width: 981px) {
    #leistungen .et_pb_column_1_2 {
        width: 40%;
    }

    #leistungen .et_pb_equal_columns .et_pb_column_1_2:nth-of-type(1) {
        margin-right: 20%;
    }
}

#leistungen .et_pb_blurb_content {
    display: initial;
}

.et_pb_main_blurb_image {
    height: 100px;
    width: 100px !important;
    border-radius: 50%;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.15);
    vertical-align: middle;
    display: table-cell;
    position: relative;
    left: -80px;
    top: 35px;
    padding: 15px;
}

div.et_pb_main_blurb_image>span>img {
    max-height: 65px;
    width: 65px;
}

@media only screen and (max-width: 767px) {
    #leistungen .et_pb_equal_columns {
        padding-left: 25px;
    }

    .et_pb_main_blurb_image {
        height: 70px;
        width: 70px !important;
        left: -50px;
    }
}

/* Ende Leistungen */

/* Öffnungszeiten */

#oeffnungszeiten .et_pb_column {
    width: unset;
    margin: 0;
    max-width: 80%;
    position: relative;
}

#oeffnungszeiten .et_pb_text {
    padding: 45px;
    background: var(--weiss);
}

@media only screen and (min-width: 768px) {
    #oeffnungszeiten {
        max-width: 1200px;
        margin: 0 auto;
    }

    #oeffnungszeiten .et_pb_column {
        margin: 115px 0;
        max-width: 650px;
        width: 40%;
        float: left;
    }

    #oeffnungszeiten .et_pb_text {
        padding: 40px;
    }
}

@media only screen and (max-width: 767px) {
    #oeffnungszeiten {
        margin-bottom: 200px;
    }

    #oeffnungszeiten .et_pb_column {
        top: 200px;
        width: 80%;
        margin: 0 auto;
        left: 10%;
    }
}

#oeffnungszeiten h2 {
    font-size: 30px;
    font-weight: bold;
    line-height: 38px;
}

@media only screen and (max-width: 767px) {
    #oeffnungszeiten h2 {
        font-size: 25px;
        font-weight: bold;
        line-height: 32px;
    }
}

#oeffnungszeiten_table {
    border: unset;
}

#oeffnungszeiten_table tr td {
    border: unset;
    padding: 6px 0;
}

#oeffnungszeiten_table tr td:first-of-type {
    font-weight: bold;
}

.wochentag {
    font-weight: bold;
}

.uhrzeit {
    float: right;
}

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

    .wochentag,
    .uhrzeit {
        width: 100%;
        display: block;
    }

    .uhrzeit {
        float: unset;
    }
}

/* Ende Öffnungszeiten */

/* Praxisteam */

#praxisteam .et_pb_column {
    width: unset;
    margin: 0;
    max-width: 80%;
    float: right;
    position: relative;
}

#praxisteam .et_pb_text {
    padding: 45px;
    background: var(--weiss);
}

@media only screen and (min-width: 768px) {
    #praxisteam {
        margin-right: 150px;
    }

    #praxisteam .et_pb_column {
        width: unset;
        margin: 115px 0;
        max-width: 530px;
        float: right;
    }

    #praxisteam .et_pb_text {
        padding: 75px;
    }
}

@media only screen and (max-width: 767px) {
    #praxisteam {
        margin-bottom: 100px;
    }

    #praxisteam .et_pb_column {
        top: 200px;
    }
}

#praxisteam h2 {
    font-size: 30px;
    font-weight: bold;
    line-height: 38px;
}

@media only screen and (max-width: 767px) {
    #praxisteam h2 {
        font-size: 25px;
        font-weight: bold;
        line-height: 32px;
    }
}

.mitarbeiter .et_pb_main_blurb_image {
    height: unset;
    width: unset !important;
    border-radius: unset;
    box-shadow: unset;
    vertical-align: unset;
    display: unset;
    position: unset;
    left: unset;
    top: unset;
}

.mitarbeiter div.et_pb_main_blurb_image>span>img {
    max-height: unset;
    width: unset;
}

.mitarbeiter .et_pb_blurb_container,
.mitarbeiter .et_pb_blurb.et_pb_text_align_left .et_pb_blurb_content .et_pb_blurb_container {
    text-align: center;
}

/* Ende Praxisteam */

/* Stack Order */
@media only screen and (max-width: 980px) {

    /*** wrap row in a flex box ***/
    .custom_row {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-wrap: wrap;
        /* Safari 6.1+ */
        flex-wrap: wrap;
    }

    /*** custom classes that will designate the order of columns in the flex box row ***/
    .first-on-mobile {
        -webkit-order: 1;
        order: 1;
    }

    .first-on-mobile img {
        margin-bottom: 30px;
    }

    .second-on-mobile {
        -webkit-order: 2;
        order: 2;
    }

    .third-on-mobile {
        -webkit-order: 3;
        order: 3;
    }

    .fourth-on-mobile {
        -webkit-order: 4;
        order: 4;
    }

    /*** add margin to last column ***/
    .custom_row:last-child .et_pb_column:last-child {
        margin-bottom: 30px;
    }
}

/* Stack Order Smartphone */
@media only screen and (max-width: 479px) {

    /*** custom classes that will designate the order of columns in the flex box row ***/
    .first-on-smartphone {
        -webkit-order: 1;
        order: 1;
    }

    .first-on-smartphone img {
        margin-bottom: 30px;
    }

    .second-on-smartphone {
        -webkit-order: 2;
        order: 2;
    }

    .third-on-smartphone {
        -webkit-order: 3;
        order: 3;
    }

    .fourth-on-smartphone {
        -webkit-order: 4;
        order: 4;
    }
}

/* Sidebar Removal */
#main-content .container:before {
    background: none;
}

@media (min-width: 981px) {
    #left-area {
        width: 100%;
        padding: 23px 0px 0px !important;
        float: none !important;
    }
}

.et_pb_scroll_top.et-pb-icon {
    color: var(--weiss);
    background: var(--primary);
}

/*================================================
    BorlabsCookie
================================================*/

#BorlabsCookieBox ._brlbs-btn:hover,
#BorlabsCookieBox ._brlbs-btn-accept-all:hover,
#BorlabsCookieBox ._brlbs-btn,
#BorlabsCookieBox ._brlbs-refuse-btn a,
#BorlabsCookieBox a._brlbs-refuse-btn,
#BorlabsCookieBox ._brlbs-manage-btn a {
    background: var(--primary);
    color: #fff;
}

#BorlabsCookieBox a,
#BorlabsCookieBox ._brlbs-manage a,
#BorlabsCookieBox a:hover,
#BorlabsCookieBox ._brlbs-manage a:hover {
    color: var(--primary);
}

#BorlabsCookieBox a:hover,
#BorlabsCookieBox ._brlbs-manage a:hover {
    filter: brightness(90%);
}

#BorlabsCookieBox ._brlbs-btn:hover,
#BorlabsCookieBox ._brlbs-btn-accept-all:hover,
#BorlabsCookieBox ._brlbs-refuse-btn a:hover,
#BorlabsCookieBox a._brlbs-refuse-btn:hover,
#BorlabsCookieBox ._brlbs-manage-btn a:hover {
    filter: brightness(90%);
    background: var(--primary);
    color: #fff;
}

.BorlabsCookie ._brlbs-btn-switch input:checked+._brlbs-slider {
    background-color: var(--primary);
}

.BorlabsCookie ._brlbs-checkbox input:checked~._brlbs-checkbox-indicator {
    background-color: var(--primary);
    border-color: var(--primary);
}

.BorlabsCookie ._brlbs-checkbox ._brlbs-checkbox-indicator {
    border-color: var(--primary);
}

.BorlabsCookie ._brlbs-checkbox input:disabled~._brlbs-checkbox-indicator::after {
    border-color: #eee;
}



.neupatienten {
    background-color: var(--primary, #0C3F6C);
    padding: 3em 0;
}

.neupatienten div {
    width: 80%;
    margin: 0 auto;
    max-width: 1080px;
}


.neupatienten h2,
.neupatienten p {
    color: var(--white, #fff);
    text-align: center;
    max-width: 768px;
    margin: 0 auto;
}



/* Dr. Flex mit Brachialgewalt über den Divi Header (z-index 99999) heben */
#dr-flex-modal, 
.dr-flex-modal, 
#dr-flex-container, 
div[id^="dr-flex"],
iframe[src*="dr-flex"] {
    z-index: 2147483647 !important; /* Maximal möglicher Wert im Browser */
    position: fixed !important;
}

/* Scrollen verhindern, wenn offen */
body.dr-flex-open {
    overflow: hidden !important;
}