body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-style: normal;
	background-color: #FFFFFF;
	color: #050566;
}

#content {

	background-color: #f4ecd9;
	padding: 1em 0;
	border: 6px double #7d6340;
	margin: auto;
	voice-family: "\"}\""; 
	voice-family:inherit;
	width: 100%;
	clear: left;
}


ul {
	padding: 0;
	margin: 0;
	list-style: none;

}


#nav a {
	text-decoration: none;
	font-weight: bold;
	color: white;
}

#nav li li a {
	display: block;
	font-weight: normal;
	color: #006;
	padding: 0.2em 0px;
	text-align: center;
}


#nav li a { /* para los elementos troncales */
	display: Block; /*para que los elementos troncales cambien en bloque, no solo el texto */
	font-weight: normal;
	color: white; /* color del texto de los elementos troncales */
	padding: 0.2em 0px;
	width: 100; /* si ponemos el 100% se sale el borde derecho en mozilla */
}

.troncal#nav li a:hover { /* para los elementos troncales */
	display: block;
	padding: 0.2em 0px;
	border: 0px s11olid #ff0000;
	border-width: 0 0px;
	color:#ffffff;
	background-image: url("imagenes/fondo_barra_encima.jpg");
	background: url("imagenes/fondo_barra_encima.jpg");

}

#nav li li a:hover {
	padding: 0.2em 0px;
	border: 5px solid #ff0000;
	border-width: 0 5px; /*ancho de los bordes de menu desplegable */
	color:#999999}

li { /* elementos desplegados */
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-style: normal;
	letter-spacing: 2px;
	color: #101066;

	text-align: center;
	cursor: default;
	background-color: white;
	border: 1px solid #101099;
	border-width: 1px 0px 0 0px;

	float: left;
	position: relative;
	/* el siguiente width es el ancho de los elementos, para ajustarlo a todo el ancho haz pruebas jeje */
	width: 132px;	/*ancho de los elementos, si no lo pongo en px lo pone debajo uno de otro*/
	z-index:21;
}


li ul {
	display:none;
	position: absolute;
	top: 17px;
	left: 0px;
	font-weight: normal;
	background: url(imagenes/fondomenu.gif) bottom left no-repeat;
	padding: 0.5em 0 1em 0;
	border-right: solid 1px #909090;
	width: 132px;
	z-index: 20;	
	
}


li>ul { /* to override top and left in browsers other than IE, which will position to the top right of the containing li, rather than bottom left */
	top: auto;
	left: auto;
}

li li {
	display: block;
	float: none;
	background-color: transparent;/* si lo quito no se muestra la imagen de fondo*/
	border: 0;
}

li:hover ul, li.over ul { /* lists nested under hovered list items */
	display: block;
}

.troncal {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	background-color: white;
	color: #FFFFFF;
	width: 100%; /* ancho de los elementos troncales */
	display: block;
	background-image: url("imagenes/fondo_barra.jpg");
	background: url("imagenes/fondo_barra.jpg");
}
.troncal_marcado {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px; 
	background-color: white;
	color: #FFFFFF;
	width: 100%; /* ancho de los elementos troncales */
	display: block;
	background-image: url("imagenes/fondo_barra_encima.jpg");
	background: url("imagenes/fondo_barra_encima.jpg");
}
.troncal a:hover {
	background-image: url("imagenes/fondo_barra_encima.jpg");
	background: url("imagenes/fondo_barra_encima.jpg");
}
