/* Login styles */

.login {
    
}

h1 {
    margin-left: auto;
    margin-right: auto;
}

.main.login {
    background-color: #ccc;
    background-position: bottom center;
    background-size: cover;
    background-repeat: no-repeat;
    transition-duration: 2s;
    transition-timing-function: linear;
    transition-delay: 1s;
    animation-timing-function: ease-in-out;
}

.login .wrapper {
    align-items: center;
    display: flex;
    flex-flow: column;
    justify-content: flex-start;
    padding-top: 5px;
    margin-top: 40px;
    padding-bottom: 50px;
}

.login__logo {
    margin-bottom: 20px;
}
.login__logo img {
    width: 100px;
}

.login__form {
    align-items: center;
    background-color: #fff; 
    border: solid 1px #f2f2f2;
    box-shadow: 0px 3px 14px 3px rgba(0, 0, 0, .1);
    display: flex;
    flex-flow: column;
    justify-content: flex-start;
    max-width: 415px;
    padding: 2em;
    width: 100%;
}

.login__form__title {
    color: #000;
    margin-top: 0;
    text-align: center;
    text-transform: uppercase;
    font-size: 1rem;
}

.login__button {
    align-items: center;
    background: #e1973d;
    border: none;
    border-radius: .4rem;
    color: white;
    cursor: pointer;
    display: flex;
    font-size: 1.2rem;
    font-weight: 700;
    justify-content: center;
    margin-top: .5em;
    padding: .6rem 2.3rem;
    text-decoration: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
}

.button_loading::after {
    background-image: url(../../img/spinner-loading.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    content: '';
    cursor: default;
    height: 22px;
    margin-left: 5px;
    animation: rotating 1.5s linear infinite;
    width: 22px;
}

@keyframes rotating {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.button_loading {
    background-color: #f1be7d!important;
    cursor: default!important;
}

.button_loading:hover {
    box-shadow: none!important;
    transform: none!important;
}

.login__fieldset {
    display: flex;
    flex-flow: column;
    margin-bottom: 1em;
    width: 100%;
}

.login__field__label {
    display: flex;
    margin-bottom: .3em;
    width: 100%;
}

.login__field__input {
    background-color: white;
    border: 1px solid #BCBDBF;
    border-radius: 3px;
    font-size: 1em;
    height: 40px;
    margin-bottom: .8em;
    padding-left: 1em;
    width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    outline: none;
}

.login__field__input::placeholder {
    color: #f59600;
}

.login__field__input::-ms-input-placeholder {
    color: #f59600;
}

.login__field__input::-moz-placeholder {
    color: #f59600;
    opacity: 1;
}

.login__buttons {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    margin-bottom: 10px;
}

.login__options {
    font-size: .9em;
    margin-top: 1em;
    text-align: center;
}
.login__options p {
    margin: 0;
    color: #000;
}

.btnLogin {
    margin-bottom: 10px;
}

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

    .main.recovery {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .login .wrapper {
        margin-top: 100px;
        padding-bottom: 110px;
    }

    .login__logo img {
        width: 130px;
    }

    .login__buttons {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 90%;
    }

}

@media screen and (min-width: 680px) {

    .login__button {
        margin-left: auto;
        margin-right: auto;
    }

}

@media screen and (min-width: 780px) {

    .main.login {
        background-position: bottom left;
    }v
    .login__form {
        max-width: 460px;
        padding: 2em 3em;
    }
    .login__form__title {
        font-size: 1.2rem;
        margin-bottom: 26px;
    }

}

@media screen and (min-width: 960px) {

    .recovery .wrapper {
        margin-top: 130px;
        padding-bottom: 140px;
    }

    .login__button {
        transition: all .2s ease-in;
        width: 280px;
    }

    .login__button:hover {
        background: black;
        transition: all .2s ease-in-out;
    }

    .login__button_loading:hover {
        background: #ccc;
        cursor: default;
    }

}