#header{
    position: fixed;
    top:0;
    left:0;
    width: 100%;
    height: 80px;
    background-color: rgba(255,255,255,0);
    z-index: 4;
    transition: box-shadow 0.2s ease-out;
}
#header.scrolled {
    backdrop-filter: saturate(180%) blur(10px);
    background-color: rgba(255,255,255,0.8);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: box-shadow 0.2s ease-out;
}
@-moz-document url-prefix() {
#header.scrolled {
    background-color: rgba(255,255,255,0.95);
}
}
#headerMobile {
    display: none;
}
#header .cajaLogo{
    float: left;
    width: 143px;
    background-color: #e61b0e;
    height: 40px;
    padding: 6px;
    margin-top: 20px;
    margin-left: 30px;
}
#header .cajaLogo svg{
    fill: white;
}
#login .nombreLogo {
    color: black !important;
}

#header .botonMenu {
    display: none;
}
#header .zonaMenu {
    width: 100%;
    height: 100%;
}
#header .links {
    float: left;
    height: 100%;
    margin-left: 50px;
}
#header .links .link {
    float: left;
    margin-right: 34px;
    margin-top: 30px;
    font-size: 15px;
    font-weight: 800;
    color: #808080;
    cursor: pointer;
    transition: 0.2s ease-out;
}
#header .links .link:last-child {
    margin-right: 0px;
}
#header .links .link:hover,
#header .links .link.activo {
    color: #1a1a1a;
}
#header .botones {
    float: right;
    width: 420px;
    height: 100%;
    margin-right: 30px;
    position: relative;
}

#header .boton{
    float: left;
    height: 44px;
    text-decoration: none;
    width: 200px;
    font-family: 'Montserrat';
    font-size: 13px;
    line-height: 20px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 50px;
    margin-top: 15px;
    text-align: center;
}

#header .boton.gris{
    color: #808080;
    background-color: #fafafa;
    border: 2px solid #e6e6e6;
    transition: background-color 0.2s ease-out;
}
#header .boton.gris:hover{
    background-color: #e6e6e6;
    transition: 0.3s ease-out;
}
#header .boton.rojo{
    float: right;
    color: white;
    background-color: #e61b0e;
    border: 2px solid #e61b0e;
    box-shadow: 0 3px 6px 0 rgba(230,27,14,0.5);
    cursor: pointer;
    transition: 0.2s ease-out;
}
#header .boton.rojo:hover{
    background-color: #C4170C;
    border: 2px solid #C4170C;
    transition: 0.2s ease-out;
}
#header .boton.rojo:active{
    box-shadow: 0 1px 4px 0 rgba(0,0,0,0.16);
    transition: 0.2s;
}





/* VERSION TABLET Y MOVIL */
@media screen and (max-width: 1300px) {
#header{
    height: 50px;
}
#header .cajaLogo{
    width: 110px;
    height: 30px;
    margin-left: 16px;
    margin-top: 10px;
    padding: 4px;
}

#header .botonMenu {
    display: block;
    float: right;
    width: 50px;
    height: 100%;
}
#header .botonMenu svg {
    width: 24px;
    height: 24px;
    margin: 13px 0 0 13px;
    stroke: #808080;
    transition: 0.2s;
}
#header .botonMenu:hover svg {
    stroke: #505050;
}

#header .zonaMenu {
    display: none;
}

#headerMobile {
    display: none;

    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    visibility: visible;
    opacity: 1;
    transition: 0.1s ease-out;
    z-index: 4;
}
#headerMobile.appear,
#headerMobile.disappear {
    opacity: 0;
}

#headerMobile .zonaMenu .fondoTransparente {
    position: absolute;
    top: 0;
    left: 0;
    width: 25%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}
#headerMobile .zonaMenu .fondoMenu {
    position: absolute;
    top: 0;
    right: 0;
    width: 75%;
    height: 100%;
    background-color: #1a1a1a;
}

#headerMobile .zonaMenu .botonCerrar {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;;
    height: 50px;
}
#headerMobile .zonaMenu .botonCerrar svg {
    width: 24px;
    height: 24px;
    margin: 13px 0 0 13px;
    fill: #808080;
    transition: 0.2s;
}
#headerMobile .zonaMenu .botonCerrar:hover svg {
    fill: #ccc;
}
#headerMobile .zonaMenu .links {
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    height: calc(100% - 118px);
}
#headerMobile .zonaMenu .links .link {
    display: block;
    width: 100%;
    height: 44px;
    padding: 14px 0 0 20px;
    border-top: 1px solid #4d4d4d;
    font-size: 13px;
    font-weight: 800;
    color: #808080;
    cursor: pointer;
    transition: 0.2s ease-out;
}
#headerMobile .zonaMenu .links .link.activo {
    color: white;
    background-color: black;
}
#headerMobile .zonaMenu .links .link:last-child {
    border-bottom: 1px solid #4d4d4d;
}

#headerMobile .botones {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    margin-bottom: 10px;
}
#headerMobile .boton {
    display: block;
    height: 44px;
    width: 220px;
    line-height: 20px;
    padding: 10px 0px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
    border-radius: 0 22px 22px 0;
    text-align: left;
    padding-left: 20px;
    box-shadow: unset;
    cursor: pointer;
}
#headerMobile .boton.rojo {
    border-left: unset;
    color: white;
    background-color: #e61b0e;
    border: 2px solid #e61b0e;
}
#headerMobile .boton.gris {
    color: #808080;
    border: 1px solid #4d4d4d;
    border-left: unset;
    padding-top: 11px;
}
}