html {
  height: 100%;
}

  
body {
  background-color: #954;
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: Verdana, Sans-Serif;
  font-size: 0.9em;
  line-height: 1.2em;
  overflow-x: hidden;
}

h1 {
  font-size: 1.3em;
  line-height: 1.4em;
}

h2 {
  font-size: 1.1em;
  line-height: 1.2em;
}

h3 {
  font-size: 0.9em;
  line-height: 1em;
}

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

p {
  line-height: 1.3em;
}

label {
  font-size: 0.8em;
}

input:not([type="checkbox"]):not([type="radio"]),
textarea {
  border: 1px solid #444;
  width: 400px;
  background: #fff;
  height: 3em;
  padding: 0.5em;
}

textarea {
  height: 150px;
}

table {
  font-size: 0.9em;
  margin: 10px 0;
  width: 100%;
  color: inherit;
}

th.mitte,
td.mitte {
  text-align: center;
}

th.links,
td.links {
  text-align: left;
}

th.rechts,
td.rechts {
  text-align: right;
}

.td1,
.td3,
.td4,
.td5 {
  width: 90px;
}

.td2 {
  width: 120px;
}

ul {
	list-style: none; 
}

#contentcontainer {
  width: 100vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column;

}

@media (min-width: 1000px) {
  #kspacer {
    margin: 0 auto;
    width: 950px;
    flex: 0 0 50px;
    background: repeat-y url(/images/bg.png) #e6e6e6;
  }

  #kopf {
    width: 100%;
    flex: 0 0 130px;
    background-color: #7E2929;
  }

  #kopfinhalt {
    margin: 0 auto;
    width: 952px;
    height: 130px;
  }

  #logo {
    height: 100px;
    margin: 15px 19px 0 60px;
    float: left;
  }

  #navizeile {
    display: none;
  }

  #haupt {
    margin: 0 auto;
    width: 950px;
    background: repeat-y url(/images/bg.png) #e6e6e6;
    flex: 1 0 100%;
    overflow: auto;
  }

  #menue {
    margin-top: 20px;
    margin-left: 40px;
    width: 165px;
    height: 520px;
    float: left;
  }

  #menue ul {
    list-style: none;
    margin: 0 5%;
    padding: 0;
    padding-top: 10px;
  }

  #menue li {
    color: #E6E6E6;
    padding: 10px 0;
    border-bottom: 1px solid #E6E6E6;
  }

  #menue li:hover {
    padding-left: 20px;
  }

  #menue li.aktiv {
    padding-left: 20px;
    font-weight: bold;
  }


  #inhalt {
    margin-top: 20px;
    margin-left: 20px;
    float: left;
    width: 73%;
    color: #444;
    height: auto;
    overflow-x: hidden;
  }
}

@media (max-width: 999px) {
  #kspacer {
    display: none;
  }

  #kopf {
    width: 100%;
    flex: 0 0 140px;
    background-color: #7E2929;
  }

  #kopfinhalt {
    margin: 0 auto;
    width: 100%;
  }

  #logo {
    height: 100px;
    margin: 10px 20px;
  }

  #navizeile {
    background-color: #7E2929;
  }

  #haupt {
    margin: 0 auto;
    width: 100vw;
    background-color: #e6e6e6;
    flex: 1 0 100%;
    font-size: 1.5em;
  }

  #menue {
    width: 200px;
    position: fixed;
    left: -250px;
    padding: 1em;
    height: 100vh;
    background: #7E2929;
    transition: left 1s;
    z-index: 100;
  }

  #menue ul {
    list-style: none;
    margin: 0 5%;
    padding: 0;
    padding-top: 10px;
  }

  #menue li {
    color: #E6E6E6;
    padding: 2em 0;
    border-bottom: 1px solid #E6E6E6;
  }

  #menue li.aktiv {
    padding-left: 20px;
    font-weight: bold;
  }

  #inhalt {
    margin-top: 20px;
    width: calc(100vw - 5em);
    color: #444;
    height: auto;
    padding: 2em;

  }
}

#kontaktformular,
#kontaktdaten {
  overflow: hidden;
}

#kontaktformular.auf,
#kontaktdaten.auf {
  height: 600px;
  transition: height 1s;
	-webkit-transition: height 1s;
	-moz-transition: height 1s;
}

#kontaktformular.zu,
#kontaktdaten.zu {
  height: 0;
  transition: height 1s;
	-webkit-transition: height 1s;
	-moz-transition: height 1s;
}


#wohnungen01 ul {
  font-size: 1em;
}

.clearer {
  clear: both;
}

.objekt {
  display: flex;
  flex-direction: column;
  width: 100%;
  clear: both;
  padding-right: 1em;
  height: auto;
  margin-bottom: 1em;
}

.objekt img {
  width: 200px;
  float: left;
  margin-right: 10px; 
}

.obj_details img {
  width: 100px;
  margin: 0px;
  float: left;
}


.obj_ueberblick {
  display: flex;
  height: 200px;
}

.obj_ueberblick h2,
.obj_ueberblick h3,
.obj_details h4 {
  padding: 5px 2px;
  margin: 0;
}

.obj_links {
  display: flex;
}



.wauf,
.wzu
 {
  clear: both;
  padding-bottom: 20px;
  overflow: hidden;
  transition: height 1s;
  -webkit-transition: height 1s;
  -moz-transition: height 1s;
}

.wzu {
  height: 0px;
}

.spalte1,
.spalte2 {
  padding: 2px;
  margin: 0;
  float: left;
  width: 250px;
}

.spalte3 {
  width: 130px;
  padding: 2px;
  margin: 0;
  float: left;
}

.icon {
  margin-left: 10px !important;
  width: 16px !important;
}

.dauf {
  height: 110px;
  overflow: hidden;
  transition: height 1s;
	-webkit-transition: height 1s;
	-moz-transition: height 1s;
}

.dzu {
  height: 0;
  overflow: hidden;
  transition: height 1s;
	-webkit-transition: height 1s;
	-moz-transition: height 1s;
}

.obj_link {
  flex: 0 0 30%;
}

.spalte {
  width: 45%;
  padding: 0;
  margin: 0;
  margin-right: 3%;
  float: left;
}

.wdetails {
  background-color: #d3d3d3;
}

.det_l {
  float: left;
  width: 120px;
}

.det_m {
  float: left;
  width: 150px;
}

.person {
  margin-bottom: 10px;
}
  
#inhalt img {
  float: left;
  width: 150px;
  margin: 0;
  margin-right: 10px;
  display: block;
}

.fett {
  font-weight: bold;
}

.untertitel {
  font-weight: bold;
  margin-top: 0;
}

.mit_ut {
  margin-bottom: 5px;
}

.rot {
  color: #f00 !important;
}

.weg {
  display: none;
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0.6;
  display: none;
}

