/**
 * Default CSS theme for jQuery-Form-Validator.
 * @author Victor Jonsson <victorjonsson.se>
 */


/* Input element having an invalid value */
select.error,
input.error {
    border-color: #b94a48;
    background-image: url('data:image/png;base64,[encoded data, 29336 characters]');
    background-position:  right 5px center;
    background-repeat: no-repeat;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
}

/* Input element having a valid value */
select.valid,
input.valid {
    border-color: #468847;
    background-image: url('data:image/png;base64,[encoded data, 29288 characters]');
    background-position: right 5px center;
    background-repeat: no-repeat;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
}

/* File inputs with invalid value */
input[type="file"].error {
    color: #b94a48;
    background: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

/* File inputs with valid value */
input[type="file"].valid {
    color: #468847;
    background: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

/* Element showing an inline error message */
.form-error {
    display: block;
    color: #b94a48;
    margin-top: 5px;
    margin-bottom: 10px;
    line-height: 140%;
}

/* Element showing the help text declared in data-validation-help */
span.help {
    color: #999;
    font-size: 90%;
}
