/*
 * DO NOT EDIT THIS FILE.
 * See the following change record for more information,
 * https://www.drupal.org/node/2815083
 * @preserve
 */

/**
 * @file
 * Fieldset styles.
 */

:root {
  /*
   * Color Palette.
   */
  /* Secondary. */
  /* Variations. */ /* 5% darker than base. */ /* 10% darker than base. */ /* 10% darker than base. */ /* 20% darker than base. */ /* 5% darker than base. */ /* 10% darker than base. */ /* 5% darker than base. */ /* 10% darker than base. */ /* 5% darker than base. */ /* 10% darker than base. */
  /*
   * Base.
   */
  /*
   * Typography.
   */ /* 1rem = 16px if font root is 100% ands browser defaults are used. */ /* ~32px */ /* ~29px */ /* ~26px */ /* ~23px */ /* ~20px */ /* 18px */ /* ~14px */ /* ~13px */ /* ~11px */
  /**
   * Spaces.
   */ /* 3 * 16px = 48px */ /* 1.5 * 16px = 24px */ /* 1 * 16px = 16px */ /* 0.75 * 16px = 12px */ /* 0.5 * 16px = 8px */
  /*
   * Common.
   */
  /*
   * Inputs.
   */ /* Absolute zero with opacity. */ /* Davy's grey with 0.6 opacity. */ /* Light gray with 0.3 opacity on white bg. */ /* Old silver with 0.5 opacity on white bg. */ /* (1/8)em ~ 2px */ /* (1/16)em ~ 1px */ /* Font size is too big to use 1rem for extrasmall line-height */ /* 7px inside the form element label. */ /* 8px with the checkbox width of 19px */
  /*
   * Details.
   */
  /**
   * Buttons.
   */
  /**
   * jQuery.UI dropdown.
   */ /* Light gray with 0.8 opacity. */ /* Text color with 0.1 opacity. */
  /**
   * Progress bar.
   */
  /**
   * Tabledrag icon size.
   */ /* 17px */
  /**
   * Ajax progress.
   */
  /**
   * Breadcrumb.
   */
}

.fieldset {
  min-width: 0;
  margin: 1rem 0;
  padding: 0;
  color: #222330;
  border: 1px solid rgba(216, 217, 224, 0.8);
  border-radius: 2px;
  background-color: #fff;
  box-shadow: 0
2px
4px
rgba(0, 0, 0, 0.1);
}

.fieldset--group {
  color: inherit;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

/* IE workaround. */

/* stylelint-disable-next-line selector-type-no-unknown */

_:-ms-fullscreen,
.fieldset {
  display: table;
  box-sizing: border-box;
  width: 100%;
}

/**
 * Fieldset legend.
 */

.fieldset__legend {
  display: contents; /* For Firefox. */
  float: left; /* iOS Safari, Android Chrome, Edge. */
  width: 100%; /* iOS Safari, Android Chrome, Edge. */
  margin-bottom: 1rem;
  color: #545560;
  font-weight: bold;
}

@media screen and (min-width: 48em) {
  .fieldset__legend {
    margin-bottom: 1.5rem;
  }
}

.fieldset__legend--composite {
  float: none;
  width: auto;
  margin-top: 0; /* IE11 and Edge do not collapse this margin. Ideally this would be 4px */
  margin-bottom: 0.25rem; /* 4px */
  color: inherit;
  font-size: 0.889rem; /* 14px */
  line-height: 1.125rem; /* 18px */
}

/* This is used only on install configure form. */

.fieldset__legend--group {
  text-transform: uppercase;
  color: inherit;
}

.fieldset__label {
  display: block;
  padding: 1rem;
  line-height: 1rem;
}

@media screen and (min-width: 48em) {
  .fieldset__label {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }
}

.fieldset__label--group {
  padding: 0;
  line-height: inherit;
}

.fieldset__label.is-disabled {
  color: #82828c;
}

.fieldset__label.has-error {
  color: #d72222;
}

.fieldset__description {
  margin-top: 0.375rem; /* 6px */
  margin-bottom: 0.375rem; /* 6px */
  color: #545560;
  font-size: 0.79rem; /* ~13px */
  line-height: 1.0625rem; /* 17px */
}

.fieldset__description.is-disabled {
  color: #82828c;
}

/* Error message (Inline form errors). */

.fieldset__error-message {
  margin-top: 0.375rem; /* 6px */
  margin-bottom: 0.375rem; /* 6px */
  color: #d72222;
  font-size: 0.79rem; /* ~13px */
  font-weight: normal;
  line-height: 1.0625rem; /* 17px */
}

.fieldset__wrapper {
  margin: 1rem;
}

@media screen and (min-width: 48em) {
  .fieldset__wrapper {
    margin: 1.5rem 1.5rem 1.75rem;
  }
}

.fieldset__legend--visible ~ .fieldset__wrapper {
  margin-top: 0;
}

.fieldset__wrapper--group {
  margin: 0;
}

/**
 * Remove the unnecessary extra padding of container-inline wrapper if it's used
 * inside a fieldset.
 */

.fieldset__wrapper > .container-inline {
  padding: 0;
}
