
@-webkit-keyframes shake {
    from, to {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    16.7%, 50.2%, 83.5% {
        -webkit-transform: translateX(-10px);
        transform: translateX(-10px);
    }
    33.5%, 66.8% {
        -webkit-transform: translateX(10px);
        transform: translateX(10px);
    }
}
@keyframes shake {
    from, to {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    16.7%, 50.2%, 83.5% {
        -webkit-transform: translateX(-10px);
        transform: translateX(-10px);
    }
    33.5%, 66.8% {
        -webkit-transform: translateX(10px);
        transform: translateX(10px);
    }
}

html,
body{
    font-family: Nunito, sans-serif;
    font-size: .9rem;
    line-height: 1.6;
    height: 100%;
    background-color: #9c9991;
    overflow: hidden;
}
b, strong,
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6{
    font-weight: 700;
}
label{
    cursor: pointer;
}

#app{
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
}
#app .container{
    max-width: 700px;
}
#app .container.error{
    -webkit-transform-origin: top center;
    transform-origin: top center;
    -webkit-animation: shake .6s;
    animation: shake .6s;
}
#app .card{
    box-shadow: 0 0 40px 10px rgba(0, 0, 0, .4);
    transition: box-shadow .3s;
}
#app .container.error .card{
    box-shadow: 0 0 40px 10px rgba(255, 0, 0, .4);
}
body.remember #app .card{
    box-shadow: 0 0 40px 10px rgba(0, 0, 0, .4), 0 0 200px 100vw rgba(0, 0, 0, .4);
}
body.remember #app .container.error .card{
    box-shadow: 0 0 40px 10px rgba(255, 0, 0, .4), 0 0 200px 100vw rgba(0, 0, 0, .4);
}

#bg{
    position: absolute;
    top: -2%;
    left: -2%;
    width: 104%;
    height: 104%;
    background: url("../images/login/bg.jpg") no-repeat center;
    background-size: cover;
    will-change: left, top;
    transition: left .2s, top .2s;
}

.card{
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.33);
    border-radius: 2px;
    border-width: 0;
}
.card-header{
    background-color: rgb(247, 247, 247);
}
.card-header > .h5{
    vertical-align: -.3em;
    font-weight: 600;
}