html { 
    width: 100%;
    text-rendering: optimizeLegibility;
}

img {
    height: auto;
    max-width: 100%;
    min-width: 10%;
    }

#grundriss {
  width: 500px;
  height: 500px;
}

#grundriss11{
  width: 350px;
  float: right;
}

article img{
  display: block;
  float: left;
  width: 49%;
  padding: 0.5%;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
summary {
  display: block;
}



audio,canvas,video {
  display: inline-block;
}

.container:before,
.container:after {
  content: "";
  display: table;
}

.container:after {
  clear: both;
}

.container {
  *zoom: 1;
}

.container,
section,
aside {
}

section,aside,footer {
  margin: 0.75%;
  font-family: 'Titilium Web', sans-serif;
}



section {
  float: right;
  position: relative;
  max-width: 75%;
}

section article {
  float: left;
  width: 100%;
}

input{
  margin-left: 20px;
}

#header{
  margin-bottom: 3%;
}

article {
  text-align: justify;
}

aside {
  float: left;
  max-width: 20%;
  min-width: 175px;
  margin-right: 1%;

}

#title{
  text-align: right;
}

h1{
    font-size: 250%;
    text-transform: uppercase;
}

 section h1 {
    text-align: center;
  }

 h2{
    font-size: 150%;
 }

 h3{
  font: bold;
  font-size: 100%;
 }

 #bildunterschrift {
  font-size: 50%;
  width: 100%;
  clear: right;


 }

 #imgbig {
  height: auto;
    max-width: 100%;
    min-width: 10%;

 }

nav {
    float: left;
    position: relative;
    font-size: 115%;
    line-height: 20%;
    text-decoration: none;
    display: block;
    margin: 8px 22px 8px 22px;
    overflow: hidden;
    margin-right: 25%;
} 


li.active{
  background-color: black;
  color: white;
  display: block;
  
}

li.active:hover {
  color: grey;
}

li.passive{
  display: block;
  width: 100%;

}

ul{
  list-style-type: none;
}

a {
  color: black;
}

nav a:link{
    text-decoration: none;
    color: grey;
}

nav a:visited{
  color: grey;
}

li:hover {
  background-color: black;
}

table {
  width: 100%;
  text-align: center;
  border-spacing: 10px;
  margin-bottom: 3%;

}

.pricetable {
    tbody tr:nth-child(even) {
    background-color: #f2f2f2;
  }
}

footer {
  float: right;
  font-size: 75%;
}

footer a:link {
  word-spacing: 15%; ??
}

footer a:visited{
  word-spacing: 15%; ??
}

nav ul {
    margin: 0;
    padding: 0;
  }

    nav ul li {
      display: inline-block;
      list-style-type: none;
      
      -webkit-transition: all 0.2s;
        -moz-transition: all 0.2s;
        -ms-transition: all 0.2s;
        -o-transition: all 0.2s;
        transition: all 0.2s; 
    }
      
      nav > ul > li > a > {
        border-top: 4px solid #aaa;
        border-right: 4px solid transparent;
        border-left: 4px solid transparent;
        content: "";
        display: inline-block;
        height: 0;
        width: 0;
        vertical-align: middle;
  
        -webkit-transition: color 0.1s linear;
        -moz-transition: color 0.1s linear;
        -o-transition: color 0.1s linear;
          transition: color 0.1s linear; 
      }

      nav > ul > li > a {
        display: block;
        line-height: 56px;
        padding: 0 24px; 
        text-decoration: none;
      }

        nav > ul > li:hover {
         background-color: black; 
        }

        nav > ul > li:hover > a {
          color: white;
        }

        nav > ul > li:hover > a > .caret {
          border-top-color:white;
        }
      
      nav > ul > li > div {
        display: block;
        display: none;
        margin: 0;
        opacity: 0;

      
  visibility: hidden;
  z-index: 100;
  
        -webkit-transiton: opacity 0.2s;
        -moz-transition: opacity 0.2s;
        -ms-transition: opacity 0.2s;
        -o-transition: opacity 0.2s;
        -transition: opacity 0.2s;
      }

        nav > ul > li:hover > div {
          display: block;
          opacity: 1;
          visibility: visible;
        }

          nav > ul > li > div ul > li {
            display: block;
          }

            nav > ul > li > div ul > li > a {
              display: block;
              padding: 12px 24px;
              text-decoration: none;
            }

              nav > ul > li > div ul > li:hover > a {
                background-color:grey;
                color: white;
              }


textarea{
  width: 50%;
  height: 50%;
}

form {

}

input,textarea{
}

#submit{
  background-color: black;
  color: white;
  font-size: 125%;
  text-align: center;
  width:125px;
    height:50px;
    border-color: black;
}

#submit:hover {
      opacity:.8;
  }

#submit


#maps {
  float: right;
}

#fb-page {
  float: left;
  width: 100px;
}






@media all and (max-width: 825px) {

  section{
      float: none;
      max-width: 100%;
      margin: 0;
  }

  aside{
      float: none;
      width: auto;
      min-width: none;
      max-width: none;
      margin: 0;
  }

  #title {
      text-align: center;
      line-height: 20%;
      width: auto;
  }

  nav {
      font-size: 85%;
      text-align: center;
      float: none;
      width: 100%;
  }

  #selected {
      background-color: black;
  }

  article {
      font-size: 85%;
      hyphens: auto;
  }

  li {
      display: block;
      width: 30%;
      float: left;
  }

  nav > ul > li > div {
    padding: 0;
}

article img{
  display: block;
  float: left;
  width: 99%;
  padding: 0.5%;
}

section img{
  max-width: 100%;
}

li.passive{
  display: block;
  width: 33%;
}

#maps {
  float: none;
}

#fb-page {
  float: none;
}


@media all and (max-width: 640px) {


  h1 {
    font-size: 31px;
  }

  h2 {
    font-size: 17px;
  }

}

@media all and (max-width: 240px) {
  h1 {
    font-size: 22.5px;
  }

  h2 {
    font-size: 12.5px;
  }

    nav {
      font-size: 70%;
      
  }

}

