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

/**
 * @file
 * Styles for tabledrag.
 */

.draggable:hover {
  background-color: #f7f9fa;
}

.draggable.drag {
  background-color: #f1f4f7;
}

.draggable.drag-previous {
  background-color: #e7edf1;
}

.drag-previous a {
  color: #313637; /* Ensure proper contrast. */
}

a.tabledrag-handle,
.touchevents a.tabledrag-handle {
  width: 2.25rem;
  height: 2.25rem;
}

[dir="ltr"] .draggable a.tabledrag-handle {
  margin-left: 0;
}

[dir="rtl"] .draggable a.tabledrag-handle {
  margin-right: 0;
}

a.tabledrag-handle .handle {
  width: 2.25rem;
  height: 2.25rem;
  margin: 0;
  background-position: 50% 5px;
}

.touchevents a.tabledrag-handle .handle {
  height: 2.25rem;
  background-position: 50% 5px;
}

[dir="ltr"] .touchevents .draggable td {
  padding-left: 0;
}

[dir="rtl"] .touchevents .draggable td {
  padding-right: 0;
}

[dir="ltr"] .touchevents .draggable td {
  padding-right: 0.5625rem;
}

[dir="rtl"] .touchevents .draggable td {
  padding-left: 0.5625rem;
}

.touchevents .draggable td {
  padding-top: 0.5625rem;
  padding-bottom: 0.5625rem;
}

.touchevents .draggable .menu-item__link {
  padding: 0;
}
