/*
 Theme Name:     Praxis Isartal Theme (divi base)
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Theme der Praxis Isartal
 Author:         Christian Huelsemeyer
 Author URI:     huelsemeyer.de
 Template:       Divi
 Version:        1.0.0
*/


/* =Theme customization starts here
------------------------------------------------------- */

@media only screen and (min-width: 1921px) {
    #page-container {
        zoom: 130%;
    }
}

ul {
    margin-left: 5px;
}

ul ul {
    list-style-type: none !important;
}

ul ul>li:not(.menu-item):before {
    content: "–";
    /* en dash here */
    position: absolute;
    margin-left: -1.1em;
}

#main-header {
    box-shadow: none !important;
}

a[href^="tel"] {
    color: inherit;
    /* Inherit text color of parent element. */
    text-decoration: none;
    /* Remove underline. */
    /* Additional css `propery: value;` pairs here */
}

p {
    font-family: 'meta-pro', Helvetica, Arial, Lucida, sans-serif;
}

li.current-menu-item>a {
    box-shadow: 0 4px 0 0 #626f96 !important;
    /*** COLOR AND THICKNESS OF THE LINE ON HOVER ***/
    padding-bottom: 0px;
    opacity: 1 !important;
}

.et_pb_toggle_open .et_pb_toggle_title, .et_pb_toggle_open h5.et_pb_toggle_title {
    color: #333;
}
.et_pb_toggle.et_pb_text_align_left .et_pb_toggle_title, .et_pb_toggle.et_pb_text_align_left h5.et_pb_toggle_title, .et_pb_toggle .et_pb_toggle_title, .et_pb_toggle h5.et_pb_toggle_title {
    cursor: pointer;
    position: relative;
    padding: 0 50px 0 0;
}
.et_pb_toggle_content {
    padding-top: 20px;
    position: relative;
}
.et_pb_toggle_content, .et_pb_toggle_title {
    word-wrap: break-word;
}
.et_pb_toggle_open {
    padding: 20px;
    background-color: #fff;
    z-index: 1;
}

.et_pb_toggle {
    border: 1px solid #d9d9d9; 
}

.et_pb_accordion .et_pb_toggle {
    margin-bottom: 10px;
    position: relative;
}

.et_pb_toggle_close {
    background-color: #f4f4f4;
    padding: 20px;
}

#menu-navigation li>a:hover,
#menu-navigation-englisch li>a:hover {
    box-shadow: 0 4px 0 0 #626f96 !important;
    /*** COLOR AND THICKNESS OF THE LINE ON HOVER ***/
    padding-bottom: 0px;
    opacity: 1 !important;
}

#menu-navigation li li a,
#menu-navigation-englisch li li a {
    padding-bottom: 4px !important;
}

.nav li ul {
    padding-top: 10px;
    border-top: 0px;
    position: fixed;
    top: 110px !important;
    width: 100%;
    left: 0px;
    box-shadow: 0 2px 0 0 #fbfbfb;
    z-index: 99;
}

.xoxo.blogroll {
    margin-left: 20px;
}

.et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li {
    padding-bottom: 15px;
}

@media only screen and (min-width: 980px) {
    .et_pb_column_1_tb_header {
        z-index: 110;
    }
    .et_pb_column_3_tb_header {
        z-index: 110;
    }
}

@media only screen and (max-width: 980px) {
    .hide_mobile {
        visibility: hidden;
        display: none !important;
        clear: both;
    }
}

.hide_mobile {
    padding-bottom: 15px;
}

