.table {
  border: 1px solid var(--content-border-color);
  padding: 0px;
  margin: 0px;
  border-radius: var(--content-border-radius);
  display: block;
  border-collapse: collapse;
  box-shadow: 0px 1px 1px var(--content-border-color);
  background: var(--content-card-background);
}

.table .table-search-header {
  padding: var(--content-thead-padding) var(--content-card-padding);
  margin: 0px;
  border-bottom: 0.1rem solid var(--content-border-color);
}

.table .table-search-header.is-input-active {
  box-shadow: 0 0 0 0.1rem var(--content-input-active-border-color);
  border-color: var(--content-input-active-border-color);
  border-radius: var(--content-border-radius) var(--content-border-radius) 0px 0px;
}

.table th a {
  cursor: default;
}
.table th .sortable {
  cursor: pointer;
  text-decoration: none !important;
  display: flex;
  justify-content: space-between;
}
.table th .sortable::after {
  font-family: 'Font Awesome 6 Pro';
  font-weight: 300;
  margin-left: 16px;
  display: inline-block;
  text-decoration: none !important;
}
.table th .sortable::after {
  content: "\e0ae"; /* fal fa-bars-sort */
  opacity: 0.4;
}
.table th .sort-active.sort-next-asc::after {
  content: "\f881"; /* fal fa-arrow-down-z-a */
  opacity: 0.8;
}
.table th .sort-active.sort-next-none::after {
  content: "\f15d"; /* fal fa-arrow-down-a-z */
  opacity: 0.8;
}

.table .table-search-header.is-input-active input {
  box-shadow: none!important;
}

.table .table-search-header .table-search-input {
  padding: 0px 0px;
  margin: 0px;
  width: auto;
  display: flex;
  column-gap: 8px;
  position: relative;
  flex: auto;
}
.table .table-search-header .table-header-results {
  min-width: fit-content;
}
.table .table-search-header .table-search-filters {
  margin-top: var(--content-thead-padding);
}
.table .table-search-header .table-search-filters .table-filter {
  white-space: nowrap;
  position: relative;
  display: inline-block;
}
.table thead th {
  position: relative;
}
.table thead .dropdown-menu.show,
.table .table-search-header .table-search-filters .table-filter > .dropdown-menu.show {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  padding: 8px 16px;
  display: inline-block;
}
.table .table-search-header .table-search-filters .table-filter > a:first-child {
  border-top-left-radius: var(--content-button-border-radius);
  border-bottom-left-radius: var(--content-button-border-radius);
}
.table .table-search-header .table-search-filters .table-filter> a:last-child {
  border-top-right-radius: var(--content-button-border-radius);
  border-bottom-right-radius: var(--content-button-border-radius);
}
.table .table-search-header .table-search-filters .table-filter > a {
  padding: var(--content-button-padding);
  border: 1px solid var(--content-border-color);
  color: var(--content-button-color);
  border-right: 1px solid var(--content-border-color);
  line-height: 21px;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
}
.table .table-search-header .table-search-filters .table-filter-active > a {
  background: var(--content-button-background-color);
}
.table .table-search-header .table-search-filters .table-filter > a:hover {
  border: 1px solid var(--content-active-button-background-color);
}
.table .table-search-header .table-search-filters .table-filter .fal {
  margin-left: 8px;
}

.table .table-search-header .table-search-input .search-icon,
.table .table-search-header .table-search-input .filter-icon {
  display: block;
  text-align: left;
  margin-left: 4px;
  width: 20px;
  flex: none;
}

.table .table-search-header .table-search-input .search-icon i,
.table .table-search-header .table-search-input .filter-icon i {
  margin-top: 8px;
  color: var(--content-input-text-color);
}

.table .table-search-header .table-search-input .filter-icon {
  cursor: pointer;
}

.table .table-search-header .table-search-input input {
  padding: 4px;
  margin: 0px;
  color: var(--content-input-text-color);
  border: none;
  outline: none;
  font-size: 16px;
  background: transparent;
}

.table table,
table.table {
  padding: 0px;
  margin: 0px;
  border: none;
  width: 100%;
  background: var(--content-thead-background);
}

table.table {
  border-radius: 0px;
  margin: calc(var(--content-card-padding) * -1);
  width: calc(100% + (var(--content-card-padding) * 2));
  margin-bottom: 0px;
}

.table table thead th,
table.table thead th {
  padding: var(--content-thead-padding) 8px;
  border-bottom: 1px solid var(--content-border-color);
  text-align: left;
}

.table table thead th:first-child,
.table table tbody td:first-child,
table.table thead th:first-child,
table.table tbody td:first-child {
  padding-left: var(--content-card-padding);
}

.table table thead th a,
table.table thead th a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  color: var(--content-thead-text-color, var(--content-h2-color));
}

.table table thead th a:hover,
table.table thead th a:hover {
  text-decoration: underline;
}

.table table tbody td,
table.table tbody td {
  background: var(--content-table-data-background-color);
  padding: calc(var(--content-thead-padding) / 2) var(--content-thead-padding);
  color: var(--content-table-data-text-color, var(--text-color));
  font-size: 16px;
  font-weight: 300;
  border-bottom: 1px solid var(--content-border-color);
}

.table table tbody td > .text-match,
table.table tbody td > .text-match {
  color: var(--content-table-data-match-color);
}

.table table tbody tr:nth-child(even) td,
table.table tbody tr:nth-child(even) td {
  background: var(--content-thead-background, var(--content-table-data-background-color));
}

.table .table-footer {
  padding: var(--content-thead-padding);
  margin: 0px;
  display: flex;
  flex-direction: row;
  text-align: center;
  background: var(--content-card-background, var(--content-thead-background));
  border-radius: 0px 0px var(--content-border-radius) var(--content-border-radius);
}
.table .table-footer-rows-set {
  display: flex;
  flex: 1;
  width: 40%;
  justify-content: flex-end;
  align-items: center;
  grid-column-gap: 8px;
  flex-direction: row;
}
.table .table-footer-pages {
  display: flex;
  flex-direction: column;
  grid-row-gap: 5px;
}

.table .table-footer-pages-inner {
  padding: 0px;
  margin: 0px;
  flex: 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.table .select-rows-input-datatable {
  width: auto;
  text-align: center;
}

.content .table .table-footer-pages-inner button,
.table .table-footer-pages-inner button {
  padding: var(--content-button-padding);
  margin: 0px;
  display: inline-block;
  cursor: pointer;
  border: 1px solid var(--content-border-color);
  border-radius: var(--content-button-border-radius);
  background: var(--content-button-background-color);
  color: var(--content-button-color);
  font-size: 16px;
  font-weight: 400;
  box-shadow: 0px 1px 1px var(--content-border-color);
}

.content .table .table-footer-pages-inner button:hover,
.table .table-footer-pages-inner button:hover {
  background: var(--content-button-background-hover-color, var(--content-button-background-color));
  border-color: var(--content-table-data-text-color);
}

.table + div.pt-5 {
  display: flex;
  justify-content: center;
  margin-top: 15px;
  column-gap: 5px;
}