#topnav, 
#topnav ul {padding:0 0 5px 0; margin:0; list-style:none; font: 10px verdana, sans-serif; position:relative; z-index:200;}
#topnav {height:42px; padding:0;}

#topnav table {border-collapse:collapse;}
#topnav li {float:left;}
#topnav li li {float:none;}
/* a hack for IE5.x and IE6 */
#topnav li a li {float:left;}

#topnav li a {display:block; float:left; color:#f2f2f2; height:25px; padding-right:5px; line-height:25px; text-decoration:none; white-space:nowrap;
background:transparent url("images/tnav-bg.gif") no-repeat bottom center; padding:3px 16px 13px 16px;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: bold; margin-right: 2px;}
#topnav li li a {height:20px; line-height:20px; float:none; text-decoration: none;}
#topnav li a.current{
color:#fff;
background:transparent url("images/hover-bg.gif") no-repeat bottom center; text-decoration: none;
}
#topnav li a:hover{background:transparent url("images/nav-bg-hover.gif") no-repeat bottom center;} 
#topnav li:hover {position:relative; z-index:300; background:#fff;}
#topnav li li a { border: none; text-decoration: none;} 
#topnav a:hover {position:relative; z-index:300; text-decoration:underline; color:#b75;}
#topnav li li {background-color:#94C1EB; border-bottom:3px solid #fff; height:30px; width: 210px;}
#topnav li li:hover {background-color:#326FA5;}
#topnav li li a{ background-image: none;}
#topnav li li a:hover { background-image: none;  text-decoration: none;}

#topnav :hover ul {left:0; top:40px;}
/* another hack for IE5.5 and IE6 */
#topnav a:hover ul {left:-10px;}

#topnav ul {position:absolute; left:-9999px; top:-9999px;}

/* it could have been this simple if all browsers understood */
/* show next level */
#topnav li:hover li:hover > ul {left:-15px; margin-left:100%; top:-1px;}
/* keep further levels hidden */
#topnav li:hover > ul ul {position:absolute; left:-9999px; top:-9999px; width:auto;}
/* show path followed */
#topnav li:hover > a {text-decoration:underline; color:#f2f2f2; text-decoration: none;}


/* but IE5.x and IE6 need this lot to style the flyouts*/
/* show next level */
#topnav a:hover a:hover ul,
#topnav a:hover a:hover a:hover ul,
#topnav a:hover a:hover a:hover a:hover ul,
#topnav a:hover a:hover a:hover a:hover a:hover ul
{left:100%; top:-1px;}

/* keep further levels hidden */
#topnav a:hover ul ul,
#topnav a:hover a:hover ul ul,
#topnav a:hover a:hover a:hover ul ul,
#topnav a:hover a:hover a:hover a:hover ul ul
{position:absolute; left:-9999px; top:-9999px;}
