header  {

}
.header-inner-wrapper {

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
nav, .language-select {
    display: flex;
    align-items: center;
}
nav ul, .language-select ul {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}
nav ul li {
    padding: 0.3em;
    font-size: 0.95em;

}
.logo {
    width: 50px;
    height: 63px;
    margin: 0 15em 0 0;
}

@media (max-width: 600px) {
    .logo {
        margin: 0 3em 0 0;
    }
    .logo  h1 {
        display: none;
    }
}

.start h1 {
    font-size: 1.5em;
}


.welcome {
    width: 100%;
    min-width: 500px;
    height: 300px;
    display: block;
    overflow: hidden;
}
.slideshow-hover {
    font-size: 0.7em;
}


main {
    margin-top: 8.5em;
}
section {
    min-height: 30%;
    margin: 0 0 0 0;
}
.top-whitespace {
    width: 100%;
    height: 6em;
}
.fullwidth {
    width: 100%;

}
.inner-section {
   height: 100%;
}


.teambild {
    width: 100%;
    height: 55.95%;
}
.team {
    background: #f8f4f0;
}
.aerzte {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3em 0 0 0;

}
.aerzte h1 {
    margin:  1.4em 0 0.7em 0;
    font-size: 1.5em;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    color: #565656;
    text-transform: uppercase;
}
.aerzte-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 5em 0;
}
.aerzte-inner ul {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

footer {
    display: flex;
    background: #6f6f6f;
    padding: 4em 10em;
    font-family: 'Roboto';
    font-size: 0.8em;
    color: #ddd;
}
footer a {
    text-decoration: none;
    color: #ccc;

}
.impressum h2 {
    text-align: center;
    margin: 0;
}
.contact {
    background: #e7e1dc;

}
.contact h1 {
    padding: 1em 0 0 0 ;
    font-size: 1.5em;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    color: #565656;
    text-transform: uppercase;
}
.contact-inner {
    display: flex;
    flex-direction: column;
    width: 90%;
    justify-content: space-around;
    margin: 0 auto 5em;

}
.sprechzeiten {

    width: calc(100% - 8em);
    min-width: 400px;
    text-align: center;
    margin-bottom: 2em;
}

.sprechzeiten table tr td {
    padding: 0.5em 1.5em;
}

.adresse {


    width: calc(100% - 8em);
}
.adresse ul {
    list-style-type: none;
    padding: 2em 2.5em 0;

}
.adresse ul li {
    padding: 0.4em 0;
}

.leistungen h1 {
    font-size: 1.5em;
}



.popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;

    display: none;
    overflow: auto;
}
.inner-popup {
    width: 100%;
    height: 100vh;
    min-width: 400px;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 0 100px rgba(0,0,0,0.56);
}
.popup-text {
    height: 90vh;
    min-height: 370px;
    max-height: 500px;
    padding: 2em 2em 1em 2em;
    overflow-y: scroll;
    font-family: 'Roboto', sans-serif;
}

.vita-inner {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.vita-figure {
    width: 40%;
    margin: auto;
    text-align: center;
}

.vita-text {
    overflow-y: scroll;
    padding: 0 2em;

}
.vita-figure h2 {
    margin-top: 1em;
    color: #747474;
}
.vita-text h4 {
    margin: -0.1em 0 1em 0;

}

.vita-text ul {
    margin: 0 0 2.5em 0;
    display: flex;
    flex-direction: column;
    color: #333;
    list-style-type: disc !important;
    font-size: 0.8em;
}
.vita-text ul li {
    padding: 0.4em 0;
}

.wide-text {
    width: 90%;
    font-size: 0.9em;
    margin-bottom: 0;
}
