.menu {
float:left; width:100%;
font-family: verdana, arial, sans-serif;
font-size:12px; border-top:1px solid #000000;
margin:0 0 0 0;
background:#f0f0f0;
width:685px;
}

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
padding:0;margin:0;list-style-type:none;
}
/* style the list items */
.menu li {
background:url(../imagenes/bgmenu.png);
/* for IE7 */
float:left;
}

.menu li.sub {background:#000000 url(sub.gif) no-repeat right center;} 

/* get rid of the table */
.menu table {position:absolute; border-collapse:collapse; top:0; left:0; z-index:100; font-size:1em;}

/* style the links */
.menu a, .menu a:visited, .menu a:link {
display:block; 
text-decoration:none;
line-height:25px;
width:137px; padding:4px 0;
color:#FFFFFF;
text-indent:5px;
border:0px solid #000000;
border-width:0px 0 0 0;
}
/* hack for IE5.5 */
* html .menu a, * html .menu a:visited {width:137px; w\idth:137px;}
/* style the link hover */
* html .menu a:hover {color:#FFFFFF; background:url(../imagenes/button.png); position:relative;}

.menu li:hover {position:relative;}

/* For accessibility of the top level menu when tabbing */
.menu a:active, .menu a:focus {color:#FFFFFF; background:url(../imagenes/button.png);}

/* retain the hover colors for each sublevel IE7 and Firefox etc */
.menu li:hover > a {color:#FFFFFF; background:url(../imagenes/button.png);}
 
/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu li ul {
visibility:hidden;
position:absolute;
top:5px;
/* set up the overlap (minus the overrun) */
left:0;
/* set up the overrun area */
padding:28px;
/* this is for IE to make it interpret the overrrun padding */
background:transparent;
}

/* for browsers that understand this is all you need for the flyouts */
.menu li:hover > ul {visibility:visible;}


/* for IE5.5 and IE6 you need to style each level hover */

/* keep the third level+ hidden when you hover on first level link */
.menu ul a:hover ul ul{
visibility:hidden;
}
/* keep the fourth level+ hidden when you hover on second level link */
.menu ul a:hover ul a:hover ul ul{
visibility:hidden;
}
/* keep the fifth level hidden when you hover on third level link */
.menu ul a:hover ul a:hover ul a:hover ul ul{
visibility:hidden;
}

/* make the second level visible when hover on first level link */
.menu ul a:hover ul {
visibility:visible;
}
/* make the third level visible when you hover over second level link */
.menu ul a:hover ul a:hover ul{ 
visibility:visible;
}
/* make the fourth level visible when you hover over third level link */
.menu ul a:hover ul a:hover ul a:hover ul { 
visibility:visible;
}
/* make the fifth level visible when you hover over fourth level link */
.menu ul a:hover ul a:hover ul a:hover ul a:hover ul { 
visibility:visible;
}

