body.login {

    background-color: #F8F8F8;
    overflow-x: hidden;

    .logo {
        display: block;
        margin: 80px auto 30px;
    }

    .login-block {
        width: 440px;
        float: none;
    }

    .panel {
        border-radius: 6px;
        box-shadow: 0 0 150px rgba(0, 0, 0, .15);
    }

    .panel-body {
        padding: 40px 40px 30px;
    }

    .panel-title {
        line-height: 1.2;
    }

    .togglepass {
        color: #999;
        cursor: pointer;
        float: right;
    }

    /* Make sure the columns are a bit wider than usual.. */
    .col-sm-2 {
        min-width: 180px;
    }
    .col-lg-4 {
        min-width: 280px;
    }

    .togglepass.hide-password {
        display: none;
    }

    .view-site {
        position: absolute;
        right: 44px;
        top: 18px;
    }

    .control-label {
        color: #8F8F8F;
        font-size: 14px;
        font-weight: normal;
    }

    .form-control {
        height: 40px;
        @include placeholder();
    }

    .form-group {
        margin-bottom: 30px;
    }

    .btn-primary {
        padding: 0.6em 1.1em;
    }

    .login-remembered {
        display: block;
        margin-top: 5px;
        padding-left: 0;
    }

    .login-forgot {
        display: block;
        margin-top: 5px;
        float: right;
    }

    p.first-user {
        font-size: 14px;
        max-width: 32em;
        margin-bottom: 1.5em;
    }

    p.cookie-notice {
        display: none;
    }

    p.reset-group {
        display: none;
    }
}

html.modernizr-no-cookies p.cookie-notice {
  display: block;
}

@media (max-width: 766px) {
    body.login {
        label.control-label {
            padding-top: 7px;
        }

        .logo {
            margin: 18px auto 18px;
            width: 120px;
        }

        .view-site {
            right: 12px;
            top: 8px;
        }

        .login-block {
            width: 320px;
        }

        .login-forgot,
        .login-remembered {
            float: none;
            margin-top: 8px;
        }

        .panel-body {
            padding: 24px 24px 16px;
        }
    }
}
