/*Styles fuer Layout-Zwecke

verwendet fuer das Beispiellayout aus dem Buch:
TYPO3 4 von Miriam Torbeck, Thorsten Wuest
DATA BECKER
30.08.2006

*/


/* #content: Hier setzen wir die Breite der Seite */

#content {  
  height: 100%;
  min-height: 100%;
  text-align: left;
}

#content,
#width {
  /* max-width hack fuer MS IE, zerhaut die CSS-Validierung ! */ 
  width: expression(document.body.clientWidth > 1000 ? "1000px" : "94%");  
  max-width: 1000px;
  margin: 0 auto;
}

#content[id],
#width[id] {
  width: 94%;
  height: auto;
}


/*#header: Enthaelt den Seiten-Titel und evt. ein Header-Kachel-Image, wenn benoetigt. */

#header {
  position: relative;
  height: 50px;
  
}

/* Positioniert den Seitentitel und den Subtitel */
#header #title {
  position: absolute;
  z-index: 3;
  top: 10px;
  padding: 5px;
  text-align: right;
}


#header h1 {
  margin: 0;
  padding: 0;  
  font: 300 3em verdana, sans-serif;
  letter-spacing: -2px;
  text-transform: lowercase;
  color: #000;
}

#header h2 {
  position: absolute;
  top: 60px;
  right: 0px;  
  margin: 0;
  padding: 0;
  font: 500 1.5em verdana, sans-serif;
  text-transform: lowercase;
  color: #3366ff;
}


/* Bestimmt wohin das Header-image gehen soll. 
Es koennen Grafiken im HTML eingefuegt werden, 
Ausrichtung dann links oder rechts per Klasse*/

#header img.left {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  }

#header img.right {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
}


/*  #mainMenu: Das Hauptmenue unter dem Header-Bild, rechte Seite */

#mainMenu { 
  float: left;
  width: 100%;
  border-bottom: 1px solid #000;
  clear: both;  
}

#mainMenu ul {
  margin: 0;
  padding: 0;
}

#mainMenu li {
  display: inline;
  list-style: none;
  margin: 0;
  padding: 0;
}

#mainMenu li a {
  float: left;
  margin: 0 2px;
  padding: 3px 0.5em;
  font: 400 1.6em verdana, sans-serif;
  text-decoration: none;
  text-transform: lowercase;
  color: #000;
}

#mainMenu li a:hover {
  color: #3366ff;
  background: #d9d9cd;
  }

/*die Klasse .hier fuer den gerade aktiven Seitenlink*/

#mainMenu li a.hier {
  color: #3366ff;
  background: #d9d9cd;
  }

#mainMenu li a.last {
  margin-left: 0;
}

/*Skip-Navigation fuer den Content, linke und rechte Spalte
normalerweise nicht sichtbar aus dem Viewport verschoben, 
bei Tabtasten-Druck erscheinen die Links, 
fuer Screenreader wird vorgelesen, da nicht auf unsichtbar gesetzt*/

.skip {
     position:absolute;
     left:-150px;top:-150px;
}

.skip li {
     font-size:0.8em;
     text-align:center;
     padding:0 5px;
}

/*bei on focus oder active des skip-Links sichtbar */

.skip li a:focus, .skip li a:active {
           position:absolute;
           top:300px;
           left:300px;
           white-space:nowrap;
           z-index:1; 
}

/* #leftMenu id fuer linke Navigationsleiste */

#leftMenu ul {
	margin:0;
	padding:5px 5px;
	list-style: none;
}

#leftMenu ul ul {
	padding-left:20;
	}
#leftMenu li {
	width: 95%;
	display: block;
	margin: 0;
	padding: 2px 0px;*/
	color: #000;
	font: bold 1em verdana, arial, helvetica, sans-serif;
}

#leftMenu li li {
	width: 100%;
	padding-left: 5px;
	}


#leftMenu a {
	display:block;
	margin: 0;
	padding: 0;
	text-decoration:none;
	color: #000;
}

