td,table,body{Font-Family:Arial; font-size:10pt}

h1 {Font-Family:Arial; font-size:14pt;  }

#menu {
        border-right: 0px solid #000;
        padding: 0 0 0 0;
        margin-bottom: 0;
        font-family: Arial;  
        font-size : 10pt;
        font-weight:normal;
        background-color: #ffffff;
        color: #000000;
 width: 140px;

}

        #menu ul {
                list-style: none;
                margin: 0;
                padding: 0;
                border: none;
 width: 140px;
                }

        #menu li {
border-bottom: 1px solid #ffffff;
margin-bottom: 0;
list-style: none;
}

        #menu li a {
                display: block;
                padding: 5px 5px 5px 5px;
                border-left: 0px solid #1958b7;
                border-right: 0px solid #508fc4;
                background-color: #818181;
                color: #fff;
                text-decoration: none;

                                }

#menu li a:hover {
                border-left: 0px solid #1c64d1;
                border-right: 0px solid #5ba3e0;
                background-color: #000000;
                color: #fff;
                }

        #menu li #active {
                border-left: 0px solid #1c64d1;
                border-right: 0px solid #5ba3e0;
                background-color: #020390;
                color: #fff;
                }
#menu li ul {  /* this one is the dropdown */
 position: absolute; /* so we can hide it */
 left: -999em;  /* by default it is hidden */
 width: 140px;  /* width of the entire dropdown */
 margin-left: 70px;  /* relative position of the menu to the button... 0=tight on bottom.. */
margin-top:-28px;
 background-color: #666666; /* color of the entire dropdown */

}

#menu li ul a {  /* override colours for drop down buttons */
background-color:#666666;
 width: 140px;
 text-align:left;
 font-size: 9pt;
 color:#ffffff;
 border-bottom: 0.5px  solid #ffffff;
padding: 3px 3px 3px 3px;
}

#menu li ul a:hover {  /* override colours for drop down buttons */
color: #ffffff;
 background-color: #000000;
}

#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;
}