/* Header ANFANG */

li#menu-item-120:hover, li#menu-item-139:hover {
    cursor: unset;
}

@media (max-width:991px) {
    .header-mobile-buttons a.telefonlink {
        color: #004f37;   
} 

    .header-mobile-buttons a.telefonlink:hover {
        color: #c1d3c1;   
}
    .topmenu {
        margin-top: 3rem;
} 

    .topmenu a:hover {
        color: white;    
} 

    .menueleiste .btn-primary {
        display: inline-block;
        color: #004f37;
        background: #c1d3c1;
        white-space: normal;
        border-radius: 4px;
        font-size: 1.7rem;
        transition: all 0.2s ease-in-out;
        font-weight: 700;    
}            
}

@media (min-width: 1199px) {
    nav ul li ul {
        width: 30rem;    
}    
}

/* Header ENDE */

/* Pop Up ANFANG -----------------------------------------------------------------------------------------------------------*/

.modal.in .modal-dialog {
    overflow-y: auto;
}

#myModal {
    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-pack: center;
        -ms-flex-pack: center;
            justify-content: center;   
    z-index: -1;   
}

#myModal.modal.fade.in {
    z-index: 6000;
}

.modal-body {
    padding: 15px 30px;
}

.content h2.modal-title:after {
    margin: 2rem auto 0 auto;
}  

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

.modal-content p:empty {
    display: none;
}

.modal-header {
    border: none;
}

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

@media (max-width: 767px) {
    
#myModal {
   display:block;
}    
    
}


/* Pop Up ENDE ------------------------------------------------------------------------------------------------------------------------*/

/* Content ANFANG */

.home h1 + span {
    text-align: center;
    display: block;
    font-size: 2.5rem;
    color: #01884e;
    margin-bottom: 4rem;
    text-transform: none;
    line-height: .5rem;
    font-weight: 700;
}

section > div >.content > *:last-child {
    padding-bottom: 0rem;
    margin-bottom: 0rem;
}


.content h2:first-child {
    margin-top: 0rem;
}

.sprechzeiten p {
    display: table;
    width: 100%;
    text-align: left;
    padding-bottom: 1rem;
}

.sprechzeiten p > span {
    float: right;
    text-align: right;
    font-size: inherit;
}

.panel {
    box-shadow: none;
}

ul, ol {
    padding-left: 21px;
}

.panel-body {
    padding: 15px 0 0 7px;
}

.home h1 {
    margin-bottom: 3rem;
    text-align: center;
}

.home footer {
    margin-top: -6px;
}

section.container > div.row > article.content > div.team-container:nth-of-type(2) {
    margin-top: 14rem;
}

div.team-container > div.row > div:nth-of-type(2) {
    margin-top: 4.2rem;
}

div.team-container > div.row > div > img {
    width: 100%;
    max-width: 450px;
    height: 100%;
    max-width: 450px;
}

@media (min-width: 992px) {
    .home .content p {
        margin: 0 auto;
        width: 72%;
        text-align: center;
        margin-bottom: 2rem;
        line-height: 2;        
}


    .home h2 {
        text-align: center;         
}
}

@media (max-width: 991px) {
    aside {
        display: none;    
}

    h1 {
        font-size: 2.6rem;    
}

    section {
        padding: 6rem 0;
        background: #fff;
}
}

@media (min-width: 992px) {
    section {
        padding: 15rem 0;
}
}

/* Content ENDE */

/* Footer ANFANG */



/* Footer ENDE */

/* Vorteiler ANFANG */

.vorteile {
    background: #004f37;
}

.vorteile li {
    color: #c1d3c1;
    font-size: 2rem;
}

.vorteile ul li:not(:last-child) {
    padding-bottom: 2rem;
}

.vorteile ul {
    list-style-type: none;
}

.vorteile li:before {
    content: "\2714";
    color: #c1d3c1;
    font-size: 2.5rem;
    padding-right: 1rem;
    line-height: 3rem;
}

.vorteile h2 {
    color: #c1d3c1;
    margin-top: 0rem;
}


@media (min-width: 768px) {
    section.vorteile > div.container > div {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-preferred-size: 35%;
            flex-basis: 35%; 
        -ms-flex-wrap: nowrap; 
            flex-wrap: nowrap;   
}
}

