#login {
width:600px;
background-color: white;
padding: 2em;
}
#login h3 {
font-size:150%;
margin:1em 0;
font-weight:bold;
}
#login form {
background:#e0e0e0;
width:500px;
padding:5px;
margin:1em auto;
}
#login ul {
margin:0 auto;
width:370px;
}
#login li {
line-height:30px;
margin:.5em 0;
}
/*#login form label {
text-align:right;
display:block;
}
*/
#login form fieldset ul li button {
    line-height: 1em;
}

/* Repeat of Warning/info message styling just in case */
.ui-widget.announcement .ui-state-highlight, .ui-widget.announcement .ui-state-error {
padding:0 1em;
}
.ui-widget.announcement .ui-icon {
margin-right:.3em;
}

#login div {
    display:block;
}

#login fieldset ul li {
    white-space: nowrap;
    display:block;
    clear:both;
}

#login fieldset ul li label {
    /*text-align:left;*/
    display: block;
    text-align: left;
    float: left;
    clear: left;

    width: 160px;
}

#login fieldset ul li span.right {
        float: right;
}
#login fieldset ul li input[type=text] {
    width: 180px;
}

#login fieldset ul li input[type=password] {
    width: 180px;
}

#login fieldset ul li select {
    /*float:right;*/
}

/* hide most of the form until / unless needed */
#login div#challenge_2fa_container {
    display:none;
}
#login div#interstitial_container {
    display: none;
}
#login div#password_reset_auth_container {
    display: none;
}
#login div#password_reset_container {
    display: none;
}

#enter_2fa_fields {
    /* hide until the 2fa code is sent */
    display:none;
}
#pw_reset_send_auth_fields {
    display: none;
}
#pw_reset_enter_auth_fields {
    /* hide until the 2fa code is sent */
    display: none;
}

#interstitial_text {
    max-height: 400px;
    overflow-y: auto;
}

#start_reset {
    text-decoration: underline;
    text-align: left;
    cursor: pointer;
}

#interstitial_text {
    background-color: white;
    margin: 0.5em;
    padding: 1em;
}

#login div#login_complete {
    display:none;
    padding: 1em;
    border: 1px solid grey;
    background-color: #e0e0e0;
    font-size: 110%;
}

#pw_reset_fields label {
    padding-left: 2em;
    margin-left: -2em;
    background-repeat: no-repeat;
    background-position: 0px 6px;
}

#pw_reset_fields label.fail {
    background-image:url("../img/fail.png");
}

#pw_reset_fields label.pass {
    background-image:url("../img/pass.png");
}

#login_wait_container {
    display:block;
    height: 16px;
}

span.wait {
    display:none;
}

#login_message {
    display:block;
    height: 3em;
}