.has-success .help-block,
.has-success .radio,
.has-success .checkbox,
.has-success .form-check,
.has-success .radio-inline,
.has-success .checkbox-inline,
.has-success .form-check-inline {
  color: #3c763d;
}
.has-success .form-control,
.has-success .form-select {
  border-color: #3c763d;
  -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);
}
.has-success .form-control:focus,
.has-success .form-select:focus {
  border-color: #2b542c;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168;
}
.has-success .input-group-addon,
.has-success .input-group-text {
  color: #3c763d;
  background-color: #198754;
  border-color: #3c763d;
}

.has-warning .help-block,
.has-warning .radio,
.has-warning .checkbox,
.has-warning .form-check,
.has-warning .radio-inline,
.has-warning .checkbox-inline,
.has-warning .form-check-inline {
  color: #8a6d3b;
}
.has-warning .form-control,
.has-error .form-select {
  border-color: #8a6d3b;
  -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);
}
.has-warning .form-control:focus,
.has-warning .form-select:focus {
  border-color: #66512c;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b;
}
.has-warning .input-group-addon,
.has-warning .input-group-text {
  color: #8a6d3b;
  background-color: #ffc107;
  border-color: #8a6d3b;
}

.has-error .help-block,
.has-error .radio,
.has-error .checkbox,
.has-error .form-check,
.has-error .radio-inline,
.has-error .checkbox-inline,
.has-error .form-check-inline {
  color: #a94442;
}
.has-error .form-control, 
.has-error .form-select {
  border-color: #a94442;
  -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);
}
.has-error .form-control:focus,
.has-error .form-select:focus {
  border-color: #843534;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;
}
.has-error .input-group-addon,
.has-error .input-group-text {
  color: #a94442;
  background-color: #dc3545;
  border-color: #a94442;
}

legend {
  border-bottom: 1px solid #e5e5e5;
}
