/* ==========================================================================
CSSMenu Component Style - by Soft Idiom www.softidiom.com.
This stylesheet was modified and used with permission of the copyright holder
=============================================================================
This copyright notice must be untouched at all times.
The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/final_drop5.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
========================================================================== */
/* style the outer div to give it width */
.menu {
  font-size:12px;
  padding-bottom:2px;}

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
  padding:0;
  margin:0;
  list-style-type:none; 
  height:1.3em; 
  background:#878400;
  z-index: 99999;
}

/* style the sub-level lists */
.menu ul ul {
  width:15em;
}

/* float the top list items to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu ul li {
  float:left;
  height:1.3em; /*height of the top menu bar items */
  line-height:1.2em; /*line height of the top menu bar items */
}

/* style the sub level list items */
.menu ul ul li {
  display:block;
  width:12em;
  height:auto; 
  line-height:1em;}

/* style the links for the top level */
.menu a, .menu a:visited {
  display:block;
  float:left;
  height:100%;
  font-family: verdana,sans-serif;
  font-size:12px;
  font-weight: bold;
  text-decoration:none;
  color:#fff;
  background-color:#878400;
  padding:0 0.5em 0 1em; 
}

/* style the sub level links */
.menu ul ul a, .menu ul ul a:visited {
  display:block;
  background-color:#B24602; 
  color:#fff;
  width:12em;
  height:100%;
  line-height:1em; 
  padding:0.5em 1em;
  border-bottom: 1px solid #000}
* html .menu ul ul a, * html .menu ul ul a:visited {
  width:14em; 
  w\idth:12em;}

/* style for item images */
.menu ul li img {
  border:0px; 
  align: left; 
  margin-right: 0.5em
}

/*style for items that display a submenu */
.menu .sub {
}

/*style for sub menu */ 
.menu ul ul {
}

/* style the table so that it takes no part in the layout - required for IE to work */
.menu table {position:absolute; left:1px; top:0; width:0; height:0;font-size:12px; z-index:-1;}

/* style the level hovers */
/* first */
* html .menu a:hover {color:#fff;background-color:#B24602;position:relative; z-index:9100;}
.menu li:hover {position:relative;}
.menu :hover > a {color:#fff;background-color:#B24602;}
/* second */
* html .menu ul ul a:hover{color:#fff;background-color:#878400;position:relative; z-index:9110;}
.menu ul ul li:hover {position:relative;}
.menu ul ul :hover > a {color:#fff;background-color:#878400;}
/* third */
* html .menu ul ul ul a:hover {background-color:#878400;position:relative; z-index:9120;}
/* fourth */
* html .menu ul ul ul ul a:hover {background-color:#878400;position:relative; z-index:9130;}
/*fifth*/
* html .menu ul ul ul ul ul a:hover {background-color:#878400;position:relative; z-index:9140;}
/*sixth*/
.menu ul ul ul ul ul ul a:hover {background-color:#878400;position:relative; z-index:9150;}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {visibility:hidden;position:absolute;height:0;top:1.3em;left:0;width:14em;}

/* position the third level flyout menu */
.menu ul ul ul{left:14em;top:0;width:14em;}

/* hover visibility */
.menu ul :hover ul{visibility:visible; height:auto;}
.menu ul :hover ul ul{visibility:hidden;}
.menu ul :hover ul :hover ul ul{visibility:hidden;}
.menu ul :hover ul :hover ul{visibility:visible;}
.menu ul :hover ul :hover ul :hover ul {visibility:visible;}
.menu ul :hover ul :hover ul :hover ul ul{visibility:hidden;}
.menu ul :hover ul :hover ul :hover ul :hover ul {visibility:visible;}
.menu ul :hover ul :hover ul :hover ul :hover ul ul{visibility:hidden;}
.menu ul :hover ul :hover ul :hover ul :hover ul :hover ul {visibility:visible;}
.menu ul :hover ul :hover ul :hover ul :hover ul :hover ul ul{visibility:hidden;}
.menu ul :hover ul :hover ul :hover ul :hover ul :hover ul :hover ul {visibility:visible;

