/* CSS Document fuer die Website Joerg Ahnert - Bauunternehmung
===================================================================================================
Anpassung der wichtigsten Abstaende: Restaurierung
==========================================*/
*{                                             /*Setzt alle Abstände in der Seite erst mal auf 0*/
	padding: 0; margin: 0;
}
h1, h2, h3, h4, h5, h6, p, 
ul, ol, dl, table, adress, pre, blockquote{    /*Abstand nach unten definieren*/
	margin-bottom: 1em;
}
blockquote {margin: 1em 2em;					/* Zitate einrücken*/
}
												
ul, ol, dl{                                     /*Alle Listen etwas einrücken*/
	margin-left: 1em;
}
li{                                             /*Listenelemente etwas mehr einrücken*/
	margin-left: 1em;
}
dd {margin-left: 2em;							/*Definitionen in Definitionslisten noch mehr einrücken*/
}
ul ul, ul ol, ul dl,							/*Verschachtelte Listen ohne Außenabstand oben/unten*/
ol ul, ol ol, ol dl,
dl ul, dl ol, dl dl {
   margin-top: 0;
   margin-bottom: 0;
}
/*Aufzählungszeichen für Listenkisten*/

ul { list-style-type: square; 					/* Ebene 1 - ul: square (ausgefülltes Rechteck); ol: Dezimalzahlen  */
}	
ol { list-style-type: decimal; 
}
ul ul { list-style-type: disc; 					/* Ebene 2 - ul: disc (ausgefüllter Kreis); ol: kleine Buchstaben */
}
ol ol { list-style-type: lower-alpha; 
}
ul ol { list-style-type: decimal; 
}
ol ul { list-style-type: square; 
}
ol ol ol, ol ol ul, ol ul ul, ol ul ol,			/* Ebene 3 - ul und ol mit circle (nicht ausgefüllter Kreis) */
ul ul ul, ul ul ol, ul ol ol, ul ol ul {
   list-style-type: circle;
} 

fieldset, a img { border:none;					/*Rahmen um verlinkte Bilder entfernen*/
}
/*======================================================================================================
   Allgemeine Selektoren:
 ==========================================*/

html{
	height: 101%;                          	/*Erzwingt Scrollbar im Firefox, die sonst ein springendes Design verursachen*/
}
body{
	color:#003300;
	background-color: #d6d4d2;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	/*background-image:url(images/backg.jpg);
	background-position:center left;
	background-repeat:no-repeat;*/
	font-size:12px;                       	/*schriftgroeße im Body*/
}

h1{
	font-size: 150%;
}
h2{
	font-size: 130%;
}
h1, h2 {
	font-family:Verdana, Arial, Helvetica, sans-serif;
}
address{
	text-align: left;                   	/*Ausrichtung - hier links*/
	font-size: 90%;                       	/*schrift etwas kleiner*/
	font-style: normal;                   	/*normale Schrift, nicht kursiv*/
	/*letter-spacing: 2px;                  /*Abstand zwischen den Buchstaben*/
	line-height: 1em;                   	/*Zeilenabstand*/
}
ul li{                                     	/*Erreicht, dass die Aufzählungszeichen einer ungeordneten Liste quadratisch sind*/
	list-style-type: square;
}
/*============================================================================================
  Hyperlinks allgemein:
===============================================*/
a{	                                      	/*Unterstreichung entfernen*/
	text-decoration: none;
	outline: none;
}
a:link{				                      	/*Links bearbeiten*/
	color: #003300;
}
a:visited{
	color:#009900;
}
a:hover, 
a:focus{
	border-bottom-style:solid;
	border-bottom-width: 1px;
	border-bottom-color: #ffffff;
}
a:active{                                  /*bei klick werden Hg- und Schriftfarbe gewechselt*/
	color: white;
	background-color: #ccffcc;
}
a[href^="http:"]{
background: url(images/linkinsweb.gif) no-repeat left center;
padding-left: 16px;
}
a[href^="http:"]:visited {
background-image: url(images/linkinsweb_visited.gif);
}
/*=======================================================
   Allgemeine Klassen und ID:
 ======================================================*/

.hinweisbox {                             	/*Class für die Dekoration*/
	color: black;
	background-color: #fde087;
	border:1px solid #999999;
	margin-left:430px;
	padding: 5px;
	-moz-box-shadow:0 2px 2px #333333;
	-webkit-box-shadow:0 2px 2px #333333;
	box-shadow:0 2px 2px #333333;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	border-radius:5px;
}

