* {
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

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

.p-relative {
    position: relative !important;
}

.password-eye {
    position: absolute;
    right: 20px;
    font-size: 13px;
    top: 8px;
    z-index: 12;
}

.p-cargando{
    margin-top: 13px;
}

.conte-space{
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.spinner-cargando{
    border: 3px solid rgb(255 255 255 / 10%);
    width: 18px;
    height: 18px;
    margin-right: 7px;
    border-radius: 50%;
    border-left-color: #03d0e7fc;
    animation: giro .9s linear infinite;
}

@keyframes giro{
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
    }
}

.message-loader{
    top: 48% !important;
}

.contenedor-principal {
    width: 100%;
    height: 100%;
    border: none;
}

.titulo {
    margin-top: 68px;
    margin-bottom: 50px;
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: center;
}

.div-img-perfil {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
} 

.div-img-perfil svg {
    background-color: #efefef;
    padding: 15px;
    width: 137px;
    height: 137px;
    border-radius: 8px;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.5);
}

.img-perfil {
    width: 137px;
    height: 137px;
    border-radius: 8px;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.5);
}

.login-box {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 80%;
    align-content: center;
    border: transparent;
    flex-wrap: wrap;
    margin-top: 9%;
}

.campos {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    border: transparent;
    margin-top: 10px;
}

form { 
    width: 100%;
    border: transparent;
    height: 14.2rem;
}

.estilo-labels {
    display: flex;
    float: left;
    padding-left: 12%;
    width: 100%;
    font-size: 11px;
    font-weight: bold;
}

input[type=text],
input[type=password] {
    border-radius: 25px;
    border: 1px solid #C9C9C9;
    height: 33px;
    width: 80%;
    padding-left: 11px;
    padding-right: 11px;
    outline: none;
}

#div-error-correo {
    font-weight: bold;
    font-size: 10pt;
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
}

#div-error-password {
    font-weight: bold;
    font-size: 10pt;
    width: 100%;
    text-align: center;
}

.labels-bottom {
    display: none;
    color: rgb(0, 124, 207);
    margin-top: 2px;
    margin-bottom: 0;
    font-weight: bold;
    font-size: 10pt;
    text-align: center;
}

.btn-login {
    margin-top: 33px;
    background-color: #299cef;
    font-weight: bold;
    color: #ffffff;
    border-radius: 20px;
    width: 80%;
    height: 33px;
    border: none;
}

.div-terminos-condiciones { 
    margin-top: 13px;
    margin-bottom: 20px;
    display: flex;
    margin-left: 10%;
    align-items: center;
    flex-direction: row;
/*    width: 100%;*/
}

.div-remember {
    margin: 13px;
    /*    margin-bottom: 20px;*/
    display: flex;
    margin-left: 10%;
    align-items: center;
    flex-direction: row;
/*    width: 100%;*/
}

.span-checkbox {
    font-size: 12px;
}

.custom-check input[type=checkbox] {
    position: relative;
    min-width: 45px;
    height: 20px;
    background: rgb(230, 227, 227);
    appearance: none;
    outline: none;
    border-radius: 20px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    transition: 0.5s;
}
.custom-check input:checked[type=checkbox] {
    background: rgb(121, 187, 45);
}

.custom-check input[type=checkbox]::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 40px;
    top: 1px;
    left: 0;
    background: white;
    transform: scale(0.8);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: 0.5s;
}

.custom-check input:checked[type=checkbox]::before {
    left: 26px;
}

.link-contrasenia {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 5px;
    cursor: pointer;
    font-size: 12px;
    text-decoration: none;
    color: #2A9CEF;
    font-weight: bold;
}


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

    .contenedor-principal {
        width: 100%;
        height: 100vmax;
        border: none;
    }

    .titulo {
        width: 100%;
        height: 25%;
        display: flex;
        justify-content: center;
    }

    .login-box {
        display: flex;
        width: 100%;
        height: 320px;
        align-content: center;
        justify-content: center;
        border: none;
        flex-wrap: wrap;
        margin-top: 0;
    }

    .campos {
        display: flex;
        align-items: center;
        flex-direction: column;
        width: 100%;
        border: none;
        margin-left: 0;
        margin-top: 20px;
    }
}
