
/* Eksperta Digital — Documents table layout hotfix */
body .documents-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body table.documents-table {
  width: 100%;
  max-width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

body table.documents-table th,
body table.documents-table td {
  min-width: 0;
  vertical-align: middle;
}

body table.documents-table th:nth-child(1),
body table.documents-table td:nth-child(1) { width: 6%; }

body table.documents-table th:nth-child(2),
body table.documents-table td:nth-child(2) { width: 14%; }

body table.documents-table th:nth-child(3),
body table.documents-table td:nth-child(3) { width: 21%; }

body table.documents-table th:nth-child(4),
body table.documents-table td:nth-child(4) { width: 16%; }

body table.documents-table th:nth-child(5),
body table.documents-table td:nth-child(5) { width: 10%; }

body table.documents-table th:nth-child(6),
body table.documents-table td:nth-child(6) { width: 8%; }

body table.documents-table th:nth-child(7),
body table.documents-table td:nth-child(7) { width: 10%; }

body table.documents-table th:nth-child(8),
body table.documents-table td:nth-child(8) { width: 6%; }

body table.documents-table th:nth-child(9),
body table.documents-table td:nth-child(9) { width: 9%; }

body table.documents-table td:nth-child(2),
body table.documents-table td:nth-child(3),
body table.documents-table td:nth-child(4) {
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

body table.documents-table td:nth-child(2) small,
body table.documents-table td:nth-child(3) small,
body table.documents-table td:nth-child(4) small {
  display: block;
  margin-top: 2px;
}

body table.documents-table th:nth-last-child(-n+3),
body table.documents-table td:nth-last-child(-n+3) {
  white-space: nowrap;
  text-align: center;
}

body table.documents-table .small-btn {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1220px) {
  body table.documents-table {
    font-size: 12px;
  }
  body table.documents-table th,
  body table.documents-table td {
    padding-left: 7px;
    padding-right: 7px;
  }
}

@media (max-width: 1050px) {
  body .documents-table-wrap {
    overflow-x: auto;
  }
  body table.documents-table {
    min-width: 930px;
  }
}
