/*
Layouthinweise:
Gesamtfarbe: #52661F 
Gesamtfarbe, aufgehellt: #768B4A
Logo wird ab sofort in index.php eingebunden

*/

* {
  margin: 0;
  padding: 0;
}

/* Gesamtschrift und Gesamtrand festlegen */
body {
  font-family: Verdana, Arial, Helvetica, sans-serif;  
  margin: 5px;
  padding: 2px;
  background-color: #B0E2FF;
  background-image: url(wolken.jpg);
  background-image: url(http://www.wetterstation-lienen.de/MOBOTIX/test.jpg);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
/* overflow: hidden;
   opacity: 0.6; */
}

/* wrapper-container, contains logo, nav, content and footer */
#wrapper {    
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  text-align: left;
  margin: 0 auto;
  margin-top: 8px;
  max-width: 1150px;  
  border-style: solid;
  border-width: 1px;
  border-color: silver;  
  color: black;  
  background-color: #000000;  
  padding: 8px; 
  box-shadow: 8px 8px 8px silver;
}

#frag_5 {
  position: absolute;
  top: 12%;
  padding-left: 20%;
  text-align: center;
  font-size: 3em;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  color: red;
  text-shadow: 3px 3px 8px #000000; /* Gesamtfarbe */
}

#frag_6 {
  position: absolute;
  top: 18%;
  padding-left: 23%;
  text-align: center;
  font-size: 1.5em;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  color: #000080;
}  

#frag_7 {
  position: absolute;
  top: 23%;
  padding-left: 36%;
  text-align: center;
  font-size: 1.5em;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-weight: bold;
  color: #000080;
}  

#navigation {
  position: absolute;
  top: 120%;
  left: 50%;
  text-align: left;
  font-size: 1.2em;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-weight: normal;
  color: #000080;
}  
 
#impress {    
  display: block;
  float: none !important;
  width: 96%;
  top: 30%;
  position: absolute;
  padding-left: 2%;
  /* height: 150%; */
  border-bottom: 0;
}  
 
#inhalt {    
  display: block;
  float: none !important;
  width: 90%;
  top: 21%;
  position: absolute;
  padding-left: 0%;
  left: 5%;
  right: 5%;
  height: 150%;
  border-bottom: 0;
} 


#logo {
  position: absolute;
  top: 13%;
  left: 0;  
  text-align: center;
  width: 36%;
  /*
  height: 70px;
  */
  height: 5%;
  background-color: rgba(0,0,0,0.2);  
}


#main {    
  display: block;
  float: none !important;
  width: 96%;
  top: -12%;
  position: absolute;
  padding-left: 2%;
  height: 150%;
  border-bottom: 0;
}  
/* Fußzeile */
#footer {
  position: fixed;
  top: 92%;
  color: blue;
  left: 0%;
  font-size: 1.2em;
  line-height: 36px;
  background-color: #666666;
  clear: both;
  width: 105%;
  height: 88px;
  border-color: red;
  border-top: 5px #FF0000 solid;
}

#footer div {
  font-size: 0.7em;
  text-indent: 10px;  
}

div.copy {
  margin-top: 4px;
  font-size: 0.7em;
  text-indent: 10px;
  text-align: center;
}


/* bis 800 Pixel Bildschirmbreite, z.B. Tablet */
/*
@media (max-width: 850px) {
  #header img {
    max-width: 100%;    
    height: auto;      
  }
}
*/

/* bis 800 Pixel Bildschirmbreite, z.B. Tablet */
@media (max-width: 800px) {
  #header img {
    max-width: 95%;    
    height: auto;      
  }
  
  #frag_5 {
  position: absolute;
  top: 5%;
  /* padding-left: 5%; */
  text-align: center;
  font-size: 1.0em;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  color: red;
}

#frag_6 {
  position: absolute;
  top: 10%;
  padding-left: 5%;
  text-align: center;
  font-size: 0.8em;
  font-family: Verdana, Arial, Helvetica, sans-serif;
}

