/* style the outer div to give it width */
.menu {
width:930px;
height:30px;
font-size:0.85em;
text-align:justify; 
letter-spacing:3px;
z-index: 1000;
position:relative;
top:6px;
}
/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
padding:0;
margin:0;
list-style-type:none;
}
.menu ul ul {
width:155px;
}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {
float:left;
width:155px;
position:relative;

}
/* style the links for the top level */
.menu a, .menu a:visited {
background:transparent url(../img/background_menu.gif);

display:block;
font-size:11px;
text-decoration:none; 
color:#fff; 
width:144px; 
height:30px; 
border:1px solid #fff; 
border-width:1px 1px 0 0; 
 
padding-left:10px; 
line-height:29px;
}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {
width:155px;
width:144px;
}

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {
background:#949e7c;
}
/* style the second level hover */
.menu ul ul a.drop:hover {
background:#c9ba65;
}
.menu ul ul :hover > a.drop {
background:#c9ba65;
}

.menu ul ul ul :hover > a {
background:#b2ab9b;
}

/* style the table so that it takes no part in the layout - required for IE to work */
.menu table {border-collapse:collapse; border:0; position:absolute; left:0; bottom:-1px;}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {
visibility:hidden;
position:absolute;
bottom: -44px;
left:0; 
width:155px;
}
* html .menu ul ul {
bottom: -44px;
}

/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {
background:transparent url(../img/opaque2.png); 
color:#000; 
height:auto; 
line-height:1em; 
padding:5px 10px; 
width:136px;
letter-spacing:2px;
/* yet another hack for IE5.5 */
}

.menu ul li a:hover ul {
background:transparent;
filter: alpha(opacity=80); 
filter: progid:DXImageTransform.Microsoft.Alpha(opacity=80);
-moz-opacity: 0.80;
opacity:0.8;
}

* html .menu ul ul a{
width:155px;
width:136px;
}


/* style the top level hover */
.menu ul ul a:hover{
color:#fff; 
background: url(../img/background_menu_activo_sub2.gif) repeat-x;
}
.menu a:hover{
color:#fff; 
background: url(../img/background_menu_activo.gif) repeat-x;
}
.menu :hover > a, .menu ul ul :hover > a {
color:#fff;
background:# url(../img/background_menu_activo.gif) repeat-x;
}

/* make the second level visible when hover on first level list OR link */
.menu ul li:hover ul,
.menu ul a:hover ul{
visibility:visible;
height:auto;
}
