/*  ALLGEMEIN Anfang  ------------------------------------------------------------------------------------------  */

ul, ol {
    margin-top: 0;
    margin-bottom: 50px;
}

.home .content {
    background: transparent;
    padding: 0rem 15px 6rem;
}

.home h1 {
    margin-top: 6rem;
}

.home h1+span {
    font-size: 2.5rem;
    color: #333333;
    display: block;
    margin-bottom: 2rem;
}

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

.content .headlienpic img {
    margin-top: 6.8rem;
}

.content > div.row > div > div.row > div > h3:first-of-type {
    margin-top: 0rem;
}

.terminbutton {
    background: #51afd2;
}

html.startseite {
    background-image: none;
}

body {
    background: url(/wp-content/uploads/2021/07/wasserzeichen.png) center top no-repeat;
    background-position: 50% -75%;
}

@media (max-width: 991px) {

.willkommen {
    display: none;
} 

    h1, .home h1, .home h2 {
        font-size: 2.2rem;
}

    .home h1 {
        margin-top: 1rem;
}

    .home .content {
        background: transparent;
        padding: 2rem 15px 2rem;
}

    html {
        background-size: 16.4vh;
}

    .content img {
        margin-bottom: 3rem;
}

}

@media (min-width: 992px) {
    .content > div.row > div > div.row > div > h3:first-of-type {
        margin-top: 0rem;
}

    .justmobile {
        display: none;
}

    .home .content img {
        width: 100%;
        max-width: 200px;
        margin: 1rem 0 3rem;
}

    .content img.bildrechts {
        float: right;
        margin: 0 0 2rem 2rem;
        max-height: 300px;
        width: auto;
    }
    
    .content img.bildlinks {
        float: left;
        margin: 0 2rem 2rem 0;
        max-height: 300px;
        width: auto;
    }

    .content img {
        margin: 1rem auto 3rem;
        display: block;
}
}

@media (min-width: 992px) and (max-width: 1399px) {
    h1, .home h1 {
        font-size: 2.6rem;
}
}

/*  ALLGEMEIN ENDE  ------------------------------------------------------------------------------------------  */


/* Querbox Anfang -------------------------------------------------------------------------------------------------*/

