body, html {
	background: #d9d9d9 url(img/XXbody-bg.jpg) repeat-x;
	margin: 0;
	height:100%;
	min-height:100%;	
	font-family:Arial, Helvetica, sans-serif;
  	/*font-size: 14px;*/
	font-size: 0.9em;
  	color: #000;
}

/*@font-face { font-family: Optimer; src: url('fonts/optimer_regular.ttf'); 	font-size: 14px; } 
body, html {font-family: Optimer, Arial, sans-serif;}*/


/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	Layout Blocks
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.mainbox { /* Holds the page items in place */
	width: 990px;
	min-height:98%;
	margin: 0 auto 0 auto;
	padding: 0;
	XXbackground: url(img/main-bg.jpg) #ffffff repeat-y;
	background: url(img/content-bg.gif) repeat-y 220px 0px;
 

}

.header {width: 990px; height:105px; background: #d9d9d9 url(img/header.jpg) no-repeat; }

.XXfadebox {width: 740px; height:120px;}



.infobox { /* Currently holds the login box */
	float: left;
	width: 220px;
	
	margin: 0;	
	background: url(img/infobox-bg.jpg) #eeeeee repeat-y;
	padding:0px;
	display:inline;
}

.infobox .inner {min-height:200px; margin: 20px 8px 0 8px; line-height:120%; font-size:0.95em;}
.infobox .inner h2, .infobox .inner h3  {margin: 5px 0; font-size:12px;}
.infobox .inner p {margin: 0; line-height:120%;}

.infobox .infobox-bottom {clear:both;}

.contentbox {
	float: left;
	width: 770px;
	margin: 0 0 0 0;	
	background:#ffffff;
	padding:0px;
	display:inline;
	
	
}

/*.topheader { display:none; height:46px; text-align:right; background: #cecece url(img/XXheader-bg.jpg) no-repeat;}
.topheader .inner {  margin:0 10px 0 0;}
.topheader .inner img {  margin: 5px 0 0 5px;}*/

.header .rightbox {width:230px; height:105px; float:right; margin:0 0 0 0; background-color:#ccc;}
.header .headerlink {display:block; width:530px; height:80px; float:left; margin:0 0 0 0; }

/*---Search----*/
#searchbox {margin:10px 0 0 10px; }
#searchbox .searchstring {
	
	width:160px;
	padding-left:3px;
	float:left;
	background: #e5fad1 url(img/suche-bg.gif) no-repeat;
	border: #666 solid 1px;
}


#searchbox .submit { float: right; padding:0 5px; margin:10px 0 0 6px;}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#suggestbox {
	z-index:1000;
	width:180px;
	XXoverflow:hidden;
	position: absolute;
	float:left;
	clear:both;	
	/*margin-left:60px;
	margin-top:-5px;*/	
}
#suggestbox ul {width: 180px; margin: -5px 0 0 -10px;}
#suggestbox ul, #suggestbox li {
	list-style-type: none;
	list-style-image: none;	
	padding: 0 0 0 0 ;
	font-size:11px ;
	line-height: 120%;
	text-align: left;		
}
#suggestbox ul li a {
	padding: 0 10px 0 15px; 
	text-decoration: none;
	margin:0t; 
	font-weight:normal;
	font-size:11px;
	line-height: 120%;
	overflow:hidden;
}
#suggestbox ul li {background: transparent url(img/suggestli.png) repeat-y; margin: 0;} 
#suggestbox ul li.suggestdivide {font-size:5px;}
	
#suggestbox ul li.suggesttop {
	height:40px;
	background: transparent url(img/suggesttop.png) no-repeat;
} 
#suggestbox ul li.suggestbottom {height:15px; background: transparent url(img/suggestbottom.png) no-repeat;} 





.maincontent .inner {margin:20px;}

.maincontentnarrow {width: 540px; float:left; }
.maincontentnarrow .inner {margin:20px 0 20px 20px; }


.rightbox {width: 230px; float:right; }
.rightbox .inner {line-height:120%;  margin:25px 0 0 0; }
.rightbox .inner p, .rightbox .inner hr, .rightbox .inner li {margin-right:10px;}
.rightbox .inner p, .rightbox .inner h2, .rightbox .inner h3, .rightbox .inner h4 {line-height:130%; font-size:0.88em;}








.breadcrumbs {	
	padding:5px 0 2px 6px;	
	clear:both;
	font-size:11px;
	background-color: #eee;
}
.breadcrumbs span {
	background: transparent url(img/doppelpfeil1.gif) no-repeat 9px 3px;
	padding: 6px 0px 0px 26px; font-weight: bold; }

