

.menu {height:40px;position:relative; z-index:100; }
* html .menu a, * html .menu a:visited {width:194px;}

.menu ul {padding:0;margin:0;list-style-type:none;}
.menu ul.drop {padding:0;margin:0;list-style-type:none;border-top:1px solid gray;}

.menu ul ul {width:250px;}
.menu li {float:left;width:190px;position:relative;}


/* top level */
.menu a, .menu a:visited { font-family: Verdana, Arial, Helvetica, sans-serif; font-weight:bold; display:block;font-size:14px;text-decoration:none; color:#FFFFFF; width:172px; height:40px;padding-left:10px; line-height:40px; }



/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited { padding-bottom:4px; padding-top:4px;  font-weight:normal; font-size:11px;  border-bottom:1px solid gray;border-left:1px solid gray;border-right:1px solid gray; background:#FFFFE5;}
/* style the second level hover */

.menu ul ul :hover > a.drop {background-color:#ffffff;}
/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {background:#ebf4fc;border-left:1px solid #659fbd;border-bottom:1px solid #659fbd;border-right:1px solid #659fbd;}
/* style the third level hover */



/* 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:40px;left:0; width:172px;}
/* another hack for IE5.5 */
* html .menu ul ul {top:30px;top:31px;}

/* position the third level flyout menu */
.menu ul ul ul{left:172px; top:0px; }

/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {left:-150px;}

/* 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;}

/* style the second level links */
.menu ul ul a, .menu ul ul a:visited { text-align:left; background-color:#c8c8c8; color:#000; height:auto; line-height:1em; padding:5px 10px; width:240px;font-weight:normal; font-size:11px;}
/* yet another hack for IE5.5 */
* html .menu ul ul a, * html .menu ul ul a:visited {width:150px;}

/* style the top level hover */
.menu a:hover{color:#FFFF8A;}
.menu :hover > a, .menu ul ul :hover > a {color:#FFFF8A;}

.menu ul ul a:hover{color:navy; background-color:#EEEEFF;}
.menu ul ul a{ border-left:1px solid #505050;border-bottom:1px solid #505050;border-right:1px solid #505050;}
/* make the second level visible when hover on first level list 

 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;}

