/* CSS Menus - Horizontal CSS Menu with Dropdown and Popout Menus - 20050131 */
/****************************************************************************************************
*{margin:0;padding:0;border:none;}
*****************************************************************************************************/
body{margin:0.5em;font-family:verdana,tahoma,arial,sans-serif;}

/* Begin CSS Popout Menu */

#menu{
width:100%;
float:left;
}

#menu a, #menu h2{
font: bold 0.8em/1.6em verdana,tahoma,arial,sans-serif;
display:block;
border-width:1px;
border-style:solid;
border-color:#ccc #888 #555 #bbb;
white-space:nowrap;
margin:0;
padding: 0.1em 0.1em 0.1em 0.4em;
}
/*padding:1px 0 1px 3px;*/

#menu h2{
color:#fff000;
background:#000fff;
/* text-transform:uppercase */
}

#menu a{
color:#fff000;
background:#000fff;
text-decoration:none;
}

#menu a, #menu a:visited{
color:#fff000;
}

#menu a:hover{
color:#7f6000;
background:#809fff;
}

#menu a:active{
color: #7f6000;
background:#809fff;
}


#menu ul{
list-style:none;
margin:0;
padding:0;
float:left;
width: 9em; /* see main.html IE specific settings*/
}

#menu li{
position:relative;
}

#menu ul ul{
position:absolute;
z-index:999;
top:auto;
display:none;
}

#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 h2:hover{
cursor:default;
color: #7f6000;
background:#809fff;
}

div#menu li:hover{
cursor:pointer;
z-index:100;
}

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: #7f6000;
background:#809fff;
}

#menu a.x:hover{
color: #7f6000;
background:#809fff;
}

#menu a.x:active{
color: #7f6000;
background:#809fff;
}
/* End CSS Popout Menu */