.bildlinks{
	float:left;
	padding: 5px;
	border: 2px solid #ffffff;
	margin-right: 20px;
	margin-bottom: 10px;
	-moz-box-shadow:0 2px 2px #333333;
	-webkit-box-shadow:0 2px 2px #333333;
	box-shadow:0 2px 2px #333333;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
	border-radius:10px;
	
}
.bildrechts{
	float:right;
	padding: 5px;
	border: 2px solid #003300;
	margin-left: 10px;
	margin-bottom: 10px;
	-moz-box-shadow:0 2px 2px #333333;
	-webkit-box-shadow:0 2px 2px #333333;
	box-shadow:0 2px 2px #333333;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
	border-radius:10px;
}

.textlinks{
	float:left;
	padding: 5px;
	margin-right: 20px;
	margin-bottom: 10px;
}
.textrechts{
	float:right;
	padding: 5px;
	margin-left: 10px;
	margin-bottom: 10px;
}


.clearing{
	clear:both;
	margin-bottom:0;
	margin-top:0;
}

/*=================================================================================================
  Styles für Layoutbereiche:
====================================================================*/
#page{
	color:#000000;
	background-color: #e68118;
	width: 900px;                       	/*Breite des Inhaltsbereichs*/
	margin-right: auto;                 	/*Abstand rechts automatisch*/
	margin-left: auto;                  	/*Abstand links automatisch*/
	border-left:2px solid #cc0033;
	border-right:2px solid #cc0033;
}
#header{
	position: relative;						/*p-ositioniert, aber bleibt im fluss*/
	
	
}
	

/*===================================================
  Die Navigation gestalten - zweizeilig
  ==============================================*/

