/*  ===============================================
Stylesheet für die Übungsseiten aus  "Little Boxes, Teil 1"
Stand:  Layoutvorlage aus Kapitel 18
        dreispaltig, Header, Footer
        absolut positioniert
Datei:  bildschirm.css
Datum:  2009-04-18
Autor:  Peter Müller
Aufbau: 1. Kalibrierung und Restauration
        2. Allgemeine Styles
        3. Styles für Layoutbereiche
        4. Sonstige Styles
================================================ */

/* ======================================
  1. Kalibrierung und Restauration
  ====================================== */
/* Reset - alle Abstände auf NULL */
*  { padding: 0; margin: 0; }
/* optional: erzwingt Scrollbar im Firefox */
html { height: 100%; margin-bottom: 1px; }
h2, p, ul, ol { margin-bottom: 1em; }
ul ul { margin-bottom: 0; }
li { margin-left: 1em ; }
/* hier ggfs. Abstände für weitere Elemente restaurieren */

/* ======================================
  2. Allgemeine Styles
  ====================================== */
body {
   color: black;
   font-family: Verdana, Arial, Helvetica, sans-serif;
   font-size: small;
   background-color: #8c8c8c;
}
h1 { font-size: 150%; }
h2 { font-size: 130%; }
address {
  text-align: center;
  font-size: 80%;
  font-style: normal;
  letter-spacing: 2px;
  line-height: 1.5;
}
a {
  text-decoration: none;
  /* outline: none; */ /* nur wenn es Sie wirklich stört */
}
a:link {  }
a:visited {  }
a:hover,
a:focus {

}
a:active {

}
/* Allgemeine Klassen und IDs */
img#logo {

}

/* ======================================
  3.  Styles für die Layoutbereiche
  ====================================== */
#kopfbereich {
  width: 740px; /* plus padding li und re */
  background-color: #5F8EDC;
  color: white;
  padding: 10px;
  margin: 10px auto;
  margin-bottom: 0;

}
  #kopfbereich p {
    padding: 5px 0 5px 0;
    margin-bottom: 0;
  }
#wrapper {
  position: relative;
  background-color: white;
  width: 760px;
  margin: 0 auto;
}
#textbereich,
#fussbereich {
   background-color: white;
   padding: 10px 20px;
   margin-left: 130px;
   margin-right: 130px;
}

#navibereich {
   position: absolute;
   top: 0;
   left: 0;
   width: 110px;
   padding: 10px;
}
  #navibereich ul {
    width: 6em;
    border-top: 1px solid #5F8EDC;
  }
  #navibereich li {
    list-style-type: none;
    border-left: 1px solid #5F8EDC;
    border-bottom: 1px solid #5F8EDC;
    margin: 0;
  }
  #navibereich a {
    display: block;
    text-decoration: none;
    color: black;
    background-color: #D4E1F7;
    padding: 4px;
    border-left: 3px solid #D4E1F7;
  }
  #startseite #navi01 a,
  #kontaktseite #navi02 a {
    color: black;
    background-color: white;
    border-left-color: #5F8EDC;
    border-bottom: none;
  }
  #navibereich a:hover,
  #navibereich a:focus {
    color: black;
    background-color: white;
    border-left-color: #5F8EDC;
    border-bottom: none;
  }
  #navibereich a:active {
    color: white;
    background-color: #5F8EDC;
  }
#sidebar {
   position: absolute;
   top: 0;
   right: 0;
   width: 110px;
   padding: 10px;
}

/* ======================================
  4. Sonstige Styles
  ====================================== */
/* Das Kontaktformular */
form {
  background-color: #eee;
  width: 370px;
  padding: 20px;
  border: 1px solid #8c8c8c;
}
label {
  display: block;
  cursor: pointer;
}
input#absender,
textarea {
  width: 300px;
  border: 1px solid #8c8c8c;
  margin-bottom: 1em;
}
textarea {
  height: 7em;
}
input:focus,
textarea:focus {
  background-color: #d9d9d9;
}

/* =======================================
   E N D E   D E S   S T Y L E S H E E T S
   ======================================= */