@media only screen and (max-width: 980px) {
    .et_pb_column_1_tb_header {
        width: 25% !important;
        margin-right: 5px !important;
        margin-left: -45px !important;
        margin-top: 5px !important;
        margin-bottom: 0px !important;
    }
    .et_pb_column_2_tb_header {
        order: 3;
        width: 25% !important;
        margin-right: 5px !important;
        margin-left: 10px !important;
        margin-top: 5px !important;
        margin-bottom: 0px !important;
    }
    .et_pb_column_3_tb_header {
        order: 2;
        margin-right: 5px !important;
        float: right;
        margin-top: 5px !important;
        margin-bottom: 0px !important;
        margin-left: 0px !important;
    }
    .et_pb_button_0_tb_header_wrapper.et_pb_button_alignment_left {
        margin-top: 0px !important;
        margin-left: 36% !important;
    }
    .et_pb_row_1_tb_header {
        margin-top: 5px !important;
        margin-bottom: 0px !important;
        margin-left: 15px !important;
        min-height: unset !important;
    }
    .et_pb_menu_0_tb_header {
        padding-top: 5px !important;
        padding-bottom: 0px !important;
    }
    .et_pb_row_1_tb_header.et_pb_row.et_pb_row--with-menu {
        margin-bottom: 5px !important;
        display: flex;
    }
    .et_pb_divider_0_tb_header.et_pb_divider_position_.et_pb_space {
        height: 5px !important;
    }
    .mobile_nav.opened {
        width: 100%;
        left: 0px;
    }
    .et_pb_column--with-menu {
        position: static !important;
    }
    .et_pb_menu_inner_container {
        position: static;
    }
    .et_pb_section_1_tb_header {
        position: static;
    }
    .mobile_nav.closed .mobile_menu_bar::before {
        content: "" !important;
        position: absolute;
        background: url("/wp-content/uploads/2020/08/hamburger.svg");
        background-size: 30px 30px;
        width: 30px;
        height: 30px;
    }
    .mobile_nav.opened .mobile_menu_bar::before {
        content: "" !important;
        position: absolute;
        background: url("/wp-content/uploads/2020/08/close.svg");
        background-size: 30px 30px;
        width: 30px;
        height: 30px;
    }
    .image-team {
        display: block
    }
    #page-container .et_pb_button.et_pb_button_0_tb_header.et_pb_bg_layout_light {
        background-color: #ffffff !important;
        border-width: 1px !important;
        color: #626f96 !important;
    }
    .et_pb_section_0_tb_header {
        min-height: 0px !important;
    }
}

#info-float-close {
    cursor: pointer;
    display: inline-block;
    text-align: right;
    padding-right: 5px;
    width: 9%;
}

#info-float-info {
    display: inline-block;
    text-align: right;
    width: 4%;
}

#info-float-text {
    padding-top: 5px;
    padding-right: 15px;
    padding-bottom: 5px;
    padding-left: 15px;
    display: inline-block;
    width: 85%;
}

#info-float {
    display: flex;
    align-items: center;
    float: unset;
    position: unset;
    font-size: 15px !important;
    top: 16% !important;
    color: #ffffff;
    background-color: #626f969e;
    border-radius: 5px 5px 5px 5px !important;
    right: 0em !important;
    z-index: 10 !important;
    max-width: 1080px;
    margin: auto;
    animation: fadein 2s;
    -moz-animation: fadein 2s; /* Firefox */
    -webkit-animation: fadein 2s; /* Safari and Chrome */
    -o-animation: fadein 2s; /* Opera */
}

@keyframes fadein {
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}
@-moz-keyframes fadein { /* Firefox */
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}
@-webkit-keyframes fadein { /* Safari and Chrome */
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}
@-o-keyframes fadein { /* Opera */
    from {
        opacity:0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 620px) {
    #info-float {
        float: unset;
        position: unset;
        font-size: 14px !important;
        width: 100%;
        top: 16% !important;
        right: 0em !important;
        z-index: 10 !important;
    }
}

@media (max-width: 980px) {
    #info-float {
        top: 20%;
    }
}

#float {
    width: 14em;
    float: right;
    position: fixed;
    z-index: 9999;
    top: 40%;
    font-size: 1em;
    line-height: 2px;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    right: -10em;
    background-color: #626f96;
    border-radius: 10px;
}

#float ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#float ul li {
    display: block;
    position: relative;
}

