﻿.main {
    height: 100vh;
    width: 100vw;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}


.bg-image-general {
    background-image: url('../images/abstract.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    position: fixed;
    width: 100vw;
    height: 100vh;
}

.bg-image-ongoid {
    background-image: url('../images/biometric.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    position: fixed;
    width: 100vw;
    height: 100vh;
    /*    -webkit-animation: zoomin 50s ease-in infinite;
    animation: zoomin 50s ease-in infinite;
    transition: all .5s ease-in-out;*/
    overflow: hidden;
}

    .bg-image-ongoid::before {
        content: "";
        background-color: rgba(0, 0, 0, .3);
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
    }

.bg-image-cargas {
    background-image: url('../images/bg-login.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    position: fixed;
    width: 100vw;
    height: 100vh;
    /*    -webkit-animation: zoomin 50s ease-in infinite;
    animation: zoomin 50s ease-in infinite;
    transition: all .5s ease-in-out;*/
    overflow: hidden;
}

    .bg-image-cargas::before {
        content: "";
        background-color: rgba(0, 0, 0, .3);
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
    }

.wrapper {
    position: relative;
    width: 80%;
}

.wrapper-logo {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

.logo {
    width: 70%;
}

.wrapper-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tittle-login, .description-login {
    color: #FFF;
    text-align: start;
}


.custom-card {
    background-color: #FFF;
    padding: 15px;
    border-radius: 5px;
}

.custom-card-header {
    text-align: center;
    padding: 10px 0;
}

.form-group label {
    font-size: 12px;
}

.password-group {
    position: relative;
}

.password-input {
    padding-right: 40px;
}

.show-password {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.options {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.form-check {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin-top: 5px;
}

.forgot-password {
    background-color: transparent;
    color: #007BFF;
    cursor: pointer;
    outline: 0 !important;
    border: 0 !important;
}

    .forgot-password::-moz-focus-inner {
        outline: 0 !important;
        border: 0 !important;
    }

    .forgot-password::focus {
        outline: 0 !important;
        border: 0 !important;
    }


.form-check-label, .forgot-password, .link-term-of-use {
    font-size: 14px;
    cursor: pointer;
}

.submit-area {
    padding: 10px 0;
}

.terms-of-use {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
}

.wrapper-error {
    margin-top: 15px;
}

.clients-page,
.admin-page {
    padding: 25px;
}

#next-page,
#previous-page {
    cursor: pointer;
}

@media (min-width: 0px) and (max-width: 320px) {
    .wrapper {
        width: 90%;
    }

    .wrapper-logo {
        display: flex;
        flex-direction: row;
        justify-content: center;
        margin: 20px 0;
    }

    .logo {
        width: 50%;
    }

    .box {
        width: 100%;
    }

    .content-login {
        display: none;
    }

    .form-check-input {
        margin-bottom: 3px;
    }

    .form-check-label, .forgot-password, .link-term-of-use {
        font-size: 11px;
    }
}

@media (min-width: 321px) and (max-width: 480px) {

    .wrapper {
        width: 90%;
    }

    .wrapper-logo {
        display: flex;
        flex-direction: row;
        justify-content: center;
        margin: 25px 0;
    }

    .logo {
        width: 50%;
    }

    .box {
        width: 100%;
    }

    .content-login {
        display: none;
    }

    .form-check-input {
        margin-bottom: 3px;
    }

    .form-check-label, .forgot-password, .link-term-of-use {
        font-size: 13px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {

    .wrapper-logo {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        padding: 0 3%;
        margin: 30px 0;
    }

    .logo {
        width: 40%;
    }

    .box {
        width: 90%;
    }

    .tittle-login {
        font-size: 2rem;
        margin: 15px 0;
    }

    .form-check-input {
        margin-bottom: 3px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {

    .wrapper-logo {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        padding: 0 7%;
        margin: 30px 0;
    }

    .logo {
        width: 40%;
    }

    .box {
        width: 80%;
    }

    .tittle-login {
        font-size: 2rem;
        margin: 15px 0;
    }

    .form-check-input {
        margin-bottom: 3px;
    }
}

@media (min-width: 1025px) and (max-width: 1200px) {

    .wrapper-flex {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .wrapper-logo {
        margin: 50px 0;
    }

    .logo {
        width: 30%;
    }

    .box {
        width: 50%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        min-height: 50vw;
    }

        .box:first-child {
            padding: 15px 0;
            flex-direction: column;
            justify-content: flex-start;
        }

        .box:last-child {
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

    .custom-card, .wrapper-error {
        width: 80%;
    }
}

@media (min-width: 1201px) and (max-width: 1400px) {

    .wrapper-logo {
        margin: 25px 0;
    }

    .logo {
        width: 20%;
    }

    .wrapper-flex {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .box {
        width: 50%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
    }

        .box:last-child {
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

    .custom-card, .wrapper-error {
        width: 80%;
    }
}

@media (min-width: 1401px) and (max-width: 1700px) {

    .wrapper-logo {
        margin: 50px 0;
    }

    .logo {
        width: 20%;
    }

    .wrapper-flex {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .box {
        width: 50%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
    }

        .box:last-child {
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

    .custom-card, .wrapper-error {
        width: 70%;
    }
}

@media (min-width: 1701px) {

    .wrapper {
        width: 50%;
    }

    .wrapper-logo {
        margin: 50px 0;
    }

    .logo {
        width: 20%;
    }

    .wrapper-flex {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .box {
        width: 800px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
    }

        .box:last-child {
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

    .custom-card, .wrapper-error {
        width: 500px;
    }
}


@-webkit-keyframes zoomin {
    0% {
        transform: scale(1) translateX(0);
    }

    50% {
        transform: scale(1.5) translateX(-1120px);
    }

    100% {
        transform: scale(.8) translateX(0);
    }
}

@keyframes zoomin {
    0% {
        transform: scale(1) translateX(0) translateY(0);
    }

    50% {
        transform: scale(1.5) translateX(-120px) translateY(-100px);
    }

    100% {
        transform: scale(1) translateX(0) translateY(0);
    }
}

@media screen and (max-width: 500px) {

    @keyframes zoomin {
        0% {
            transform: scale(1);
        }

        50% {
            transform: scale(1.5);
        }

        100% {
            transform: scale(1);
        }
    }
}

@-webkit-keyframes zoomout {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.67);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes zoomout {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.67);
    }

    100% {
        transform: scale(1);
    }
}
