#navi {
font-size:1em;
color:#fff;
position:relative;
z-index:100;
}
/* remove all the bullets, borders and padding from the default list styling */
#navi ul {
padding:0;
margin:0;
list-style-type:none;
}
#navi ul ul {
padding:0;
margin-right:3em;
}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
#navi li {
float:left;
position:relative;
}
/* style the links for the top level */
#navi a, #navi a:visited {
display:block;
font-size:1em;
text-decoration:none; 
color:#fff; 
line-height:1.2em;
border:none;
margin:0;
/*background:rgb(55,1,155);
background:url(../images/allgemein/body_bg.gif);*/
padding-right:3em;
}
/* a hack so that IE5.5 faulty box model is corrected */
/* html #navi a, * html #navi a:visited {
width:150px;
w\idth:139px;
}*/

/* hide the sub levels and give them a positon absolute so that they take up no room */
#navi ul ul {
visibility:hidden;
position:absolute;
height:0;
top:1.2em;
left:0; 
width:18em;
margin:0;
padding:0;
}
/* another hack for IE5.5 */
* html #navi ul ul {
top:1.1em;
t\op:1.1em;
}
/* style the table so that it takes no ppart in the layout - required for IE to work */
#navi table {position:absolute; top:0; left:0;}

/* style the second level links */
#navi ul ul a, #navi ul ul a:visited {
background:url(../images/allgemein/body_bg.gif); 
color:#fff; 
/*height:auto;*/
font-size:0.85em; 
line-height:1em;
margin:0;
padding:0 15px 5px 5px;
width:18em;
/* yet another hack for IE5.5 */
}
* html #navi ul ul a{
width:18em;
w\idth:18em;
}

/* style the top level hover */
#navi a:hover, #navi ul ul a:hover{
color:#fff; 
background:rgb(55,1,155);
}
#navi :hover > a, #navi ul ul :hover > a {
color:#fff;
}

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

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

#navi table, tr, td {
    padding:0;
    margin:0;
}
