/*  =========================================================
Stylesheet für die Übungsseiten aus dem Buch "Little Boxes" 
Stand:  Kap. 12 - Floats - Die Galerieseite   
Datei:  bildschirm.css
Media:  screen 
Datum:  22. Januar 2007
Autor:  Peter Müller 
Aufbau  1. Kalibrierung und allgemeine Styles 
        2. Styles für Layoutbereiche    
        3. Sonstige Styles 
ToDo:   IE-Patches ausgliedern 
========================================================== */

/* ====================================== 
   1. Kalibrierung und allgemeine Styles 
   ====================================== */

/* Kalibrierung der wichtigsten Abstände */
*  { padding: 0; margin: 0; }
h2, h3, p, ul, ol { margin-bottom: 1em; }  
ul ul { margin-bottom: 0; } 
li { margin-left: 1em; } 

/* Allgemeine Selektoren */

html { overflow:scroll; } 
body { 
   color: white; 
   /*
   background-color: #8c8c8c; 
   background-color: #ffee00;
   */
   background-color: #004982;
   font-family: Verdana, Arial, Helvetica, sans-serif; 
   font-size: small; 
}
h1 { font-size: 150%; border-bottom:1px solid #333366;margin-bottom:3px;} 
h2 { font-size: 130%; margin:10px 0 5px 0;}
h3 { font-size: 110%; }
address {
   text-align: center;  
   font-size: 80%;      
   font-style: normal;  
   letter-spacing: 2px; 
   line-height: 1.5em;  
}

/* Hyperlinks */
a { text-decoration: none; outline: none;} 
a:link { color: #333366; } 
a:visited { color: #333366; }
a:hover, 
a:focus { 
  color: red; 
}
a:active { 
   color: red; 
}

/* Allgemeine Klassen und IDs */
.skiplink { 
   position: absolute; 
   left: -3000px; 
   top: -2000px; 
   width: 0px; 
   height: 0px; 
   overflow: hidden; 
   display: inline; 
}
.bildlinks {
   float:left; 
   padding: 3px; 
   border: 5px solid #ccc; 
   margin-right: 10px; 
   margin-bottom: 10px; 
}
.bildrechts {
   float:right; 
   padding: 3px; 
   border: 5px solid #ccc; 
   margin-bottom: 10px;
   margin-left: 10px; 
}

.clearing { clear: both; }
#logo { 
   color: black;
   background-color: white;
   padding: 5px;
   border: 5px solid #d9d9d9; 
}

/* ==================================== 
   2. Styles für die  Layoutbereiche 
   ==================================== */

#wrapper { 
   color: black; 
   background-color: white; 
   width: 80%;
   height:100%;  
/*
   width: 720px;
   height:700px;  
*/
   margin: 10px auto;
}

#kopfbereich {
   position: relative;  
   color: black; 
   background: #FFFFFF url(pix/headerbg.gif) repeat-x top left;
   padding:10px 0 0 10px;
   height:87px;
	margin-bottom: 5px;
}
   #kopfbereich p {
      position:absolute;
      top: 10px ; 
      right: 10px;  
      font-weight: bold;  
      padding: 5px 0 5px 0; 
      margin-bottom: 0; 
   }
   #kopfbereich p span {
      color: #d90000;  
   }

#navigation {
	width: 136px;
	height: 573px;
	background-color: #FFF5CC;
	padding: 15px 3px 10px 10px;
	float:left;
}
   #navigation ul { 
      margin-bottom: 0; 
   }
   #navigation li { 
      list-style-type: none; 
      margin: 0 ;  
   }
   #navigation li.active{
   	  background: url(pix/aktiv.gif) no-repeat 122px center;
   	  border-top: 1px solid black;
   	  border-bottom: 1px solid black;
   	  color: red;
   }
   #navigation h2{
   	  padding-top:15px;
   		font-size: 10pt;
   		font-weight: bold;
   		color: #333366;
   		padding: 0 2px 0 5px;
   		border-left: 5px solid #5f98c4;
   		height: 35px;
	 }   
#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 ;  
   }
   #navibereich a { 
      color: black; 
      background-color: #ffeda0; 
      padding: 4px 4px 4px 8px; 
      border: 1px solid #8c8c8c;
   }  
   #navibereich a:hover,
   #navibereich a:focus,
   #startseite #navi01 a, 
   #galerieseite #navi02 a,
   #kontaktseite #navi03 a { 
      color: black; 
      background-color: white; 
      border-bottom-color: white; 
   }  
   #navibereich a:active { 
      color: black;
      background-color: white; 
   }  

#textbereich {
	padding: 5px 20px 20px 20px;
	height:500px;
	color:#333366;
   overflow: scroll;
}

   #textbereich a { 
      border-bottom: 1px dotted #cc0000; 
   }
   #textbereich a:hover,
   #textbereich a:focus { 
      border-bottom: 1px solid #d90000; 
   }
   #textbereich #bilderblock {
   	  width: 350px;
   	  font-size:10px;
   	  padding-top:5px;
   }
   #textbereich img.links{
   	  float:right;
   	  margin:0 0 10px 5px;
   	  padding:1px;
   	  border: 1px solid silver;
   }
   #textbereich img.rechts{
   	  float:left;
   	  margin:0 5px 10px 0;
   	  padding:1px;
   	  border: 1px solid silver;
   }
   #textbereich img.bild{
   	  margin:0 5px 10px 20px;
   	  padding:1px;
   	  border: 1px solid silver;
   }
   #textbereich .floatcleaner {
   	   clear:both;
   }
#fussbereich {
   padding: 16px 20px 20px 0;
   border-top: 1px solid #8c8c8c; 
   margin-top: 20px; 
   text-align:center;
}

#flashcontent {
	position: absolute;
	top: 0px;
	left: 220px;
	border: 0;
	background-color: #5f98c4;
	width: 500px;
	height: 70px;
}

#w3cvalid {
  padding-left: 20px;
  padding-top: 245px;
}

	#w3cvalid a,
	#w3cvalid img {
		border: 0;
	}



/* ==================================== 
   3. Sonstige Styles 
   ==================================== */

/* Das Kontaktformular */
form {
   background-color: #eee;
   width: 370px; /* Breite des Formulars */ 
   padding: 20px; 
   border: 1px solid #8c8c8c;
}
/* Beschriftung auf eigener Zeile */
label { 
   display: block; 
   cursor: pointer; 
} 
input#absender, 
textarea { 
   width: 300px;
   border: 1px solid #8c8c8c;
   margin-bottom: 1em;
}
textarea { 
   height: 7em; 
}
input#absender:focus, 
textarea:focus {
   background-color: #d9d9d9; 
}

/* Die Fotogalerie */
div.galerie { 
   overflow: hidden; /* zum Umschließen der Floats */
   padding: 25px 10px 10px 0; 
   margin: 0 3px 3px 0; 
 }
/* für IE6 */
* html div.galerie { height: 1%; }

div.galerie img { 
   float: left; 
   padding: 4px;
   border: 1px solid #ddd; 
   border-right-color: #aaa; 
   border-bottom-color: #aaa; 
   margin-right: 15px; 
   margin-bottom: 15px;  
}

/* ======================================= 
   E N D E   D E S   S T Y L E S H E E T S 
   ======================================= */
