/* flebox spacing */
.webform-flex--container .webform-flex--container {
  margin-left: 0;
  margin-right: 0;
}
.webform-flex--container .webform-flex {
  margin-left: .5em;
  margin-right: .5em;
}
.webform-flex--container .webform-flex:first-of-type {
  margin-left: 0;
}
.webform-flex--container .webform-flex:last-of-type {
  margin-right: 0;
}
.webform-flex--container > .form-item {
  margin: 0;
  margin-bottom: 1em;
}
.webform-flexbox {
  margin: 0 -.5em;
}
.webform-flexbox .webform-flexbox {
  margin: 0;
}

/* fields and <fieldset> */
fieldset.webform-composite-hidden-title {
  margin-top: 0;
  margin-bottom: 0;
}
fieldset.form-item {
  margin-top: 0;
  margin-bottom: 0;
}
.form-item, .form-actions {
  margin-top: 0 !important;
}

/* labels */
label {
  margin-bottom: 0;
}
.form-composite > legend, .label {
  font-weight: normal !important;
}

/* radios and checkboxes */
.form-checkboxes .form-item, .form-radios .form-item {
  margin-bottom: 0 !important;
}

input[type="radio"], input[type="checkbox"] {
  margin-top: -1px;
  vertical-align: middle;
}

/* date field */
img.ui-datepicker-trigger {
  display: none;
}

/* Public Health - Exempt from Permit form */
#edit-nfe-foods span.fieldset-legend {
  font-weight: bold;
}

#edit-nfe-foods legend {
  border-bottom: 0.6rem solid;
  border-color: var(--primary);
}

#edit-nfe-foods .form-type-checkbox {
  padding: 0.3rem;
}
