/*
 * Template: "Master_02"
 *
 * @author     S. Guth
 * @copyright  S. Guth, adapted from template "glassberry", chio maisrieml
 * @version    2.00
 * @platform   Website Baker 2.8
*/

html, body { 	
	background: #e9ebee;
	margin: 0; padding: 0;
	height: 100%;
}
a:link, a:visited, a:active {
	color: #004276;
	text-decoration: none;
}
a:hover {
	color: #000;
	text-decoration: underline;
}

img a {
	border: none;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	Layout Blocks
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
#main {
	
	width: 930px;
	min-height: 99%;
	margin: 0 auto;
	padding: 0;
	background: url(img/back.jpg) repeat-y;
	font-size: 12px;
}
#header {
	width: 930px;
	height: 121px;	
	background: #fff url(img/header.jpg) no-repeat;	
}
#headertext {
	background-color: transparent;
	padding: 20px 30px 0 0;
	font-size: 9px;
	text-align: right;
}

#randombox {
	position:static;
	width: 626px;
	margin-top: 4px;
	margin-left: 8px;
	margin-bottom: 110px;
	background: transparent;	
}

#innerinfo {
	display: block;
	/*position:static;*/
	width: 560px;
	padding: 40px 10px 20px 55px;
	margin-top: -296px;
	margin-bottom: 0px; 
	font-size: 14px;
	color:#fff;
	clear: both;
}

* html #innerinfo { /* ie6*/
	margin-top: -296px;
}

*+html #innerinfo { /* ie7 */
	margin-top: -296px;
}

#content {
	width: 580px;
	float: left;
	display: inline;
	margin: 30px 0 0 40px;
	color: #595959;
}
.rightbox { /* graue Box für die Startseite*/
	width: 244px;
	min-height: 400px;
	float: right;
	display: inline;
	margin: -166px 28px 0 0;
	padding: 15px 10px 10px 10px;
	color: #000;
	background-color:#eeeeee;
}

.rightbox {
  	margin-top: -167px\9; /* ie 8+9 */
}


#rightbox2, #rightbox9, #rightbox14, #rightbox18, #rightbox4, #rightbox24, #rightbox26, #rightbox27, #rightbox32, #rightbox34, #rightbox54, #rightbox56 { /* graue Box */
	margin: 5px 28px 0 0;;
	background: #fff url(img/back_rightbox_grau.jpg) top repeat-x;
}
#rightbox8, #rightbox17, #rightbox15, #rightbox13, #rightbox30, #rightbox31 { /* orange Box */
	margin: 5px 28px 0 0;
	background: #fff url(img/back_rightbox_orange.jpg) top repeat-x;
}
#rightbox3, #rightbox10, #rightbox16, #rightbox12, #rightbox19, #rightbox6, #rightbox20, #rightbox22, #rightbox23, #rightbox35, #rightbox37, #rightbox38, #rightbox39, #rightbox40, #rightbox62 { /* blaue Box */
	margin: 5px 28px 0 0;
	background: #fff url(img/back_rightbox.jpg) top repeat-x;
}
#rightbox73 { /* weisse Box */
	margin: 5px 28px 0 0;
	background-color:#ffffff;
}

#rightbox54 .anynews h2, #rightbox56 .anynews h2 {
	text-align: center;
	color: #fe5000;
}

#rightbox54 .anynews ul li, #rightbox56 .anynews ul li {
	font-size: 12px;
	margin-bottom: 15px;
}

.clearcontent {
	height: 80px; clear:both
}
#footerbox {
	margin: -60px auto 0 auto; 
	height: 70px; 
	width: 950px; 
	background: url(img/footer.jpg) bottom no-repeat;
}
#footer {	
	margin: auto;
	background: #d38428;
	width: 916px;
	font-size: 10px;
	padding: 10px 0 10px 0;
	text-align: center;
	color: #000;
}
#footer a {
	color: #000;
}
#footer a:hover {
	color: #fff;
	text-decoration: underline;
}

/* textformate zus. zum editor */
#innerinfo h1 {
	color: #fff;
	font-weight: bold;
	font-size: 20px; 
	margin: 0;
}

#innerinfo h2 {
	color: #a4ce00; 
	margin: 10px 0 10px 0;
}

#content h1, h2 {
	color: #004383; 
	margin: 10px 0 10px 0;
	/*font-style: italic;*/
	font-size:18px;
}

#rightbox h2, .rightbox h2 {
	color: #004383; 
	margin: 20px 0 10px 0;
}
.rightbox p, #rightbox p {
	font-size: 10px;
	line-height: 140%;
	padding: 0;
	margin: 0;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

