/*BETRIFFT DIE GESAMTE SEITE*/

body { 
    background-color:#ffffff;
    margin:0;
    padding:0;
    font-family:montserrat,verdana,arial,helvetica,sans-serif;
/*    font-size:0.9em;*/
    width: 100vw;  
    overflow-x: hidden;
}

a{
    text-decoration: none;
    color: black;
}

p, li{
    line-height: 200%;
}



/*ERGOTHERAPIE*/


.about{
    background-color:#ffffff;
}


#mainnavergo{
    height:30px;
}


.topnav {
  background-color: #ffffff;
    overflow: hidden;
    vertical-align: middle;
    display: flex;
    flex-flow: row;
    align-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    z-index:2;
    width: 100vw;
}


.topnav a {
  float: left;
  text-align: center;
  padding: 20px 22px;
  text-decoration: none;
  font-size: 15px;
    margin-left: 50px;
}

.topnav a.split {
  float: right;
  background-color: #A50909;
  color: white;
}

.split:hover{
    background-color: #7C0606 !important;
}


#background{
    background-image: url(img/header-ergo.jpg);
    background-size:cover;
    background-position: center;
    width: 100vw;
    height:60vh;
    padding-top: 320px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index:1;
    margin-top:50px; 
}


.button{
    background-color: #ffffff;
    color: black;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    width:20vw;
    margin:0px 0px 50px 0px;
    padding: 15px;
    border-radius: 12px;
    transition-duration: 0.4s;
}

.buttonlogo{
    border:2px solid #A50909;
}
.buttonlogo:hover{
    background-color: #A50909 !important;
    cursor: pointer;
    color:white !important;
}

.ueberschrift{
    padding-top: 50px;
    padding-left: 100px;
}


#ergo_content_first{
/*
    position: relative;
    display: flex;
    justify-content: center;
*/
}

#welcome{
    display: flex;
    justify-content: center;
}
.ergo_welcome_left{
    width:60vw;
    background-color: #ffffff;
/*    position: absolute;*/
    top:0;
    margin-top: 70px;
    padding: 50px 100px 50px 100px;
}
.ergo_welcome_left h1{
    margin-bottom: 50px;
}

.ergo_welcome_right{
    color: #ffffff;
    width:40vw;
    margin: 150px 100px 50px 50px;
}

.ergo_welcome_right div{
    background-color: #087EB5;
    padding: 50px 50px 50px 50px;
    
}


#ergo_content_behandlung{
    margin-top: 20px;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
}

#ergo_content_behandlung #tab_behandlung{
    width:65vw;
    margin:70px 0px 70px 0px;
}

#tab_behandlung h2{
    margin-bottom: 30px;
}

#ergo_content_behandlung_mobile{
    display: none;
}


.accordion {
  background-color: #ffffff;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
}

.active, .accordion:hover {
  background-color: #C3E3F1; 
}

.panel {
  padding: 0 18px;
  display: none;
  background-color: white;
  overflow: hidden;
}




#ergo_content_methoden{
    display: flex;
    justify-content: center;
}


#content_methoden{
    width:65vw;
    margin:70px 0px 70px 0px;
}

.methoden{
    display:flex;
    justify-content: center;
    align-content: center;
}

.methoden a{
    padding: 20px 30px 20px 30px;
    text-align: center;
}

.methoden a:hover{
    color: #1091CD;
    border-bottom:2px solid #1091CD;
}


#ergo_content_kooperationen{
    display: flex;
    justify-content: center;
}


#content_kooperationen{
/*    width:65vw;*/
    margin:0px 0px 100px 0px;
}

#kooperationen{
    display:flex;
    justify-content: center;
    align-content: center;
    width:80vw;
    margin:50px 0px 0px 0px;
}

#kooperationen div{
    text-align: center; 
    background-color: #C3E3F1;
    padding: 50px;
    margin-left: 20px;
    margin-right: 20px;
}

#kooperationen img{
    width: 30%;
}



#ergo_content_standorte{
    display: flex;
    justify-content: center;
}


