#pad {height:140px;}
#menu {
padding:0;
margin:0;
list-style:none;
height:40px;
position:relative;
z-index:500;
color: #00C0F3;
font-size: 10px;
font-family:Arial;
}

#menu li {float:left; margin-right:1px;}
#menu li a {display:block; float:left; height:40px; line-height:40px;font-size: 13px; background:#3e3e3e; color: #00C0F3; text-decoration:none; padding:0 15px 0 15px;}


#menu table {border-collapse:collapse; width:0; height:0; position:absolute; top:0; left:0;}

/* Default link styling */

/* Style the list OR link hover. Depends on which browser is used */

#menu li a:hover {z-index:200; position:relative;color:#00C0F3; background-color:#3e3e3e;}
#menu li:hover {position:relative; z-index:200;}

#menu li:hover > a {color:#00C0F3; background:#3e3e3e;}
#menu li:hover > a.sub {color:#00C0F3; background-color:#3e3e3e;}

#menu li.current a {color:#00C0F3; background:#3e3e3e;}

#menu li a.sub {background: #3e3e3e;}
#menu li.current a.sub {color:#00C0F3; background:#3e3e3e;}

#menu :hover ul {left:0; top:40px; background:#3e3e3e;}

/* keep the 'next' level invisible by placing it off screen. */
#menu ul,
#menu :hover ul ul {position:absolute; left:-9999px; top:-9999px; width:0; height:0; margin:0; padding:0; list-style:none;}

#menu :hover ul :hover ul
{left:180px; top:-1px; background:#3e3e3e; white-space:nowrap; width:280px; z-index:200; height:auto;}

#menu :hover ul li {margin:0; border-top:1px solid #3e3e3e;}
#menu :hover ul li a {width:180px; padding:0; text-indent:10px; background:#3e3e3e; color:#ccc; height:30px; line-height:30px;}
#menu :hover ul li a.fly {background:#000;}

#menu :hover ul :hover {background-color:#3e3e3e; color:#00C0F3;}
#menu :hover ul :hover a.fly {background-color:#3e3e3e; color:#00C0F3;}

#menu :hover ul li.currentsub a {background:#3e3e3e; color:#00C0F3;}
#menu :hover ul li.currentsub a.fly {background:#3e3e3e; color:#00C0F3;}

#menu :hover ul :hover ul li a {width:100px; padding:0; text-indent:10px; background:#3e3e3e; color:#ccc;}
#menu :hover ul :hover ul :hover {background-color:#3e3e3e; color:#00C0F3;}

#menu :hover ul :hover ul li.currentfly a,
#menu :hover ul :hover ul li.currentfly a:hover {background:#3e3e3e; color:#00C0F3;}

