//
// Forms
// --------------------------------------------------

fieldset {
  margin-bottom: @line-height-computed;
  padding: 0 2%;

  legend {
    font-size: ceil((@font-size-base * 1.125));
    font-weight: 700;
    margin: 0 -2% (@grid-gutter-width / 2) -2%;
  }
}



// Help text
//
// Apply to any element you wish to create light text for placement immediately
// below a form control. Use for general help, formatting, or instructional text.

.help-block {
  font-style: italic;
}
span.help-block {
  margin: 0;
  display: inline;
}

.has-error {
  ul {
    color: @state-danger-text;
  }
}

// Horizontal forms
//
// Horizontal forms are built on grid classes and allow you to create forms with
// labels on the left and inputs on the right.

.form-horizontal {

  // Consistent vertical alignment of radios and checkboxes
  //
  // Labels also get some reset styles, but that is scoped to a media query below.
  .radio,
  .checkbox,
  .radio-inline,
  .checkbox-inline {
    padding-top: 4px;
  }
}