.breadcrumbs a {
	border-bottom: 1px dotted #090192;
	text-decoration: none;
}
.breadcrumbs a:hover {border-bottom: 1px solid #000;}

.breadcrumbs .menu-current a {}


.clearcontent {height:60px; clear:both}

.footerbox {
  	width: 990px;
   height:72px;
   margin: -72px auto 0 auto;
   font-size: 11px;
   color: #555;


}

.footerbox .uplift {float:left; width:220px; text-align:right;}
.footerbox .uplift img {margin:0 20px 0 0;}

.footer {
	width: 770px;
	height:72px;
	margin:0;
	float:right;		
	padding: 0;
   	background:  #d9d9d9 url(img/footer.gif)  no-repeat;
    text-align:left;   
}

.footer .inner {margin:10px 0 0 20px;}

.footer .page_id {
	border-right:1px solid #777;
	float:left;
	width: 30px;
	height:40px;
	margin-right:10px;
	color: #777;	
	text-align:center;	
}

.footer .innerfooter {
	width: 650px;	
	color: #777;	
	text-align:left;
	 background-color: #aa566a;
}



/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */


/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	####	Header Menu #####
	#######################

	Horizontal Drop-Down Menu based off :
	http://www.tanfa.co.uk/css/examples/menu/tutorial-h.asp*/

#navContainer {height:150px; display:block;clear:both; background: #fff url(img/XXnavbgl1.jpg) repeat-x;}


/* Remove List Formattings
~~~~~~~~~~~~~~~~~~~~  */
#nav ul, #nav ul li, #nav2 ul, #nav2 ul li {
	list-style-type: none;
	list-style-image: none;
	line-height:130%;
	margin: 0 0 0 0;
	padding: 0 0 0 0;
}

/*Right Header menu */
#nav2 {float:left; position: absolute; padding: 0; margin: 0px; display:inline; width:230px; height: 150px; background-color:#aaa;} /*background-color:#ffd925;*/
#nav2 ul li {margin: 0px; border-bottom:#ddd solid 1px; height:24px; overflow:hidden;} /**/
#nav2 li a {text-shadow: 0px 1px 2px #444; font-size:14px; text-decoration:none; color:#fff; display:block; padding:5px 0 3px 10px;} /**/
#nav2 li a:hover {background-color:#ffd925; font-weight:bold;} /*background-color:#e10000;*/
#nav2 .menu-current {text-shadow: none; background-color:#ffd925; font-weight:bold;  color:#000; } /*background-color:#e10000;color:#fff;*/






/*Left Header menu 
#header_menu {}
#header_menu li {line-height: normal;}
ul#header_menu  {z-index: 10; clear: both;}
*/
#nav {
	float:left;
	display:inline;
	XXposition: absolute;
	height: 150px;
	border: 0;
	padding:0 0 0 0;
	margin:  0px 0 0 0px;
	z-index: 10
}
#nav ul {
	list-style-type: none;
	list-style-image: none;
	margin: 0 0 0 0;
	padding:0 0 0 0;
	width: auto;
	/*
	(Disappearing List-Background)
	http://www.positioniseverything.net/explorer/ie-listbug.html
	*/
	position: relative; /* Fix the Stupid IE6 Bug */
}

#nav ul li span { display:block; margin : 0 5px 0 5px; }

/* Root Level Link Formatting */
#nav ul li {float: left; color: #e9e9e9; text-align: left; font-weight: normal; list-style-image: none; list-style-type: none; margin-right:10px; display:inline;}
#nav ul li a { text-shadow: 0px 1px 2px #000; display: block; background: transparent; width:170px; padding: 132px 0 2px 0; color: #fff; text-decoration: none; font-weight: bold; font-size: 14px; overflow:hidden;}
/* Root Level link hover */
#nav ul li a:hover, #nav li a:focus, #nav li a:active, #nav ul li a.active, #nav a.menu-current {XXbackground: url(img/navbgl1hi.jpg); XXcolor: #090192;}
#nav a.menu-parent {XXbackground: url(img/navbgl1hi.jpg); XXcolor: #090192;}


/*Current page Customisations*/
#nav a.menu-current		{font-weight: bold;}