.querbox {
    background: linear-gradient(45deg, rgb(53 129 218) 0%, #51afd2 60%, #3581da 100%);
    padding: 13rem 0;
}

.querbox img {
    width: 100%;
    max-width: 500px;
    min-height: 1px;
}

.querbox .box1 {
    background: rgba(255, 255, 255, 0.8);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 3rem;
}

.querbox .box1 img {
    border-radius: 100%;    
}

.querbox .box1:nth-of-type(2n) {
    border-radius: 100%;    
}

.querbox p {
    text-align: center;
}

.querbox .container::after, .querbox .container::before {
    display: table;
    content: " ";
}

@media (max-width:991px) {
.querbox .box1:first-of-type {
    margin-bottom: 2rem;
}
}

/* Querbox Ende -------------------------------------------------------------------------------------------------*/

/* Footer Anfang -------------------------------------------------------------------------------------------------*/

footer img {
    width: 100%;
    margin: 0 auto;
    margin-top: 15rem;
}

/* Footer Ende -------------------------------------------------------------------------------------------------*/

/* Partner Anfang -------------------------------------------------------------------------------------------------*/

.partner-galerie > div {
    height: 150px;
}

.partner-galerie img {
    max-width:150px;
    max-height:150px;
}

/* Partner Ende -------------------------------------------------------------------------------------------------*/

/* Liste Dr. Schmidt Anfang -------------------------------------------------------------------------------------------------*/

.row-tabelle-gray {
background: #efefef;
    padding-top: 2rem;
    margin-left: 0;
    margin-right: 0;
}

.row-tabelle-white {

background: white;
    padding-top: 2rem;
    margin-left: 0;
    margin-right: 0;

}

/* Liste Dr. Schmidt Ende -------------------------------------------------------------------------------------------------*/

/* Sidebar Anfang -------------------------------------------------------------------------------------------------*/

aside .textwidget {
    border-left: 2px solid #51afd2;
    padding-left: 4rem;  
    margin-bottom: 4rem;
}

aside .textwidget h3 {
    margin-top: 0;
    color: #51afd2;
    font-size: 2rem;   
    font-weight: 700;
    text-transform: uppercase;
}

aside .textwidget p:last-of-type {
    padding-bottom: 0;
}

/* Sidebar Ende -------------------------------------------------------------------------------------------------*/

/* Subheader ANFANG ---------------------------------------------------------------------------------------------*/

.subheader .subbox {
    text-align: center; 
    background: rgba(81, 175, 210, 80%); 
    width: 100%;  
    padding: 3rem;
    margin-top: 1.5rem;
    border-radius: 5px;
    box-shadow: 3px 3px 5px 0 rgb(0 0 0 / 20%), 0 0 20px 0 rgb(0 0 0 / 20%);
    border: 1px solid #fff;
    transition: all 0.2s ease-out;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    -ms-transition: all 0.2s ease-out;
}

.subheader .subbox:hover {
    transform: scale(1.03);
    -webkit-transform: scale(1.03);
    -moz-transform: scale(1.03);
    -o-transform: scale(1.03);
    -ms-transform: scale(1.03);
}

.subheader p {
    text-transform: uppercase;
    font-family: 'Audiowide', display;
    color: white;
    padding-bottom: 0rem;
    font-size: 1.6rem;
}

.home .subheader img {
    width: 6rem;
    position: absolute;
    left: 0;
    right: 0;
    background: #51afd2;
    border-radius: 100%;
    z-index: 1;
    top: -1.5rem;
    margin: 0 auto;
}

.subheader .subbox:hover p {
    color: white;
}

.row.subheader {
    margin-top: 8rem;
}

@media (max-width:991px) {
.subheader .subbox {
    margin-bottom: 3rem;

}    
    .subheader.pad {
        display: none;
}
}

@media (min-width: 1200px) {
    
    .subheader.pad {
        display: none;
}
}

@media (min-width: 992px) and (max-width: 1199px) {
    .subheader {
        display: none;    
}

    .subheader.pad {
        display: block;    
}
}


/* Subheader ENDE ---------------------------------------------------------------------------------------------*/

/* Mitglieder ANFANG ---------------------------------------------------------------------------------------- */

.home .content .mitglied > img, .mitglied > .tv-icon-box  img{
    width: 100%;
    max-width: 150px;
    margin: 1rem 0 3rem;
}

@media (min-width: 992px) {
    .home .content .mitglied > img:nth-of-type(1) {
        margin-top: 7rem;
}

    .home .content .mitglied > img:nth-of-type(7) {
        max-width: 85px;
} 
}

@media (max-width: 991px) {
    .home .content .mitglied > br {
       display: none;
}

    .home .content .mitglied > img {
        max-width: 80px;
}

    .mitglied {
        margin-top: 2rem;    
}

    .mitglied > img:first-of-type, .mitglied > img:nth-of-type(2), .mitglied > .tv-icon-box img, #jameda-widget-container1094619, #jameda-widget-container397456, #jameda-widget-container398216 {
        display: block;
        margin: 1rem auto 3rem !important;     
} 
}

/* Mitglieder ENDE ---------------------------------------------------------------------------------------- */

/* Leistungen ANFANG ---------------------------------------------------------------------------------------*/

.leistungen > div:nth-of-type(even) .leistungsbox > .leistungsbox-inner .leistungsbox-front {
    background-color: #a8a29f;
} 

.leistungen > div:nth-of-type(even) .leistungsbox > .leistungsbox-inner .leistungsbox-back {
    background-color: #51afd2;
}

.leistungsbox {
    height: 280px;
    margin-bottom: 3rem;
    perspective: 1000px;
}

.leistungsbox-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.leistungsbox:hover .leistungsbox-inner {
  transform: rotatex(180deg);
}

.leistungsbox-front, .leistungsbox-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.leistungsbox-front {
  background-color: #51afd2;
}

.leistungsbox-back {
  background-color: #a8a29f;
  transform: rotatex(180deg);
  padding: 2rem;
}

.leistungsbox p {
    text-align: center;
    padding-bottom: 0rem;
    font-size: 2rem;
    font-family: 'Audiowide', display;
    color: white;
}

