

.menu {background:#FFF;width:500px; height:36px; font-size:1.0em; position:relative; z-index:100;padding-left:0.0em;}

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {padding:0;margin:0;list-style-type:none;}
.menu ul ul {width:164px;}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {float:left;width:164px;position:relative;}
/* style the links for the top level */
/*good  controls the blue menu bar*/
/*.menu a, .menu a:visited {display:block;font-size:0.95em;text-decoration:none; color:#FFF; width:205px; height:32px; border:1px solid #000; border-width:2px 2px 2px 2px;border-color:green;  background:#0000AD; padding-left:10px; line-height:30px;} */
.menu a, .menu a:visited {display:block;font-size:0.95em;text-decoration:none; color:#FFF; width:160px; height:32px; border:1px solid #000;   background-image: url(gradient4.gif); background-repeat: repeat-y;padding-left:10px; line-height:30px;}  

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {background:#66CC99 url(drop.gif) center right no-repeat;}
/* style the second level hover */
.menu ul ul a.drop:hover{background:#CCFFCC url(drop.gif) center right no-repeat;}
.menu ul ul :hover > a.drop {background:#33FF33 url(drop.gif) center right no-repeat;}
/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {background:#CCFFFF;}
/* style the third level hover */
.menu ul ul ul a:hover {color:#000; background:#99CCCC;}


/* hide the sub levels and give them a positon absolute so that they take up no room */
/*controls the first drop-downs */
.menu ul ul {visibility:hidden;position:absolute;height:0;top:33px;left:0; width:29px;border-top:1px solid #000;}


/* position the third level flyout menu */
/*.menu ul ul ul{left:175px; top:-5px; width:179px;}*/
.menu ul ul ul{left:16.3em; top:-0.1em; width:16.3em;}
.menu ul ul ul.outside_ref{left:-16.4em; top:-16.6em; width:16.4em;}
/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {left:-179px;}

/* style the table so that it takes no part in the layout - required for IE to work */
.menu table {position:absolute; top:0; left:0; border-collapse:collapse;;}

/* style the second level links */
/*control the length of both drop-down and flyout*/
.menu ul ul a, .menu ul ul a:visited {background:#66CC99; color:#000; height:auto; line-height:1.4em; padding:.5em .8em; width:15.5em;border-width:0 1px 1px 1px;}


/* style the top level hover */
.menu a:hover {color:#FFF; background:#00FF00;}
.menu ul ul a:hover{color:#FFF; background:#00FF00;}    /*00FF00*/
/*.menu :hover > a {color:#FFF;background:#3366FF;} */  /*top menu items on hover good*/
.menu :hover > a {background-image: url(gradient_level1_hover.gif); background-repeat: repeat-y;}   /*top menu items on hover good*/
.menu ul ul :hover > a {color:#000;background:#33FF33;}  /*light green on hover on level two good*/

/* make the second level visible when hover on first level list OR link */
.menu ul li:hover ul,
.menu ul a:hover ul{visibility:visible; }
/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{visibility:hidden;}
/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul{ visibility:visible;}