@media (max-width: 767px) {

    #loginBox {
        display: flex;
        flex-direction: column;
        width: calc(100% - 40px);
        max-width: 700px;
        height: auto;
        margin: 40px 10px;
        padding: 40px 10px 0;
        background: #F1F1F1;
        background: linear-gradient(0deg, #F1F1F1 0%, #FDFDFD 30%, #FDFDFD 70%, #F1F1F1 100%);
        border-radius: 0 20px 20px 20px;
        box-shadow: 2px 3px 8px rgba(0, 0, 0, .3);
    }

    #loginBox::after {
        content: '';
        width: 100px;
        height: 50px;
        margin-left: auto;
        margin-right: -14px;
        margin-bottom: -10px;
        background-color: #00995D;
        background-image: url(../img/unimed_logo_new.png);
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        border-radius: 8px;
    }

    #loginBox h1 {
        display: block;
        width: 100%;
        margin: 0 auto 10px !important;
    }

    #loginBox .formBox {
        display: flex;
        flex-direction: column;
        width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    #loginBox .formBox form {
        margin-bottom: 10px;
    }

    #loginBox .formBox label.inline {
        display: inline-block !important;
        width: 100% !important;
    }

    #loginBox .formBox label.lbLogin {
        width: 100% !important;
        text-align: left;
    }

    #loginBox .formBox input {
        width: 100%;
        height: 36px;
        box-sizing: border-box;
    }

    #loginBox .formBox div {
        width: 100%;
    }

    #loginBox #login {
        display: flex;
        width: 100%;
    }

    #loginBox .loginBoxRodape {
        width: auto;
        max-width: 500px;
        margin: 0 auto !important;
    }

    #publicidadeBox {
        max-width: calc(100% - 20px);
        margin-left: 0;
    }

    #publicidadeBoxContainer {
        max-width: 100%;
    }

    .alert.alert-error.error-message,
    .alert.alert-success.success-message {
        max-width: calc(100% - 20px);
        margin-bottom: 20px !important;
        box-sizing: border-box;
    }

    .alert.alert-success.success-message {
        max-width: 100%;
    }

    .is-ios input,
    .is-ios textarea,
    .is-ios select {
        font-size: 16px !important;
    }
}
