header {
  height: 120px;
  background-color: #FFFFFF !important;
  padding-top: 10px;
}

.active-open {
  font-weight: bold;
}

.banner {
  display: flex;
  align-items: center;
  height: 60px;
  padding: 9.68px 90px;
  background-color: #e32029;
  justify-content: space-between;
}

.logo {
  width: 20%;
}

.logo img {
  width: 200px;
  height: auto;
  transition: all 0.3s;
}

.logo img:hover {
  transform: scale(1.2);
}

.nav-principal {
  //width: 35em;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  color: #797979;
}

.login,
.otros,
.buscar {
  display: flex;
  align-items: center;
  text-align: start;
  position: relative;
  cursor: pointer;
}

.login-desplegable,
.otros-desplegable,
.otros-desplegable-res {
  display: none;
  position: absolute;
  width: 200px !important;
  top: 100%;
  left: 0;
  background-color: white;
  padding: 10px;
  border: 0.5px solid #ccc;
  box-shadow: 0px 8px 6px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  z-index: 1;
  margin-top: 5px !important;
}

.login-desplegable-res {
  display: none;
  position: absolute;
  width: 200px !important;
  top: 2.2em;
  left: -20px;
  background-color: white;
  padding: 10px;
  border: 0.5px solid #ccc;
  box-shadow: 0px 8px 6px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  z-index: 1;
}

.login-desplegable ul,
.otros-desplegable ul,
.login-desplegable-res ul,
.otros-desplegable-res ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.login-desplegable li,
.otros-desplegable li,
.login-desplegable-res li,
.otros-desplegable-res li {
  padding: 4px 0;
}

.login-desplegable li a,
.otros-desplegable li a,
.login-desplegable-res li a,
.otros-desplegable-res li a {
  text-decoration: none;
  color: #212529;
}

.login-desplegable li a:hover,
.otros-desplegable li a:hover,
.login-desplegable-res li a:hover,
.otros-desplegable-res li a:hover {
  color: rgb(32, 32, 32);
}

.buscar-desplegable,
.buscar-desplegable-res {
  display: none;
  position: absolute;
  //width: 220px !important;
  top: 100%;
  right: 5%;
  background-color: white;
  padding: 10px;
  border: 0.5px solid #ccc;
  box-shadow: 0px 8px 6px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  z-index: 1;
  margin-top: 5px !important;
  margin-right: 0 !important;
}

.buscar-desplegable div,
.buscar-desplegable-res div {
  width: 100%;
  margin: 0 !important;
}

.buscar-desplegable input,
.buscar-desplegable-res input {
  border: none;
  outline: none !important;
}

.otros-union-flecha {
  display: flex;
  align-items: center;
  justify-content: center;
}

.otros-union-flecha img,
.otros-union-flecha span {
  display: inline-block;
  vertical-align: middle;
}

.border-bottom {
  display: flex;
  border-bottom: 1px solid rgba(209, 209, 209, 0.753);
}

.grayscale-90 {
  filter: invert(60%) sepia(15%) saturate(9%) hue-rotate(321deg) brightness(85%) contrast(85%) !important;
}

.flecha-login,
.flecha-otros,
.flecha-otros-res,
.flecha-login-res {
  height: 20px;
  margin-right: 3px;
  transition: transform 0.5s ease;
}

.rotar-90 {
  transform: rotate(90deg);
}

.nav-principal div {
  width: auto;
  margin-right: 10px;

}

.nav-principal a {
  text-decoration: none;
  color: #FFFFFF;
}

.nav-principal .redes div {
  margin-right: 10px;
  width: 25%;
}

.redes {
  display: flex;
  align-items: center;
}

.redes a {
  color: #212529;
  text-decoration: none;
  margin: 0px 5px;
}

.redes img {
  width: 25px;
  height: 25px;
  filter: invert(60%) sepia(15%) saturate(9%) hue-rotate(321deg) brightness(85%) contrast(85%);
}

.login {
  display: flex;
  text-align: center;
}

.flecha-roja-inicio {
  width: 12px;
  height: 20px;
  margin-right: 5px;
}

.login span {
  display: inline-block;
  color: #FFFFFF;
  vertical-align: middle;
  //vertical-align: -webkit-baseline-middle;
}

.buscar img {
  width: 28px;
  height: 28px;
  //filter: invert(43%) sepia(75%) saturate(1938%) hue-rotate(338deg) brightness(101%) contrast(108%);
  //filter: invert(25%) sepia(95%) saturate(1938%) hue-rotate(338deg) brightness(101%) contrast(108%)
}

.flecha-roja-principal {
  width: 13px !important;
  height: 18px !important;
  padding-top: 4px;
}

