/* LOGO
***********************/
#loginPage {
    nav {
        background-color: @theme-color-header-background;
    }
    #logo {
        padding-top: 6px;

        img.default-piwik-logo {
            width: 171px;
        }

        img {
            max-height: 32px;
        }
    }
    #logo:not(.center) {
        padding-left: 16px;
    }

    .message_container {
        margin-top: 16px;
        margin-bottom: 16px;
    }

    /* LAYOUT
    ***********************/
    #loginPage a {
        text-decoration: none;
    }

    .loadingPiwik {
        float: left;
        margin-left: 16px;
    }

    /* FORM
    ***********************/

    .loginSection {
        margin-top: 32px;

        > .col {
            max-width: 750px;
        }
        > .col:not(.invite-form-section-div):not(.onboardingImage){
            float: none;
            margin-left: auto;
            margin-right: auto;
        }
        .icon.prefix {
            font-size: 1.5rem;
            width: 2.5rem;
            padding-top: 0.9rem;
        }

        .input-field {
            .prefix ~ input {
                margin-left: 2.5rem;
                width: 80% !important;
                overflow: hidden;
            }
        }

        .btn {
            margin-top: 0;
            font-weight: bold;
        }

        .btn.disabled,
        .btn[disabled],
        fieldset[disabled] .btn {
            background-color: @color-gray !important;
        }

        fieldset {
            border: 0;
        }

        .actions {
            line-height: 35px;
        }
    }

    #login_form {
        margin-top: 16px;

        .row:last-child {
            margin-bottom: 0;
        }

        .row.actions a {
            color: #777777;
        }
    }

    #login_form_rememberme {
        vertical-align: middle;
    }

    /* FIELDS
    ***********************/

    /* MESSAGE
    ***********************/
    .message {
        margin: 0 auto;
        border: 1px solid #e6db55;
        padding: 12px;
        background-color: #ffffe0;
    }

    /* NAVIGATION
    ***********************/
    #nav,
    #piwik {
        margin: 0 0 0 8px;
        padding: 16px;
    }

    #nav {
        text-align: center;
    }

    #nav a {
        color: #777;
    }

    #piwik a {
        color: #CDCDCD;
    }

    .hints{
        font-size: 14px;
        color: gray;
    }

    .card > .system.notification:last-child {
      margin-bottom: 0;
    }
}

.onboarding {
    background: white;

    h1 {
        margin-top: 4rem;
        margin-bottom: 1.5rem;
        line-height: 24px;
    }

    .description {
        margin-bottom: 1.5rem;
        line-height: 24px;
    }

    label {
        font-weight: 600;
        color: unset !important;
    }

    .formSubmitButton {
        text-transform: uppercase;
        float: unset;
    }

    #footerLinks {
        display: none;
    }

    .onboardingImage {
        max-width: 620px;
    }

    .actions {
        label {
            font-weight: unset;
        }
    }

    @media screen {
        @media (max-width: 999px) {
            .formSubmitButtonRow {
                position: fixed;
                width: 100%;
                bottom: 0;
            }

            .formSubmitButton {
                width: 100% !important;
            }

            h1 {
                margin-top: 0;
            }
        }
    }
}

.cancelResetPassword {
    .alert {
        margin-top: 20px;
    }
}