#content_standorte{
/*    width:70vw;*/
    margin:70px 0px 70px 0px;
}

#standorte{
    display:flex;
    justify-content: center;
    align-content: center;
    margin:0px 100px 0px 100px;
}

#standorte > div{
    margin:0px 10px 0px 10px;
/*    background-color: #C3E3F1;*/
    padding: 20px;
    width: 100%;
}

#marsberg, #lichtenau{
    display: flex;
}


#marsberg div, #lichtenau div{
    margin:0px 10px 0px 10px;
}

.container{
     display: flex;
}

.container > div{
    margin-right: 30px;
}

#footer{
    background-color: #087EB5;
    color:#ffffff;
}

#footer > :first-child{
    display: flex;
    justify-content: center;
}

#footerleft{
    width:50%;
}

.instagram-link{
    display: flex;
    flex-flow: row;
    vertical-align: middle;
    align-content: center;
    align-items: center;
}

#footerright{
    width:50%;
    text-align: end;
}

#footerright img{
    height: 300px;
    width:300px;
    overflow: hidden;
    
}

#footer a{
    color: #ffffff;
}
/*


#content_footer{
    width:70vw;
    margin:70px 0px 70px 0px;
}
*/

#footercontact{
    display: flex;
    justify-content: center;
}

/*
#footerlocations{
    display: flex;
}
*/

#footercopyright{
    display: flex;
    justify-content: center;
}

#footercopyright p{
    padding: 0px 10px 10px 0px;
    color: #ffffff;
}

/*************** TABS BEHANDLUNG *************/

/* Style the tab */
.tab {
    overflow: hidden;
    border: none;
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
}

/* Style the buttons that are used to open the tab content */
.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
}

/* Change background color of buttons on hover */
.tab button:hover {
    border-bottom: 3px solid #1091CD;
}

/* Create an active/current tablink class */
.tab button.active {
    background-color: #1091CD;
/*    border-bottom: 3px solid #1091CD; */
}

/* Style the tab content */
.tabcontent {
    display: none;
    padding: 50px;
    background-color: #C3E3F1;
    height: 80vh;
/*
    border: 1px solid #ccc;
    border-top: none;
*/
    animation: fadeEffect 1s; /* Fading effect takes 1 second */
}

.tabcontent button{
    background-color: #1091CD;
}

.tabcontent button{
    background-color: #ffffff;
    border: none;
    padding: 10px;
}

.tabcontent button a{
    padding: 10px;
}

.tabcontent button:hover{
    border-bottom: 3px solid #1091CD;
    color: #1091CD;
}



/********************** ABOUT ***********************/

.team{
    display: flex;
    justify-content: center;
}


.teamfotos{
    width:70vw;
    margin:50px 0px 50px 0px;
}

.row{
    display: flex;
}

/*
.team table{
    width: 100%;
    margin: 0;
}
*/


.containerteam {
    position: relative;
    width: 50%;
    margin:10px;
}

.image {
  display: block;
  width: 100%;
  height: auto;
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #008CBA;
}

.containerteam:hover .overlay {
  opacity: 1;
}

.teamname {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}



#praxis{
    display: flex;
    justify-content: center;
}


#praxisfotos{
    width:70vw;
    margin:50px 0px 50px 0px;
}

#praxis table{
    width: 100%;
    margin: 0;
}

.mobile{
    display: none;
}






/******************+ TEAM *******************/


.team{
    width: 70vw;
    margin: auto;
}

.row{
    display: flex;
    justify-content: space-between;
    width: auto;
}



/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

/* Hide the slides by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Caption text */
.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

img.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s;
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}











/**************************************
***************************************/










/* Slideshow container */
.slideshow-container {
  max-width: 70vw;
  position: relative;
  margin: auto;
    margin-top: 50px;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}


/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 7px;
  width: 7px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}




/********* BEHANDLUNGSBEREICHE *******************/

.ergo_behandlung{
    padding: 70px 100px 70px 100px;
    background-color: #ffffff;
}

