/*	####	Header Menu #####
	#######################
	Drop-Down Menu based off :
	http://www.tanfa.co.uk/css/examples/menu/tutorial-h.asp
*/

html, body { 	
	background-color: #d3d3d3;
	margin: 0;
	height:99%;
}

#main {
	width: 1100px;
	min-height:85%;
	margin: 0 auto 0 auto;
	padding: 0;
	background: #FFF;
}

#header {
	height:60px;
	background-image: url(img/HeaderLogoTableBGR.jpg);
	background-color:d3d3d3;
	background-repeat: no-repeat;
	background-position: 0;
/*	margin-top: 15px;*/
	border-top:15px solid #d3d3d3; /*Border top als Ersatz für margin-top, damit es im Internet Explorer 6 auch richtig aussieht*/
}

* html #header {clear:both;height:60px;background-color:#d3d3d3;} /* Internet Explorer 6 Fehlverhalten Korrektur */

#obennav {
	float: right;	
	padding:0;
	margin-top:-45px;
	margin-right:15px;
	color:#28344b;
	text-align: right;
	line-height: 1.5em;
}

#obennav a, #oebnnav a:visited {
	color:#28344b;
	text-decoration:none;
}

#obennav a:hover, #obennav a:active {
	text-decoration:underline
}

#nav a, #nav a:visited {
	color:#28344b;
	text-decoration:none;
}

#nav a:hover, #nav a:active {
	text-decoration:underline
}

#breadcrumbs {
	padding:10px;
	background: #fff url(img/breadcrumbsbg.gif) repeat-x;
}

#breadcrumbs span {
	background: transparent url(img/link.gif) no-repeat; 
	padding: 6px 2px 0px 12px; font-weight: bold;
}
	
#breadcrumbs a {
	border-bottom: 1px dotted #3b4750;
	text-decoration: none;
}

#breadcrumbs a:hover {
	border-bottom: 1px solid #3b4750;
}
	
#breadcrumbs .menu-current a {
	color: #000;
	font-weight:normal;
}

#search_box {
	text-align: left;
	margin-left: 10px;
	margin-top: 5px;
/*	float: left;*/
	width: 120px;
	padding:0;
	height:80px;/*Hiermit kann die Navigation nach unten verschoben werden!*/
	clear:left;
}

#search_box .searchstring { 
	width:71px;
	border: 1px solid #999;
	text-align:left;
	color:#999;
	font-style:italic;
	font-family:Arial, Helvetica, sans-serif;
	padding: 1;
	float:left;
}

#nav {
	height: 30px;	
	border: 0;	
	padding:0;
	margin-left: 10px;
	width:120px;
	float:left;
}

#nav ul {
	list-style-type: none; 
	margin: 0; 
	padding: 0;	
	width: auto;
	/*
	(Disappearing List-Background)
	http://www.positioniseverything.net/explorer/ie-listbug.html
	*/
	position: relative; /* Internet Explorer 6 Bug-Behebung */
}

/* Root Level Link Formatting */
#nav ul li {
	text-align: left;
	font-weight: normal;
	font-size:1em;
	width:120px;
}

#nav ul li a {
	display: block;
	background: url(img/menuebg.gif); /*menü-grund-hintergrundfarbe*/
	padding: .25em; /*padding für menüoberpunkte*/
	color: #000; /*menü-textfarbe*/
	text-decoration: none;
	font-weight: normal;
	border-bottom:1px solid #CCC;
	height:19px;
}

/* Root Level link hover */
 /*wie der aktuelle aktive menü-oberpunkt aussieht:*/
#nav li a:focus, #nav ul li a:active, #nav ul li a.active, #nav a.menu-current {background: url(img/menuebghighlight.gif); color: #000; height: 19px;}
/*wie der menü-oberpunkt aussieht, den man hovert:*/
#nav ul li a:hover {background: url(img/menuebg2.gif); height:19px;}
/*wie der menü-oberpunkt aussieht, den man anklickt und der kein aktives untermenü hat:*/
#nav ul li a:active {background: url(img/menuebg2.gif); color:#516996; font-weight:bold; height: 19px;}
/*formatierung für die menü-oberpunkte, wenn ein unterpunkt aktiv geöffnet ist:*/
#nav a.menu-parent {background: url(img/menuebghighlight.gif); color:#000; font-weight:bold; height: 19px;}
/*formatierung des menü-oberpunktes, wenn man einen oberpunkt hovert, von dem ein untermenüpunkt aktiv ist:*/
#nav a.menu-parent:hover {background: url(img/menuebg2.gif); color:#000; font-weight:bold; height: 19px;}
/*formatierung des menü-oberpunktes, wenn man auf einen oberpunkt klickt, der ein untermenü ausklappt:*/
#nav a.menu-parent:active {background: url(img/menuebg2.gif); color:#516996; font-weight:bold; height: 19px;}

/*Current page Customisations*/
/*wie der aktuelle aktive menü-oberounkt aussieht:*/
#nav a.menu-current		{font-weight: normal; color:#000; font-weight:bold; height: 19px;} 
/*wie der menü-oberpunkt aussieht, wenn ein untermenü ausklappt und man den oberpunkt hovert:*/
#nav a.menu-current:hover {font-weight: black; color:#000; background: url(img/menuebg2.gif); height: 19px;}
/*wie ein menü-oberpunkt aussieht, wenn man ihn anklickt und er bereits aktiv ist:*/
#nav a.menu-current:active {color:#516996; height: 19px;}