#float ul li:hover {
    background-color: #224c68;
}

#float ul li:last-child {
    border-bottom-left-radius: 10px;
}

#float ul li:first-child {
    border-top-left-radius: 10px;
}

#float ul li a {
    display: block;
    height: 3.5em;
    padding: 0.8em 1.2em;
}

@media (max-width: 620px) {
    #float {
        float: unset;
        position: unset;
        font-size: 15px !important;
        width: 100%;
        top: 16% !important;
        background-color: #626f96;
        border-radius: 0px 0px 5px 5px !important;
        right: 0em !important;
        z-index: 10 !important;
    }
    #float ul li:last-child {
        border-bottom-right-radius: 5px;
    }
    #float ul li:first-child {
        border-bottom-left-radius: 5px;
    }
    #float ul {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        flex-wrap: nowrap;
        /* assumes you only want one row */
    }
    #float ul li {
        display: inline-block !important;
    }
    #float ul li a {
        height: 3.5em;
    }
}

@media (max-width: 980px) {
    #float {
        top: 20%;
    }
}

#menu-navigation li li a,
#menu-navigation-englisch li li a {
    width: 50%;
    left: 20%;
    box-shadow: -4px 0 0 0 #626f96!important;
    margin-bottom: 5px;
}

#menu-navigation li li a:hover,
#menu-navigation-englisch li li a:hover {
    width: 50%;
    left: 20%;
    box-shadow: -4px 0 0 0 #626f96!important;
    margin-bottom: 5px;
}

#menu-navigation li li,
#menu-navigation-englisch li li {
    width: 100%;
    left: 10%;
}

.underlined,
.title {
    background: url(/wp-content/themes/Divi/line.gif) left bottom no-repeat;
    margin-bottom: 10px;
}

@media only screen and (min-width: 980px) {
    .et_pb_column_3_tb_header {
        width: 0% !important;
    }
}


/*Menu CTA Button*/

#menu-navigation .et_pb_button,
#menu-navigation-englisch .et_pb_button {
    margin-top: 0px;
    font-size: inherit;
    font-weight: inherit;
    padding-bottom: 0px;
    opacity: 1 !important;
    float: right;
}

#menu-navigation-englisch .et_pb_button {
    content: 'Contact';
}

#menu-navigation .et_pb_button:after,
#menu-navigation-englisch .et_pb_button:after {
    font-size: 23px;
}


/* Praxis Isartal Theming */

.image-team {
    width: 90%;
    max-width: 350px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.isartal-mitglied {
    width: 80%;
    max-width: 1080px;
    padding-top: 0px!important;
    padding-bottom: 0px!important;
    padding-left: 22px!important;
    margin-right: auto!important;
    margin-bottom: 35px!important;
    margin-left: auto!important;
    margin-top: 30px;
}

.isartal-mitglied ul li {
    list-style: disc;
    margin-left: 15px;
}

.isartal-mitglied ul {
    margin-bottom: 10px;
}

.table-lebenslauf {
    border-collapse: unset;
    border-spacing: 8px;
}

.publikationen-kategorie {
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 500;
}

.publikationen-liste li {
    margin-bottom: 15px;
}

.et_pb_toggle.et_pb_toggle_title {
    padding: 10px 50px 10px 0;
    width: 100%;
}

.table-buch-rotator {
    padding: 30px 0px 0px 20px;
    margin: 0px;
    clear: left;
}

.center-buch {
    margin: 10px;
    border: none !important;
}


/* rotator in-page placement */

div.rotator {
    padding: 0px;
    margin: 0px;
    width: 100%;
    min-height: 600px;
}


/* rotator css */

div.rotator ul li {
    padding: 0px;
    margin: 0px;
    float: left;
    position: absolute;
    list-style: none;
}


/* rotator image style */

div.rotator ul li img {
    padding: 0px;
    width: 350px;
    margin: 0px;
    background: #FFF;
}

div.rotator ul li.show {
    padding: 0px;
    margin: 0px;
    z-index: 500
}

#main-content .container:before {
    background: none;
}

