body {
    min-height: 100%;  /* Fallback for vh unit */
    min-height: 100vh;

    /* Make it a flex container */
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    /* Align the bootstrap's container vertically */
    -webkit-box-align : center;
    -webkit-align-items : center;
    -moz-box-align : center;
    -ms-flex-align : center;
    align-items : center;

    /* In legacy web browsers such as Firefox 9
       we need to specify the width of the flex container */
    width: 100%;

    /* Also 'margin: 0 auto' doesn't have any effect on flex items in such web browsers
       hence the bootstrap's container won't be aligned to the center anymore.
       Therefore, we should use the following declarations to get it centered again */
    -webkit-box-pack : center;
    -moz-box-pack : center;
    -ms-flex-pack : center;
    -webkit-justify-content : center;
    justify-content : center;
}

.auth-form {
    margin: 10px auto;
    background-color: #fff;
    padding: 15px;
}
.auth-form .password-note {
    padding: 0 20px;
}
.auth-form label {
    display: block;
    margin-bottom: 7px;
    font-weight: normal;
}
.auth-form .btn {
    margin-top: 20px;
}
.auth-form {
    margin-bottom: 0;
}
.label-link {
    float: right;
    font-size: 12px;
}
.auth-form-header {
    margin-bottom: 18px;
    color: #333;
    text-align: center;
    text-shadow: none;
    background-color: transparent;
    border: 0;
}
.auth-form-header h1 {
    font-size: 22px;
    font-weight: 300;
    letter-spacing: -0.5px;
    margin: 0px;
}
.auth-form-body {
    border-top: 1px solid #d8dee2;
    font-size: 14px;
    border-top: 0;
    border-radius: 0 0 3px 3px;
    min-height: 250px;
    position: relative;
}
.auth-form-body .bottom {
    position: absolute;
    bottom: 0;
}

.error-message {
    margin-top: 5px;
    display: inline-block;
    width: 100%;
}

.footer-icon {
    color: white;
    background-color: lightgray;
    padding: 2px;
    border-radius: 3px;
    font-size: .8em;
}

.checkbox {
    display: inline-block;
}

.line-height-normal {
    line-height: normal;
}

@media only screen and (min-width: 480px) {
    .auth-form {
        max-width: 340px;
    }
}

@media only screen and (max-width: 480px) {
    input[type="checkbox"] {
        margin: 1px 0 0;
    }
}