#leftMenu ul li a:hover {
	color:#3366ff;
}

#leftMenu li a.hier {
  padding-left: 3px;
  color: #3366ff;
  border-left: 3px solid #3366ff;
  font-weight: bold;
  background: #d9d9cd;
}

/*Sprachmenue mit Background-Bildern auszeichnen */
.lang ul a {  
  margin:0;
  padding: 0;
  list-style: none;
  text-align:center;
  color: #3366ff;
  font-weight: bold;
  text-decoration: none;
  width: 95%;  
  }

.lang ul li.german  {  
  padding-left: 25px;  
  display: inline;  
  background: url('layout_FILES/flag_de.gif') no-repeat 3px 0px; 	
  }

.lang ul li.english  {
  padding-left: 25px;  
  display: inline;
  background: url('layout_FILES/flag_uk.gif') no-repeat 3px 0px; 	
  }

/* .sideMenu: eine Menubar links, Listenelemente mit Klasse subLinks 
erhalten einen Pfeil-Button */

ul.sideMenu {
  margin: 0;
  padding: 0;
}

.sideMenu li {
  display: inline;
  
  /* Fake-Gif wird nur fuer IE gebraucht, da es dort nicht mit list-style: none; funktioniert*/   
  list-style-image: url('foo.gif');
  
  /*Schrift fuer die Links im sideMenu */
  font-style:normal; 
  font-variant:normal; 
  font-weight:400; 
  font-size:1.3em; 
  font-family:verdana, sans-serif;
}

.sideMenu li a {
  display: block;
  margin: 0.2em 0;
  padding: 3px 5px;      
  text-decoration: none;
  color: #000;
  } 

.sideMenu li a:hover {
  color: #3366ff;
  /*background: #ccc; zusaetzlicher Hover-Effekt*/
}

/* Active menu item */
.sideMenu li.subLinks {
  display: block;  
  padding: 5px;
  color: #3366ff;
}

/* Submenu fuer active menu item */
.sideMenu li.subLinks ul {
  margin: 0;
  padding: 0;
}

.sideMenu li.subLinks ul li a {
  padding-left: 35px;
  color: #000;  
  background: url('layout_FILES/bullet.gif') no-repeat 10px 3px; 
  font-style:normal; 
  font-variant:normal; 
  font-weight:400; 
  font-size:0.55em; 
  font-family:verdana, arial, sans-serif;
  
}

.sideMenu li.subLinks ul li a:hover {
  color: #3366ff;
  background: #d9d9cd url('layout_FILES/bullet.gif') no-repeat 10px 2px;
}

/*  #page: enthaelt den Hauptpage content */

#page {
  float: left;
  width: 100%;
  clear: both;
  
  padding-bottom: 4em;
}

/* #footer: Fusszeile, bleibt unten, auch wenn nicht genug Content da ist.*/

#footer {
  float: left;
  width: 100%;
  clear: both;
  border: 0;
  margin-top: -4em;
  background-color: #ffffff; 
  /*url('layout_FILES/footer.jpg') repeat-x top left;*/
}

#footer img {
   margin-left: 2em;
}

/* Bestimmt die Breite der footer-Zeile */
#footer #width {
  position: relative;
  z-index: 3;
  font-size: 0.85em;  
}

/*  Breiten fuer die Spalten: etwas ungrade, damit IE und Mozilla ungefaehr gleich liegen */

.width100 {
  width: 100%;
}

.width80 {
  width: 79.7%;
}

.width75 {
  width: 74.7%;
}

.width50 {
  width: 49.7%;
}

.width25 {
  width: 24.7%;
}

.width60 {
  width: 59.7%;
}

.width33 {
  width: 32.7%;
}

.width20 {
  width: 19.7%;
}

.width10 {
  width: 9.7%;
}

/* Ausrichtungsklassen */

.floatLeft {
  float: left;
}

.floatRight {
  float: right;
}

.alignLeft {
  text-align: left;
}

.alignRight {
  text-align: right;
}
