#menu ul
  {
  /* 12px */
  font-size: 0.75em;
  font-weight: bold;  
  
  z-index:100;
  margin: 0;
  padding: 0;
  list-style-type: none;
  }

/*Top level list items*/
#menu ul li
  {
  position: relative;
  display: inline;
  float: left;
  }

/*Top level menu link items style*/
#menu ul li a
  {
  display: block;
  background: #0072BB; /*background of menu items (default state)*/
  color: white;
  
  /* 2px */
  padding-top: 0.166em;
  
  /* 10px */
  padding-left: 0.833em;

  /* 30px */
  padding-right: 2.5em;
  
  /* 18px */
  height: 1.5em;
  
  color: #2d2b2b;
  text-decoration: none;
  }


/*IE6 hack to get sub menu links to behave correctly*/
* html #menu ul li a
  { 
  display: inline-block;
  }

#menu ul li a:link, #menu ul li a:visited
  {
  color: white;
  }


/*CSS class that's dynamically added to the currently active menu items' LI A element*/
#menu ul li a.selected
  { 
  color: white;
  text-decoration: underline;
  }

#menu ul li a:hover
  {
  color: white;
  text-decoration: underline;
  }
	
	
/*1st sub level menu*/
#menu ul li ul
  {
  /* 12px */
  font-size: 1em;
  font-weight: bold;   
  
  position: absolute;
  left: 0;
  display: none; /*collapse all sub menus to begin with*/
  visibility: hidden;
  }


/*Sub level menu list items (undo style from Top level List Items)*/
#menu ul li ul li
  {
  display: list-item;
  float: none;
  }


/*All subsequent sub menu levels vertical offset after 1st level sub menu */
#menu ul li ul li ul
  {
  top: 0;
  }


/* Sub level menu links style */
#menu ul li ul li a
  {
  font-size: 1em;
  font-weight: normal;  
  
  /* 160px */
  width: 13.333em; /*width of sub menus*/

  /* 10px */
  padding-right: 0.833em;
  
  margin: 0;
  border-top-width: 0;
  
  /* 1px */
  border-bottom: 0.083em solid gray;
  border-right: 0.083em solid gray;
  }


/* Holly Hack for IE \*/
/*Holly Hack for IE7 and below*/
* html #menu
  {
  height: 1%;
  } 


/* ######### CSS for shadow added to sub menus  ######### */
.ddshadow
  {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  background: silver;
  }

/*shadow opacity. Doesn't work in IE*/
.toplevelshadow
  { 
  opacity: 0.8;
  }
