#access {
display: block;
width: 980px;
}
#access .menu-header,
div.menu {
border-top-color: red;
/*mueve las letras del menu*/
width: 980px;
/*centra el menu*/
margin-left:20px;
}
#access .menu-header ul,
div.menu ul {
list-style: none;
margin: 0;
}
#access .menu-header li,
div.menu li {
/*fondo del menu*/
float: left;
position: relative;
}
#access a {
/*Separacion entre boton*/
background: #33F000;
color:#ffffff;
margin-right: 4px;
border-top-width:4px;
border-top-style:solid;
border-top-color:#000000;
display: block;
line-height: 38px;
padding: 0 10px;
text-decoration: none;
font-size: 135%;
font-family: Exotc350 Bd BT;
}
#access ul ul {
/*fondo del submenu sino tiene coje el de mas arriba*/
background: #FFFFFF;
display: none;
position: absolute;
top: 38px;
left: 0;
float: left;
width: 180px;
z-index: 99999;
}
#access ul ul li {
min-width: 180px;
}
#access ul ul ul {
/*color de letra de los ya pulsados del submenu */
color:#ffffff;
left: 100%;
top: 0;
}
#access ul ul a {
/*color de letra del submenu*/
color:#ffffff;
line-height: 1em;
padding: 10px;
width: 160px;
height: auto;
}
#access li:hover > a,
#access ul ul :hover > a {
background:#FFFFFF;
color:#006600;
-moz-transition: background 0.6s;
-moz-transition: background 0.6s;
-ms-transition: background 0.6s;
-o-transition: background 0.6s;
-webkit-transition: background 0.6s;
transition: background 2s;
}
#access ul li:hover > ul {
display: block;
}
#access ul li.current_page_item > a,
#access ul li.current_page_ancestor > a,
#access ul li.current-menu-ancestor > a,
#access ul li.current-menu-item > a,
#access ul li.current-menu-parent > a {
/*ya pulsados del submenu y menu*/
}
* html #access ul li.current_page_item a,
* html #access ul li.current_page_ancestor a,
* html #access ul li.current-menu-ancestor a,
* html #access ul li.current-menu-item a,
* html #access ul li.current-menu-parent a,
* html #access ul li a:hover {
}