.header {
  color: #263238;
  position: relative;
  width: 100%;
  z-index: 10;
}

.header a {
  color: rgba(38, 50, 56, 0.7);
  text-decoration: none;
  -webkit-transition: color .1s ease-in-out;
  transition: color .1s ease-in-out;
}

.header .logo {
  display: block;
  width: 60px;
}

.texto-logo {
  color: white;
  line-height: 1em;
}

.texto-logo2 {
  color: white;
  line-height: 0.9em;
  font-size: 0.7em;
  padding-top: 5px;
}


.texto-logo-etsam {
  color: white;
  line-height:1em;
  font-weight:bold;
  font-size:1.4em;
}

.texto-logo-upm {
  color: white;
  line-height:1em;
  font-weight:bold;
  font-size:1.4em;
}

@media (min-width: 992px) {
  .header .logo {
    width: auto;
    height: auto;
  }
  .texto-logo {
    font-size: 0.9em;
  }
}

.header .logo-dark {
  /*display: block;*/
  display: none;
}

.header .logo-light {
  /*display: none;*/
  display: block;
}

.logo-upm {
  height: 65px;
  width: auto;
}

.header .social-menu a {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  border: 2px solid #FFF;
  border-radius: 50%;
  font-size: 10px;
  text-align: center;
  background-color: #FFF;
  color: #000;
  -webkit-transition: all .1s ease-in-out;
  transition: all .1s ease-in-out;
}

.header .social-menu a svg {
  margin: auto;
}

.header .social-menu a:hover {
  opacity: 1;
  border-color: #263238;
  background-color: #263238;
  color: #FFF;
}

.header .social-menu .social-menu--link-title {
  margin-left: -5px;
  margin-right: 10px;
}

.header--top-wrapper {
  /*background-color: rgba(0,0,0,0.1);*/
  background-color: rgba(0, 0, 0, 0.4);
  /* este es el color del 8Marzo, día de la mujer *  
  background-color: rgba(176,85,218, 0.6) !important; */
  border-bottom: 1px solid #eeeeee;
}
@media (max-width: 992px) {
  .header--top-wrapper {
  visibility: hidden;
  height: 0px;
  /*background-color: rgba(0,0,0,0.1);*/
  background-color: rgba(0, 0, 0, 0.4);
  /* este es el color del 8Marzo, día de la mujer *
   background-color: rgba(176,85,218, 0.6) !important; */ 
}

  .texto-logo {
    font-size: 0.6em;
    text-align: center;
  }
  .texto-logo2 {
    text-align: center;
  }
  .texto-logo-etsam {
    /*font-size: 2.4em;*/
    font-size: 2em;
    line-height: 0.6em;
  }
  .texto-logo-br {
    display: none;
  }
  .texto-logo-hidden {
    display: none;
  }
  .texto-logo-hidden2 {
    display: none;
  }
  .logo-upm {
    height: 43px;
    width: auto;
    padding-right: 10px;
  }

}

.header-top {
  padding: 8px 0;
  color: #000;
  font-size: 80%;
}

.header-top a {
  color: rgba(0, 0, 0, 0.7);
}

.header-top a:hover {
  color: rgba(0, 0, 0, 0.5);
}

.header--bottom-wrapper {
  /*background-color: rgba(0,0,0,0.1);*/
  background-color: rgba(0,0,0,0.4);
  /* este es el color del 8Marzo, día de la mujer *
  background-color: rgba(176,85,218, 0.6) !important;*/
  padding: 15px 0 15px;
  border-top: none;
  border-bottom: 1px solid #eeeeee;
}

.header--action-menu li {
  border-left: 1px solid #e0e0e0;
  font-size: 1.333rem;
}

.header--action-menu li:first-child {
  border-left: none;
}

.header--action-menu li:first-child button {
  padding-left: 0;
}

.header--action-menu button {
  background: transparent;
  padding: 0 1rem;
  border: none;
  cursor: pointer;
  color: #fff;
}


