/* ================================================================
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.stunicholls.com/menu/skeleton_up.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements. 
=================================================================== */
#nav,
#nav ul {padding:0px; margin:0px; list-style:none; font-size: 14px; background: url(../images/nav_main.gif) repeat-x; position:relative; z-index:200;}
#nav {height:35px; padding:0px;}

#nav li {float:left;	border-right: 1px solid #555555; height:35px; }
/*Hintergrund Subnavi*/
#nav ul li {background: url(../images/header_transparent.png);}
/*Subnavi*/
#nav li li {float:none; padding-bottom:10px; height:25px; border: none;}
/* a hack for IE5.x and IE6 */
* html #nav li li {float:left;}

/*Hauptnavigation*/
#nav li a {display:block; float:left; color:#ffffff; padding-top:10px; margin:0px 20px 0px 20px; height:20px; text-decoration:none; white-space:nowrap; }
/*Subnavigation*/
#nav li li a {float:none; }

#nav li:hover {position:relative; z-index:300; background-color: #028d39; }

#nav li li:hover {position:relative; z-index:300; background-color:#ffffff;}

/*Abstand Submenu*/
#nav li:hover ul {left:0; bottom:35px; top:auto; }
/* another hack for IE5.5 and IE6 */
* html #nav li:hover ul {left:10px;}

#nav ul {position:absolute; left:-9999px; top:-9999px; background: none; }
/* yet another hack for IE5.x and IE6 */
* html #nav ul {width:1px;}

/* it could have been this simple if all browsers understood */
/* show next level */
#nav li:hover li:hover > ul {left:-15px; margin-left:100%; bottom:-7px; top:auto;}
/* keep further levels hidden */
#nav li:hover > ul ul {position:absolute; left:-9999px; top:-9999px; width:auto;}
/* show path followed */
#nav li:hover > a {text-decoration:underline; color:#3366ff;}

/*Hauptnavigation Mouseover*/
#nav li:hover a
{text-decoration:underline; color:#ffffff; }

/*Subnavigation Mouseover*/
#nav li:hover li:hover a
{text-decoration:underline; color:#000000; background-color: none;}

/*Subnavigation Mouseover*/
#nav li:hover li a
{text-decoration:none; color:#000000;}


/* but IE5.x and IE6 need this lot to style the flyouts and path followed */
/* show next level */
/*
#nav li:hover li:hover ul,
#nav li:hover li:hover li:hover ul,
#nav li:hover li:hover li:hover li:hover ul,
#nav li:hover li:hover li:hover li:hover li:hover ul
{left:-15px; margin-left:100%; bottom:-7px; top:auto;}
*/

/* keep further levels hidden */
/*
#nav li:hover ul ul,
#nav li:hover li:hover ul ul,
#nav li:hover li:hover li:hover ul ul,
#nav li:hover li:hover li:hover li:hover ul ul
{position:absolute; left:-9999px; top:-9999px;}
*/