

/******
**
** passwordstrength
**
******/

DIV.password-strength {
    vertical-align: middle;
    color: #999999;
    display: inline-block;
    font-size: 0.8em;
    white-space: nowrap;
}
FORM.changepassword DIV.password-strength {
    margin-left: 20px;
}

SPAN.password-strength-box {
    display: inline-block;
    margin-left: 10px;
    height: 10px;
    width: 75px;
    border: 1px solid #999999;
    background: lightgrey;
    position: relative;
    vertical-align: middle;
    border-radius: 5px;
    /* box-shadow: inset 0 0 0 1px white; */
    overflow: hidden;
    padding: 1px;
}
SPAN.password-strength-hint {
    color: black;
    margin-left: 5px;
    vertical-align: middle;
}
SPAN.password-strength-bar {
    display: block;
    position: relative;
    height: 100%;
    width: 0%;
    /* min-width: 5px; */
    background-color: darkgrey;
    transition: all 0.5s ease-out;
    border-radius: 3px;
}

/** Define bar colour and widths **/
DIV.password-strength.very-poor .password-strength-bar {
    width: 5%;
    background-color: darkred;
}
DIV.password-strength.poor .password-strength-bar {
    width: 25%;
    background-color: darkred;
}
DIV.password-strength.very-poor .password-strength-hint,
DIV.password-strength.poor .password-strength-hint {
    width: 100%;
    color: darkred;
}

DIV.password-strength.good .password-strength-bar {
    width: 50%;
    background-color: goldenrod;
}
DIV.password-strength.good .password-strength-hint {
    color: darkorange;
}


DIV.password-strength.better .password-strength-bar {
    width: 75%;
    background-color: green;
}
DIV.password-strength.great .password-strength-bar {
    width: 100%;
    background-color: green;
}
DIV.password-strength.better .password-strength-hint,
DIV.password-strength.great .password-strength-hint {
    color: darkgreen;
}