@media (max-width: 767px) {
    section.vorteile > div.container > div {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-preferred-size: 100%;
            flex-basis: 100%; 
        -ms-flex-wrap: nowrap; 
            flex-wrap: nowrap;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column; 
}

    .vorteile ul:not(:last-child) {
        margin-bottom: 2rem;    
}
}

@media (min-width: 992px) {
    section.vorteile > div.container > div {
        -ms-flex-pack: distribute;
        justify-content: space-around;
}
}

@media (max-width: 991px) {
    .vorteile ul {
        padding-left: 0rem;    
}

    section.vorteile > div.container > div {
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between
}
}

/* Vorteile ENDE */

/* Parallax Responstiv Button Anfang */

/* Parallax ANFANG -----------------------------------------------------------------------------  */

section.parallax {
    background: url(/wp-content/uploads/2021/03/start_parallax.png) no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: 50% 50%;
    height: 75vh;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    padding-bottom: 24vh;
}

section.parallax > div {
    padding: 7vh 3vw 7vh 3vw;
    background: #004f37bd;
    text-align: center;
    position: relative;
    align-self: flex-end
}


.parallax p {
    line-height: 2;
    color: #fff;
    margin: 0;
    padding: 0;
}

.parallax a {
    line-height: 2;
    color: #fff;
}

.parallax h2 { 
    margin-top: 0rem;
    margin-bottom: 4rem;
    color: #fff;
    text-align: center;
}

.parallax .more-link {
    margin: 0 auto;
    margin-bottom: 0rem;
    margin-top: 1.5rem;
}

@media (max-width: 991px) {
    section.parallax {
        background-position: 38% 50%;        
    }

    section.parallax > div {
        width: 90%;
    }
}

@supports (-webkit-touch-callout: none) {
    
     .parallax {
        background-image: none !important;
        position:relative;
        background: transparent !important;
    }
    .parallax:before {
        content: "";
        background-image: url(/wp-content/uploads/2021/03/start_parallax.png);
        position: fixed;
        height: 100%; 
        width: 100%;
        z-index: -1;
        top: 0;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    } 
}

/* Parallax ENDE -------------------------------------------------------------------------------------  */

.parallax-window {
    background: transparent;
    color: white;
    text-align: center;
    clear: both;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    height: 600px;
}

