@charset "utf-8";

:root {
  --page-bg: rgb(243, 243, 243);
  --text: #333333;
  --muted: #666666;
  --line: #d5d5d5;
  --line-light: #e7e7e7;
  --purple: #5b3f8c;
  --purple-dark: #442b73;
  --purple-soft: #ece8f3;
  --table-head: #eeeeee;
}

body {
  margin: 0px;
}

.downloadDiv *,
.floating-filter * {
  box-sizing: border-box;
}

.downloadDiv a {
  color: var(--purple-dark);
}

.container {
  width: 1250px;
  min-height: 100vh;
  margin: 0 auto;
  padding-bottom: 0px;
  position: relative;
  background-color: var(--page-bg);
}

.footer {
  position: absolute;
  bottom: 0;
  padding-top: 30px;
  width: 100%;
}

.download-content {
  padding-bottom: 90px;
}

.downloadDiv {
  width: 1062px;
  max-width: calc(100% - 48px);
  margin: 50px auto 0 auto;
}

.downloadDiv span {
  font-size: large;
  font-weight: bold;
}

.table-shell span {
  font-size: inherit;
  font-weight: inherit;
}

.downloadDiv p {
  margin-top: 0;
}

.table-section {
  margin-top: 50px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 0;
  padding-bottom: 8px;
}

.section-description {
  margin: 0 0 12px 0;
  color: var(--text);
  font-size: large;
  line-height: 1.45;
  text-align: justify;
}

.download-search-row {
  display: grid;
  width: 100%;
  grid-template-columns: 128px minmax(0, 1fr) 128px minmax(0, 1fr) 128px minmax(0, 1fr);
  align-items: center;
  border: 1px solid var(--line);
  background: #ffffff;
}

.download-search-label {
  min-height: 39px;
  border-right: 1px solid var(--line);
  background: var(--table-head);
  color: #333333;
  font-size: large;
  font-weight: bold;
  line-height: 39px;
  padding: 0 12px;
  white-space: nowrap;
}

.download-search-control {
  position: relative;
  min-width: 0;
  border-right: 1px solid var(--line);
}

.download-search-control::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 10px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #777777;
  pointer-events: none;
  transform: translateY(-50%);
}

.download-search-control:last-child {
  border-right: 0;
}

.download-search-input {
  width: 100%;
  min-width: 0;
  height: 39px;
  border: 0;
  color: var(--text);
  font: inherit;
  font-size: large;
  padding: 6px 30px 6px 10px;
}

.download-search-input::placeholder {
  color: #999999;
}

.download-search-input:focus {
  background: #fbf9ff;
  outline: 1px solid var(--purple);
  outline-offset: -1px;
}

.download-search-options {
  position: absolute;
  z-index: 1200;
  top: 100%;
  left: -1px;
  right: -1px;
  max-height: 230px;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid #bfbfbf;
  background: #ffffff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.14);
}

.download-search-options[hidden] {
  display: none;
}

.download-search-option {
  display: block;
  width: 100%;
  min-height: 30px;
  border: 0;
  border-bottom: 1px solid #eeeeee;
  background: #ffffff;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: large;
  padding: 5px 10px;
  text-align: left;
  white-space: nowrap;
}

.download-search-option:hover {
  background: var(--purple-soft);
  color: var(--purple-dark);
}

.download-search-option[hidden] {
  display: none;
}

.download-search-not-found {
  margin: 0;
  padding: 8px 10px;
  color: var(--muted);
  font-size: large;
}

.download-search-not-found[hidden] {
  display: none;
}

.results-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-bottom: 8px;
}

.table-count {
  margin: 0;
  color: var(--muted);
  font-size: large;
}

.table-shell {
  border: 1px solid var(--line);
  background: #ffffff;
}

.table-scroll {
  overflow-x: auto;
  overflow-y: hidden;
}

.table-shell table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  table-layout: fixed;
}

.table-shell th,
.table-shell td {
  border-bottom: 1px solid var(--line-light);
  padding: 9px 12px;
  text-align: left;
  vertical-align: middle;
}

.table-shell th {
  border-right: 1px solid var(--line);
  background: var(--table-head);
  color: #333333;
  font-size: large;
  font-weight: bold;
}

.table-shell td {
  border-right: 1px solid #eeeeee;
  background: #ffffff;
  color: #333333;
  font-size: large;
  overflow: hidden;
  text-overflow: clip;
  white-space: nowrap;
}

