/* LOGIN FORM */

body.login {
    background: #eee;
}

.login #container {
    background: white;
    width: 28em;
    margin: 100px auto 30px;
    border: 1px solid #D4D4D4;
    line-height: 1.63em;
    min-width: 451px;
    min-height: 180px;
    height: auto;
    padding: 30px;
    position: relative;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    -o-border-radius: 8px;
    -ms-border-radius: 8px;
    -khtml-border-radius: 8px;
    border-radius: 8px;
    -moz-box-shadow: 0px 1px 8px rgba(0,0,0,0.15);
    -webkit-box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.15);
    -o-box-shadow: 0px 1px 8px rgba(0,0,0,0.15);
    box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.15);
    text-align: left;
}
.login #content {
    margin: 0;
    width: 230px;
    float: right;
}
.login #content-main {
    border-left: 1px solid #DDD;
    float: right;
    margin-left: 30px;
    min-height: 180px;
    padding-left: 30px;
    text-align: left;
    width: 230px;
}
.login #header {
    width: 160px;
    background: none;
    color: #333;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    -o-box-shadow: none;
    box-shadow: none;
    display: inline-block;

}
.login #branding {
    vertical-align: middle;
    display: inline-block;
    float: left;
    height: 180px;
    margin: 0;
    padding: 0;
    min-width: 160px;
    background: none;
    width:160px;
    background: url(../img/logo.png) center center no-repeat;

}
.login #branding h1 {
    color: #333;
    padding: 0;
    margin: 0;
    text-indent: -999999px;
    vertical-align: middle;
    margin-top: auto;
}

.login #footer {
    padding: 0;
}
.login form {
    margin-top: 1em;
}

.login .form-row {
    padding: 4px 0;
    float: left;
    width: 100%;
}

.login .form-row label {
    float: left;
    width: 9em;
    padding-right: 0.5em;
    line-height: 2em;
    font-size: 1em;
    color: #333;
    font-weight: bold;
}

.login .form-row #id_username, .login .form-row #id_password {
    width: 14em;
}

.login span.help {
    font-size: 10px;
    display: block;
}

.login .submit-row {
    clear: both;
    padding: 1em 0 0 9.4em;
}

.login .password-reset-link {
    text-align: center;
}