.ergo_behandlung_inhalt{
    display: flex;
    flex-flow: row;
}

.liste{
    width: 60%;
}



.collage{
    width:70%;
    align-self: center;
}


.ergo_behandlung_inhalt li{
    list-style-type: none;
    padding: 30px 0px 30px 30px;
}

.ergo_behandlung_inhalt a{
    padding: 30px 0px 15px 0px;
}

.ergo_behandlung_inhalt a:hover{
    color: #1091CD;
    border-bottom:2px solid #1091CD;
}


/********* UNTERSEITE BEHANDLUNGSBEREICHE ***************/

.header{
    position: relative;
    height: 100vh;
    min-height: 25rem;
    width: 100%;
    overflow: hidden;    
}

.header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: white;
  opacity: 0.2;
  z-index: 1;
}

.header .container {
  position: relative;
  z-index: 2;
    justify-content: center;
    align-items: center;
    height: 80%;
}

.header p{
    text-align: center;
    color: white;
    font-size: 4rem;
    font-weight: 700;
}

.video{
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translateX(-50%) translateY(-50%);
}

.backto_behandlung{
    padding: 50px 50px 20px 50px;
    background-color: #ffffff;   
}

.zelle{
    display: flex;
    flex-flow: row;
    padding-bottom: 100px;
}

.zelle div{
    width:50%;
    padding: 0px 20px 0px 20px;
}


/********* ZUSTATZ ****************/




/********* JOBS ******************/

#ergo_content_jobs{
    width:50%;
    padding:80px;
    justify-content: center;
}




/********** MOBILE SACHEN AUSBLENDEN FÜR PC ANSICHT ************/



.nav_mobile{
    display:none;
}




/********* TABLET *******************/


@media only screen and (max-width: 1300px){
        
    #background{
        display: none;
    }
    
    #welcome{
        display: block;
        width: 100vw;
    }
    
    .mobile{
        display: block;
    }
    
    .topnav{
        display:none;
    }
    
    .nav_mobile{
        display:block;
    }
    
    .nav_mobile {
      overflow: hidden;
      background-color: #eaf5fa;
      position: relative;
    }

    /* Hide the links inside the navigation menu (except for logo/home) */
    .nav_mobile #myLinks {
      display: none;
    }
    
    #myLinks a{
        color: #087EB5;
        padding-left: 40px ;
    }
    
    #myLinks .split{
        background-color: #A50909;
        color: #ffffff;
    }

    /* Style navigation menu links */
    .nav_mobile a {
      color: white;
      padding: 14px 16px;
      text-decoration: none;
      font-size: 17px;
      display: block;
    }

    /* Style the hamburger menu */
    .nav_mobile a.icon {
      background: #087EB5;
      display: block;
      position: absolute;
      right: 0;
      top: 0;
    }


    /* Style the active link (or home/logo) */
    .active {
      background-color: #087EB5;
      color: white;
    }
    
    .ergo_welcome_left{
    width:70%;
    background-color: #ffffff;
        margin-top: 30px;
        padding: 20px 50px 20px 50px;
    }
    .ergo_welcome_left h1{
        margin-bottom: 50px;
    }

    .ergo_welcome_right{
        color: #ffffff;
        width:70%;
        margin: 20px 50px 20px 50px;
    }

    .ergo_welcome_right div{
        background-color: #087EB5;
        padding: 20px 20px 20px 50px;

    }
    
    #ergo_content_behandlung{
        display: none;
    }
    #ergo_content_behandlung_mobile{
        display: block;
        width: 80%;
        margin: 20px 0px 20px 50px;
    }
    
    
    #marsberg, #lichtenau{
        display: block;
    }
    
}








/********* SMARTPHONE ***************/