.table-shell th:last-child,
.table-shell td:last-child {
  width: 118px;
  border-right: 0;
  overflow: visible;
  text-align: center;
}

.table-shell tbody tr:nth-child(even) td {
  background: #fafafa;
}

.table-shell tbody tr:hover td {
  background: #f5f1fb;
}

.table-shell tbody tr:last-child td {
  border-bottom: 0;
}

.column-filter-button {
  display: flex;
  width: 100%;
  min-height: 26px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-weight: inherit;
  padding: 0;
  text-align: left;
}

.downloadDiv,
.floating-filter,
.pagination button {
}

.column-filter-button::after {
  content: "";
  flex: 0 0 auto;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #777777;
}

.column-filter-button:hover {
  color: var(--purple-dark);
}

.column-filter-button span:first-child {
  overflow: hidden;
  text-overflow: clip;
  white-space: nowrap;
}

.filter-indicator {
  display: none;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--purple);
  color: #ffffff;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
}

.table-shell .filter-indicator {
  font-size: 12px;
  font-weight: normal;
}

.filter-indicator:not(:empty) {
  display: inline-block;
}

.floating-filter {
  position: fixed;
  z-index: 1000;
  width: min(275px, calc(100vw - 48px));
  border: 1px solid #bfbfbf;
  background: #ffffff;
  color: var(--text);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

.floating-filter[hidden] {
  display: none;
}

.filter-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  background: var(--purple-soft);
  padding: 8px 10px;
}

.filter-menu-head strong {
  overflow: hidden;
  color: var(--purple-dark);
  font-size: large;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filter-menu-head button {
  border: 0;
  background: transparent;
  color: var(--purple-dark);
  cursor: pointer;
  font: inherit;
  font-size: large;
  padding: 0;
}

.filter-menu-head button:hover {
  text-decoration: underline;
}

.filter-search-wrap {
  border-bottom: 1px solid var(--line-light);
  padding: 7px 8px;
}

.filter-search {
  width: 100%;
  height: 30px;
  border: 1px solid #bfbfbf;
  color: var(--text);
  font: inherit;
  font-size: large;
  padding: 3px 7px;
}

.filter-search:focus {
  border-color: var(--purple);
  outline: 1px solid var(--purple-soft);
}

.filter-options {
  display: grid;
  max-height: 240px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 6px;
  scrollbar-gutter: stable;
}

.filter-option {
  display: flex;
  min-height: 30px;
  align-items: center;
  gap: 8px;
  padding: 5px 7px;
  color: var(--text);
  font-size: large;
}

.filter-option[hidden] {
  display: none;
}

.filter-option.is-hidden {
  display: none;
}

.filter-option:hover {
  background: var(--purple-soft);
}

.filter-option input {
  flex: 0 0 auto;
  accent-color: var(--purple);
}

.filter-option span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.no-options {
  margin: 0;
  padding: 10px;
  color: var(--muted);
}

.filter-not-found {
  margin: 0;
  padding: 10px 12px;
  color: var(--muted);
  font-size: large;
}

.filter-not-found[hidden] {
  display: none;
}

.download-link {
  display: inline-flex;
  width: 34px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  color: var(--purple-dark);
  padding: 0;
  text-decoration: none;
}

.download-link:hover {
  color: #2b194f;
}

.download-icon {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--purple);
}

.download-icon img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

.empty-cell {
  padding: 22px;
  color: var(--muted);
  text-align: center;
}

.table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  background: #fafafa;
  padding: 9px 12px;
}

.table-footer p {
  margin: 0;
  color: var(--muted);
  font-size: large;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pagination span {
  min-width: 86px;
  color: var(--muted);
  font-size: large;
  text-align: center;
}

.pagination button {
  min-height: 30px;
  border: 1px solid #bfbfbf;
  background: #ffffff;
  color: #333333;
  cursor: pointer;
  font: inherit;
  padding: 4px 9px;
}

.pagination button:hover:not(:disabled) {
  border-color: var(--purple);
  color: var(--purple-dark);
}

.pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

@media (max-width: 760px) {
  .downloadDiv {
    max-width: calc(100% - 24px);
  }

  .section-heading,
  .results-heading,
  .table-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .download-search-row {
    grid-template-columns: 128px minmax(0, 1fr);
  }

  .download-search-label,
  .download-search-control {
    border-bottom: 1px solid var(--line);
  }

  .pagination {
    width: 100%;
    justify-content: space-between;
  }

}
