header {
    //height: 125px;
    background-color: #e7162e !important;
    //padding-top: 10px;
}

.header-primary {
    height: 120px;
    padding-top: 10px;
}

.div-header-secondary {
    height: 110px;
}

.banner {
    display: flex;
    align-items: center;
    height: 60px;
    padding: 9.68px 90px;
    background-color: #ffffff;
    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: 150px !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: #797979;
}

.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);
}

.rotar-180 {
    transform: rotate(180deg);
}

.nav-principal div {
    width: auto;
    margin-right: 10px;
}

.nav-principal a {
    text-decoration: none;
    color: #858484;
}

.nav-principal .redes div {
    margin-right: 10px;
    width: 25%;
}

.redes {
    display: flex;
    align-items: center;
}

.redes a {
    color: #858484;
    text-decoration: none;
    margin: 0px 5px;
}

.redes svg { 
    width: 30px;
    height: 30px;
    border-radius: 99px;
      border:  0;
}

.login {
    display: flex;
    text-align: center;
}

.flecha-roja-inicio {
    width: 12px;
    height: 20px;
    margin-right: 5px;
}

.login span,
.otros span {
    display: inline-block;
    vertical-align: middle;
    position: initial !important;
    //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: #ffffff;
    text-decoration: none;
    margin: 0px 30px;
}

.nav-res div {
    border-right: 1px solid rgb(241, 240, 240);
    /* 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: #797979 !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: 0.5s ease-in-out;
        -moz-transition: 0.5s ease-in-out;
        -o-transition: 0.5s ease-in-out;
        transition: 0.5s ease-in-out;
        cursor: pointer;
    }

    #nav-icon3 span {
        display: block;
        position: absolute;
        height: 5px;
        width: 100%;
        background: #fff;
        border-radius: 9px;
        opacity: 1;
        left: 0;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: 0.25s ease-in-out;
        -moz-transition: 0.25s ease-in-out;
        -o-transition: 0.25s ease-in-out;
        transition: 0.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;
        width: 100%;
        height: auto;
        padding: 10px 0 20px 0;
        box-shadow: 0px 8px 6px rgba(0, 0, 0, 0.1);
        position: absolute;
        z-index: 2;
        background: #fff;
    }

    .nav-link {
        height: auto;
        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: #858484;
    }

    .nav-link div {
        text-decoration: none;
        margin: 10px 0 10px 0;
        color: #858484;
    }

    .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: start;
    }

    .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: #ffffff;
    }

    #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%);
    }

    .container-redes {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px; /* espacio entre íconos, ajusta si necesitas */
  width: 100%;
  border-radius: 10px;
  margin: 20px 0 0 0 !important;
  background-color: rgb(241, 241, 241);
}

    .box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 50px;
    margin: 0 !important;
  }

  .box svg {
    width: 25px;
    height: 25px;
    margin-bottom: 2px;
    border-radius: 99px;
    border: 0;
  }

  .box span {
    color: #e3342f !important;
    display: inline-block;
  }

  .box a {
    margin: 0px;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #box1 {
    border-right: unset;
    border-bottom: unset;
  }

  #box2 {
    border-bottom: unset;
  }

  #box3 {
    grid-column: 1 / span 2;
    justify-self: center;
    border-right: none;
    border-bottom: none;
    height: 50px;
    max-width: 100%;
  }

  .box {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    margin: 0 !important;
  }

  .box svg {
    width: 25px;
    height: 25px;
    margin-right: 5px;
    border-radius: 99px;
    border: 0;
  }

  .box span {
    color: #e3342f !important;
    display: inline-block;
  }

  .box a {
    margin: 0px;
    font-size: 13px;
  }
}

@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;
}

.active-open {
    font-weight: bold;
}
