/* Talent Bridge OS V11 — contained Training report tables */

#trainingReportResults,
#trainingReportResults > *,
.training-report-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.training-report-card {
  overflow: hidden;
}

.training-report-table-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.training-report-table-wrap table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}

.training-report-table-wrap th,
.training-report-table-wrap td {
  min-width: 0;
  max-width: none;
  padding: 12px 10px;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.35;
  vertical-align: top;
}

.training-report-table-wrap th {
  font-size: 9px;
}

.training-report-table-wrap td {
  font-size: 11px;
}

.training-report-summary th:first-child {
  width: 72%;
}

.training-report-summary th:last-child {
  width: 28%;
}

.training-report-hrdc-paid th:nth-child(1) { width: 15%; }
.training-report-hrdc-paid th:nth-child(2) { width: 16%; }
.training-report-hrdc-paid th:nth-child(3) { width: 22%; }
.training-report-hrdc-paid th:nth-child(4) { width: 13%; }
.training-report-hrdc-paid th:nth-child(5) { width: 10%; }
.training-report-hrdc-paid th:nth-child(6) { width: 13%; }
.training-report-hrdc-paid th:nth-child(7) { width: 11%; }

.training-report-hrdc-pipeline th:nth-child(1) { width: 9%; }
.training-report-hrdc-pipeline th:nth-child(2) { width: 20%; }
.training-report-hrdc-pipeline th:nth-child(3) { width: 13%; }
.training-report-hrdc-pipeline th:nth-child(4) { width: 13%; }
.training-report-hrdc-pipeline th:nth-child(5) { width: 12%; }
.training-report-hrdc-pipeline th:nth-child(6) { width: 17%; }
.training-report-hrdc-pipeline th:nth-child(7) { width: 9%; }
.training-report-hrdc-pipeline th:nth-child(8) { width: 7%; }

.training-report-hrdc-paid td:nth-child(n+4),
.training-report-hrdc-pipeline td:nth-child(7),
.training-report-hrdc-pipeline td:nth-child(8) {
  white-space: nowrap;
}

.training-report-expenses th:nth-child(1) { width: 11%; }
.training-report-expenses th:nth-child(2) { width: 16%; }
.training-report-expenses th:nth-child(3) { width: 15%; }
.training-report-expenses th:nth-child(4) { width: 32%; }
.training-report-expenses th:nth-child(5) { width: 16%; }
.training-report-expenses th:nth-child(6) { width: 10%; }
.training-report-expenses td:last-child { white-space: nowrap; }

@media (max-width: 1100px) {
  .training-report-hrdc-paid table {
    width: 920px;
    min-width: 920px;
  }

  .training-report-hrdc-pipeline table {
    width: 1120px;
    min-width: 1120px;
  }

  .training-report-expenses table {
    width: 840px;
    min-width: 840px;
  }
}

@media print {
  @page {
    size: A4 landscape;
    margin: 10mm;
  }

  .training-report-card,
  .training-report-table-wrap {
    overflow: visible;
  }

  .training-report-table-wrap table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
  }
}
