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:11px;
}

#nav li { /* all list items */
        float: left;
        width: auto ; /* width needed or else Opera goes nuts */
		white-space: nowrap;
		background: url(/fileadmin/layout/Template2/images/menu_trenn.jpg) top left no-repeat;
}

* html #nav li {  /* all list items */
	float: left;
	width: 66px;
	margin-bottom: -5px;
	height: 27px;
	white-space: nowrap;
	background: url(/fileadmin/layout/Template2/images/menu_trenn.jpg) top left no-repeat;
	}
#nav li ul { /* second-level lists */
        position: absolute;
        width: 163px;
        height: 21px;
		margin-left: -15px;
        left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
}
#nav li ul li ul{ /* third-level lists */
        position: absolute;
        width: 155px;
        height: 21px;
        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: -21px 0 0 163px;
}

#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: -7px;
}
* 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: 11px;
		padding-left: 11px;
        height:31px;
        line-height:29px;
		text-decoration:none;
		color: #303030;
        }
* html #nav li A {
        width:auto;
		padding-right: 1px;
		padding-left: 11px;
        height:31px;
        line-height:29px;
		text-decoration:none;
		color: #303030;
        }

#nav li A:hover, #nav li.sfhover ul {
        text-decoration:none;
        color:#606060;

        }

/* Zweite Ebene*/
#nav li ul  A {
        line-height:22px;
        width: 163px;
        height: 21px;
        background: url(/fileadmin/layout/Template2/images/drop-down.jpg) left no-repeat;
}
* 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(/fileadmin/layout/Template2/images/drop-down-hover.jpg) left no-repeat;
        color: #606060;
		
        }

/* Dritte Ebene*/
#nav li ul li ul A {
        line-height:22px;
        width: 155px;
        height: 21px;
        background: url(/fileadmin/layout/Template2/images/drop-down.jpg) left no-repeat;
}

#nav li ul li ul a:hover, #nav ul li li.sfhover ul {
        text-decoration:none;
        background: url(/fileadmin/layout/Template2/images/drop-down-hover.jpg) left no-repeat;
        color: #606060;
        }
* html #nav li ul li ul  {
	margin-left: 125px !important; 
	display: block;
	position: absolute;
	}