#cssmenu ul,
#cssmenu li,
#cssmenu span,
#cssmenu a {
  margin: 0;  /* espacio superior (debajo del menu) */
  padding: 0;  /* espacio izquierdo margen (derecha del menu) */
  position: relative;
}
#cssmenu:after,
#cssmenu ul:after {
  content: '';
  display: block;
  clear: both;
}
#cssmenu a {
  color: #ffffff;
  display: inline-block;
  font-family: Arial;
  font-size: 12px;
  font-weight: bold;
  min-width: 30px;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 -1px 0 #000080;
}
#cssmenu ul {
  list-style: none;
}
#cssmenu > ul > li {
  float: left;
  
         /* FONDO DE INICIOOOOO */
}
#cssmenu > ul > li.active a {
  /* background: #004F9D url(grad_dark.png) repeat-x left bottom;   QUITADO NO EXISTE FONDO */
  background: #004F9D;

         /* FONDO DE INICIO en firefox*/
         
  background: -moz-linear-gradient(top, #004F9D 0%, #004F9D 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #5B69A6), color-stop(100%, #5B69A6));

         /* FONDO DE INICIO en chrome*/
         
  background: -webkit-linear-gradient(top, #004F9D 0%, #004F9D 100%);
  
  background: -o-linear-gradient(top, #5B69A6 0%, #5B69A6 100%);
  background: -ms-linear-gradient(top, #5B69A6 0%, #5B69A6 100%);
  background: linear-gradient(to bottom, #5B69A6 0%, #5B69A6 100%);
  filter: progid:dximagetransform.microsoft.gradient(startColorstr='#5B69A6', endColorstr='#5B69A6', GradientType=0);
  box-shadow: inset 0 0 10px #5B69A6, inset 0 10px 10px #5B69A6;
  -moz-box-shadow: inset 0 0 10px #5B69A6, inset 0 10px 10px #5B69A6;
  -webkit-box-shadow: inset 0 0 10px #5B69A6, inset 0 10px 10px #5B69A6;
  filter: none;
  
           /* FONDO DE INICIOOOOO */
           
}
#cssmenu > ul > li.active a:hover {
  background: -moz-linear-gradient(top, #004080 0%, #004080 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #5B69A6), color-stop(100%, #5B69A6));
  background: -webkit-linear-gradient(top, #004080 0%, #004080 100%);
  background: -o-linear-gradient(top, #5B69A6 0%, #5B69A6 100%);
  background: -ms-linear-gradient(top, #5B69A6 0%, #5B69A6 100%);
  background: linear-gradient(to bottom, #5B69A6 0%, #5B69A6 100%);
  filter: progid:dximagetransform.microsoft.gradient(startColorstr='#5B69A6', endColorstr='#5B69A6', GradientType=0);
  filter: none;
}
#cssmenu > ul > li a {
  box-shadow: inset 0 0 0 1px #5B69A6;
  -moz-box-shadow: inset 0 0 0 1px #5B69A6;
  -webkit-box-shadow: inset 0 0 0 1px #5B69A6;

       /* FONDO MENU FONDO --- DE TODO EL MENU (MENOS DE INICIO) */

  /* background: #004F9D url(grad_dark.png) repeat-x left top;  QUITADO NO EXISTE FONDO */
  background: #004F9D;
    
  background: -moz-linear-gradient(top, #5B69A6 0%, #5B69A6 %, #5B69A6 51%, #5B69A6 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #8a8a8a), color-stop(50%, #707070), color-stop(51%, #626262), color-stop(100%, #787878));
  background: -webkit-linear-gradient(top, #004F9D 0%, #004F9D 50%, #004F9D 51%, #004F9D 100%);
  background: -o-linear-gradient(top, #5B69A6 0%, #5B69A6 50%, #5B69A651%, #5B69A6 100%);
  background: -ms-linear-gradient(top, #5B69A6 0%, #5B69A6 50%, #5B69A6 51%, #5B69A6 100%);
  background: linear-gradient(to bottom, #5B69A6 0%, #5B69A6 50%, #5B69A6 51%, #5B69A6 100%);
  filter: progid:dximagetransform.microsoft.gradient(startColorstr='#000080', endColorstr='#5B69A6', GradientType=0);
  
         /* FONDO MENU FONDO ---  FONDO DE TODO EL MENU (MENOS DE INICIO) */
         
         
         /* Color borde del menu ensi sin desplegable */
         /* ANCHO DEL MENU */
  border-bottom: 1px solid #ffffff;
  border-top: 1px solid #ffffff;
  border-right: 1px solid #ffffff;
  line-height: 28px;  /* alto del menu*/
  padding: 0 16px;  /* largo total de todo el menu */
  filter: none;
        /* ANCHO DEL MENU */
       /* este es fondo  background: #004080 */
       
}
#cssmenu > ul > li a:hover {
  /* background: #004080 url(grad_dark.png) repeat-x left bottom;  QUITADO NO EXISTE FONDO */
  background: #004080;
    
  background: -moz-linear-gradient(top, #004080 0%, #004080 50%, #004080 51%, #004080 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #5B69A6), color-stop(50%, #5B69A6), color-stop(51%, #004080), color-stop(100%, #004080));
  background: -webkit-linear-gradient(top, #004080 0%, #004080 50%, #004080 51%, #004080 100%);
  background: -o-linear-gradient(top, #004080 0%, #004080 50%, #004080 51%, #004080 100%);
  background: -ms-linear-gradient(top, #004080 0%, #004080 50%, #004080 51%, #004080 100%);
  background: linear-gradient(to bottom, #004080 0%, #004080 50%, #004080 51%, #004080 100%);
  filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ffffff', endColorstr='#004080', GradientType=0);
  filter: none;
         /* este es fondo  background: #004080 */
         
}
#cssmenu > ul > li:first-child a {
  border-radius: 10px 0 0 5px;  /* dobladura del borde superior del menu izquierdo */
  -moz-border-radius: 5px 0 0 5px;
  -webkit-border-radius: 5px 0 0 5px;
  border-left: 1px solid #ffffff;
}
#cssmenu > ul > li:last-child a {
  border-radius: 0 5px 5px 0;
  -moz-border-radius: 0 5px 5px 0;
  -webkit-border-radius: 0 5px 5px 0;
}
#cssmenu .has-sub:hover ul {
  display: block;
}
#cssmenu .has-sub ul {
  display: none;
  position: absolute;
  top: 30px;  /* desde se desplega menu, espacio inferior donde aparece submenu */
  left: -1px;
  min-width: 100%;
  text-align: center;
  /* IE7 */

  *width: 100%;
  
         /* ESPACIO TAMANŅO CUADRITO DESPLEGABLE */
}
#cssmenu .has-sub ul li {
  text-align: center;
}
#cssmenu .has-sub ul li a {
  border-top: 0 none;
  border-left: 1px solid #5d5d5d;
  display: block;
  line-height: 110%;  /* tamaņo de ALTO del cuadrito desplegable */
  padding: 7px 5px;
  text-align: center;
}