﻿* {
    padding: 0;
    margin: 0;
}

body {
    background: #F4F4F4;
    color: #363537;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.btn-green {
    background-color: #00B37E;
    color: #fff;
}
.btn-green:hover {
     background-color: #007D58;
     color: #fff;
}
.bg-login {
    background-color: #363537;
}
.bg-right-login {
    background-image: url('../img/foto-login.jpg');
    background-size: cover;
    border-radius: 15px 0 0 15px;
    position:relative;
}
/*FORM*/
.div-login {
    width: 75%;
    margin: 10% auto 0;
    background-color: #363537;
}
.logo-login{
    width:100%;
}
.logo-login-auxilia {
    width: 55%;
    max-width: 250px;
    max-height: 100px;
    height: auto;
    width: auto;
    object-fit: contain;
}
.div-login .form-check-label {
    color: #fff;
}
.div-recpassw {
    margin: 2% 0;
    text-align: right;
    font-size: 15px;
    font-weight: lighter;
}
.div-recpassw a{
    color:#fff;
    text-decoration:underline;
    text-align:right;
}
.fa-ico-login {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 45px;
    height: 35px;
    text-align: center;
    border-radius: 30px;
    padding: 5px;
}
.fa-ico-login i{
    color:#fff;
}
.div-login .form-control, .div-login .form-select {
    background-color: #363537;
    color: #fff;
}
.div-login .form-floating > label, .div-login .form-floating > .form-control:focus ~ label, .div-login .form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: #fff;
}
.div-login .form-control:focus {
    color: #fff;
    background-color: transparent;
    border-color: #FF592B;
}
.div-login .form-select:focus {
    border-color: #FF592B;
}
.div-login .form-floating > .form-control:focus ~ label::after, .div-login .form-floating > .form-select ~ label::after, .div-login .form-floating > .form-control:not(:placeholder-shown) ~ label::after {
    background-color: transparent;
}
.div-login input:-webkit-autofill,
.div-login input:-webkit-autofill:hover,
.div-login input:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff;
    -webkit-box-shadow: 0 0 0px 40rem #363537 inset;
}
.div-login input:-internal-autofill-selected {
    background-color: #363537 !important;
    /*box-shadow: 0 0 0 .25rem rgb(255 89 43 / 5%);*/
}
.form-floating > .form-control:-webkit-autofill ~ label {
    color: #ff592b !important;
}
.texto-login {
    background-color: #fff;
    border-left: 5px solid #FF592B;
    position: absolute;
    bottom: -30px;
    left: 44px;
    width: 85%;
    border-radius: 10px;
    padding: 15px;
}
    .texto-login p {
        margin: 0;
        font-size: 13px;
    }
/*EXISTEN EN EL CSS PRINCIPAL DE AGREX, BORRAR AL PONER EL OTRO CSS*/
.form-check-input:checked {
    background-color: #00B37E;
    border-color: #00B37E;
}
.btn-primary {
    background-color: #FF4612;
    color: #fff;
    border-color: #FF4612;
}
.btn-primary:hover {
    background-color: #be3b1d;
    color: #fff;
    border-color: #be3b1d;
}
.btn-secondary {
    background-color: #282829;
    color: #fff;
}
.btn-secondary:hover {
 background-color: #181818;
 color: #fff;
}

/*LOADER*/
.bg-spinner {
    background-color: rgba(39, 43, 44, 0.8);
    z-index: 9999;
    position: fixed;
}

.center-body {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
}

.loader {
    display: flex;
}

.loader .dot {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    border: 2px solid #e8e8e8;
    background: #FF592B;
    animation: jump 0.8s ease-in-out infinite alternate;
}

@keyframes jump {
    100% {
        background: #8b3118;
        transform: translateZ(-3rem) scale(1.9);
    }
}

.loader .dot:nth-child(1) {
    animation-delay: 0.1s;
}

.loader .dot:nth-child(2) {
    animation-delay: 0.2s;
}

.loader .dot:nth-child(3) {
    animation-delay: 0.3s;
}

.loader .dot:nth-child(4) {
    animation-delay: 0.4s;
}

.loader .dot:nth-child(5) {
    animation-delay: 0.5s;
}


/*MEDIAS*/
@media (max-width: 1024px) {
    .div-login {
        width: 100%;
        margin: 10% auto 0;
    }
}
@media (max-width: 500px) {
    .bg-right-login {
        min-height: 29vh;
    }
    .texto-login {
        bottom: -30px;
        left: 22px;
        width: 90%;
    }
    .bg-login{
        border-top:3px solid #FF4612;
    }
}