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: #566a00;
	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:33px; 
	border:solid 0px red;
	
}
html>body .s_menu ul{ 
	background:#E8F99D;
	z-index:10;

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


/* 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;
height:28px;
border:solid 0px red;
}

/* style the sub level list items */
.s_menu ul ul li {
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:#566a00;
font-weight:normal;
font-size:13px;
line-height:20px; 
font-family:Arial, Helvetica, sans-serif;
padding-top:5px;
padding-left:8px;
padding-right:8px;
padding-bottom:0px;
}
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: #b7d435;
color:#fff;
width:14em;
background-image:url(fileadmin/templates/img/bkg-navi.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:#e8f99d;
color:#000;

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

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

border:solid 0px red;
}
.s_menu :hover > a {

}

/* second */
.s_menu ul ul a:hover{
font-weight:bold;		
}
.s_menu ul ul :hover > a {
color:#fff;
}
/* third */
.s_menu ul ul ul a:hover {
background: #b7d435;
color:#fff}
.s_menu ul ul ul :hover > a {
background: #b7d435;
color:#fff}
/* 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:33px;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;}




