body table{
text-align:left;
}
/* style the outer div to give it width */
.s_menu {
font-family: Arial, Helvetica, sans-serif;
font-size: 13px;
line-height: 14px;
color: #000;
text-decoration: none;
cursor: hand; 
/*border:solid 1px red;*/
}
.s_menu  { 

}
ul#nav li{
/*position:relative;
background-image:url(img/bkg-navi.gif);
background-repeat:repeat-y;*/
}
ul#nav ul{
position:absolute;
z-index:1000;
}
ul#nav li{
z-index:1000;
}
/* remove all the bullets, borders and padding from the default list styling */
.s_menu ul {
padding:0;
margin:0;
list-style-type:none;
height:35px; 
border:solid 0px red;

}
html>body .s_menu ul{ 
background:#B3DCF0;
z-index:10;

}
* html .s_menu {
background:#B3DCF0;
}


/* style the sub-level lists */
.s_menu ul ul {
width:10em;

}

/* float the top list items to make it horizontal and a relative positon so that you can control the dropdown s_menu positon */
.s_menu ul li {
float:left;
padding-top:00px;
height:31px;
border:solid 0px red;
}

/* style the sub level list items */
.s_menu ul ul li {
padding-top:0px;
height:auto;
display:block;
width:10em;
height:auto;
position:relative;
line-height:1em;
}

/* style the links for the top level */
.s_menu a, .s_menu a:visited {
display:block;
float:left;
height:100%;
text-decoration:none;
color:#000;
font-weight:normal;
font-size:13px;
line-height:20px; 
font-family:Arial, Helvetica, sans-serif;
padding-top:2px;
padding-left:8px;
padding-right:8px;
padding-bottom:2px;
}
html>body .s_menu a, .s_menu a:visited {

}

/* style the sub level links */
.s_menu ul ul a, .s_menu ul ul a:visited {
font-weight:normal;

display:block;
background-color: #357eb3;
color:#ffffff;
width:14em;
background-image:url(fileadmin/templates/img/bkg-navi-b.gif);
background-position:bottom;
background-repeat:repeat-x;
}

* html .s_menu ul ul  {

margin-top:-2px;
}
.s_menu ul table ul a, .s_menu ul table ul a:visited  {width:14em; }


/* style the table so that it takes no part in the layout - required for IE to work */
.s_menu table {position:absolute; left:0; top:2px; }
.s_menu ul ul table {lef\t:-1px;}
.s_menu ul ul table ul.left {margin-lef\t:2px;}

.s_menu li:hover {position:relative;}
* html .s_menu a:hover {position:relative;}

/* style the third level background */
.s_menu ul ul ul a, .s_menu ul ul ul a:visited {
background:#F7DC62;
color:#000;

}
/* style the fourth level background */
.s_menu ul ul ul ul a, .s_menu ul ul ul ul a:visited {
background:#f8bc48;
}

/* style the level hovers */
/* first */
.s_menu a:hover {

}
.s_menu :hover > a {
color:#B3DCF0;
background:#1A5582;
}

/* second */
.s_menu ul ul a:hover{
/*font-weight:bold;*/	
}
.s_menu ul ul :hover > a {
color:#ffffff;
}
/* third */
.s_menu ul ul ul a:hover {
background: #F7DC62;
color:#ffffff}
.s_menu ul ul ul :hover > a {
background: #F7DC62;
color:#ffffff;
}
/* fourth */
.s_menu ul ul ul ul a:hover {
background: #FF9400;
color:#566a00;}

.submen a,ul .submen a:hover,.submen a:visited{

}
/* hide the sub levels and give them a positon absolute so that they take up no room */
.s_menu ul ul {visibility:hidden;position:absolute;height:0;top:24px;left:0;width:14em;}

/* position the third level flyout s_menu */
.s_menu ul ul ul{left:14em;top:0;width:14em;}

/* position the third level flyout s_menu for a left flyout */
.s_menu ul ul ul.left {left:-14em;}


/* make the second level visible when hover on first level list OR link */
.s_menu ul li:hover ul, .s_menu ul a:hover ul {visibility:visible; height:auto; padding-bottom:3em; background:transparent ;}
/* keep the third level hidden when you hover on first level list OR link */
.s_menu ul :hover ul ul{visibility:hidden;}
/* keep the fourth level hidden when you hover on second level list OR link */
.s_menu ul :hover ul :hover ul ul{visibility:hidden;}
/* make the third level visible when you hover over second level list OR link */
.s_menu ul :hover ul :hover ul{visibility:visible;}
/* make the fourth level visible when you hover over third level list OR link */
.s_menu ul :hover ul :hover ul :hover ul {visibility:visible;}



