/*  =========================================================
Stylesheet für die Übungsseiten aus dem Buch "Little Boxes" 
Stand:  Kap. 14 - Floats - 2spaltig mit margin
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 
========================================================== */

/* ====================================== 
   1. Kalibrierung und allgemeine Styles 
   ====================================== */

/* Kalibrierung der wichtigsten Abstände */
*  { padding: 0; margin: 0; }
h2, h3, h4, h5, p, ul, ol { margin-bottom: 1em; }  
ul ul { margin-bottom: 0; } 
li { margin-left: 1em; } 

/* Allgemeine Selektoren */

html { height: 101%; } 
body {
	color: white;
	background-color: #CCCCCC;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: small;
}
h1 { font-size: 150%; } 
h2 { font-size: 130%; }
h3 { font-size: 110%; text-decoration:underline }
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: #d90000; } 
a:visited { color: #cc6666; }
a:hover, 
a:focus { 
  border-bottom: 1px solid #d90000 
}
a:active { 
   color: white; 
   background-color: #d90000; 
}

/* Allgemeine Klassen und IDs */
.skiplink { 
   position: absolute; 
   left: -3000px; 
   top: -2000px; 
   width: 0px; 
   height: 0px; 
   overflow: hidden; 
   display: inline; 
}
.bildlinks {
/*background-color: white;*/
   padding: 3px; 
   border: 2px 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 { 
position: relative;
   color: black;
   background-color: white;
   float:left;
   /*padding: 5px;*/
   /*border: 5px solid #d9d9d9; */
}
.leistungen p{ 
	font-size:14px;
}


/* ==================================== 
   2. Styles für die  Layoutbereiche 
   ==================================== */

#wrapper { 
   color: black; 
   background: white url(farbverlauf_navi.jpg) repeat-y;
   width: 720px;  
   margin: 10px auto;
}

#kopfbereich {
   position: relative;  
   color: black; 
   height: 140px;
   background: #4867a7 url(farbverlauf.jpg) repeat-y top left;
   padding: 10px 20px 10px 20px; 
   
}
   #kopfbereich p {
      position:absolute;
      top: 10px ; 
      right: 10px;  
      font-weight: bold;  
      padding: 5px 0 5px 0; 
      margin-bottom: 0; 
	  
   }
   #kopfbereich p span {
      color: #d90000;  
   }

#navihorizont { 
   color: black;
   background: #4867a7 url(farbverlauf.jpg) repeat-y top left; 
   padding: 5px 10px 4px 10px;  
   border-bottom: 1px solid #4867a7;
} 

   #navihorizont ul { 
   text-align: right; 
   margin-bottom: 0; 
   } 
   
   #navihorizont #datum {
	text-align: left;
	margin-bottom: 0;
	margin-left: 10px;
	font-weight: lighter;
	text-shadow: 2px;
   } 
   
   #navihorizont li { 
      display: inline; 
      list-style-type: none; 
      margin: 0 ;  
   }	   
   
   #navihorizont a {
	color: black;
	background-color: #6699FF;
	padding: 4px 4px 4px 8px;
	border: 1px solid #8c8c8c;
	}
	
   
   #navihorizont a:hover,
   #navihorizont a:focus,
   #startseite #navia a,
   #leistungen #navib a,
   #referenzen #navic a,
   #kontaktseite #navid a{
	color: black;
	background-color: white;
	border-left-color: #003333;
	border-bottom: none;
   }  
   #navibereich a:active, #navihorizont a:active{ 
      color: black; 
      background-color: #d9d9d9; 
   }  

#textbereich { 
   padding: 20px 10px 20px 20px; 
   margin-left: 100px; 
   min-height: 475px;
}

   #textbereich a { 
      border-bottom: 1px dotted #cc0000; 
   }
   #textbereich a:hover,
   #textbereich a:focus { 
      border-bottom: 1px solid #d90000; 
   }

#fussbereich {
   clear: both; 
   color: black; 
   background-color: white; 
   padding: 10px 20px 5px 20px;
   border-top: 1px solid #8c8c8c; 
/*   margin-top: 20px; entfernen */
}

/* ==================================== 
   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: 10px 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: 45px; 
   margin-bottom: 15px;  
}


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