/* --- Validation --- */

.fieldWithErrors {
  padding: 2px;
  display: inline;
  /* note that at the moment this is a div but can change this in environment.rb */
}

.fieldWithErrors input, .fieldWithErrors textarea, .fieldWithErrors select {
  border: 1px solid #c00;
}

.formError {
  color: #c00;
  font-weight: 900;
}

#errorExplanation {
  border: 2px solid #c00;
  padding: 7px;
  padding-bottom: 0px;
  margin-bottom: 10px;
  margin-top: 10px;
  background-color: #f0f0f0;
  width: 220px;
  color: #000000;
}

#errorExplanation h2 {
  text-align: left;
  font-weight: bold;
  padding: 2px 2px 2px 10px;
  font-size: 12px;
  margin: -7px;
  background-color: #c00;
  color: #fff;
}

#errorExplanation p {
  color: #333;
  margin-bottom: 0;
  padding: 7px 5px 0 5px;
}

#errorExplanation ul li {
  font-size: 12px;
  list-style: disc;
  margin: 0px;
  padding: 0px
}