/*  =========================================================
Stylesheet für die Übungsseiten aus dem Buch "Little Boxes" 
Stand:  Ende Kap. 08 - Horizontale Navigation tabbed 
Datei:  bildschirm.css
Datum:  21. Dezember 2006
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, p, ul, ol { margin-bottom: 1em; }  
p {
	line-height:1.5em;
}
ul ul { margin-bottom: 0; } 
li { margin-left: 1em; } 
/* Allgemeine Selektoren */

html { height: 101%; } /* erzwingt Scrollbar im Firefox */
body { 
   color: black; 
   background-color:#bbbbbb; 
   font-family: Verdana, Arial, Helvetica, sans-serif; 
   font-size: small; 
   text-align:center;
}
h1 { font-size: 200%;} 
h2 { font-size: 130%;  color: #3e536e; margin:1em 0 1em 0;}
h3 { font-size: 110%;  color: #3e536e; margin:2.4em 0 1em 0;}
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: #005682; } 
a:visited { color: #005682; }
a:hover, 
a:focus { 
  border-bottom: 1px solid #005682;   	
}
a:active { 
   color: black; 

}
/* Tabellen */
table {
	font: normal 1em Verdana, Arial, Helvetica, sans-serif;
	margin: 1em 0 0 1em;
	border-collapse:collapse;
	border-spacing:0;
}
caption {
	font:italic 0.7em Verdana, Arial, Helvetica, sans-serif;
	text-align:right;
	caption-side:bottom;
}
td {
	font:normal 1em Verdana, Arial, Helvetica, sans-serif;
	color:#116688;
	background-color:#ffffff;
	border: 1px solid #3e536e;
	padding: 0.5em 1em 0.5em 1em;
	text-align:center;
}
td:hover {
	background-color:#ffffff;
}
.td-head {
	background-color:#cdd8e7;
}
.td-even {
	background-color:#edf3f7;
}
.td-odd {
	background-color:#dbe8ef;
}
/* Allgemeine Klassen und IDs */
.skiplink { 
   position: absolute; 
   left: -3000px; 
   top: -2000px; 
   width: 0px; 
   height: 0px; 
   overflow: hidden; 
   display: inline; 
}
.clear { 
  margin: 0pt; 
  padding: 0pt; 
  clear: both; 
}
.platz {
	font-size:1.6em;
	text-align:center;
}
.small {
	font-size:0.7em;
	font-weight:normal;
}
.theader {
	font:bold 1em Verdana, Arial, Helvetica, sans-serif;
	padding:1em 1em 1em 1em;
	text-align:center;
	background-color:#afd7f4;
}

.imgright {
	border: 1px solid #aaaaaa;
	float:right;
	padding:5px;   
	margin:10px;
  }

.imgleft {
	border: 1px solid #aaaaaa;
	float:left;
	padding:5px;   
	margin:10px;
  }

#logo { 
   color: black;
   background-color: white;
   padding: 5px;
   border: 5px solid #d9d9d9; 
}

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

#wrapper { /* Das HTML-Element mit dem Attribut id="wrapper" */
   color: black; 
   background-color: white; 
   width: 900px; /* Breite des Inhaltsbereiches */   
   margin: 10px auto;
   border:1px solid #000000;
   text-align:left;
}

#header {
   text-align:left;
   color: #3e536e; 
   background: #d6cbb6 url(../images/eee-logo.jpg) top left;
   padding: 10px 20px 0 20px; 
   height:125px;
}
   #header p {
      padding: 5px 0 5px 0; 
      margin-bottom: 0; /* war 1em */
   }

#sharethis {
	text-align:right;
}

#navigation { 
   text-align: left;  /* rechtsbündig */
   color: black;
   margin-top:-25px;
   padding: 5px 10px 4px 20px;  
   border-bottom: 1px solid #777777;
} 
   #navigation ul { margin-bottom: 0; } 
   #navigation li { 
      display: inline;
      list-style-type: none; 
      list-style-position: inside;
      margin: 0 ; /* war vorher 10px für rechts */ 
   }
   #navigation a { 
      color: white; 
      background-color: #3e536e; 
      padding: 4px 8px; 
      border: 1px solid #777777;
   }  
   #navigation a:hover,
   #navigation a:focus { 
      color: black; 
      background-color: white; 
      border-bottom-color: white; /* Rahmenlinie weiss */ 
   }  
   #navigation a:active { 
      color: black;
      background-color: white; 
   }  

#contents { 
	padding: 20px 10px 20px 20px; 
	}
   #contents a { 
		border-bottom:1px dotted #005682;
   }
   #contents a:hover,
   #contents a:focus { 
		border-bottom:1px solid #005682;
   }
   
  
#contents li { margin-left: 0; } 

#contents h2 {
	margin-top:-10px;
}

#contents p {
	margin-left:1em;
}


#sidebar {
	float:right;
	text-align:right;
	width:200px;
}

#realcontents {
	background:#e0e0e0;
	width:690px;
}

#footer {
   padding: 10px 20px 10px 20px;
   background-color:#dddddd;
   border-top: 1px solid #aaaaaa; 
   margin-top: 20px;
   text-align: right;  
   font-size: small;   
}
#footer a {
	font-size:smaller;
	color:#999999;
}