@media only screen and (max-width: 600px){
    
    a{
        color: black;
    }
    
    #background{
        display: none;
    }
    
    body{
        font-size:0.8em;
        width:100vw;
        overflow-x:hidden;
    }
    
    .topnav{
        display:none;
    }
    
    .nav_mobile{
        display:block;
    }
    
    .nav_mobile {
      overflow: hidden;
      background-color: #eaf5fa;
      position: relative;
    }

    /* Hide the links inside the navigation menu (except for logo/home) */
    .nav_mobile #myLinks {
      display: none;
    }
    
    #myLinks a{
        color: #087EB5;
        padding-left: 40px ;
    }
    
    #myLinks .split{
        background-color: #A50909;
        color: #ffffff;
    }

    /* Style navigation menu links */
    .nav_mobile a {
      color: white;
      padding: 14px 16px;
      text-decoration: none;
      font-size: 17px;
      display: block;
    }

    /* Style the hamburger menu */
    .nav_mobile a.icon {
      background: #087EB5;
      display: block;
      position: absolute;
      right: 0;
      top: 0;
    }


    /* Style the active link (or home/logo) */
    .active {
      background-color: #087EB5;
      color: white;
    }
    
    #welcome{
        display: block;
        width: 100vw;
    }
    
    .ergo_welcome_left{
    width:70%;
    background-color: #ffffff;
        margin-top: 30px;
        padding: 20px 50px 20px 50px;
    }
    .ergo_welcome_left h1{
        margin-bottom: 50px;
    }

    .ergo_welcome_right{
        color: #ffffff;
        width:70%;
        margin: 20px 50px 20px 50px;
    }

    .ergo_welcome_right div{
        background-color: #087EB5;
        padding: 20px 20px 20px 50px;

    }
    
    
    
    .ueberschrift{
        padding-top: 50px;
        padding-left: 50px;
    }
    
    
    
    
    
    #ergo_content_behandlung{
        display: none;
    }
    #ergo_content_behandlung_mobile{
        display: block;
        width: 80%;
        margin: 20px 0px 20px 50px;
    }
    

    
    
    #ergo_content_methoden{
    display: block;
    }


    #content_methoden{
        width:100vw;
        margin: 20px 50px 20px 50px;
        display: block;
    }

    .methoden{
        display:block;
    }
    .methoden a{
        display:block;
        text-align: left;
    }
    
    
    
    
    
    
    
    #content_kooperationen{
        width:75vw;
        margin:20px 0px 20px 0px;
    }

    #kooperationen{
        margin:20px 0px 0px 0px;
        display:block;
        justify-content: center;
        align-content: center;
    }
    
    #ergo_content_standorte{
        display: block;
        justify-content: center;
    }


    #content_standorte{
        margin:30px 0px 30px 0px;
        width: 100%;
    }

    #standorte{
        display:block;
        justify-content: center;
        align-content: center;
        margin: 0px 30px 0px 30px;
        width: 75%
    }

    #footerleft{
        width:100vw;
    }
    
    #footerright{
        display: none;
    }
    
    .mobile{
        display: block;
    }
    
    
    
    
    
    /************** BEHANDLUNGSMETHODEN ***************/
    
    
    .ergo_behandlung{
    padding: 20px 50px 20px 50px;
    background-color: #ffffff;
}

    .ergo_behandlung_inhalt{
        display: block;
    }
    
    .collage{
        display: none;
    }

    .liste{
        width: 100%;
    }
    
    .ergo_behandlung_inhalt ul{
        padding-left: 20px;
    }
    
    .ergo_behandlung_inhalt li{
        list-style-type: none;
        padding: 20px 0px 20px 0px;
    }

    .ergo_behandlung_inhalt a{
        padding: 20px 0px 20px 0px;
    }

    .ergo_behandlung_inhalt a:hover{
        color: #1091CD;
        border-bottom:2px solid #1091CD;
    }

    
    
    /************** UNTERSEITEN ***************/
    
    .header{
        display: none;
    }
    
    .backto_behandlung{
        padding: 20px 0px 20px 30px;
        background-color: #1091CD;   
    }
    
    .zelle{
        display: block;
        padding-bottom: 30px;
    }
    
    .zelle div{
        width:100%;
        padding:0px;
    }
    
    
}
