/* ================================================================ 
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.stunicholls.com/menu/pro_drop_1.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; 
	width:100%; 
	height:28px; 
	background: #04579f; 
	position:relative; 
	z-index:500; 
	font-family:Trebuchet MS;
}

#nav li.top
{
	display:block; 
	float:left; 
	width:auto;
}

#nav li a.top_link 
{
	display:block; 
	float:left; 
	height: 28px;
	line-height:27px; 
	color:#fff; 
	text-decoration:none;
	text-align:center;  
	font-weight:bold; 
	padding:0 0 0 12px; 
	cursor:pointer;
	border-right: 1px solid #fff;
}

#nav li a.top_link span 
{ 
	display:block; 
	padding:1px 24px 0 12px; 
	width: auto;
	background: #04579f;
}

#nav li a.top_link span.down
{
	float:left; 
	display:block;
	padding:1px 18px 0 12px; 
	margin-right: 7px;
	height: 27px;
	background: #04579f url(../../img/Menu/arrow-down.gif) no-repeat right center;
}

#nav li a.top_link:hover 
{
	color:#fff; 
	background: #666666;
}

#nav li a.top_link:hover span {background: #666666;}

#nav li a.top_link:hover span.down {background:url(../../img/Menu/arrow-down.gif) no-repeat right center;}

#nav li:hover > a.top_link 
{
	color:#fff; 
	background: #666666;
}

#nav li:hover > a.top_link span.down {background:url(../../img/Menu/arrow-down.gif) no-repeat right center;}

/* Default list styling */

#nav li:hover 
{
	position:relative; 
	z-index:200;
}

/* keep the 'next' level invisible by placing it off screen. */
#nav ul, 
#nav li:hover ul ul,
#nav li:hover ul li:hover ul ul,
#nav li:hover ul li:hover ul li:hover ul ul,
#nav li:hover ul li:hover ul li:hover ul li:hover ul ul
{
	position:absolute; 
	left:-9999px; 
	top:-9999px; 
	width:130px;
	height:0; 
	margin:0; 
	padding:0; 
	list-style:none;
}

#nav li:hover ul.sub
{
	/*Bloque gris claro del submenu*/
	left:0; 
	top:28px; 
	background: #e5e5e5; 
	border: 1px solid #B8B6B7;
	white-space:nowrap; 
	height:auto; 
	z-index:300;
	width: 170px;
}

#nav li:hover ul.sub li
{
	/*Bloque gris oscuro del submenu*/
	display:block; 
	height:30px; 
	position:relative; 
	float:left; 
	font-weight:normal;
	width: auto;
	padding-top: 2px;
}

#nav li:hover ul.sub li a
{
	display:block; 
	font-size:9pt; 
	height:21px; 
	width:130px; 
	line-height:20px; 
	text-indent:5px; 
	text-align: left;
	color:#000; 
	text-decoration:none;
	padding: 5px;
	margin-top: -1px;
}

#nav li:hover ul.sub li a:hover 
{
	background:#666666; 
	color:#fff;
	height: 21px;
	width: 160px;
	margin-top: -1px;
	padding: 5px;
	text-align: left;
}

#nav li:hover ul li:hover ul,
#nav li:hover ul li:hover ul li:hover ul,
#nav li:hover ul li:hover ul li:hover ul li:hover ul,
#nav li:hover ul li:hover ul li:hover ul li:hover ul li:hover ul
{
	left:125px; 
	top:-4px; 
	background: #fff; 
	padding:0px; 
	border:1px solid #f0ab00; 
	white-space:nowrap; 
	width:auto; 
	z-index:400; 
	height:auto;
}