/* Univerzálne fixy pre obe changelog tabuľky */

.table-container {
    overflow-x: auto !important;
    overflow-y: visible !important;
    width: 100%;
}

.govuk-table__cell {
    word-wrap: break-word;
    word-break: break-all;
    overflow-wrap: break-word;
}

.govuk-table__cell > ul {
    margin: 0;
    padding-left: 20px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.govuk-table__cell > ul > li {
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin-bottom: 10px;
}

.govuk-table__cell ul li i {
    word-break: break-all;
    display: inline;
}

.govuk-table__cell ul ul {
    margin: 5px 0 10px 0;
    padding-left: 25px;
    list-style-type: circle;
}

.govuk-table__cell ul ul li {
    word-break: normal;
    white-space: normal;
    margin-bottom: 2px;
}

@media (max-width: 1200px) {
    .govuk-table {
        table-layout: auto;
        min-width: 1000px;
    }

    .table-container {
        overflow-x: scroll !important;
    }
}

/* Entity changelog (/zmeny-ciselniky/) — column widths */
.entity-changelog-table-section .govuk-table {
    table-layout: auto;
    width: 100%;
    min-width: 1000px;
}

.entity-changelog-table-section .govuk-table__header:nth-child(1),
.entity-changelog-table-section .govuk-table__cell:nth-child(1) {
    min-width: 120px;
}

.entity-changelog-table-section .govuk-table__header:nth-child(2),
.entity-changelog-table-section .govuk-table__cell:nth-child(2) {
    min-width: 100px;
}

.entity-changelog-table-section .govuk-table__header:nth-child(3),
.entity-changelog-table-section .govuk-table__cell:nth-child(3) {
    min-width: 80px;
}

.entity-changelog-table-section .govuk-table__header:nth-child(4),
.entity-changelog-table-section .govuk-table__cell:nth-child(4) {
    min-width: 100px;
}

.entity-changelog-table-section .govuk-table__header:nth-child(5),
.entity-changelog-table-section .govuk-table__cell:nth-child(5) {
    min-width: 150px;
    white-space: nowrap;
}

.entity-changelog-table-section .govuk-table__header:nth-child(6),
.entity-changelog-table-section .govuk-table__cell:nth-child(6) {
    min-width: 350px;
}

/* Project changelog (/projekt-zmeny/) — column widths */
.project-changelog-table-section .govuk-table {
    table-layout: auto;
    width: 100%;
    min-width: 1000px;
}

.project-changelog-table-section .govuk-table__header:nth-child(1),
.project-changelog-table-section .govuk-table__cell:nth-child(1) {
    min-width: 150px;
}

.project-changelog-table-section .govuk-table__header:nth-child(2),
.project-changelog-table-section .govuk-table__cell:nth-child(2) {
    min-width: 80px;
}

.project-changelog-table-section .govuk-table__header:nth-child(3),
.project-changelog-table-section .govuk-table__cell:nth-child(3) {
    min-width: 150px;
    white-space: nowrap;
}

.project-changelog-table-section .govuk-table__header:nth-child(4),
.project-changelog-table-section .govuk-table__cell:nth-child(4) {
    min-width: 100px;
}

.project-changelog-table-section .govuk-table__header:nth-child(5),
.project-changelog-table-section .govuk-table__cell:nth-child(5) {
    min-width: 400px;
}

.entity-changelog-table-section .govuk-table__header,
.project-changelog-table-section .govuk-table__header {
    white-space: nowrap;
}
