/**
 * @file
 * Styles for Bootstrap Barrio's tables.
 */

table {
  font-size: 1em;
}
.table > :not(:first-child) {
  border: 0;
}
.table > :not(caption) > * > * {
  box-shadow: none;
  padding: 1rem 1rem;
}
.table-striped > tbody > tr:nth-of-type(odd) > * {
   background-color: transparent;
}
table table {
  font-size: 1em;
}
tr {
  border: 0;
  background-color: transparent;
}
thead > tr {
  border: 0;
}
tr.odd {
  background: none;
  background-color: transparent;
}
table tr th {
  background: none;
  background-color: transparent;

  font-weight: 500;
  color: #181C32;

  position: relative;
}
tr td,
tr th {
  padding: 1rem 1rem;
  vertical-align: middle;
}

.table thead tr,
.table thead th {
  background-color: #F3F6F9;
  border: 0;
  letter-spacing: 1px;
}

.table thead tr:last-child,
.table thead th:last-child {
  border-top-right-radius: 0.42rem;
  border-bottom-right-radius: 0.42rem;
}

.table thead tr:first-child,
.table thead th:first-child {
  border-top-left-radius: 0.42rem;
  border-bottom-left-radius: 0.42rem;
}

.table tr td {
  border: 0;
  border-bottom: 1px solid var(--gray-light);
}

table tr th, table tr th a, table tr th a:hover, table tr th a:focus {
  color: #181C32;
}

.table-hover tbody tr:hover {
  background-color: #E4E6EF;
}

.tablesort {
  background: unset;
}
.tablesort:before,
.tablesort:after {
  opacity: 0.4;
  top: 50%;
  margin-top: -0.75rem;
  bottom: auto;
  color: #181C32;
  position: absolute;
}
.tablesort:before {
  right: 1em;
  content: "↑";
}

.tablesort:after {
  right: 0.5em;
  content: "↓";
}
.tablesort.tablesort--desc:before,
.tablesort.tablesort--asc:after {
  opacity: 1;
}
