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;*/
	    	display:block;
}

* 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: 150px;
        height: 24px;
		    margin-left: -15px;
		    display:block;
        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:24px;
    line-height:24px;
	  text-decoration:none;
	 	color: #ededed;
        }
        
* html #nav li A {
    width:auto;
		padding-right: 11px;
		padding-left: 11px;
    height:24px;
    line-height:24px;
		text-decoration:none;
		color: #ededed;
        }

#nav li A:hover, #nav li.sfhover ul {
        text-decoration:none;
        color:#000000;
        background: url(http://www.zipang.de/fileadmin/layout/template3/images/menu-bar_overlay.jpg);
        /*width:143x;*/
        height:24px;
        line-height:24px;
        border-right: 1px solid #534630;
	    	border-left: 1px solid #534630;
	    	margin-right:-1px;
	    	margin-left:-1px;
        }
        
/* Zweite Ebene*/
#nav li ul  A {
        text-decoration:none;
        color:#FFFFFF;
        background: url(http://www.zipang.de/fileadmin/layout/template3/images/menu-bar.jpg) top left repeat-x;
        height:24px;
        line-height:24px;
        border-right: 1px solid #534630;
	    	border-left: 1px solid #534630;
	    	margin-left:14px;
	    	width: 150px;
}
* html #nav li ul {
	margin-left: -34px !important; 
	display: block;
	position: absolute;
	}

* html #nav li ul  A {
        text-decoration:none;
        color:#FFFFFF;
        background: url(http://www.zipang.de/fileadmin/layout/template3/images/menu-bar.jpg) top left repeat-x;
        height:24px;
        line-height:24px;
        border-right: 1px solid #534630;
	    	border-left: 1px solid #534630;
	    	margin-left:0px;
	    	width: 170px;
}

#nav li ul a:hover, #nav li.sfhover ul {
        text-decoration:none;
        background: url(http://www.zipang.de/fileadmin/layout/template3/images/menu-bar_overlay.jpg);
        color:#000000;
		    margin-left:14px;
		    border-right: 1px solid #534630;
	    	border-left: 1px solid #534630;
        }
        
* html #nav li ul a:hover, #nav li.sfhover ul {
        text-decoration:none;
        background: url(http://www.zipang.de/fileadmin/layout/template3/images/menu-bar_overlay.jpg);
        color:#000000;
		    margin-left:0px;
		    border-right: 1px solid #534630;
	    	border-left: 1px solid #534630;
        }        

/* 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;
	}
#nav li li li a { backgrund-color: #FFFF00; }

