/* ================================================================ 

This copyright notice must be untouched at all times.



The original version of this stylesheet and the associated (x)html

is available at http://www.cssplay.co.uk/menus/final_drop.html

Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.

This stylesheet and the assocaited (x)html may be modified in any 

way to fit your requirements.

=================================================================== */



#mainnav {
	/*z-index:100;*/
}

/* Standardformatierungen für Listen aufheben */
#mainnav ul {
	
}
*+html #container #mainnav ul ul {
	/*margin-top:1.25em;*/
}
#mainnav ul ul,
#container #mainnav ul ul {
	/*width:150px;
	height:auto;
	-moz-border-radius:5px;
	background-image: url(img/60schwarz.png);
	background-repeat: repeat;*/
}

/* die Liste floaten, damit sie horizontal wird und eine relative Position, um die Dropdown menu Position zu kontrollieren*/
#mainnav li {
	
}
*html #mainnav li {
	/*width:50px;*/
}

/* Stile für die normalen Links der obersten Ebene */
#mainnav a {
	/*padding:3px 5px;*/
	border-bottom: 1px solid #FAFAF5;
}
*+html #mainnav a {
	/*padding:5px 5px;*/
}
#mainnav a.act {
	
}
/* a hack so that IE5.5 faulty box model is corrected */

/** html #mainnav a, * html #mainnav a:visited {
	width:91px;
}*/


/* Stile für den Hintergrund der zweiten Ebene */
#mainnav ul ul a.drop, #mainnav ul ul a.drop:visited {
	/*background:#666666 url(img/semitrans_blue.gif);*/
}

/* Stil für den Rollover der zweiten Ebene */
#mainnav ul ul a.drop:hover{
	/*background:#ff0000 url(img/semitrans_blue.gif);*/
}
#mainnav ul ul :hover > a.drop {
	/*background:#999999 url(img/redtrans.gif);*/
}



/* Unterebenen ausblenden und absolute Position vergeben, damit sie keinen Raum einnehmen */
#mainnav ul ul {
	visibility:hidden;
	/*position:absolute;
	left:0;*/ 
	z-index:5;
}
#mainnav ul li.active ul {
	visibility:visible;
	/*position:absolute;
	left:0;*/ 
	z-index:0;
}
#mainnav ul ul li {
	/*display:block;*/
}

/* another hack for IE5.5 */
/** html #mainnav ul ul {
	top:20px;
}*/

/* style the table so that it takes no ppart in the layout - required for IE to work */
/*#mainnav table {position:absolute; top:0; left:0;}*/


/* Stile für die Links der zweiten Ebene */
#mainnav ul ul a {
	/*padding:3px 5px;
	width:150px;
	display:block;
	float:left;*/
}
#mainnav ul ul a:visited {
}
* html #mainnav ul ul a {
}


/* Stile für den Rollover der obersten Ebene */

/* Rollover oberste Ebene (Mozilla) */
#mainnav :hover > a {
}


/* Rollover oberste Ebene (IE) */
#mainnav a:hover {
	/*padding:3px 5px;*/
}
*+html #mainnav a:hover {
	/*padding:5px 5px;*/
}

/* Rollover und aktive zweite Ebene (Mozilla) */
#mainnav ul ul :hover > a {
	/*background-color:#33CC99;*/
}
/*#mainnav ul ul a.act {
	color:#FEFDB6;
	background:#666666 url(img/semitrans_blue.gif);
	background-color:#666666;
}*/

/* Rollover und aktive zweite Ebene (IE) */
#mainnav ul ul a:hover{
}
#container #mainnav ul ul a.act, #mainnav ul li ul li a.act {
}

/*#container #mainnav ul ul a.act {}*/



/* Zweite Ebene einblenden, wenn Rollover auf Liste oder Link der obersten Ebene */
#mainnav ul li:hover ul,
#mainnav ul a:hover ul,
#navigationsblock #mainnav ul a:hover ul.subnav{
	visibility:visible; 
	border:1px solid #5C7C96;
	background-color:#FAFAF5;
	z-index:50;
}
#mainnav ul li:hover a {
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #5C7C96;
	/*margin-bottom: 5px;*/
}
#mainnav ul li:hover .subnav a {
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #FAFAF5;
	/*margin-bottom: 0px;*/
}
#mainnav ul li:hover .subnav a:hover,
#mainnav ul li:hover .subnav a.act {
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #5C7C96;
	/*margin-bottom: 5px;*/
}

/*#navigationsblock #mainnav ul a:hover .subnav{
	border:1px solid #5C7C96;
	background-color:#fff;
	z-index:20;
}*/


/* keep the third level hidden when you hover on first level list OR link */
/*#mainnav ul :hover ul ul {
	visibility:hidden;
}*/
#mainnav ul :hover ul li {
	clear:both;
}

/* make the third level visible when you hover over second level list OR link */
/*#mainnav ul :hover ul :hover ul { 
	visibility:visible;
}*/
/*.act {
	color:#FEFDB6;
}*/


.act3 + .subnav {display:none;}

