#nav {padding:0; margin:0; list-style:none; height:20px; background:#CCCCCC; position:relative; z-index:200; font-family:arial, verdana, sans-serif;}
#nav li.top {display:block; float:left;}
#nav li a.top_link {display:block; float:left; height:20px; line-height:20px; color:#FFFFFF; text-decoration:none; font-size:12px; font-weight:bold; padding:0 0 0 1px; cursor:pointer;background: #FFFFFF;}
#nav li a.top_link span {float:left; display:block; padding:0 16px 0 12px; height:20px; background: #AAAAAA;}
#nav li a.top_link span.down {float:left; display:block; padding:0 24px 0 12px; height:20px; background: #AAAAAA url(seta_baixo.gif) no-repeat right 9px;}

#nav li:hover a.top_link,
#nav a.top_link:hover{color:#FFFFFF;}
#nav li:hover a.top_link span, 
#nav a.top_link:hover span{background:#0D436F;}
#nav li:hover a.top_link span.down,
#nav a.top_link:hover span.down{background:#0D436F url(seta_baixo.gif) no-repeat right 9px; padding-bottom:0px;}

#nav table {border-collapse:collapse; padding:0; margin:0; position:absolute; left:0; top:0;}

#nav li:hover {position:relative; z-index:200;}
#nav a:hover {position:relative; white-space:normal; z-index:200;}

#nav :hover ul.sub
{left:1px; top:20px; background: #DDDDDD; padding:1px; border:1px solid #0D436F; white-space:nowrap; width:110px; height:auto; z-index:300;}
#nav :hover ul.sub li
{display:block; height:20px; position:relative; float:left; width:110px; font-weight:normal;}
#nav :hover ul.sub li a
{display:block; font-size:12px; height:18px; width:108px; line-height:18px; text-indent:5px; color:#0D436F; text-decoration:none;border:1px solid #DDDDDD;}
#nav li ul.sub li a.fly
{background:#DDDDDD url(arrow.gif) 100px 6px no-repeat;}
#nav :hover ul.sub li a:hover 
{background:#0D436F; color:#fff; border-color:#fff;}
#nav :hover ul.sub li a.fly:hover
{background:#0D436F url(arrow_over.gif) 100px 6px no-repeat; color:#fff;}

#nav li b {display:block; font-size:12px; height:; width:110px; line-height:18px; margin-bottom:1px; text-indent:6px; color:#49A3FF; border-bottom:1px solid #49A3FF; cursor:default;}

#nav a:hover a:hover ul,
#nav a:hover a:hover a:hover ul,
#nav a:hover a:hover a:hover a:hover ul,
#nav a:hover a:hover a:hover a:hover a:hover ul
{left:108px; top:-4px; background: #DDDDDD; padding:1px; border:1px solid #0D436F; white-space:nowrap; width:110px; z-index:400; height:auto;}

#nav ul, 
#nav a:hover ul ul,
#nav a:hover a:hover ul ul,
#nav a:hover a:hover a:hover ul ul,
#nav a:hover a:hover a:hover a:hover ul ul
{position:absolute; left:-9999px; top:-9999px; width:0; height:0; margin:0; padding:0; list-style:none;}

#nav li:hover li:hover > ul
{left:108px; top:1px; background: #DDDDDD; padding:1px; border:1px solid #0D436F; white-space:nowrap; width:110px; z-index:400; height:auto;}
#nav li:hover > ul ul 
{position:absolute; left:-9999px; top:-9999px; width:0; height:0; margin:0; padding:0; list-style:none;}
#nav li:hover li:hover > a.fly
{background:#0D436F url(arrow_over.gif) 100px 6px no-repeat; color:#fff; border-color:#fff;} 
#nav li:hover li:hover > li a.fly
{background:#DDDDDD url(arrow.gif) 100px 6px no-repeat; color:#0D436F; border-color:#DDDDDD;} 
