#menu {
 font-family:  Arial, sans-serif; 
 background-color: #transparent; 
color: #ffffff;
 width: 600;
 padding: 0; 
 margin: 0;
}

#menu ul {
 list-style: none;
 padding: 0;   /* padding to buttons */
 margin: 0 ;   /* indent from outside div */
 margin-top: 1px;
}

#menu li {
margin: 0; 
padding: 0;
float: left;     /* left for horizonal menu, otherwise its vertical. */
 }

#menu a {
 text-align: center;  /* position text within li button */
 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 */
 color: #000000;  /* link text colour */
 background-color: #transparent;
 border-width: 0px;
 border-right:1px;
 border-style: solid;
 border-color: #666666;
 padding: 4px 10px 4px 10px;   /* padding of text within button */
 margin: 0;   /* padding of button within list item */
}

#menu a:hover {  /* override as neccesary for mouse over effects */
 color: #ffffff; 
 background-color: #000000;
}

#menu li:hover A, #nav li.sfhover A{
 color:#ffffff;
 background-color: #b10707;
}


#menu li:hover, #menu li.sfhover {
    background: #b10707;
   color:#ffffff;
}



#menu ul ul {  /* this one is the dropdown */
 position: absolute; /* so we can hide it */
 left: -999em;  /* by default it is hidden */
 width: 150px;  /* width of the entire dropdown */
 margin: 0;  /* relative position of the menu to the button... 0=tight on bottom.. */
 background-color: #b10707; /* color of the entire dropdown */
 border-top: 1px  solid #ffffff;
}

#menu ul ul a {  /* override colours for drop down buttons */
 background-color: #b10707;
 width: 150px;
 text-align:left;
 font-size: 8pt;
 color:#ffffff;
 border-bottom: 1px  solid #ffffff;
 border-right: 1px  solid #ffffff;
 padding:5px;
}

#menu ul ul a:hover {  /* override colours for drop down buttons */
 background-color:#000;
 color: white;
}


#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: -26px 0 0 150px;   /* adjust the margins to position the 2nd level popout menu to the right*/
 width: 150px;   /* width is based on the containing block */
 border-left: 1px  solid #ffffff;
}


#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;
 z-index: 1000;
}