#navibereich{
	overflow:hidden;
	background-color: #e5e5e5;			/*	Hintergrundfarbe des Navigationsbereiches - hellgrau*/
	color: black;
	padding: 5px 10px 0px 10px;             /*Innenabstand definieren*/
	margin-top:0;
	/*background: #d6d4d2 url(../reich/images/border-bottom.gif) repeat-x left bottom;*/
}


	#navibereich ul{
		float: right;						/*richtet die Navigation insgesamt nach rechts aus*/
		width:auto;							/*schrumpft die Liste auf min breite entspr. des Inhalts*/
		margin-bottom: 0;					/*unterer Abstand des Navibereiches */
		margin-top:0;
	}
	#navibereich li{
		float: left;						/*Liste nebeneinander anzeigen*/
		width: auto;
		list-style-type: none;				/*ohne Aufzählungspunkte*/
		margin: 0;							
		margin-right: 0.4em;				/*rechter Aussenabstand der Listenelemente*/
		-moz-box-shadow:0 2px 2px #333333;
		-webkit-box-shadow:0 2px 2px #333333;
		box-shadow:0 2px 2px #333333;
		
	}
	
	#navibereich a,
	#navibereich strong{
		display: block;
		color: black;						/*Eigenschaften der aktiven Hyperlinks in der Navi*/
		background-color:#CCCCCC;
		padding: 4px 8px 4px 8px;
		border: 1px solid #cccccc;
		font-weight:normal;
	}

	#navibereich a:hover,
	#navibereich a:focus					/*Die Eigenschaften der Links bei mouseover*/
	{
		color: #cc0033;						/*rot - die spezifität ist höher als bei z. B. a:focus*/
		background-color:#e5e5e5; 			/*Farbe der Navigation 1. ebene*/
		font-weight:normal;
		border-bottom: 1px solid #e5e5e5;	/*Rahmenlinie unten am Navielement anpassen, damit es offen aussieht*/
	}
	
	
	#seite02  li#navi02 strong,
	#seite0201    li#navi02 a,
	#seite0202    li#navi02 a,
	#seite0203    li#navi02 a,
	#seite0204    li#navi02 a,
	#seite0205    li#navi02 a
	{
		color: #cc0033;						/*rot - die spezifität ist höher als bei z. B. a:focus*/
		background-color: #daefda;			/*Farbe der Navigation 1. ebene -hellgruen*/
		font-weight:normal;
		border-bottom: 1px solid #daefda;	/*Rahmenlinie unten am Navielement anpassen, damit es offen aussieht*/
	}
	#seite03       li#navi03 strong,
	#seite0301    li#navi03 a,
	#seite0302    li#navi03 a,
	#seite0303    li#navi03 a,
	#seite0304    li#navi03 a
	{
		color: #cc0033;						/*rot - die spezifität ist höher als bei z. B. a:focus*/
		background-color: #d5e0bd;			/*Farbe der Navigation 1. ebene -gruenlich*/
		font-weight:normal;
		border-bottom: 1px solid #d5e0bd;	/*Rahmenlinie unten am Navielement anpassen, damit es offen aussieht*/
	}
	#seite04       li#navi04 strong,
	#seite0401    li#navi04 a,
	#seite0402    li#navi04 a,
	#seite0403    li#navi04 a,
	#seite0404    li#navi04 a
	{
		color: #cc0033;						/*rot - die spezifität ist höher als bei z. B. a:focus*/
		background-color: #ece2c3;			/*Farbe der Navigation 1. ebene*/
		font-weight:normal;
		border-bottom: 1px solid #ece2c3;	/*Rahmenlinie unten am Navielement anpassen, damit es offen aussieht*/
	}
	#seite05 		li#navi05 strong,
	#seite0501    li#navi05 a,
	#seite0502    li#navi05 a,
	#seite0503    li#navi05 a,
	#seite0504    li#navi05 a
	{
		color: #cc0033;						/*rot - die spezifität ist höher als bei z. B. a:focus*/
		background-color: #a9bb76;			/*Farbe der Navigation 1. ebene*/
		font-weight:normal;
		border-bottom: 1px solid #a9bb76;	/*Rahmenlinie unten am Navielement anpassen, damit es offen aussieht*/
	}
	
	#seite06      li#navi06 strong,
	#seite0601    li#navi06 a,
	#seite0602    li#navi06 a{
		color: #cc0033;						/*rot - die spezifität ist höher als bei z. B. a:focus*/
		background-color: #bdd8d9;			/*Farbe der Navigation 1. ebene*/
		font-weight:normal;
		border-bottom: 1px solid #bdd8d9;	/*Rahmenlinie unten am Navielement anpassen, damit es offen aussieht*/
	}
	
	#seite07       li#navi07 strong,
	#seite0701    li#navi07 a,
	#seite0702    li#navi07 a,
	#seite0703    li#navi07 a,
	#seite0704    li#navi07 a,
	#seite0705    li#navi07 a
		{
		color: #cc0033;						/*rot - die spezifität ist höher als bei z. B. a:focus*/
		background-color: #dac7b0;			/*Farbe der Navigation 1. ebene*/
		font-weight:normal;
		border-bottom: 1px solid #dac7b0;	/*Rahmenlinie unten am Navielement anpassen, damit es offen aussieht*/
	}
	#seite08      li#navi08 strong,
	#seite0801  	li#navi08 a,
	#seite0802		li#navi08 a,
	#seite0803		li#navi08 a
	{
		color: #cc0033;						/*rot - die spezifität ist höher als bei z. B. a:focus*/
		background-color: #f5f2d2;			/*Farbe der Navigation 1. ebene*/
		font-weight:normal;
		border-bottom: 1px solid #f5f2d2;	/*Rahmenlinie unten am Navielement anpassen, damit es offen aussieht*/
	}	
	#seite09    li#navi09 strong,
	#startseite		li#navi01 strong
	{
		color: #cc0033;						/*rot - die spezifität ist höher als bei z. B. a:focus*/
		background-color: #f6b900;			/*Farbe der Navigation 1. ebene*/
		font-weight:normal;
		border-bottom: 1px solid #f6b900;	/*Rahmenlinie unten am Navielement anpassen, damit es offen aussieht*/
	}
	
		
	#navibereich a:active{
		color: black;
		background-color: white;
		}
*html #navibereich {						/*Layout für IE nötig*/
height: 1%;
}



/*==============================================================
Zweite Ebene positionieren
====================================================================*/

div#wrapper { position:relative;
}