.leistungsbox .leistungsbox-back p {
    font-size: 1.7rem;
}  

@media (max-width: 991px) {
    .leistungsbox .leistungsbox-back p {
        font-size: 1.4rem;
}
} 

/* Leistungen ENDE ---------------------------------------------------------------------------------------*/

/* Accordion ANFANG -------------------------------------------------------------------------------------*/

.accordion_container {
    padding: 0;
}

.accordion_container .panel {
    -webkit-box-shadow: none;
    box-shadow: none;
}

.accordion_container .panel-body p {
	padding: 1rem 0;
}

.accordion_container p {
    margin: 0;
    padding-bottom: 0;
}

.accordion {
    border-bottom: 1rem solid transparent;
}

a.accordion-button {
    padding: 1rem;
    display: block;
    line-height: 2rem;
    text-decoration: none;

    -moz-transition: all .3s ease-in;
    -o-transition: all .3s ease-in;
    -webkit-transition: all .3s ease-in;
    transition: all .3s ease-in;

}
a.accordion-button .glyphicon {
    position: relative;
    top: 5px;
    padding-right: 0.5rem;
    font-size:2rem;

}

a.accordion-button:hover {
    text-decoration: none;
}

.accordion-panel {
    margin: 0 0 0 0;
    border-radius: 0 !important;
    border: none;
}

.panel-group {
    margin-bottom: 0px;
} 

a.accordion-button.v3 span {
    color: #51afd2;
    background-color: transparent;  
    -moz-transition: all .3s ease-in;
    -o-transition: all .3s ease-in;
    -webkit-transition: all .3s ease-in;
    transition: all .3s ease-in;
    font-weight: 300;
    font-family: 'Audiowide', display;
}

a.accordion-button.v3:hover span {
    color: #a8a29f; 
}

a.accordion-button.collapsed.v3 span {
    background-color: transparent;
    -moz-transition: all .0s ease-in;
    -o-transition: all .0s ease-in;
    -webkit-transition: all .0s ease-in;
    transition: all .0s ease-in;
    font-weight: 300;
    color: #51afd2;
    font-family: 'Audiowide', display;
}

a.accordion-button.v3:hover {
    color: white;
    background-color: transparent;
    font-weight: 300;
}

a.accordion-button.collapsed.v3:hover span {
    color: #a8a29f;
    background-color: transparent;
    font-weight: 300;
}

.panel {
        background-color: transparent;
}


 

/* Accordion ENDE -------------------------------------------------------------------------------------*/

/* Farbiger Hintergrund ANFANG -----------------------------------------------------------------------*/

section.color-background {
    padding-top: 16rem;
    padding-bottom: 7rem;
    background-color: #a8a29fa3;
}

.color-background img.siegel {
    max-width: 400px;
    margin-top: 0rem;
}

.color-background img {
    width: 100%;
    margin: 1rem 0 3rem;
}

    .home .color-background h2,  .home .color-background h3,  .home .color-background p {
            color: #fff;    
}

@media (max-width: 991px) { 
    .color-background img.siegel {
            display: none;    
}

    section.color-background {
        padding-top: 2rem;
        padding-bottom: 2rem;
}    
}

@media (min-width: 992px) {
    .color-background img {
        max-width: 200px;
}        
}

/* Farbiger Hintergrund ENDE -----------------------------------------------------------------------*/

/* Pop Up ANFANG */

#myModal {
    display: none;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;   
    z-index: 6000;        
}     

.modal-body > p {
    text-align: left !important;
    width: 100% !important;
}

.modal-body > ul {
    text-align: left !important;
}

@media (min-width: 992px) {
    
.modal-dialog {
    width: 100%;
    max-width: 900px;
}    
    
}


/* Pop Up ENDE */

.youtubelink {
    position: relative;
    margin: 30px;
    padding-bottom: 54%;
    padding-top: 25px;
    height: 0;
    max-width: 100%;
}

.youtubelink iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;    
}

/* Siegel Row ANFANG ---------------------------------------------------------*/

.siegel-row {
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}

.home .content .siegel-row img {
    height: 100%;
    max-height: 50px;
    width: auto;
}


/* Siegel Row ENDE -----------------------------------------------------------*/