#menu {
  /*background: -webkit-gradient(linear, center top, center bottom, from(#ededed), to(#ccc));
  background-image: linear-gradient(#034485, #036);*/
  height:46px;
  width:1024px;
  margin:auto;
  position:relative;
  background: #036;
  box-shadow:3px 0 3px rgba(0,0,0,0.3),-3px 0 3px rgba(0,0,0,0.3);
}

.menu li {
  float: left;
  position: relative;
  list-style:none
}

.menu li a {
  box-shadow: inset 0px 2px 4px rgba(0,0,0,0.4);
  background: #3282b7;
  border-radius: 5px;
  color: #000;
  display: block;
  font-size: 14px;
  line-height: 20px;
  padding: 7px 15px;
  margin: 6px 2px;
  vertical-align: middle;
  text-decoration: none;
}

.menu li a:hover {
  background: -webkit-gradient(linear, center top, center bottom, from(#ededed), to(#fff));
  background-image: linear-gradient(#ededed, #fff);
  border-radius: 12px;
  box-shadow: inset 0px 0px 1px 1px rgba(0,0,0,0.1);
  color: #222;
}

/* Dropdown styles */

.menu ul {
  position: absolute;
  left: -9999px;
  list-style: none;
  opacity: 0;
  transition: opacity 1s ease;
}

.menu ul li {
  float: none;
}

.menu ul a {
  white-space: nowrap;
}

/* Displays the dropdown on hover and moves back into position */
.menu li:hover ul {
  background: rgba(255,255,255,0.7);
  border-radius: 0 0 6px 6px;
  box-shadow: inset 0px 2px 4px rgba(0,0,0,0.4);
  left: 5px;
  opacity: 1;
}

/* Persistant Hover State */
.menu li:hover a {
  background: -webkit-gradient(linear, center top, center bottom, from(#ccc), to(#fff));
  background-image: linear-gradient(#0e5e93, #0e5e93);
  border-radius: 5px;
  box-shadow: inset 0px 0px 1px 1px rgba(0,0,0,0.1);
  color: #fff;
}

.menu li:hover ul a {
  background: none;
  border-radius: 0;
  box-shadow: none;
}

.menu li:hover ul li a:hover {
  background: -webkit-gradient(linear, center top, center bottom, from(#eee), to(#fff));
  background-image: linear-gradient(#ededed, #fff);
  border-radius: 12px;
  box-shadow: inset 0px 0px 4px 2px rgba(0,0,0,0.3);
}
.clearfix {
  clear: both;
}

/* estilos para las redes sociales y el blog*/
.linkredes
{
  padding-top: 7px;
  left:5px;
  float: left;
  position: relative;
}

/**
  --------------------------------------------------------------------------------------------
        ESTILOS RESPONSIVOS O ADAPTABLES A DISPOSITIVOS
  --------------------------------------------------------------------------------------------      
**/
@media screen and (max-width: 768px)
{
    #menu
    {
      float: left;
      max-width:100%;
    }
    .menu li a
    {
      font-size: 12px;
      line-height: 20px;
      padding: 7px 13px;
      margin: 6px 2px;
    }
    .linkredes{display: none;}
}

@media screen and (max-width: 320px) 
{
  #menu
    {
      float: left;
      max-width:100%;
      top: 83px;
    }
    .menu li a
    {
      font-size: 11px;
      line-height: 10px;
      padding: 3px 7px;
      margin: 3px 2px;
    }
}

@media screen and (max-width: 480px) 
{
  #menu
    {
      float: left;
      max-width:100%;
    }
    .menu li a
    {
      font-size: 11px;
      line-height: 10px;
      padding: 3px 7px;
      margin: 3px 2px;
    }
}
