/* Stylesheet für die Übungsseiten aus dem Buch "Little Boxes" */
/*1.a) Kalibrierung*/

* {padding: 0; margin: 0;} /* Abstände für alle Elemente auf Null setzen! */
h2, p, ul, ol {margin-bottom: 1em; } /*Abstand nach unten */
ul ul {margin-bottom: 0;} /* Damit unterhalb der verschachtelten Liste kein Abstand entsteht */
li { margin-left: 1em;} /*Abstand von unten */

/*1.b) Die Elemente html und body */
body {
  color: white;
  background-color: #8c8c8c;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: small; }

/*1.c) Block-Elemente wie Überschriften, Absätze, Listen, Ziate etc.*/
h1 {font-size: 150%; }
h2 {font-size: 130%; }
address {
  text-align: center;
  font-size: 80%;
  font-style: normal;
  letter-spacing: 2px;   /*Buchstabenabstand um 2 pixel vergrößert */
  line-height: 1.5em; /*Zeilenabstand auf das 1,5-fache der Schriftgröße erhöht*/}

/*1.d) allgemeine Hyperlinks*/
a {text-decoration: none; outline: none; }  /* Unterstreichung der Hyperlinks entfernen, Umrisslinie entfernen */
a:link {color: #d90000; }
a:visited {color: #cc6666; }
a:hover, a:focus {border-bottom: 1px solid #d90000; }
a:active {color: white; background-color: #d90000; }


/*1.e) allgemeine Klassen und ID´s */

.skiplink {  position: absolute; top: -2000px; left: -3000px; width: 0px; height: 0px; overflow: hidden; display: inline; }
#logo { color: black; background-color: white; padding: 5px; border: 5px solid #d9d9d9; }


/*2. Styles der Layoutbereiche */

#wrapper { color: black; background-color: white;
  width: 720px; /*Breite des INHALTS-Bereiches*/
  margin: 10px auto; }/*zum Zentrieren*/
#kopfbereich { color:black;
  background: #f3c600 url(farbverlauf.jpg)
  repeat-y /* kacheln nur vertikal untereinander */ top left; /*Background beginnt oben links */
  padding: 10px 20px 0px 20px; }
  #kopfbereich p {
  	padding: 5px 0;
	margin-bottom: 0;
  }
#navibereich {
  text-align: right;
  color: Black;
  background: #ffe574 url(farbverlauf.jpg) repeat-y top left;
  padding: 5px 10px 4px 10px; 
  border-bottom: 1px solid #8c8c8c;
}
  #navibereich ul { margin-bottom: 0; }
  #navibereich li {
  	display: inline;
	list-style-type: none;
	margin: 0 10px 0 0;
  }
  #navibereich a { color: black; }
  #navibereich a:hover, #navibereich a:focus {
  	color: black;
	background-color: #f3c600;
  }
  #navibereich a:active {
  	color: Black;
	background-color: White;
  }
#textbereich {padding: 20px 10px 20px 20px; }
  #textbereich a { border-bottom: 1px dotted #cc0000; }
    #textbereich a:hover, #textbereich a:focus { border-bottom: 1px solid #d90000; }
#fussbereich { padding: 10px 20px 20px 20px;
  border-top: 1px solid #ccc; margin-top: 20px; }
/*3. sonstige Styles */

