// We use these to style the fieldset border and spacing.
@fieldset-border-style: solid;
@fieldset-border-width: 1px;
@fieldset-border-color: #ddd;
@fieldset-padding: rem(20px);
@fieldset-margin: rem(18px 0px);

// We use these to style the legends when you use them
@legend-bg: @color-background;
@legend-font-weight: bold;
@legend-padding: rem(0px 3px);


/* We add basic fieldset styling */
fieldset {
  border: @fieldset-border-width @fieldset-border-style @fieldset-border-color;
  padding: @fieldset-padding;
  margin: @fieldset-margin;

  // and legend styles
  legend {
    font-weight: @legend-font-weight;
    background: @legend-bg;
    padding: @legend-padding;
    margin: 0;
    margin-@{default-float}: rem(-3);
  }
}
