:root {
  --document-download-blue: #003479;
  --document-download-blue-dark: #002c66;
  --document-download-background: #e5e6e7;
  --document-download-heading: #414142;
  --document-download-white: #ffffff;
  --document-download-black: #000000;
  --document-download-focus: #ffbf47;
  --document-download-border-radius: 8px;
  --document-download-separator-inset: 8px;
  --document-download-horizontal-inset: 12px;
}

.document-download-card,
.document-download-table,
.document-download-card *,
.document-download-table *,
.document-download-card *::before,
.document-download-table *::before,
.document-download-card *::after,
.document-download-table *::after {
  box-sizing: border-box;
}

.document-download-card {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 176px;
  flex-direction: column;
  border-radius: var(--document-download-border-radius);
  padding: 16px;
  color: var(--document-download-blue);
  background-color: var(--document-download-background);
}

.document-download-card__title {
  min-width: 0;
  margin: 0 0 12px;
  overflow-wrap: anywhere;
  color: var(--document-download-blue);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.document-download-card__metadata {
  margin: 0 0 16px;
}

.document-download-card__metadata-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--document-download-blue);
  font-size: 15px;
  line-height: 1.5;
}

.document-download-card__metadata-row dt,
.document-download-card__metadata-row dd {
  margin: 0;
}

.document-download-card__metadata-row dd {
  flex-shrink: 0;
  font-weight: 700;
}

.document-download__file-type {
  display: inline-flex;
  min-width: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 2px 8px;
  color: var(--document-download-black);
  background-color: var(--document-download-white);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

.document-download-card__button,
.document-download-table__button {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  padding: 6px 16px;
  color: var(--document-download-white);
  background-color: var(--document-download-blue);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.document-download-card__button {
  width: 100%;
  margin-top: auto;
}

.document-download-card__button:hover,
.document-download-card__button:active,
.document-download-table__button:hover,
.document-download-table__button:active {
  color: var(--document-download-white);
  background-color: var(--document-download-blue-dark);
  text-decoration: underline;
}

.document-download-card__button:focus-visible,
.document-download-table__button:focus-visible {
  outline: 3px solid var(--document-download-focus);
  outline-offset: 2px;
}

.document-download-table {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border: 0;
  background: transparent!important;
  padding:24px 0 24px 0!important;
}

.document-download-table__scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  border: 0;
  background: transparent;
  -webkit-overflow-scrolling: touch;
}

.document-download-table__table {
  width: 100%;
  margin: 0;
  border: 0;
  border-spacing: 0;
  border-collapse: separate;
  background: transparent;
  table-layout: auto;
}

.document-download-table__table thead,
.document-download-table__table tbody,
.document-download-table__table tr {
  border: 0;
  background: transparent;
}

.document-download-table__table th,
.document-download-table__table td {
  position: relative;
  border: 0;
  padding: 10px 12px;
  box-shadow: none;
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.4;
  text-align: left;
  vertical-align: middle;
}

.document-download-table__table thead th {
  color: var(--document-download-white);
  background-color: var(--document-download-heading);
  background-clip: padding-box;
}

.document-download-table__table thead th:first-child {
  border-top-left-radius: var(--document-download-border-radius);
}

.document-download-table__table thead th:last-child {
  border-top-right-radius: var(--document-download-border-radius);
}

.document-download-table__table thead th:not(:last-child)::after {
  position: absolute;
  top: var(--document-download-separator-inset);
  right: 0;
  bottom: var(--document-download-separator-inset);
  width: 1px;
  background-color: rgb(255 255 255 / 72%);
  content: "";
}

.document-download-table__table tbody th,
.document-download-table__table tbody td {
  color: var(--document-download-blue);
  background-color: var(--document-download-background);
}

.document-download-table__table tbody th:not(:last-child)::after,
.document-download-table__table tbody td:not(:last-child)::after {
  position: absolute;
  top: var(--document-download-separator-inset);
  right: 0;
  bottom: var(--document-download-separator-inset);
  width: 1px;
  background-color: var(--document-download-blue);
  content: "";
}

.document-download-table__row + .document-download-table__row th::before,
.document-download-table__row + .document-download-table__row td::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background-color: var(--document-download-blue);
  content: "";
}

.document-download-table__row
  + .document-download-table__row
  th:first-child::before {
  left: var(--document-download-horizontal-inset);
}

.document-download-table__row
  + .document-download-table__row
  td:last-child::before {
  right: var(--document-download-horizontal-inset);
}

.document-download-table__table tbody tr:last-child th:first-child {
  border-bottom-left-radius: var(--document-download-border-radius);
  background-clip: padding-box;
}

.document-download-table__table tbody tr:last-child td:last-child {
  border-bottom-right-radius: var(--document-download-border-radius);
  background-clip: padding-box;
}

.document-download-table__name {
  color: var(--document-download-blue);
  font-weight: 600;
}

.document-download-table__type,
.document-download-table__size {
  color: var(--document-download-blue);
  white-space: nowrap;
}

@media (max-width: 574px) {
  .document-download-table__table {
    min-width: 520px;
  }
}