/* CSS Menus - Horizontal CSS Menu with Dropdown and Popout Menus - 20050131 */

*{margin:0;padding:0;border:none;}



/* Begin CSS Popout Menu */

#menu { position:relative; height:34px; padding-left:5px; z-index:5; background-image:url(../images/nav_back.jpg); background-repeat:repeat-x; }

#menu a, #menu h2 {
font: 12px/17px arial,helvetica,sans-serif;
display:block;
/*border-width:1px;
border-style:solid;
border-color:#000;*/
white-space:nowrap;
margin:0;
padding:2px 10px;
}

#menu a.nav:link, #menu a.nav:visited {
color:#FFF;
padding:9px 15px;
width:auto;
border:none;
background:none;
}

#menu a.nav:hover, #menu a.nav:active { color:#999;}

#menu a{
text-decoration:none;
border: 1px solid #FFF;
border-top:none;
width:11em;
}

#menu a, #menu a:visited{
color:#FFF;

}


#menu ul{
list-style:none;
margin:0;
padding:0;
float:left;
/*width:9em;*/
}


#menu li{
position:relative;
}

#menu ul ul{
position:absolute;
z-index:500;
top:auto;
display:none;
width:12em;
}

#menu ul ul a { background-color:#003399; }
#menu ul ul a:hover { background-color:#0059BF; }

#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{
background:#000 url(/css/images/expand3.gif) no-repeat -999px -9999px;
color:#BDDEBD;
}

div#menu li:hover{
cursor:pointer;
z-index:500;
}

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 url(/css/images/expand3.gif) no-repeat 100% 100%;
}

#menu a.x:hover{
color:#fff;
background:#000;
}

#menu a.x:active{
color:#060;
background:#ccc;
}

/* End CSS Popout Menu */
