/* FOG survey: uniform question title typography (not bold, top spacing). */
.webform-submission-form .fieldset-legend,
.webform-submission-form label.control-label:not(.option):not(.sr-only),
.webform-submission-form .webform-radios-other .panel-title,
.webform-submission-form .webform-select-other .panel-title {
  display: block;
  width: 100%;
  font-size: 1.5rem;
  font-weight: normal;
  line-height: 1.3;
  padding-top: 1.5rem;
  margin: 0 0 .5rem;
}

/* Bottom-border on the element that renders each title. For radios/checkboxes
   the title text is in an inner span, so border the parent <legend> (which
   already draws its own border) to avoid a double border. */
.webform-submission-form fieldset > legend,
.webform-submission-form label.control-label:not(.option):not(.sr-only),
.webform-submission-form .webform-radios-other .panel-title,
.webform-submission-form .webform-select-other .panel-title {
  border-bottom: 1px solid #ccc;
  padding-bottom: .25rem;
}

/* Strip the Bootstrap panel chrome + indentation from the *_other composites. */
.webform-submission-form .webform-radios-other.panel,
.webform-submission-form .webform-select-other.panel {
  border: 0;
  box-shadow: none;
  background: none;
  margin-bottom: 0;
}
.webform-submission-form .webform-radios-other > .panel-heading,
.webform-submission-form .webform-select-other > .panel-heading {
  padding: 0;
  background: none;
  border: 0;
}
.webform-submission-form .webform-radios-other > .panel-heading .panel-title,
.webform-submission-form .webform-select-other > .panel-heading .panel-title {
  padding: 1.5rem 0 .25rem;
}
.webform-submission-form .webform-radios-other > .panel-body,
.webform-submission-form .webform-select-other > .panel-body {
  padding: 0;
}

/* Even out GCD-type options: the theme's bundle.js adds .taxanomy-child-offset
   (padding-left:40px) to any .checkbox label whose text contains a hyphen, so
   the hyphenated options indent but "Unknown" (no hyphen) does not. */
.webform-submission-form .taxanomy-child-offset {
  padding-left: 20px !important;
}
