

.menu {width:100%; height:39px; font-size:12px; position:relative; z-index:2;font-family:Tahoma;font-size:12px;}
/* hack to correct IE5.5 faulty box model */
* html .menu {width:565px; w\idth:564px;}
/* 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:170px;}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {float:left;position:relative;text-align:center;border-right:solid 1px white;border-left:solid 1px white;}
/* style the links for the top level */
.menu a, .menu a:visited {display:block;font-size:12px;font-weight:bold;text-decoration:none; color:#ffffff; height:39px; line-height:39px;}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {}

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {background:#e9eaef;}
/* style the second level hover */
.menu ul ul a.drop:hover{background:#e9eaef;}
.menu ul ul :hover > a.drop {background:#e9eaef;}
/* style the third level background */
.menu ul ul ul li{background:#e9eaef;}
.menu ul ul ul a, .menu ul ul ul a:visited {background:#e9eaef;}
/* style the third level hover */
.menu ul ul ul a:hover {background:black;}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {visibility:hidden;position:absolute;height:0;top:39px;left:0; width:149px;}
/* another hack for IE5.5 */
* html .menu ul ul {top:39px;t\op:39px;}

/* position the third level flyout menu */
.menu ul ul ul{left:176px;_left:175px; top:-1px; width:170px;}
/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {left:-149px;}

/* style the table so that it takes no ppart in the layout - required for IE to work */
.menu table {position:absolute; top:0; left:0; border-collapse:collapse;}

.menu ul ul li{background:#e9eaef;text-align:left;border-bottom:solid 1px #cccccc;border-right:1px solid #666666;border-left:solid 1px #cccccc;}

/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {background:Transparent;font-family:Arial;color:black; height:21px;font-weight:bold; line-height:21px;padding-left:5px; width:170px;}
/* yet another hack for IE5.5 */
* html .menu ul ul a, * html .menu ul ul a:visited {width:170px;w\idth:170px;}

/* style the top level hover */
.menu a:hover{color:white; background:Transparent;}
.menu ul ul a:hover{color:white; background:#333333;}
.menu :hover > a {color:gray;background:Transparent;}
.menu ul ul :hover > a {color:white;background:#333333;}

/* 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;}

