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

/**
 * @file
 * Styles for multiple file widget table.
 */

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

.table-file-multiple-widget tbody {
  vertical-align: top;
}

.table-file-multiple-widget .tabledrag-cell-content {
  position: relative;
  display: block;
  height: auto;
}

.table-file-multiple-widget .tabledrag-cell-content > * {
  display: block;
}

.table-file-multiple-widget .tabledrag-cell-content__item {
  padding: 0;
}

.table-file-multiple-widget .tabledrag-handle {
  float: left; /* LTR */
}

[dir="rtl"] .table-file-multiple-widget .tabledrag-handle {
  float: right;
}

.table-file-multiple-widget .tabledrag-changed {
  float: left; /* LTR */
  line-height: 2.0625rem;
}

[dir="rtl"] .table-file-multiple-widget .tabledrag-changed {
  float: left;
}

.table-file-multiple-widget td {
  height: 3rem;
}

.table-file-multiple-widget td > :first-child {
  margin-top: 0;
}

.table-file-multiple-widget td > :last-child {
  margin-bottom: 0;
}

.table-file-multiple-widget .button.button:only-child {
  margin: 0;
}

.table-file-multiple-widget th {
  height: 2rem;
  color: #545560;
  background: #f3f4f9;
  font-size: 0.889rem;
}

.table-file-multiple-widget td {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.table-file-multiple-widget .tabledrag-cell {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.table-file-multiple-widget .checkbox .form-type--boolean {
  line-height: 3rem;
}

.no-touchevents .table-file-multiple-widget .checkbox .form-type--boolean {
  line-height: 1.5;
}

/**
 * The cell that contains file operations (usually, this is the remove button).
 */

.file-operations-cell {
  width: 1px;
  white-space: nowrap; /* Don't let ajax-progress be broken into a new line. */
}

/**
 * Remove the border for the last table row if upload is not possible.
 * (A full file widget with limited cardinality.)
 */

.table-file-multiple-widget--no-upload > tbody:last-child > tr:last-child {
  border-bottom: 0;
}

/**
 * Take as much space as possible.
 */

@media screen and (max-width: 37.5em) {
  .claro-details__wrapper .file-widget-multiple__table-wrapper {
    margin-right: -1rem;
    margin-left: -1rem;
  }

  .claro-details__wrapper .file-widget-multiple__table-wrapper > :not(table) {
    margin-right: 1rem;
    margin-left: 1rem;
  }
}
