@charset "utf-8";

@media (min-aspect-ratio: 16/9) {
    .fullscreenVideo {
        height: 300%;
        top: -100%;
    }
}

@media (max-aspect-ratio: 16/9) {
    .fullscreenVideo {
        width: 300%;
        left: -100%;
    }
}

@media (max-width: 768px) {
    body{
        overflow: auto;
    }

    .imgFondo {
        background: url('../../imagenes/login/videoFondo.jpg') center center / cover no-repeat;
    }

    .fullscreenVideo {
        display: none;
    }
}

@media (max-width: 500px) {
    body{
        overflow: auto;
    }

    .sparhRH,
    .txtSistema,
    .logoSPARH
    {
        display: none;
    }

    .imgFondo {
        background: url('../../imagenes/login/videoFondo.jpg') center center / cover no-repeat;
    }

    .fullscreenVideo {
        display: none;
    }

    .imgLogoCliente, .imgLogoClienteIMG{
        width: 93%;
        padding: 0;
    }

    .acceso {
        margin-top: 25px;
        margin-left: auto;
        margin-right: auto;
        width: 90%;
        height: 225px;
        padding: 2%;
    }


    .cajaUS, .cajaPW{
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    input[type="text"] {
        width: 80%;
    }

    input[type="password"] {
        width: 80%;
    }

    .divBtnEntrar{
        display: block;
        margin-bottom: 8%;
        width: 100%;
        height: 25%;
        text-align: center;
    }
    .btnEntrar {
        float: none;
        margin-right: auto;
        margin-top: 10px;
        margin-left: auto;
        -webkit-box-shadow: 0px 0px 0px 0px rgb(162,168,200);
        -moz-box-shadow: 0px 0px 0px 0px rgb(162,168,200);
        -ms-box-shadow: 0px 0px 0px 0px rgb(162,168,200);
        -o-box-shadow: 0px 0px 0px 0px rgb(162,168,200);
        box-shadow: 0px 0px 0px 0px rgb(162,168,200);
    }

    .cambioPW{
        margin-top: auto;
        margin-left: auto;
        text-align: center;
    }
}

@media (max-width: 448px) {
    .imgLogoCliente, .imgLogoClienteIMG{
        width: 100%;
    }

    input[type="text"] {
        width: 68%;
    }

    input[type="password"] {
        width: 68%;
    }

    .msg{
        text-align: center;
        background: rgba(255,255,255,.6);
        border-radius: 3px;
        position: fixed;
        bottom: 5%;
        left: 50%;
        width: 300px;
        margin-left: -150px; /* Negative half of width. */
    }

    .msg-danger{
        background: rgba(255,0,0,.6);
    }
}