/* CSS Menus - Horizontal CSS Menu with Dropdown and Popout Menus - 20050131 */

/* Begin CSS Popout Menu */

#menuh
{
  width:100%;
  float:left;
}

#menuh p.ieFont
{
  /*
  ** I am so fricking disgusted at IEs implementation of the standards
  ** right now I can say nothing nice about them. Due to how this
  ** web page has been integrated with the other deCarta pages,
  ** a loose html doctype must be used. This same loose doctype works
  ** perfectly fricking fine in Mozilla when it comes to displaying
  ** links in the correct font size in the menus, but it shrinks
  ** the text down to some gnomish disgusting size in IE. I've resorted
  ** to using pre 1700s HTML font styling to make this work in both
  ** IE and Mozilla firefox. Yuck to the sixth power.
  */
}

#menuh a, #menuh h2
{
  font:bold 12px/16px arial,helvetica,sans-serif;
  display:block;
  border-width:1px;
  border-style:solid;
  white-space:nowrap;
  margin: 0px 0px 0px 0px;
  padding:1px 0px 1px 3px;
}

#menuh h2
{
  color:#fff;
  background:#0F4692 url(img/expand4.gif) no-repeat 100% 100%;
  border-color:#0F4692;
}

#menuh a
{
  background:#808BC9;
  text-decoration:none;
  border-color:#003366;
}

#menuh a, #menuh a:visited
{
  color:#fff;
}

#menuh a:hover
{
  color:#fff;
  background:#AB0534;
}

#menuh a:active
{
  color:#060;
  background:#ccc;
}

#menuh ul
{
  list-style:none;
  margin:0;
  padding:0;
  float:left;
  width:10.5em;
}

#menuh li
{
  font:bold 12px/16px arial,helvetica,sans-serif;
  position:relative;
}

#menuh ul ul
{
  position:absolute;
  z-index:500;
  top:auto;
  display:none;
}

#menuh 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#menuh h2:hover
{
  background:#0F4692 url(img/expand4.gif) no-repeat -999px -9999px;
  color: #7F9CC5;
}

div#menuh li:hover
{
  cursor:pointer;
  z-index:100;
}

div#menuh li:hover ul ul,
div#menuh li li:hover ul ul,
div#menuh li li li:hover ul ul,
div#menuh li li li li:hover ul ul
{display:none;}

div#menuh li:hover ul,
div#menuh li li:hover ul,
div#menuh li li li:hover ul,
div#menuh li li li li:hover ul
{display:block;}

/* End of non-anchor hover selectors */

/* Styling for Expand */

#menuh a.x, #menuh a.x:visited
{
  font-weight:bold;
  color:#000;
  background:#eee url(img/expand3.gif) no-repeat 100% 100%;
}

#menuh a.x:hover
{
  color:#a00;
  background:#ddd;
}

#menuh a.x:active
{
  color:#060;
  background:#ccc;
}

/* End CSS Popout Menu */
