.control-input {
   margin: 0 32px 0 0;
   position: relative;
}

.validation-icon {
  width: 28px;
  height: 28px;
  position: absolute;
  top: 0;
  right: -32px;
}

.has-warning .checkbox,.has-warning .checkbox-inline,.has-warning .control-label,.has-warning .help-block,.has-warning .radio,.has-warning .radio-inline,.has-warning.checkbox label,.has-warning.checkbox-inline label,.has-warning.radio label,.has-warning.radio-inline label {
    color: #8a6d3b;
}

.has-warning .form-control {
  border-color: #8a6d3b;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}

.has-warning .validation-icon {
  background: url(../images/validation-sprite.png) 0 -28px no-repeat;
}

.has-warning .form-control:focus {
  border-color: #66512c;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b;
}

.has-error .checkbox,.has-error .checkbox-inline,.has-error .control-label,.has-error .help-block,.has-error .radio,.has-error .radio-inline,.has-error.checkbox label,.has-error.checkbox-inline label,.has-error.radio label,.has-error.radio-inline label {
    color: #a94442;
}

.has-error .form-control {
  border-color: #a94442;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}

.has-error .form-control:focus {
  border-color: #843534;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483;
}

.has-error .validation-icon {
  background: url(../images/validation-sprite.png) 0 -56px no-repeat;
}

.validations[aria-hidden="true"],
.validations [aria-hidden="true"] { 
  display: none;
}

.validations ul {
  list-style: none;
  margin: 5px 0;
  padding: 0;
}

.validations li {
  margin: 0 0 10px 0;
}
.validations li:last-child {
  margin: 0;
}

.validations {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.validations {
  width: auto;
  height: auto;
  overflow: visible;
  clip: inherit;

  margin: 7px 0 0;
  padding: 8px 12px;
  border: 1px solid #666;
  position: absolute;
  background: #fff;
  font-size: 1em;
  font-family: Helvetica,Arial,sans-serif;
  color: #666;
  text-shadow: 0 1px #fff;
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding-box;
  background-clip: padding-box;
  -webkit-animation: showHide 300ms 0 ease;
  -moz-animation: showHide 300ms 0 ease;
  -ms-animation: showHide 300ms 0 ease;
  animation: showHide 300ms 0 ease;
  max-height: 20em;
  z-index: 3;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(0,0,0,.6);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(0,0,0,.6);
}

.validations:before {
  border-color: transparent transparent #666;
  border-style: dashed solid;
  border-width: 7px;
  position: absolute;
  left: 10px;
  top: -14px;
  z-index: 1;
  content: "";
}

.validations:after {
  border-color: transparent transparent #fff;
  border-style: dashed solid;
  border-width: 7px;
  position: absolute;
  left: 10px;
  top: -12px;
  z-index: 2;
  content: "";
}

.error-summary {
  display: none;
  border: 1px solid #666;
  padding: 10px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(0,0,0,.6);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(0,0,0,.6);
}

.error-summary.open {
  display: block;
}