.menu {
position:relative;
z-index:100;
text-align: left;
float: right;
}
/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
padding:0;
margin:0;
list-style-type:none;
}
.menu ul ul {
width:110px;
margin-left: -5px;
}
* html .menu ul ul {
margin-left: -10px;
}

.ende_2ebene  {
height: 9px;
background: url(../images/navigat/bg_2ebene_ende.gif) no-repeat top left;
}

.ende_3ebene {
clear:both;
margin: 0px;
padding: 0px;
}

/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {
float:left;
width:120px;
position:relative;
margin-left: 5px;
}

/* style the links for the top level */
.menu a, .menu a:visited {
display:block;
text-decoration:none; 
color:#5F5F5F; 
width:120px;
background: url(../images/navigat/bg_1ebene.gif) no-repeat;
padding-left:10px;
padding-top: 1px;
height:33px;
}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {
width:110px;
w\idth:110px;
}
/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {
color: #5F5F5F;
background:#D0D0D0;
width: 105px;
}

/* style the third level hover */
.menu ul ul ul a:hover {
color: #5F5F5F;
background:#E1E1E1;
width: 105px;
}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {
visibility:hidden;
position:absolute;
height:0;
top:34px;
left:0; 
width:120px;
}
/* another hack for IE5.5 */
* html .menu ul ul {
top:33px;
t\op:34px;
}

/* position the third level flyout menu */
.menu ul ul ul{
left:120px; 
top:0;
}

/* style the table so that it takes no ppart in the layout - required for IE to work */
.menu table {
position:absolute; 
top:0; 
left:0;}

/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {
background:#5F5F5F; 
color:#FFFFFF; 
height:auto; 
height: 20px; 
padding: 0px 10px;
width:100px
}
/* yet another hack for IE5.5 */
* html .menu ul ul a{
width:100px;
w\idth:100px;
}
* html .menu ul ul ul a{
width:105px;
w\idth:105px;
}


/* style the top level hover */
.menu a:hover{
color: #5F5F5F;
background:#5F5F5F url(../images/navigat/bg_1ebene_mouseover.gif) no-repeat;
z-index: 100;
width:110px;
} 
.menu a.home:hover{
color: #5F5F5F;
background:#FFFFFF url(../images/navigat/bg_1ebene.gif) no-repeat;
width:110px;
} 

.menu ul ul a:hover{
color:#5F5F5F; 
background:#D0D0D0;
width:100px;
}

.menu :hover > a{
background:#5F5F5F  url(../images/navigat/bg_1ebene_mouseover.gif) no-repeat;
z-index: 100;
width:110px;
}

.menu ul ul :hover > a {
color:#5F5F5F;
background:#D0D0D0;
}

/* make the second level visible when hover on first level list OR link */
.menu ul li:hover ul,
.menu ul a:hover ul{
visibility:visible; 
}
/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{
visibility:hidden;
}

/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul{ 
visibility:visible;
}
