/* ================================================================ 
This copyright notice must be kept untouched in the stylesheet at 
all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/pro_drop6.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */
#nav {
	padding:0;
	margin:0;
	list-style:none;
	height:20px;
	position:relative;
	z-index:200;
	font-family:"Times New Roman", Times, serif;
}
#nav li.top {display:block; float:left; }
#nav li a.top_link {
	display:block;
	float:left;
	height:43px;
	line-height:18px;
	text-decoration:none;
	font-size:14px;
	font-weight:bold;
	padding:0;
	cursor:pointer;
	color:#4B5D67;
}
#nav li a.top_link span {float:left; width:114px; display:block; padding:0; height:43px; text-align:center; _position:absolute;}
#nav li a.top_link span.down {float:left; width:109px; display:block; padding:0; height:45px;}

#nav li:hover a.top_link,
#nav a.top_link:hover
{color:#FFFFFF; height:20px;}
/*#nav li:hover a.top_link span, 
#nav a.top_link:hover span
{}*/
#nav li:hover a.top_link span.down,
#nav a.top_link:hover span.down
{padding: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:43px;
	padding:0px;
	white-space:nowrap;
	width:107px;
	height:auto;
	z-index:300;
	background-color: #000033;
	border:1px solid #0b4d97;
}
#nav :hover ul.sub li
{display:block; height:20px; position:relative; float:left; width:100px; font-weight:normal;}
#nav :hover ul.sub li a
{
	display:block;
	font-size:12px;
	height:18px;
	width:104px;
	line-height:18px;
	text-indent:5px;
	color:#FFFFFF;
	text-decoration:none;
	border:1px solid #CCCCCC;
}
#nav :hover ul.sub li a:hover 
{background:#3f96a9; color:#fff; border-color:#fff;}

/*#nav li b {display:block; height:18px; width:88px; line-height:18px; margin-bottom:3px; text-indent:6px; color:#ff6;  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:89px; top:-4px; background: #50b5d0; padding:3px; white-space:nowrap; width:90px; 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:90px; top:-4px; background: #50b5d0; padding:3px; white-space:nowrap; width:90px; 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;}

/** menu dois **/
#nav2 {
	padding:0;
	margin:0;
	list-style:none;
	height:22px;
	position:relative;
	z-index:200;
	font-family:"Times New Roman", Times, serif;
}
#nav2 li.top2 {display:block; float:left;}
#nav2 li a.top_link2 {
	display:block;
	float:left;
	height:19px;
	line-height:18px;
	color:#A5BFCC;
	text-decoration:none;
	font-size:12px;
	font-weight:bold;
	padding:0;
	cursor:pointer;
}
#nav2 li a.top_link2 span { padding-top:4px; float:left; width:150px; display:block; height:19px; text-align:center;
	background:url(http://www.apamagis.com.br/imagens/botao.png) no-repeat top left; 	
	_background:none; 	
	filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://www.apamagis.com.br/imagens/botao.png', sizingMethod='scale');
 }
#nav2 li a.top_link2 span.down2 {float:left; width:150px; display:block; padding-top:4px; height:19px;}

#nav2 li:hover a.top_link2,
#nav2 a.top_link2:hover
{color:#FFFFFF; height:22px;}

#nav2 li:hover a.top_link2 span.down2,
#nav2 a.top_link2:hover span.down2
{ color:#FFFFFF; padding-top:4px; height:19px;}

#nav2 table {border-collapse:collapse; padding:0; margin:0; position:absolute; left:0; top:0;}

#nav2 li:hover {position:relative; z-index:200;}
#nav2 a:hover {position:relative; white-space:normal; z-index:200;}

#nav2 :hover ul.sub2
{
	left:20px;
	top:23px;
	padding:0px;
	white-space:nowrap;
	width:107px;
	height:auto;
	z-index:300;
	background-color: #000033;
	border:1px solid #0b4d97;
}
#nav2 :hover ul.sub2 li
{display:block; height:20px; position:relative; float:left; width:100px; font-weight:normal;}
#nav2 :hover ul.sub2 li a
{
	display:block;
	font-size:12px;
	height:18px;
	width:104px;
	line-height:18px;
	text-indent:5px;
	color:#FFFFFF;
	text-decoration:none;
	border:1px solid #CCCCCC;
}
#nav2 :hover ul.sub2 li a:hover 
{background:#3f96a9; color:#fff; border-color:#fff;}

/*#nav2 li b {display:block; height:18px; width:88px; line-height:18px; margin-bottom:3px; text-indent:6px; color:#ff6;  cursor:default;}*/

#nav2 a:hover a:hover ul,
#nav2 a:hover a:hover a:hover ul,
#nav2 a:hover a:hover a:hover a:hover ul,
#nav2 a:hover a:hover a:hover a:hover a:hover ul
{left:89px; top:-4px; background: #50b5d0; padding:3px; white-space:nowrap; width:90px; z-index:400; height:auto;}

#nav2 ul, 
#nav2 a:hover ul ul,
#nav2 a:hover a:hover ul ul,
#nav2 a:hover a:hover a:hover ul ul,
#nav2 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;}

#nav2 li:hover li:hover > ul
{left:90px; top:-4px; background: #50b5d0; padding:3px; white-space:nowrap; width:90px; z-index:400; height:auto;}
#nav2 li:hover > ul ul 
{position:absolute; left:-9999px; top:-9999px; width:0; height:0; margin:0; padding:0; list-style:none;}