.table-termin td {
    padding: 6px 0px !important;
}

.table-termin-icons-td {
    width: 50px;
}

.table-termin-icons {
    padding-left: 10px;
}

.isartal-links,
#post-6763 {
    width: 80%;
    max-width: 1080px;
    padding-top: 0px!important;
    padding-bottom: 0px!important;
    padding-left: 22px!important;
    margin-right: auto!important;
    margin-bottom: 35px!important;
    margin-left: auto!important;
    margin-top: 30px;
}

.linkcat {
    margin-top: 20px;
}

#sidebar {
    float: left;
    width: 100px;
    padding: 0px;
    /* same as #wrap */
}

#sidebar ul {
    margin: 0px;
    padding: 0px;
    margin-top: 5px;
    list-style: none;
}

#sidebar li {
    margin: 0px;
    padding: 10px;
    padding-left: 5px;
    list-style: none;
}

#mainColumn {
    float: right;
    max-width: 735px;
    padding: 20px;
    background: #FFF;
}

#spruch-bild .sprueche {
    position: absolute;
    overflow: hidden;
    width: 100%;
}

#spruch-bild .normaltop {
    width: 960px;
    margin: 15px auto;
    margin-bottom: 0px;
    background-color: #F3F3F3;
    padding: 20px;
    -moz-border-radius-topleft: 3px;
    -moz-border-radius-topright: 3px;
    -moz-border-radius-bottomright: 0px;
    -moz-border-radius-bottomleft: 0px;
    -webkit-border-radius: 3px 3px 0px 0px;
    border-radius: 3px 3px 0px 0px;
}

#spruch-bild .top {
    width: 100%;
    margin: 15px auto;
    margin-bottom: 0px;
    height: 350px;
    overflow: hidden;
}

#spruch-bild-rotation {
    -moz-border-radius-topleft: 2px;
    -moz-border-radius-topright: 2px;
    -moz-border-radius-bottomright: 0px;
    -moz-border-radius-bottomleft: 0px;
    -webkit-border-radius: 2px 2px 0px 0px;
    border-radius: 2px 2px 0px 0px;
    height: 300px;
    width: 100% !important;
    object-fit: cover;
}

.sprueche-quote {
    float: right;
    max-width: 50px;
    margin-right: 50px;
}

#spruch-bild .top .overlay {
    position: absolute;
    margin-top: 50px;
    margin-left: 50px;
    z-index: 500;
    color: #fff;
    width: 90%;
}

#spruch-bild .top .outer {
    margin: 0 auto;
    float: right;
    background-color: #626f96;
}

#spruch-bild .top .autor {
    margin-left: 20px;
    margin-top: -30px;
    position: absolute;
    font-size: 14px !important;
    font-weight: 600 !important;
    font-style: italic !important;
    font-size: 18px !important;
    text-shadow: 1px 2px 3px rgba(0, 0, 0, 0.3);
}

#spruch-bild .top .inner {
    padding: 30px 40px 40px 0px;
    margin-left: 14px;
    color: #fff;
    font-weight: 600 !important;
    font-size: 18px !important;
    text-shadow: 2px 4px 3px rgba(0, 0, 0, 0.3);
}

@media only screen and (max-width: 980px) {
    #spruch-bild .top .inner {
        font-size: 16px !important;
    }
    #spruch-bild .top .autor {
        font-size: 16px !important;
    }
}

.pressemitteilung {
    margin-bottom: 20px;
}

.isartal-presse {
    width: 80%;
    max-width: 1080px;
    padding-top: 0px!important;
    padding-bottom: 0px!important;
    padding-left: 22px!important;
    margin-right: auto!important;
    margin-bottom: 35px!important;
    margin-left: auto!important;
    margin-top: 30px;
}

.pressemitteilung h2 {
    padding-bottom: 0px;
}