/* 2nd Child menu */
#nav li ul {position: absolute; width: 170px; margin: 0; display: none; text-transform: none; border-bottom: 1px solid #fff; border-left: 0px solid #145167; border-right: 0px solid #145167; font-size: 100%; background-color: #aaa;}
#nav li ul li {width: 170px; text-align: left; font-weight: normal; margin: 0; padding: 0; line-height: 1.2em; list-style-image: none;}
#nav li ul li a {text-shadow: 0px 1px 2px #444; width: 170px; height:auto; padding: .4em 0 .4em 0; color: #fff; border-top: 1px solid #fff; font-weight: normal;  font-size: 12px; background: none;}

/* 2nd Child link hover */
#nav li ul a:hover,  #nav ul ul li.menu-current a { background: #ffd925 url(img/XXnavbgl1hi.jpg); color:#000;}
#nav li ul a.menu-parent {background: #ffd925 url(img/XXnavbgl1parent.gif); color:#000;}

/* Show and hide */
#nav li:hover ul, #nav .menu li a:focus ul, #nav .menu li.subMenu ul {display: block;}
#nav li ul ul { display: none;}
#nav li:hover ul ul, #nav .menu li.subMenu ul ul {display: none;}
#nav 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 li ul li ul	{ margin: 5px 0 0 -40%; z-index: 9999; background-color: #bbb;}
#XXnav .menu li ul li ul li	{width: 13em;}
#XXnav .menu li ul li ul li a 	{ width: 12.5em;}

/* 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 */
}

#nav ul li a.pm2 { background: transparent url(img/m1.jpg) no-repeat;}
#nav ul li a.pm3 { background: transparent url(img/m2.jpg) no-repeat;}
#nav ul li a.pm4 { background: transparent url(img/m3.jpg) no-repeat;}

#nav ul li a.pm2:hover, #nav ul li.menu-current a.pm2, #nav ul li.menu-parent a.pm2  { background: transparent url(img/m1hi.jpg) no-repeat;}
#nav ul li a.pm3:hover, #nav ul li.menu-current a.pm3, #nav ul li.menu-parent a.pm3 { background: transparent url(img/m2hi.jpg) no-repeat;}
#nav ul li a.pm4:hover, #nav ul li.menu-current a.pm4, #nav ul li.menu-parent a.pm4 { background: transparent url(img/m3hi.jpg) no-repeat;}

.allhigh ul li a.pm2  { background: transparent url(img/m1hi.jpg) no-repeat ! important;}
.allhigh ul li a.pm3 { background: transparent url(img/m2hi.jpg) no-repeat ! important;}
.allhigh ul li a.pm4 { background: transparent url(img/m3hi.jpg) no-repeat ! important;}

/* Dasselbe in englisch 37, 38, 39*/
#nav ul li a.pm37 { background: transparent url(img/m1.jpg) no-repeat;}
#nav ul li a.pm38 { background: transparent url(img/m2.jpg) no-repeat;}
#nav ul li a.pm39 { background: transparent url(img/m3.jpg) no-repeat;}

#nav ul li a.pm37:hover, #nav ul li.menu-current a.pm37, #nav ul li.menu-parent a.pm37  { background: transparent url(img/m1hi.jpg) no-repeat;}
#nav ul li a.pm38:hover, #nav ul li.menu-current a.pm38, #nav ul li.menu-parent a.pm38 { background: transparent url(img/m2hi.jpg) no-repeat;}
#nav ul li a.pm39:hover, #nav ul li.menu-current a.pm39, #nav ul li.menu-parent a.pm39 { background: transparent url(img/m3hi.jpg) no-repeat;}

.allhigh ul li a.pm37  { background: transparent url(img/m1hi.jpg) no-repeat ! important;}
.allhigh ul li a.pm38 { background: transparent url(img/m2hi.jpg) no-repeat ! important;}
.allhigh ul li a.pm39 { background: transparent url(img/m3hi.jpg) no-repeat ! important;}



/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	Custom Classes (Re-useables)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

/*  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 */

/*diverse*/

.maincontentnarrow h5 {width: 230px; float:right; margin-right:-230px; clear:right; padding-left:20px;  text-align:left;}
.maincontentnarrow blockquote {width: 230px; float:right; margin-right:-230px; clear:right; padding-left:20px; text-align:left;}

.maincontentnarrow .inner p, .maincontentnarrow .inner hr, .maincontentnarrow .inner li {margin-right:10px;}

.mod_topic_loop {margin-right:10px;} 

.mod_anytopics_topic h3 {margin:0;}
.mod_anytopics_topic h5 {font-size:14px; margin:0; font-weight:bold;}

div.mpform  {width:80%;}

/*kommentare*/
.maincontentnarrow blockquote.mod_topic_commentbox {width: 100%; float:left; margin-right:0; clear:left; padding-left:0; text-align:left;}
