/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/skeleton.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.
=================================================================== */
/*
Color ROJO base: #C82026
Color AZUL base: #007D7F
*/

#nav{
	padding:1px 0px 5px 0px; 
	margin-top:0px; 
	margin-bottom: -20px;
	list-style:none; 
	border:3px solid gray; 
	float: auto; 
	border-width:0px 3px 3px 0px; 
	background:url(../images/red_background.gif) top left;			
	z-index:200;
	width: 797px;
	margin-left:auto;
	margin-right:auto;
}

/* Despliega Vertical */

#nav ul{
	padding:1px 0px 5px 0; 
	margin:3px; 
	list-style:none; 
	border:0px solid #000; 
	border-color:grey;
	float: auto; 
	border-width:0px 3px 3px 0px; 
	background: url(../images/red_background.gif) top left;			
	position:relative; 
	z-index:200;
	margin-left:auto;
	margin-right:auto;
} 


#nav {height:25px; padding:0px;}

#nav table {border-collapse:collapse;}
#nav li {float:left; padding:0 0px 0 15px;}
#nav li li {float:none;}
/* a hack for IE5.x and IE6 */
#nav li a li {float:left;}

#nav li a {display:block; float:left; color:#fff; height:25px; padding-right:5px; line-height:25px; text-decoration:none; white-space:nowrap;}
#nav li li a {height:20px; line-height:20px; float:none;}

#nav li:hover {
	position:relative; z-index:300; 
	background:transparent url(../images/over.gif) top left;			
}
#nav a:hover {
	position:relative; 
	z-index:300; 
	text-decoration:none; 
	color:#007D7F;
}	
#nav :hover ul {left:0; top:22px;}
/* another hack for IE5.5 and IE6 */
#nav a:hover ul {left:-10px;}

#nav ul {position:absolute; left:-9999px; top:-9999px;}

/* it could have been this simple if all browsers understood */
/* show next level */
#nav li:hover li:hover > ul {left:-15px; margin-left:100%; top:-1px;}
/* keep further levels hidden */
#nav li:hover > ul ul {position:absolute; left:-9999px; top:-9999px; width:auto;}
/* show path followed */

#nav li:hover > a {
	text-decoration:none; 
	color:#ffffff; 
	font-weight:normal; 
	white-space:nowrap;
}

/* but IE5.x and IE6 need this lot to style the flyouts*/
/* show next level */
#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:100%; top:-1px;}

/* keep further levels hidden */
#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;}
