.newui-login {
    --primary: #1E88E5;
    --border-color: #ccc;
}

.newui-login1 {
    --primary: #1E88E5;
    --border-color: none;
}

main {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    width: 100%;
}

@media (min-width: 992px) {
    main {
        display: flex;
    }
}

.newui-background {
    position: relative;
    display: none;
    background-image: url(../../../img/login-banner.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

@media (min-width: 992px) {
    .newui-background {
        display: block;
        width: 50%;
        height: 100vh;
    }

        .newui-background::before {
            content: '';
            display: block;
            position: absolute;
            z-index: 1;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: var(--primary);
            opacity: .5;
        }
}

.newui-box {
    position: absolute;
    z-index: 5;
    top: 50%;
    left: 0;
    width: 100%;
    height: auto;
    transform: translate(0, -55%);
}

    .newui-box h1 {
        text-align: center;
        color: #fff;
        margin: 0;
        font-weight: 700;
    }

    .newui-box .newui-section {
        display: flex;
        justify-content: center;
        align-items: flex-end;
        margin: 15px 0;
        color: #fff;
    }

        .newui-box .newui-section h1 {
            padding: 0 10px;
        }

        .newui-box .newui-section small {
            font-size: 16px;
            margin-bottom: 5px;
        }



.newui-content {
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    position: relative;
}

@media (min-width: 992px) {
    .newui-content {
        width: 50%;
        padding-top: 60px;
    }
}

.newui-footer {
    position: absolute;
    z-index: 1;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    color: #777;
}

.newui-logo {
    display: block;
    width: 100%;
    max-width: 304px;
    margin: 32px auto 0;
}

@media (min-width: 992px) {
    .newui-logo {
        max-width: 360px;
    }
}

.newui-logo img {
    width: 100%;
}

.form-container .form-title {
    color: var(--primary);
    font-weight: 600;
}

.form-container .newui-btn {
    height: 36px;
    border-radius: 2px !important;
   /* text-transform: uppercase;*/
    font-weight: 600;
    border: none;
    outline: none;
    padding: 0 24px;
}

    .form-container .newui-btn.full {
        width: 100%;
    }

    .form-container .newui-btn.primary {
        background-color: var(--primary);
        color: #fff;
    }

    .form-container .newui-btn.outline {
        background-color: transparent;
        border: 1px solid var(--primary);
        color: var(--primary);
    }

.form-container .alert {
    width: 100%;
    max-width: 304px;
}

/* LOGIN FORM  */
.login-form {
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.form-group {
    width: 100%;
    max-width: 304px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border: 1px solid var(--border-color);
    box-shadow: none;
    padding: 0;
    border-radius: 2px !important;
}

    .form-group.has-error {
        border-color: #f00;
    }

    .form-group .newui-label {
        display: block;
        color: var(--border-color);
        width: 40px;
        height: 36px;
        border-right: 1px solid var(--border-color);
        margin: 0;
        border-radius: 0 !important;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .form-group .newui-input {
        flex: 1;
        height: 36px;
        border: none;
        outline: none;
        box-shadow: none;
        background-color: transparent;
        padding: 0 12px;
    }

    .form-group .newui-btn_toggle {
        width: 40px;
        height: 36px;
        display: flex;
        justify-content: center;
        align-items: center;
        color: var(--border-color);
        background-color: transparent;
        border: none;
        outline: none;
    }

    .form-group.no-border {
        border: none;
    }

.newui-actions {
    width: 100%;
    max-width: 304px;
    margin-top: -12px;
}

    .newui-actions .forget-password {
        display: block;
        margin: 15px 0;
        text-align: center;
    }

/* FORGET PASSWORD */
.form-container--forget {
    display: none;
}

.forget-form {
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

    .forget-form p {
        width: 100%;
        max-width: 304px;
        color: #555;
    }

.newui-forgot-actions {
    width: 100%;
    max-width: 304px;
    margin: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
