@media only screen and (max-width: 768px) {
    .box {
        border-radius: 0px !important;
        min-height: 40rem;
        height: 100% !important;
        width: 100% !important;
        box-shadow: none !important;

        position: absolute;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 40px;
    }
    .fa-user, .fa-user-lock {
        margin-top: 100px;
        margin-right: 50%;
        margin-left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
    }

    #form_recuperar {
        height: 91% !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .footer {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin-top: 15px !important;
        margin-bottom: 15px !important;
    }

    .btn-voltar {
        width: 100%;
        margin-bottom: 0.8rem;
    }

    .recup-group {
        height: 20% !important;
    }

    .forgot-password {
        margin-bottom: 15px !important;
    }

}



/* * Remoção dos elementos padrões carregados nas páginas */
#header_system {
    display: none;
}

.menul {
    display: none;
}

main {
    border-left: none;
    border-bottom: none;
    border-bottom: none;
    margin-left: none;
    padding: none;
}

aside, header{
    display: none;
}



/* * Estilização de Login e Recuperação de Senha */

body, main, .background
{
    background-color: #f2f2f2 !important;
}

.fa-user {
    font-size: 50px;
    margin-bottom: 20px;
}

.box {
    /* Tamanho */
    width: 30rem;
    height: 35rem;
    padding: 40px;
    position: absolute;

    /* Centralização */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    /* Estilo */
    background: white;
    text-align: center;
    border-radius: 15px;
    box-shadow: 4px 4px 14px -4px rgba(0,0,0,0.57);
}

.box .forgot-password {
    margin-bottom: 40px;
    text-align: left;
}

.box #email_login, #senha_login {
    background: none;
    display: block;
    margin: 10px auto;
}

.box #senha_login {
    background: none;
    display: block;
    margin-top: 10px;
}

.box input[type = "text"]:hover, .box input[type = "password"]:hover {
    background: #f8f9fa;
}

/* Posição das labels */
.form-group {
    position: relative;
}

.label {
    display: flex;
    margin-bottom: 0;
}

.form-control {
    margin-top: 0;
}



/* * Login */

#login_submit {
    border: 0;
    background-color: #343a40;
    color: white;

    width: 100%;
    padding: 14px 40px;
    border-radius: 8px;

    text-align: center;
    outline: none;
    cursor: pointer;
}

#login_submit:hover {
    background-color: #51585f;
}

/* Alinhamento do ícone dentro do input de senha */
.icon-senha {
    position: absolute;
    margin-top: 21px;
    margin-right: 10px;
}

.input-error {
    text-align: left;
}



/* * Recuperação de Senha */

#form_recuperar {
    height: 94%;
    width: 100%;
}

.recup-group {
    height: 45%;
    width: 100%;
}

.email-group2 {
    margin-top: 10px;    
}

.footer {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
}

.fa-user-lock {
    font-size: 50px;
    margin-bottom: 10px;
}

#container_recuperar_senha {
    display: none;
}