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

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

/**
 * Filter information under field.
 */

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

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

.filter-wrapper {
  margin-top: 1.125rem;
  margin-bottom: 0.5625rem;
}

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

[dir="ltr"] .filter-help {
  float: right;
}

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

.filter-help {
  padding-top: 0.5625rem;
  padding-bottom: 0.5625rem;
  font-size: 0.75rem;
}

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

.compose-tips__item {
  margin-top: 1.6875rem;
  margin-bottom: 1.6875rem;
}

/**
 * Filter guidelines.
 */

.filter-guidelines__item {
  margin-top: 1.125rem;
  font-size: 0.875rem;
  line-height: 1.125rem;
}

.filter-guidelines p {
  margin-top: 0.28125rem;
  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.6875rem;
}

.filter-tips__item,
.filter-tips--long p {
  margin-top: 0.84375rem;
  margin-bottom: 0.84375rem;
}

.filter-tips__item--short {
  margin-top: 0.28125rem;
  margin-bottom: 0;
}
