#menu {
 background-color: #a3b83b; 
 height: 22px;
 padding: 0px;
 margin: 0px;
}

#menu ul {
 list-style: none;
 padding: 0;   /* padding to buttons */
 margin: 0 ;   /* indent from outside div */
}

#menu li {
 width: 120px;
 display: inline;
 float: left;
 position: relative;
 }

#menu a {
 text-align: center;
 font-family:  Trebuchet MS, Arial, sans-serif; 
 text-decoration: none; /* remove typical underline */
 font-size: 9pt;    /* menu text size */
 display: block;    /* treats layout of buttons like they're table cells rather than list items */
 height: 14;   /* button outside dimensions  */
 color: #ffffff;  /* link text colour */
 background-color: #a3b83b;
 border-width: 0px;
 border-right:1px;
 border-style: solid;
 border-color: #ffffff;
 margin: 0;   /* padding of button within list item */
 padding: 2;
}

#menu a:hover {  /* override as neccesary for mouse over effects */
 color: #ffffff; 
 background-color: #000000;

}

#menu li ul {  /* this one is the dropdown */
 position: absolute; /* so we can hide it */
 left: -999em;  /* by default it is hidden */
 width: 100px;  /* width of the entire dropdown */
 margin: 0;  /* relative position of the menu to the button... 0=tight on bottom.. */
 background-color: #d6d281; /* color of the entire dropdown */

}

#menu li ul a {  /* override colours for drop down buttons */
background-color:#d6d281;
 width: 100px;
 text-align:left;
 font-size: 10pt;
 color:#000000;
padding:4px;
}



#menu li ul a:hover {  /* override colours for drop down buttons */
color: #ffffff;
 background-color: #6b6941;
}

#menu ul li:hover, #menu ul li.sfhover {
 color: blue;
}

#menu ul ul ul {
 position: absolute;
 background-color: #666666; /* color of the entire dropdown */
 top: auto;  /* auto means that it will be in the typicall indented list position below the first menu */
 left: 0;   /* 0 */
 margin: -20 110;       /* adjust the margins to position the 2nd level popout menu to the right*/
 width: 100%;   /* width is based on the containing block */
}

#menu li:hover ul ul, 
#menu li:hover ul ul ul, 
#menu li.sfhover ul ul, 
#menu li.sfhover ul ul ul 
{
 left: -999em;
}

#menu li:hover ul, 
#menu li li:hover ul, 
#menu li li li:hover ul, 
#menu li.sfhover ul, 
#menu li li.sfhover ul, 
#menu li li li.sfhover ul {
 left: auto;
}