/* CSS Menus - Horizontal CSS Menu with Dropdown and Popout Menus - 20050131 */


#menu{
float:left;
}

#menu a, #menu h4{
font:bold 14px/16px arial,helvetica,sans-serif;
display:block;
border-width:1px;
border-style:solid;
border-color:#ccc #888 #555 #bbb;
white-space:nowrap;
margin:0;
padding:8px 0 8px 6px; 
text-transform:capitalize;
text-align:center;
}

#menu h4{
color:#fff;
background:#ff8000;
text-transform:uppercase
}

#menu a{
background:#e2e2e2;
text-decoration:none;
}

#menu a, #menu a:visited{
color:black;
}

#menu a:hover{
color:#000;
background:#ffffff;
}

#menu a:active{
color:#060;
background:#ccc;
}

#menu ul{
list-style:none;
margin:0;
padding:0;
float:left;
width:110px;
}
#menu a{
	text-align:center;
}

#menu li{
position:relative;
}

#menu ul ul{
position:absolute;
z-index:5000;
top:0;
display:none;
left:100%;
}

#menu ul ul ul{
top:0;
left:100%;
}

/* Begin non-anchor hover selectors */

/* Enter the more specific element (div) selector
on non-anchor hovers for IE5.x to comply with the
older version of csshover.htc - V1.21.041022. It
improves IE's performance speed to use the older
file and this method */

div#menu h4:hover{
color:#c5f7f7;
background:#3f4545;
}

div#menu li:hover{
cursor:pointer;
z-index:1000;
}

div#menu li:hover ul ul,
div#menu li li:hover ul ul,
div#menu li li li:hover ul ul,
div#menu li li li li:hover ul ul
{display:none;}

div#menu li:hover ul,
div#menu li li:hover ul,
div#menu li li li:hover ul,
div#menu li li li li:hover ul
{display:block;}

/* End of non-anchor hover selectors */

/* Styling for Expand */

#menu a.x, #menu a.x:visited{
font-weight:bold;
color:#000;
background:#eee;
}

#menu a.x:hover{
color:#fff;
background:#000;
}

#menu a.x:active{
color:#060;
background:#ccc;
}

/* End CSS Popout Menu */
