.mySlides img
{
  height:70vh;
}

@media screen and (max-width: 1300px) {
 .mySlides img
{
	width: 95vw;
    height:auto;
}
}

.row > .column {
  padding: 0 8px;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Create four equal columns that floats next to eachother */
.column {
  float: left;
  width: 25%;
}

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

/* Modal Content */
.modal-content {
  position: relative;
  background: rgba(0, 0, 0, 0.73);
  text-align:center;
  margin: auto;
  padding: 0;
  padding-top: 150px;
  width: 100%;
  height: calc(100% - 150px);
  overflow:hidden;
}

@media screen and (max-height: 760px) {
.modal-content 
{
padding-top: 10px;
  height: 100%;
}
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 30px;
  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;
}
@media screen and (max-width: 1300px) {
.prev,
.next {
  top: 130px;
}
}
/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
.prev {
  left: 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: 20px;
}

/* Caption text */

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







#home
{
      white-space: pre-line;
}

.galerie
{
  padding:20px 0;
  width:100%;
  min-height:20px;
  background-color:white;
  display: flex;
  flex-wrap:wrap;
  justify-content:space-around;
}

.galerie .img
{
  height:200px;
  width:200px;
  position:relative;
  overflow:hidden;
  margin:10px;
}

.galerie img
{
    padding: 0;
    height: 200px;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translateY(-50%) translateX(-50%);
}

#cookie-popup { 
  text-align: center; 
  background: #fff;
  position: fixed;
  bottom: 0px; 
  left: 0;
  right: 0;
  z-index: 9999;
  font-size:14px; 
  line-height:20px;
  padding: 20px;
  -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
  box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
  }
 
#cookie-popup.hidden {
  display: none;
}


.box3
{
  margin:10px;
  padding:15px 40px;
 
  min-height:205px;
  
  text-align:center;

  border: 1.2px solid grey;
}


.box3 img
{
  margin:0 auto;
  float:left;
  height:200px;
}

@media screen and (max-width: 750px) {
  .box3 img
{

  float:none;

}
}
@media screen and (max-width: 450px) {
  .box3 img
{
height:auto;
  width:100%;

}
}
.topnav
{
  overflow: hidden;
  background-color: rgb(255, 255, 255);
  
}



.topnav a 
{
    text-decoration: none;
  float: left;
  display: block;
  text-align: center;
  padding: 14px 16px;

  font-size: 17px;
  color: rgb(27, 27, 27);
}

.topnav a:hover 
{
color: lightblue;
}
.active
{
  text-decoration:underline !important;
}

.topnav .icon {
  display: none;
   
}

@media screen and (max-width: 650px) {
  .topnav a {display: none;}
  .topnav a.icon {
    
    float:none;
    display: block;
    margin-left: auto;
 	margin-right: auto;
  	margin: 0 auto 0 ;
   
  }
}

@media screen and (max-width: 650px) {
  .topnav.responsive {position: relative;
          box-shadow: 0px 2px 5px grey;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;

  }

}

header nav
{
  padding-top:10px;
  float:right
}

@media screen and (max-width:  650px)
{
  header nav
  {
    position:fixed;
      top:16px;
    right:10px;
    width:auto;
    float:none;
  }
}

body
{
    margin: 0;
    padding: 0;
    background-color: #222;
    font-family: Hind, "Tw Cen MT", Arial,sans-serif;
    font-weight: 400;
    color: rgb(27, 27, 27);
}

h1
{
  font-family: HHind, "Tw Cen MT", Arial,sans-serif;
}

#banner
{
    display:block;
    width: 100%;

}


header
{
    margin-top: 0 auto;
    background-color: rgb(255, 255, 255);
    height: auto;
    position: sticky;
    top: 0;
    width: 100%;
    box-shadow: 0px 2px 5px grey;
  z-index:200;
}

@media only screen and (max-width: 690px)
{
    header
    {
        margin-top: 0 auto;
    	background-color: rgb(255, 255, 255);
    	height: auto;
    	position: sticky;
    	top: 0;
    	width: 100%;
    	box-shadow: 0px 2px 5px grey;
    }
}

#header
{
  margin 0;
  padding:18px 38px;
  width:1200px;
      margin-left: auto;
    margin-right: auto;
}
@media only screen and (max-width: 1280px)
{
  #header
{
  margin 0;
  padding:15px 25px;
  width:auto;
      margin-left: auto;
    margin-right: auto;
}
}

#logo
{
 	height: 60px;



  
}




main
{
  	width:1140px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 35px;
    margin-bottom: 30px;
    background-color: rgb(255, 255, 255);
    padding: 15px;
    padding-left: 70px;
    padding-right: 70px;
    box-shadow: 0px 2px 5px black;
  overflow:hidden;
}

.datei
{
	margin-left: 5%;
    margin-right: 5%;
}

@media only screen and (max-width: 1280px)
{
    main
    {
      width:auto;
          margin-top: 10px;
        margin-left: 0;
    	margin-right: 0;
       padding: 15px;
      padding-left: 15px;
      padding-right: 15px;
    }
}
@media only screen and (max-width: 600px)
{
    .datei 
    {
        margin-left: 2%;
    	margin-right: 2%;
       padding: 15px;
      padding-left: 15px;
      padding-right: 15px;
    }
}