.para-callout {
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.btn-secondary b {
    font-size: 2.5rem;
}

@keyframes cta-animation {
 0%{opacity:1.0;}

 50%{opacity:0.8;}

 100%{opacity:1.0;}

 50%{transform:scale(0.95);}
}

.paralayer {    
    background: rgba(0, 79, 55, .8);
    color: #fff;
    width: 65%;
    font-size: 1.7rem;
    border-radius: 4px;
    padding: 3rem 1rem;
    font-weight: 300;
    line-height: 2;
}

.paralayer .btn {
    margin-top: 2rem;
    margin-bottom: 1rem;
    background-color: #fff;
    color: #004f37;
}

.paralayer .btn:hover {
    color: #fff;
    border: 1px solid #fff;
    background-color: #004f37;
}

.paralayer .telefonlink {
    font-size: 1.7rem;
    color: #fff;
}

.paralayer .telefonlink:hover {
    color: white;
    text-decoration: underline;
}


@media (max-width: 991px) {
    .paralayer {    
        width: 100%;
}
}

@media (max-width: 768px) {
    .para-callout {
        -webkit-box-pack: center !important;
          -ms-flex-pack: center !important;
              justify-content: center !important;
        -webkit-box-align: center !important;
            -ms-flex-align: center !important;
                align-items: center !important;
        width: 100%;
}
}

/* Parallax Responstiv Button Ende */

/* Trenner Anfang */
div.trenner {
    width: 60px;
    position: relative;
    margin: 0 auto 2rem auto;
}

@media (max-width:991px){
div.trenner {
    margin: 3rem auto;
}
}

div.trenner:before {
    content: '';
    width: 200px;
    height: 2px;
    background: #c1d3c1;
    position: absolute;
    right: 150%;
    top: 29px;
    border-radius: 1px;
}
    
div.trenner:after {
    content: '';
    width: 200px;
    height: 2px;
    background: #c1d3c1;
    position: absolute;
    left: 127%;
    top: 29px;
    border-radius: 1px;
}
    
.trenner img {
    transition: all .5s ease-in-out;
    width: 100%;
}

.trenner img:hover {
    transform: rotate(-360deg);
    transition: all .5s ease-in-out;
}

@media (max-width: 991px) {
    div.trenner:before {
        width: 110px;
}
    
    div.trenner:after {
        width: 110px;
}
}

/* Trenner Ende */

/* Download 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;
}

.page-id-745 .panel-group {
    margin-top: 4rem;
} 

a.accordion-button.v3 {
    color: white;
    background-color: #004f37;
    background-image: url('images/accordion-v1d.svg');
    background-position: right center;
    background-repeat: no-repeat;
    background-size: 3.2rem 100% !important;

    -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;
}

a.accordion-button.collapsed.v3 {
    color: #fff;
    border-bottom:1px solid ;
    background-color: #01884e;
    font-size:1.7rem;
    background-image: url('images/accordion-v1f.svg');
    background-position: right center;
    background-repeat: no-repeat;
    background-size: 3.2rem 100% !important;

    -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;
}

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

a.accordion-button.collapsed.v3:hover {
    color: #fff;
    background-color: #004f37;
    font-weight: 300;
     background-image: url('images/accordion-v1f.svg');
    background-position: right center;
    background-repeat: no-repeat;
    background-size: 3.2rem 100% !important;
} 

.wp-image-142 {
    margin: 0 2rem 1rem 0;
    max-width: 100%;
    height: auto;
    float: left;
}


/* Download ENDE */


/* Teamvorstellung Anfang */


.team-row-1 {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -ms-flex-pack: distribute;
          justify-content: space-around;
      padding-bottom: 2rem;
      -webkit-box-orient: horizontal;
      -webkit-box-direction: normal;
          -ms-flex-flow: row wrap;
              flex-flow: row wrap;
      -webkit-box-align: start;
          -ms-flex-align: start;
              align-items: flex-start;
      margin: 0 auto;
}

.team-box p {
    font-size: 1.6rem;
}

.team-row-1 .team-box {
    width: 100%;
      -ms-flex-preferred-size: 25%;
          flex-basis: 25%;
    position:relative;
    padding: 0 1rem;
}

.team-row-1 .team-box img {
    border-radius: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    max-width: 450px;
    height: 100%;
    max-height: 450px;
}

.abstand-team-block {
    padding-top: 8rem;
    padding-bottom: 10rem;
}  

@media (max-width:991px) {
.abstand-team-block {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.team-row-1 .team-box {
    -ms-flex-preferred-size: 50%;
        flex-basis: 50%;
    margin-bottom: 2rem;
}

.team-row-1 {
    padding-bottom:0;
}   
}  

@media (max-width:767px) {
.team-row-1 {
    padding-bottom:0;
}

.team-row-1 .team-box {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    margin-bottom:2rem;
}
}     
/* Teamvorstellung Ende */

/* Teampic Anfang --------------------------------------------------------------------------------------------------------------  */

.teampic {
    margin: 0 auto;
    display: table;
    text-align: center;
}

.teampic h2 {
    text-align: center;
}

.teampic img {
    margin: 0 auto;
    display: block;
    border-radius: 100%;
}

figcaption h2 {
    text-align: center;
    margin: 3rem 0 1rem 0 !important;
}

.teampic .btn {
    margin-bottom: 4rem;    
}

/* Teampic Ende ----------------------------------------------------------------------------------------------------------------  */

/* Pop Up ANFANG */

#myModal {
    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-pack: center;
    -ms-flex-pack: center;
    justify-content: center;   
    z-index: 6000;        
}

.modal-body {
    padding: 0rem 2.5rem;
}

.modal-header .close {
 position:relative;
 width:20px;
    height: 30px;
    font-size: 30px;
 z-index:5000;
 
 }

.modal-title {
	text-align: center;
}

#myModal p:empty { 
    display: none;   
}

.modal-content {
    background: #fff;    
}

.content h2.modal-title {
    text-align:center;
    padding-bottom: 2rem;
}     

.modal-body > p {
    text-align: center;
    color: #555;;
}

.modal-body a {
    white-space: nowrap;
    &.btn {
        display: block;
        margin: auto;
    }
}

.modal-body a:hover {
    color: rgba(45, 142, 157, 0.7);
    text-decoration: underline;
}

.modal-body .pfeifercolor {
    color: #2d8e9d !important;
}

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

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

@media (max-width: 767px) {
#myModal {
   display:block;
}   
.content h2.modal-title {
   font-size:2rem;
}
}

/* Pop Up ENDE */
