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


/* Input element having an invalid value */
select.error,
input.error {
  border-color: #f44336;
}

/* Input element having a valid value */
select.valid,
input.valid {
  border-color: #468847;
}

/* File inputs with invalid value */
input[type="file"].error {
  color: #f44336;
  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: #f44336;
  margin-top: 5px;
  margin-bottom: 5px;
  line-height: 140%;
  font-size: 0.75rem;
}

/* Element showing the help text declared in data-validation-help */
span.help {
  color: #999;
  margin-top: 10px;
  margin-bottom: 5px;
  line-height: 140%;
  font-size: 0.75rem;
  display: block;
}

/* Here you can style the look of the input while server being
  requested when using data-validation="server" */
select.validating-server-side,
input.validating-server-side {
  opacity: 0.5;
}

/* Here you can style the entire form while server being
  requested when using data-validation="server" */
form.validating-server-side {}

/* Container for error messages when having configuration
   parameter "errorMessagePosition" set to "top" */
div.form-error {
  background-color: #f2dede;
  padding: 15px;
  margin-bottom: 20px;
  border: #b94a48 1px solid;
  border-radius: 4px;
}

/* Title in top of the error message container */
div.form-error strong {
  font-weight: bold;
  display: block;
  margin: 0;
  padding: 0 0 10px;
}

/* Typography styling in the error message container */
div.form-error strong,
div.form-error ul li {
  line-height: 140%;
  color: #b94a48;
  font-size: 14px;
}

div.form-error ul,
div.form-error ul li {
  background: none;
}