.nav-res {
  width: 100%;
  height: 50px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-res a {
  color: #e32029;
  text-decoration: none;
  margin: 0px 30px;
}

.nav-res div {
  border-color: #858484;
  border-right: 1px solid #858484;
  /* Borde derecho */
}

.nav-res div:last-child {
  border-right: none;
  /* Quita el borde derecho al último enlace */
}

.burger {
  display: none;
  height: 30px;
  width: 30px;
  text-align: center;
  margin-left: 20px;
  margin-top: 8px;
}

.nav-sec,
.nav-link,
.box-shadow {
  display: none;
}

.show {
  display: block;
}

@media screen and (max-width: 750px) {
  .logo div {
    margin: auto;
    display: flex;
    align-items: center;
  }

  .logo img {
    display: inline-block;
  }

  .logo {
    width: 100%;
    text-align: center;
  }

  .nav-principal,
  .nav-res {
    display: none;
    visibility: hidden;
  }

  .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-sec {
    //width: 15em;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 0.7em;
  }

  .nav-sec div {
    width: auto;
    margin-right: 10px;
  }

  .nav-sec a {
    text-decoration: none;
    color: #212529 !important;
  }

  .buscar-icono {
    height: 20px;
    content: url('../../../../assets/iconos/buscar.png');
    //filter: invert(100%) sepia(80%) saturate(0%) hue-rotate(103deg) brightness(105%) contrast(101%) !important;
  }

  .flecha-roja-principal {
    filter: invert(43%) sepia(75%) saturate(1938%) hue-rotate(338deg) brightness(101%) contrast(108%) !important;
  }

  .flecha-login {
    //content: url('../../../../assets/iconos/arrow_dav_right_white.png');
    //filter: invert(100%) sepia(80%) saturate(0%) hue-rotate(103deg) brightness(105%) contrast(101%);
  }

  .burger {
    display: block;
  }

  #nav-icon3 {
    width: 100%;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
  }

  #nav-icon3 span {
    display: block;
    position: absolute;
    height: 5px;
    width: 100%;
    background: #212529;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
  }

  #nav-icon3 span:nth-child(1) {
    top: 0px;
  }

  #nav-icon3 span:nth-child(2),
  #nav-icon3 span:nth-child(3) {
    top: 10px;
  }

  #nav-icon3 span:nth-child(4) {
    top: 20px;
  }

  #nav-icon3.open span:nth-child(1) {
    top: 18px;
    width: 0%;
    left: 50%;
  }

  #nav-icon3.open span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  #nav-icon3.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  #nav-icon3.open span:nth-child(4) {
    top: 18px;
    width: 0%;
    left: 50%;
  }

  .menu_desplegable {
    width: 100%;
  }

  .box-shadow {
    margin: -0.5rem 0 0 0;
    width: 100%;
    //height: 100%;
    padding-top: 10px !important;
    box-shadow: 0px 8px 6px rgba(0, 0, 0, 0.1);
    position: absolute;
    z-index: 2;
    background: #fff;
  }

  .nav-link {
    height: 400px;
    width: 80%;
    padding: 0;
    background-color: #fff;
    justify-content: center;
    margin: auto;
    transition: 300ms ease-in-out;
  }

  .nav-link li {
    list-style: none;
  }

  .nav-link a {
    text-decoration: none;
    margin: 20px;
    color: #212529;

  }

  .nav-link div {
    text-decoration: none;
    margin: 15px;
    margin-top: 15px;
    color: #212529;
  }

  .nav-link .link {
    border-bottom: 0.8px solid #858484;
    /* Borde derecho */
  }

  .nav-link .link:last-child {
    border-bottom: none;
    /* Quita el borde derecho al último enlace */
  }

  .click {
    display: block;
  }

  .login .otros,
  #otros-res {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  #login-res {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .login .otros a,
  #login-res a,
  #otros-res a {
    display: flex;
    justify-content: start;
    align-items: center;
    width: 100%;
    margin: 0;
  }

  #login-res span {
   color: #212529;
  }

  #login-res div {
    margin: 0 !important;
  }

  #otros-res div {
    margin: 0 !important;
  }

  .flecha-roja {
    width: 28px;
    height: 28px;
    margin-left: auto;
    filter: invert(43%) sepia(75%) saturate(1938%) hue-rotate(338deg) brightness(101%) contrast(108%);
  }

  .box {
    display: flex;
    justify-content: center;
    height: 50px;
    align-items: center;
    margin: 0 !important;
  }

  .box img {
    width: 25px;
    height: 25px;
    margin-right: 5px;
    filter: invert(60%) sepia(15%) saturate(9%) hue-rotate(321deg) brightness(85%) contrast(85%);
    float: inline-start;
  }

  .box span {
    color: #e3342f !important;
    display: inline-block;
    vertical-align: -webkit-baseline-middle;
  }

  .box a {
    margin: 0px;
    font-size: 13px;
  }

  #box1 {
    border-right: 0.5px solid rgb(175, 175, 175);
    border-bottom: 0.5px solid rgb(175, 175, 175);
  }

  #box2 {
    border-bottom: 0.5px solid rgb(175, 175, 175);
  }

  #box3 {
    border-right: 0.5px solid rgb(175, 175, 175);
  }
}

@media screen and (max-width: 930px) {
  .banner {
    padding: 9.68px 20px;
  }
}

.icon-sidebar {
  height: 25px;
}

.login-is img {
  width: 28px;
  height: 28px;
  margin-right: 5px;
  float: inline-start;
  filter: invert(60%) sepia(15%) saturate(9%) hue-rotate(321deg) brightness(85%) contrast(85%);
}

.login-is {
  display: inline-block;
  vertical-align: middle;
}