#seite02    	li#navi02 ul,
#seite0201 		li#navi02 ul,
#seite0202 		li#navi02 ul,
#seite0203		li#navi02 ul,
#seite0204		li#navi02 ul,
#seite0205 		li#navi02 ul,
#seite03    	li#navi03 ul,
#seite0301 		li#navi03 ul,
#seite0302 		li#navi03 ul, 
#seite0303 		li#navi03 ul,
#seite04		li#navi04 ul,
#seite0401		li#navi04 ul, 
#seite0402		li#navi04 ul,
#seite0403		li#navi04 ul,
#seite0404		li#navi04 ul,
#seite05		li#navi05 ul,
#seite0501		li#navi05 ul,
#seite0502		li#navi05 ul,
#seite0503		li#navi05 ul,
#seite06		li#navi06 ul,
#seite0601		li#navi06 ul,
#seite0602		li#navi06 ul,
#seite07		li#navi07 ul,
#seite0701		li#navi07 ul,
#seite0702		li#navi07 ul,
#seite0703		li#navi07 ul,
#seite0704		li#navi07 ul,
#seite0705		li#navi07 ul,
#seite08		li#navi08 ul,
#seite0801		li#navi08 ul,
#seite0802		li#navi08 ul,
#seite0803		li#navi08 ul,
#seite09		li#navi09 ul  {
		position:absolute;
		right:30px;						 /*10px vom rechten Rand von #wrapper */ 
		top:auto;
		display:block;
		width:auto;
		height:auto;
		font-size:90%;
		padding: 0.5em 0 0 0;
		margin:0;
}		

/* ====================================== 
   Zweite Ebene: a und strong gestalten 
====================================== */ 
#seite02  	li#navi02 li a, 
#seite03	li#navi03 li a,
#seite04  	li#navi04 li a,
#seite05	li#navi05 li a,
#seite06	li#navi06 li a,
#seite07 	li#navi07 li a,
#seite08 	li#navi08 li a, 

#seite0201 li#navi02 li strong, 
#seite0201 li#navi02 li a,    
#seite0202 li#navi02 li strong, 
#seite0202 li#navi02 li a,
#seite0203 li#navi02 li strong, 
#seite0203 li#navi02 li a,    
#seite0204 li#navi02 li strong, 
#seite0204 li#navi02 li a,    
#seite0205 li#navi02 li strong, 
#seite0205 li#navi02 li a,    

#seite0301 li#navi03 li strong, 
#seite0301 li#navi03 li a,    
#seite0302 li#navi03 li strong, 
#seite0302 li#navi03 li a,
#seite0303 li#navi03 li strong, 
#seite0303 li#navi03 li a,

#seite0401 li#navi04 li strong, 
#seite0401 li#navi04 li a,
#seite0402 li#navi04 li strong, 
#seite0402 li#navi04 li a,
#seite0403 li#navi04 li strong, 
#seite0403 li#navi04 li a,
#seite0404 li#navi04 li strong, 
#seite0404 li#navi04 li a,

#seite0501 li#navi05 li strong, 
#seite0501 li#navi05 li a,
#seite0502 li#navi05 li strong, 
#seite0502 li#navi05 li a,
#seite0503 li#navi05 li strong, 
#seite0503 li#navi05 li a,

#seite0601 li#navi06 li strong, 
#seite0601 li#navi06 li a,
#seite0602 li#navi06 li strong, 
#seite0602 li#navi06 li a,

#seite0701 li#navi07 li strong, 
#seite0701 li#navi07 li a,
#seite0702 li#navi07 li strong, 
#seite0702 li#navi07 li a,
#seite0703 li#navi07 li strong, 
#seite0703 li#navi07 li a,
#seite0704 li#navi07 li strong, 
#seite0704 li#navi07 li a,
#seite0705 li#navi07 li strong, 
#seite0705 li#navi07 li a,

#seite0801 li#navi08 li strong, 
#seite0801 li#navi08 li a,
#seite0802 li#navi08 li strong, 
#seite0802 li#navi08 li a,
#seite0803 li#navi08 li strong, 
#seite0803 li#navi08 li a

{ 
   background: transparent;
   border: none;
   color:#003300; 
}
/* ======================================
   Zweite Ebene - Links hovern         
=========================================*/

#seite02   	li#navi02 li a:hover,
#seite0201 li#navi02 li a:hover,
#seite0202 li#navi02 li a:hover,
#seite0203 li#navi02 li a:hover,
#seite0204 li#navi02 li a:hover,
#seite0205 li#navi02 li a:hover,
#seite03  li#navi03 li a:hover,
#seite0301 li#navi03 li a:hover, 
#seite0302 li#navi03 li a:hover, 
#seite0303 li#navi03 li a:hover,
#seite04	li#navi04 li a:hover,
#seite0401 li#navi04 li a:hover,
#seite0402 li#navi04 li a:hover,
#seite0403 li#navi04 li a:hover,  
#seite0404 li#navi04 li a:hover,
#seite05 	li#navi05 li a:hover,
#seite0501 li#navi05 li a:hover,
#seite0502 li#navi05 li a:hover,
#seite0503 li#navi05 li a:hover,
#seite06 	li#navi06 li a:hover,
#seite0601 li#navi06 li a:hover,
#seite0602 li#navi06 li a:hover,
#seite07	li#navi07 li a:hover,
#seite0701 li#navi07 li a:hover,
#seite0702 li#navi07 li a:hover,
#seite0703 li#navi07 li a:hover,
#seite0704 li#navi07 li a:hover,
#seite0705 li#navi07 li a:hover,
#seite08	li#navi08 li a:hover,
#seite0801 li#navi08 li a:hover,
#seite0802 li#navi08 li a:hover,
#seite0803 li#navi08 li a:hover