footer
{
    background-color: rgb(48, 48, 48);
    margin-top: 60px;
    height: auto;
  overflow:hidden;
  box-shadow: 0px -2px -5px red;
  padding:40px;
  color:lightgrey;
  text-align:center;
}

#ulMitte
{
  border-right:2px solid white;
  border-left:2px solid white;
}

footer a
{
	text-decoration:none;
  	color:lightgrey;
}

footer a:hover
{
	text-decoration:none;
  	color:lightblue;
}


@media only screen and (max-width: 600px)
{
  footer
  {
    height:auto;
  }
  footer div
  {
    width:100%;
    float:none;
    
  }
  #ulMitte
  {
    border-style:none;
  }
}
.activeFooter
{
  text-decoration:underline;
}
#copy
{
  float:none;
  text-align:center;
  color:lightgrey;
  width:100%;
  display:block;
  
}
#copy a
{
  color:lightgrey;
}

#copy a:hover
{

  color: lightblue;
}

#kontakt
{
  text-align:center;
}

#ueber
{
  text-align:center;
}


.immoB a button
{
    background-color: rgb(48, 48, 48); 
  border: none;
  color: white;
  padding: 16px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
}

.immoB a button:hover
{
  background-color: #555555;
  color: white;
}

.hausbild
{
  float:left;
  width:35%;
  margin-right:50px;
}


.immo
{
  margin-top: 20px;
  margin-bottom: 0;
}

.immoB
{
text-align:center;
  padding-left:35%;
}

@media only screen and (max-width: 1140px)
{
.immoB
{
text-align:center;
  padding-left:0;

}
    .hausbild
{
  float:none;
  width:100%;
  margin-right:0;
}
}

.trenner
{
  width:10%;
  border: 0.9px solid grey;
  border-radius: 5px;
  margin:50px auto;
}






#scrollbox {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  overflow-x: auto;
    -webkit-overflow-scrolling: touch;

}
 
.wohnung
{
  width:auto;
  height:450px;

    padding:15px;
  margin:5px;
     flex: 0 0 auto;
    border: 1.2px solid grey;
  text-align:center;
  overflow:hidden;
}

.wohnung div
{
  width:auto;
  height:50px;

}

.wohnung img
{
  height:310px;
}

@media only screen and (max-width: 721px)
{
.wohnung
{
  width:200px;
  height:170px;
  

}
  .wohnung div
{
  width:200px;
  height:70px;

}
  .wohnung img
{
  height:0px;
  visibility:collapse;
}
}


.knopf
{
    background-color: rgb(48, 48, 48); 
  border: none;
  color: white;
  padding: 16px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
}

.knopf:hover
{
  background-color: #555555;
  color: white;
}

.ansicht
{
  height:auto;
  display: flex;
  flex-wrap: wrap;
  justify-content:center;



}
.ansicht div
{
  height:auto;
  width:500px;
  margin:5px 10px;
  padding-bottom:30px;
}

.ansicht div img
{
  width:100%;
}

#scrollbox2
{
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  


}

#scrollbox2 div
{
    height:200px;
  width:auto;
  margin:5px 10px;

}

#scrollbox2 div img
{
  height:100%;
}

.Grundriss
{
  display:flex;
  flex-direction:row;
  flex-wrap:wrap;
    margin:0;
  margin-top:80px;
}


.Grundriss img
{
margin:0;
  width:100%;
}

.Grundriss a
{
margin:10px;
  width:50%;
}

@media only screen and (max-width: 850px)
{
  .Grundriss a
  {
      width:90vw;

  }
  .Grundriss
{
  justify-content:center;

}
    .Grundriss div
{
  width:90vw;
}
  #fakt h2
{
  margin:20px 0 !important;

}
}


.wohnungtab {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 100%;

}

.wohnungtab td, th {

  text-align: left;
  padding: 8px;
}

.wohnungtab tr:nth-child(odd) {
  background-color: #dddddd;
}
  .Grundriss div
{
  width:45%;
}

.normaldiv
{
  width:100% !important;
  margin: 0;
  padding:10px;
}

.normaldiv h2
{
  margin:0;
  margin-bottom:20px;
}

.bausubdiv
{
    width:auto;
    margin: 0 15%;
    display:flex;
  flex-direction:row;
  flex-wrap:wrap;
  margin: 0 !important;
}

.bausubdiv table
{
  width:49% !important;

}

@media only screen and (max-width: 800px)
{
 .bausubdiv
  {
      justify-content:center;
  }
  .bausubdiv table
{
  width:100% !important;
  margin:0 !important;
  margin-bottom:15px !important;

}
}

@media only screen and (max-width: 800px)
{
  .Grundriss img
  {
      width:90vw;

  }
  .Grundriss
{
  justify-content:center;
}
    .Grundriss div,.normaldiv,.bausubdiv
{
  width:100% !important;
}
}

.center
{
  text-align:center !important;
}
#trenn
{
  width:2%;
}



#fakt
{
  padding:0 10px;
}
#fakt h2
{
  margin:0;
  margin-bottom:20px;
}