/* 2nd Child menu */
/*grundeinstellung für das unter-menü: position, hintergrundfarbe usw.*/
#nav .menu li ul {
	position: absolute;
	width: 115px;
	display: none;
	text-transform: none;
	font-size: 85%;
	margin-left: 120px;
	margin-top: -27px;
	border:1px solid #CCC;
}

/*grundeinstellung für das unter-menü: position, hintergrundfarbe usw.*/
#nav .menu li ul li {width: 115px; text-align: left; background: url(img/menuebg3.gif);}
/*grundeinstellung für das unter-menü: position, hintergrundfarbe usw.*/
#nav .menu li ul li a {padding: .25em; color: #000; background: url(img/menuebg.gif); height:15px; font-weight:normal;}


/* 2nd Child link hover */
/*wie ein menü-unterpunkt aussieht, wenn man ihn hover*/
#nav .menu li ul a:hover {background: url(img/menuebg2.gif); color:#000;}
/*wie ein aktiver menü-unterpunkt aussieht*/
#nav .menu li ul a.menu-current {background: url(img/menuebghighlight.gif); color:#000; font-weight:bold;}
/*wie ein menüunterpunkt aussieht, wenn man ihn hovert obwohl er aktiv ist*/
#nav .menu li ul a.menu-current:hover {background: url(img/menuebg2.gif); height: 15px;}
#nav .menu li ul a.menu-parent {background:url(img/menuebg.gif);}
#nav .menu li ul a:active {color:#516996; font-weight:bold;}

/* Show and hide */
#nav .menu li:hover ul, #nav .menu li a:focus ul, #nav .menu li.subMenu ul {display: block;}
#nav .menu li ul ul { display: none;}
#nav .menu li:hover ul ul, #nav .menu li.subMenu ul ul {display: none;}
#nav .menu li:hover>ul, #nav .menu li li:hover>ul, #nav .menu li.subMenu>ul, #nav .menu li li.subMenu>ul {display: block;  z-index: 1000; color:#0F0}

/* Positioning the Pop-out Drops */
#nav li {position: relative;}

#nav ul ul ul {
	position: absolute;
	top: 1px;
	left: 100%;
}

#nav li:hover {
	z-index: 10000;	/* ...and here. this makes sure active item is always above anything else in the menu */
	white-space: normal;/* required to resolve IE7 :hover bug (z-index above is ignored if this is not present)
							see http://www.tanfa.co.uk/css/articles/pure-css-popups-bug.asp for other stuff that work */
}/*ENDE NAVIGATION*/

#infobox { /* Currently holds the login box */
	float: left;
	width: 180px;	
}

#mein_block {
	text-align:left;
	width:170px;
	padding: 5px;
	background:#E3E9F9;
	margin-top: -75px;
	margin-right:10px;
	float:right;
	min-height:453px;
	overflow:hidden;
}

#login-box {
	background-color: #E3E9F9;
	padding: 0px;
}

#login-box form {
	background:#E3E9F9;
	border: 1px dotted #516996;
	padding-left: 0px;
	padding-right: 3px;
}

#login-box input{
	display:block;
}

#login-box label {
}

.username {
	color:#000;
}

.topboxbody {
	padding: 0px;
	text-align: left;
	width:100%;
}


#content { /* main content from the WYSIWYG goes in here */
	padding: 0 10px 14px 0;
	border:0px solid #0F0;
	width:730px;
	overflow:hidden;
	float:left;
	margin-left: 160px;
	margin-top: -105px;
}

* html #contentbox #content {text-align:left; margin:0px; position:absolute; left: 200px; top:135px; padding:0px; border: 1px solid red;} /* Internet Explorer 6 Bug-Behebung */
* html #contentbox #content table {width: 90%; text-align:left;} /* Internet Explorer 6 Bug-Behebung - damit Tabellen nicht unter das float geschoben werden*/

.clearcontent {
	height:0px;
	clear:both
}

#footerbox {
	margin: 0 auto 0 auto;
	height:40px;
	width: 1100px;
	background: #FFF;
}

#footer { 	
	float:right;
	background: url(/media/Logos/background_unten.jpg) no-repeat;	
	margin: 0;	
	width:939px;
	height:40px;
}


/* Remove List Formattings
~~~~~~~~~~~~~~~~~~~~  */
 ul.menu, li.menu {
	list-style-type: none;
	margin: 0px;
	padding: 0px;
}

/* Header menu */	 
#header_menu {
	position: absolute;
	margin-left: 20px;
}

#header_menu li {
	line-height: normal;
}

ul#header_menu  {
	z-index: 10;
	clear: both;
}

#prevnext {
	margin-left: 10px;
}

#login-box {
	background: #eee;
	text-align: center;
	line-height: 120%;
	margin: 1em 5px 0.3em 5px;
	border: 1px solid #ddd;
}

#login-box fieldset {
	border:0;
	text-align:center;
}

#login-box legend		{
	font-size: 90%;	
	color: #333;
}

.username {
	color: #009;
} /* Color of name when logged in*/

.topboxbody {
	padding:2px;
}

#login-box input {
	display:block;	
	font-size: 10px;
	margin: 2px auto 1px auto;
	width: 100px;
}

/*  Float containers fix: */
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

* html #clearfix {
	height: 1%;
}

.stealth {
	visibility:hidden;
	display:none;
} /* hides from normal css enabled browsers */