UL, LI {
        padding: 0px;
        margin: 0px;
        }
#nav, #nav ul { /* all lists */
        padding: 0px;
        margin: 0px;
        list-style: none;
}
#nav a {
        display: block;
        text-align: left;
        font-weight: bold;
        font-size:12px;
}
#nav li { /* all list items */
        float:left;
		padding:0 0px;
		margin:0 5px 0 -1px;
		white-space: nowrap;
        width: auto; /* width needed or else Opera goes nuts */
		font-size:11px;
}

* html #nav li {  /* all list items */
		float:left;
		padding:0 0px;
		margin:0 5px 0 -1px;
		white-space: nowrap;
        width: auto; /* width needed or else Opera goes nuts */
		font-size:11px;
	}
#nav li ul { /* second-level lists */
        position: absolute;
        line-height:16px;
        width: 143px;
        height: auto;
		margin-left: -45px;
		padding-top: 5px;
		background: url(../images/menu_layer_1.gif) top left no-repeat;
        left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
}
* html #nav li ul { /* second-level lists */
        position: absolute;
        line-height: 16px;
        width: 143px;
		margin-left: -45px;
		padding-top: 5px;
		background: url(../images/menu_layer_1.gif) no-repeat top left;
}
#nav li ul li ul{ /* third-level lists */
        position: absolute;
		line-height:16px;
        width: 350px;
        height: auto;
        left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
		background: url(../images/menu_layer_2_n.gif) top left no-repeat;
		margin-left: 128px;
		margin-top: -20px;
}
*html #nav li ul li ul{ /* third-level lists */
		margin-top: -40px;
}

#nav li ul ul { /* third-and-above-level lists */
        margin: -5px 0 0 183px;

}
*html #nav li ul ul { /* third-and-above-level lists */
        margin.top: -55px;

}

#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;
}

* html #nav li:hover ul, * html #nav li li:hover ul,  * html #nav li.sfhover ul, * html #nav li li.sfhover ul,  { /* lists nested under hovered list items */
        margin-left: 40px;
}
* html #nav li li.sfhover ul, * html #nav li li li:hover ul, {
        margin-left: 163px;
        }
/*Erste Ebene*/
#nav li A {
        width:auto;
		padding-right: 2px;
		padding-left: 2px;
		text-decoration:none;
		color: #ffffff;
        }
* html #nav li A {
        width:auto;
		padding-right: 2px;
		padding-left: 2px;
		text-decoration:none;
		color: #ffffff;
        }
#nav li A:hover, #nav li.sfhover ul {
        text-decoration:underline;
        color:#7cc7ef;
        }

/* Zweite Ebene*/
#nav li ul  A {
        line-height: 16px;
        width: 143px;
        height: 16px;
		color: #FFFFFF;
		margin-top: 2px;
		padding-left: 3px;
}
* html #nav li ul  A {
		padding-top: 0px;
}
* html #nav li ul {
		margin-left: -45px !important; 
		display: block;
		position: absolute;
	}
#nav li ul a:hover, #nav li.sfhover ul {
        text-decoration: none;
        background: url(../images/menu_overlayer_1.gif) no-repeat scroll 0 0px transparent;
        color: #FFFFFF;
		padding-left: 0px;
		width: 142px;
        }
* html #nav li.sfhover ul {
        text-decoration: none;
        background: url(../images/menu_layer_1.gif) no-repeat scroll 0 0px;
        line-height: 20px;
        width: 143px;
        height: 20px;
        }
* html #nav li ul a:hover {
        text-decoration: none;
        background: url(../images/menu_overlayer_1.gif) no-repeat scroll 0 0px transparent;
        color: #FFFFFF;
		margin-left:-2px;
		padding-left: 5px;
		line-height: 16px;
        }
/* Dritte Ebene*/
#nav li ul li ul a {
		background:url(../images/drop-down.jpg) no-repeat scroll left top transparent;
		color:#FFFFFF;
		height:auto;
		line-height:16px;
		margin-left:27px;
		margin-top:-65px;
		width:158px;
		margin-top: 0px;
		margin-bottom: 0px;
}
* html #nav li ul li ul a {
		padding-top:0px;
}
* html #nav li ul li ul{
		margin-left: 125px !important; 
		display: block;
		position: absolute;
		margin-top: -23px !important;
		
}
#nav li ul li ul a:hover, #nav ul li li.sfhover ul {
		background:url(../images/menu_overlayer_2_n.gif) no-repeat scroll top left transparent;
		color:#FFFFFF;
		margin-left:25px;
		margin-top:-6px;
		text-decoration:none;
		margin-top: 0px;
		margin-bottom: 0px;
		width: 320px;
}
* html #nav ul li li.sfhover ul{
        text-decoration: none;
        background: url(../images/menu_layer_2_n.gif) top left no-repeat;
        line-height: 20px;
        width: 350px;
        height: 20px;
        }
* html #nav li ul li ul a:hover{
        text-decoration: none;
        background:url(../images/menu_overlayer_2_n.gif) no-repeat scroll top left transparent;
        color: #FFFFFF;
		margin-left:5px;
		padding-left:5px;
		line-height: 16px;
        }