#inhalt {    
  display: block;
  float: none !important;
  width: 90%;
  top: 4%;
  position: absolute;
  padding-left: 0%;
  left: 5%;
  right: 5%;
  height: 150%;
  border-bottom: 0;
} 

  /* Fußzeile */
  
#footer {
  position: fixed;
  top: 90%;
  color: white;
  padding-left: 0%;
  font-size: 1em;
  line-height: 20px;
  background-color: #666666;
  clear: both;
  width: 100%;
  /* height: 100%; */
  background-repeat: repeat-y;
  clear: both; 
}

/* bis 600 Pixel Bildschirmbreite, z.B. Smartphone */
@media (max-width: 600px) {
  body {
   margin: 0;
   padding: 0;
   font-family: Verdana, Arial, Helvetica, sans-serif;  
   margin: 5px;
   padding: 2px;
   background-color: #B0E2FF;
   background-image: none;
   background-attachment: fixed;
   background-repeat: no-repeat;
   background-size: cover;
   width: 65%;
   /*overflow-y; */
   overflow-x: hidden;
}
  
  #logo {
    position: absolute;
	top: 5%;
	width: 90%;
	height: 10%;
  }
  
  #hsd6 img {
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  width: 65%;
}

#hsd6 {
  position: absolute;
  top: 5%;
  left: 0px;
  text-align: left;
}

#frag_5 {
  position: absolute;
  top: 5%;
  padding-left: 1%;
  text-align: left;
  font-size: 1em;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  color: red;
}

#frag_6 {
  position: absolute;
  top: 20%;
  left: 1%;
  text-align: left;
  font-size: 0.8em;
  font-family: Verdana, Arial, Helvetica, sans-serif;
}  

#frag_7 {
  position: absolute;
  top: 30%;
  padding-left: 5%;
  text-align: center;
  font-size: 0.8em;
  font-family: Verdana, Arial, Helvetica, sans-serif;
}  
  
#inhalt {    
  display: block;
  float: none !important;
  width: 95%;
  top: 45%;
  position: absolute;
  left: 1%;
  height: 120%;
  font-size: 0.9em;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  border-bottom: 0;
} 

#main {    
  display: block;
  float: none !important;
  width: 95%;
  padding-top: -150%;
  position: absolute;
  height: 400%;
  left: 01;
  font-size: 0.9em;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  border-bottom: 0;
} 
  
  /* Fußzeile */
  
#footer {
  position: fixed;
  top: 90%;
  color: white;
  padding-left: 0%;
  font-size: 1em;
  line-height: 20px;
  background-color: #666666;
  clear: both;
  width: 100%;
  /* height: 100%; */
  background-repeat: repeat-y;
  clear: both; 
}

  #logo h1 {
    font-size: 1.6em;
	left: 170px;
  }

  #logo h2 {    
    font-size: 0.8em;
  }

  #content {    
    display: block;
    float: none !important;
    width: 95%;
  }
  #nav {    
    display: block;
    float: none !important;
    width: 100%;
  }
  #topmenu {
    display: block;
    float: none !important;
    width: 100%;  
  }
  
  #nav ul { 
    list-style-type: none !important;
    list-style-image: none !important;        
    padding-left: 0;    
  }

  #nav ul li {    
    margin: 1px;
    padding-left: 2px !important;    
  }
  #nav ul li li {
    margin: 2px;    
    padding: 2px;      
  }
  
  #nav a { 
    padding: 5px !important;  
    color: white !important;
    text-decoration: none;    
    font-weight: bold;
    display: block;        
    background: #768B4A !important; /* Gesamtfarbe, aufgehellt */
  }
  
  #nav b {
    padding: 5px !important;
    background: #52661F !important; /* Gesamtfarbe */
  }
   
  #nav a:visited {
    color: black !important;    
  }
  
  #nav a:hover {
    background: #52661F !important; /* Gesamtfarbe */
    color: white;
    text-decoration: none;    
  }   
}