/**
 * @file
 * Visual styles for Flashy+'s tables.
 */
table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  margin: 0 0 40px;
}
.table-responsive {
  margin-bottom: 40px;
}
.table-responsive table {
  margin-bottom: 0;
}
table tr th {
  border-style: solid;
  border-width: 0;
  border-color: var(--mt-form-border);
  background-color: #F8F9FB;
  padding: 20px 26px;
  font-size: 18px;
  font-weight: 700;
  color: var(--mt-color-base);
}
table tr:first-child th {
  border-top-width: 1px;
}
table tr:last-child th {
  border-bottom-width: 1px;
}
.headings-wide-spacing-enabled table tr th {
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
table thead tr:first-child th {
  border-bottom-width: 0;
}
table tr th:last-child {
  border-right-width: 1px;
}
table tr td {
  border-style: solid;
  border-width: 0;
  padding: 12px 26px;
  background-color: transparent;
  font-weight: 400;
  color: var(--mt-color-base);
  border-color: var(--mt-form-border);
}
.region--light-typography table tr td {
  border-color: var(--mt-form-border-contrast);
  background-color: transparent;
  color: var(--mt-form-color-contrast);
}
table tr:first-child td {
  border-top-width: 1px;
}
table tr:last-child td {
  border-bottom-width: 1px;
  padding-bottom: 16px;
}
table thead + tbody tr:first-child th,
table thead + tbody tr:first-child td {
  padding-top: 24px;
  border-top-width: 0;
}
table tr th:first-child,
table tr td:first-child {
  border-left-width: 0px;
}
table tr th:last-child,
table tr td:last-child {
  border-right-width: 0px;
}
td.is-active {
  background-color: var(--mt-active-cell);
}

/* Table caption */
table caption {
  padding: 10px 0;
  font-size: 16px;
  color: inherit;
}

/* layout builder */
#layout-builder-modal table tr td {
  padding: 12px 15px;
}