/* search box in header */

#searchbox {
	float: right;
	color: #000;
	margin: 44px 50px 0 0;
	width: 200px;
	padding: 0 5px 0 0;
	color: #000;
}

* html #searchbox { /*ie6*/
	margin: 44px 15px 0 0;
	}
#searchbox .searchstring { 
	width: 150px;
	margin: 0;
	color: #000;
}
#prevnext {
	float:right;
	margin-top:0px;
	margin-right:10px;
	color: #fff;
	font-weight: bold;
}
#prevnext a {
	color: #fff;
}

/* navigation */
#navContainer {
	height: 33px;
	width: 915px;
	margin: 0 0 0 8px;
	display: block;
	clear: both; 
	background: transparent url(img/navbg.gif) repeat-x;
}
ul.menu, li.menu {
	list-style-type: none;
	margin: 0px;
	padding: 0px;
	font-size: 12px;
	letter-spacing: 1px;
}

/* header menu */	
 
#header-menu {
	position: absolute; 
	margin-left: 20px;
}
#header-menu li {
	line-height: normal;
}
ul#header-menu  {
	z-index: 10; 
	clear: both;
}
#nav {
	float: left;	
	height: 33px;	
	border: 0;
	padding: 0;
}
#nav ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	width: auto;
	position: relative;
	list-style-image: none;
}

/* root (oberster) level link formatierung */
#nav ul li { float: left; color: #fff; text-align: center; font-weight: normal; list-style-type: none; list-style-image: none; }
#nav ul li a {display: block; background: url(img/navbgl1.gif) no-repeat right 0px; padding: 12px 24px 6px 20px; color: #000; text-decoration: none; font-weight: bold; }
/* root (oberster) level link hover focus active current formatierung */
#nav ul li a:hover, #nav li a:focus, #nav li a:active, #nav ul li a.active, #nav a.menu-current { background: url(img/navbgl1hi.gif) right 0px; color: #000; }
#nav a.menu-parent { background: url(img/navbgl0parent.gif) right 0px; color: #fff;}


/*aktuelle seite anpassungen*/
#nav a.menu-current		{ font-weight: bold; } 
#nav .menu .home a { display: block; width: 0px; height: 33px; background: transparent; margin: 0; padding: 0; }

/* 2nd Child menu */
#nav .menu li ul {position: absolute; margin: 0; display: none; text-transform: none; font-size: 90%; background: transparent url(img/menue-bg.png) repeat;}
#nav .menu li ul li {width: 14.8em; text-align: left; font-weight: normal; margin: 0; padding: 0; line-height: 1.4em;}
#nav .menu li ul li a {width: 12.7em; padding: .4em .1em .3em 2em; color: #000; border-bottom: 1px solid #145167; font-weight: normal;  background: none;}

/* 2nd Child link hover */
#nav .menu li ul a:hover,  #nav .menu li ul a.menu-current { background: #E5BE73 url(img/navbgl1hi.png); color:#000;}
#nav .menu li ul a.menu-parent {background: #E5BE73 url(img/navbgl1hi.png); color:#fff;}

/* 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;}


/* 3rd Child Menu Appreances */
#nav .menu li ul li ul	{ margin: 5px 0 0 -20%; z-index: 9999;  background: transparent url(img/menue-bg.png) repeat;}
#nav .menu li ul li ul li	{width: 17.1em;}
#nav .menu li ul li ul li a 	{ width: 15em;}

/* 4rd Child Menu Appreances */
#nav .menu li ul li ul li ul	{  width: 9em; background: transparent url(img/menue-bg.png) repeat;}
#nav .menu li ul li ul li ul li	{  width: 9em; }
#nav .menu li ul li ul li ul li a 	{ width: 8.5em;}

/* 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 */
}

/* form */

form input, textarea {
	margin-bottom: 10px;
}
.submitbutton {
	margin: 0;
}


/* formate login-box */

#login-box fieldset { border: 0; text-align: center; }
#login-box legend { font-size: 90%; color: #fff; }

.username { color: #fff; }
.topboxbody { font-size: 0.8em; padding: 2px; color: #fff; }

#login-box label { clear: left; width: 100px; display: block; float: left; color: #fff; }
#login-box input { display: block; float: left; font-size: 10px; margin: 2px auto 1px auto; width: 100px; }
#login-box div {clear: left; }


/* custom classes */
	
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
/*  \*/
* html #clearfix { height: 1%; }
/*  */

.stealth { visibility: hidden; display: none; }


