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

/**
 * @file
 * Styling for the Filter module.
 */

: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.
   */
}

/**
 * Filter information under field.
 */

.text-full > .form-item {
  margin-bottom: 0;
}

.form-element--editor-format {
  vertical-align: top;
}

@media screen and (max-width: 600px) {
  /* Leave editor's select auto-scaled. */
  .form-element.form-element--editor-format {
    width: auto;
  }
}

.filter-wrapper {
  margin-top: 0.5em; /* (8 / 16) */
  margin-bottom: 0.5em; /* (8 / 16) */
}

.filter-wrapper .form-item {
  margin: 0;
}

.filter-help {
  float: right; /* LTR */
  padding-top: 0.25em; /* (3 / 12), because font size is 12px */
  padding-bottom: 0.25em; /* (3 / 12) */
  font-size: 0.75em; /* (12 / 16), inherited font size is 16px */
}

[dir="rtl"] .filter-help {
  float: left;
}

/**
 * Compose tips.
 *
 * Wraps filter tips on page '/filter/tips[/name]'.
 */

.compose-tips__item {
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}

/**
 * Filter guidelines.
 */

.filter-guidelines__item {
  margin-top: 0.5em; /* (6 / 12) */
  color: #545560;
  font-size: 0.75em; /* (12 / 16) */
}

.filter-guidelines p {
  margin-top: 0.3333em; /* (4 / 12) */
  margin-bottom: 0;
}

/**
 * Filter tips.
 *
 * Long is used on '/filter/tips[/name]', short is used for the filter tips
 * below a text format input.
 */

.filter-tips--long {
  margin-bottom: 1.5em;
}

.filter-tips__item,
.filter-tips--long p {
  margin-top: 0.75em;
  margin-bottom: 0.75em;
}

.filter-tips__item--short {
  margin-top: 0.3333em; /* (4 / 12) */
  margin-bottom: 0;
}