{
   background-color: transparent; 
   color: #d90000;   /*rot*/
}

/* ======================================
   03 Zweite Ebene: Hervorhebung des aktuellen Links
====================================== */
#seite02 	li#navi02 li strong,
#seite03	li#navi03 li strong,
#seite04  	li#navi04 li strong,
#seite05	li#navi05 li strong,
#seite06	li#navi06 li strong,
#seite07 	li#navi07 li strong,
#seite08 	li#navi08 li strong, 

#seite0201 li#navi02 li strong,
#seite0202 li#navi02 li strong,
#seite0203 li#navi02 li strong,
#seite0204 li#navi02 li strong,
#seite0205 li#navi02 li strong,
#seite0301 li#navi03 li strong, 
#seite0302 li#navi03 li strong, 
#seite0303 li#navi03 li strong,
#seite0401 li#navi04 li strong,
#seite0402 li#navi04 li strong,
#seite0403 li#navi04 li strong,  
#seite0404 li#navi04 li strong,
#seite0501 li#navi05 li strong,
#seite0502 li#navi05 li strong,
#seite0503 li#navi05 li strong,
#seite0601 li#navi06 li strong,
#seite0602 li#navi06 li strong,
#seite0701 li#navi07 li strong,
#seite0702 li#navi07 li strong,
#seite0703 li#navi07 li strong,
#seite0704 li#navi07 li strong,
#seite0705 li#navi07 li strong,
#seite0801 li#navi08 li strong,
#seite0802 li#navi08 li strong,
#seite0803 li#navi08 li strong
{
   color: #d90000; 
}


/*========================================
 	Textbereich bearbeiten
 ==========================================*/
		
#textbereich{
	padding-top: 20px;                     	/*Innenabstand definieren*/
	padding-right: 10px;
	padding-bottom: 20px;
	padding-left: 30px;
	margin-top: 0;
   	border-top: 2.5em solid #f6b900;		/*	farbe des Streifens der 2. Naviebene - #bdd8d9 für die ganze seite*/
	
}

#startseite #textbereich,					/*den Streifen für die 2. navi-ebene farbig gestalten*/
#gastbuch09 #textbereich{
	border-color: #f6b900;
	background-image:url(images/hg_eingang.jpg);
	background-repeat:repeat-y;
}

	#textbereich a{                        	/*Erzielt im Textbereich eine gepunktete Linie unter den Links*/
		border-bottom: 1px #8c8c8c;
		border-bottom-style: solid;
		font-weight:bold;
	}
	#textbereich a:hover                     /*Erzielt im textbereich beim Mauskontakt eine durchgezogene Linie*/ 
	#textbereich a:focus {
		border-top-style: solid;
		border-color: #d90000;
		border-bottom-width: 1px;
	}
	#textbereich span{
	font-size:80%;
	}
	#textbereich ul{
	}

/*===================================
	Fußbereich bearbeiten
=====================================*/

#fussbereich{
background-color:#f6b900;
	color:#000000;
	padding-top: 5px;                     	/*Innenabstand definieren*/
	padding-right: 10px;
	padding-bottom: 10px;
	padding-left: 10px;
	border-top: 1px;                       	/*Rahmenlinie oben*/
	border-top-style: solid;
	border-top-color: #8c8c8c;
	margin-top: 0;                       	/*Außenabstand oben, außerhalb der Linie, hier kein Abstand möglich*/
	
		                   
}
#fussbereich span{
		color:#006600;
		font-size: 120%;
		font-weight:bold;
	}

/*=================================================================================================
  Sonstige Styles:
====================================================================*/

.gast {
	border: thick solid #FFCC99;
	position: absolute;
	height: 500px;
	width: 500px;
	left: 40px;
}



