/* ================================================================ 
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/dd_valid.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.
=================================================================== */
/* common styling */

#nav { /* all lists */
	padding:0;
	margin:0;
	list-style:none;
	font-size:0.9em;
	min-width:950px;
	min-height:30px;
	background:#8fd400 url("/fileadmin/templates/images/navlistbg.jpg") repeat-x;
	position:relative;
	z-index:100;
}

#nav ul { /* all lists */
	padding:0;
	margin:0;
	list-style:none;
	font-size:0.9em;
	width:100%;
	min-height:30px;
	background:#8fd400 url("/fileadmin/templates/images/navlistbg.jpg") repeat-x;
	position:relative;
	z-index:100;
}

#nav a {
	display:block;
	/*width:90px;*/
	text-decoration:none; 
	padding:5px 5px; 
	color:#002147; 
}

#nav li { /* all list items */
	float:left;
	width:150px; /*war auch 10em wie alte nav a width needed or else Opera goes nuts */
	color:#002147; 
	text-align:left;

}

/*war nav li ul li*/
ul#nav li ul li {
	/*display:block;*/
	border-bottom:1px solid #abf60e;
	width:100%;
}

ul#nav ul li ul li a {
	display:block;
}

#nav li ul { /* second-level lists */
	position:absolute;
	background:#ace731 /*8fd400*/;
	color:#002147; 
	width:150px; /*war auch 10 em*/
	left:-999em; /* using left instead of display to hide menus because display:none isn't read by screen readers */
}

#nav li ul ul { /* third-and-above-level lists */
	margin:-22px 0 0 110px;
	background:#c5f75e;
}

#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul {
	left:-999em;
}

#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul { /* lists nested under hovered list items */
	left:auto;
}

