table.dataTable thead th {
    color: rgb(37, 50, 98);
}

div.table-search {
    width: 70vw;
    display: none;
    font-size: 20px;
    float: left;
    padding: 0;
    text-align: left;
}

div.table-search div {
    width: 100%;
    float: left;
    text-align: left !important;
}

div.table-search input {
    width: 100%;
    font-size: 20px;
    margin-left: 0 !important;
    padding: 2px 8px;
    border: 1px solid black;
    border-left: 0;
    border-radius: 0 2px 2px 0;
}

.dataTables_wrapper .table-filter-row {
    width: 100%;
    height: 40px;
    display: none;
    padding-top: 40px;
}

.dataTables_wrapper .table-filter-row.high {
    height: 60px;
}

.dataTables_wrapper .table-filter-row span.label {
    font-size: 20px;
    margin: 0 5px 0 20px;
}

.dataTables_wrapper .table-filter-row select, .dataTables_wrapper .table-filter-row input, .dataTables_wrapper .table-filter-row button {
    height: 30px;
    position: relative;
    font-size: 0.88em;
    margin: 0 0 0 8px;
    padding: 4px 8px;
    color: rgb(37, 50, 98);
    border: 1px solid black;
    border-top-left-radius: 8px;
    border-bottom-right-radius: 8px;
    background-color: white;
}

.dataTables_wrapper .table-filter-row input.small {
    width: 60px;
    height: 20px;
}

.dataTables_wrapper .table-filter-row .toggle-container {
    position: relative;
    display: inline-block;
}

.dataTables_wrapper .table-filter-row .toggle-container .toggle-switch {
    width: 100%;
    height: 60px;
    position: absolute;
    bottom: -28px;
    left: -3px;
    line-height: 80px;
    text-align: left;
}

.dataTables_wrapper .table-filter-row .toggle-container .toggle-switch.green {
    cursor: pointer;
    color: #c0ffbc;
    background-color: #5fb35f;
}

.dataTables_wrapper .table-filter-row .toggle-container .toggle-switch.red {
    cursor: pointer;
    color: #ffc8c8;
    background-color: #bf5b5b;
}

.dataTables_wrapper .table-filter-row .toggle-container .toggle-switch.green:hover {
    color: white;
    background-color: green;
}

.dataTables_wrapper .table-filter-row .toggle-container .toggle-switch.red:hover {
    color: white;
    background-color: darkred;
}

.dataTables_wrapper .table-filter-row button.ui-multiselect span {
    padding-right: 2px;
}

.dataTables_wrapper .table-filter-row select.selected, .dataTables_wrapper .table-filter-row input.selected, .dataTables_wrapper .table-filter-row button.selected {
    height: 31px;
    font-weight: bold;
    border: 2px solid #005A9B;
}


.dataTables_wrapper .table-filter-row select.invalid, .dataTables_wrapper .table-filter-row input.invalid, .dataTables_wrapper .table-filter-row button.invalid {
    height: 31px;
    font-weight: bold;
    color: darkred;
    border: 2px solid darkred;
}

.dataTables_wrapper .table-filter-row input.selected.small, .dataTables_wrapper .table-filter-row input.invalid.small {
    height: 21px;
}

.dataTables_wrapper .table-filter-row.expanded {
    display: block;
}

#overlay .table-search {
    width: 70vw !important;
}

#overlay .table-search div {
    float: left !important;
    text-align: left !important;
}

#content .table-length {
    float: right;
}

#content .table-length .dataTables_length {
    padding: 0.25em 1em 0 0;
}

#content .table-length select {
    height: 39px;
    font-size: 18px;
    padding: 0 0.3em;
    color: rgb(37, 50, 98);
    border: 1px solid #005A9B;
    border-radius: 8px 0 8px 0;
    background-color: white;
    background-image: none;
}

#content .table-paging {
    float: right;
    padding: 0 2vw 0 0;
}

#content .table-paging .paginate_button {
    -webkit-transition: 0.3s; /* Safari */
    transition: 0.3s;
    color: rgb(37, 50, 98);
    border: 1px solid #005A9B;
    border-radius: 0;
    border-top-left-radius: 8px;
    border-bottom-right-radius: 8px;
    background-color: white;
    background-image: none;
}

#content .table-paging .paginate_button:hover {
    color: white;
    border: 1px solid #005A9B;
    background-color: rgb(37, 50, 98);
}

#content .table-paging .paginate_button.current {
    color: white !important;
    border: 1px solid #005A9B;
    background-color: rgb(37, 50, 98);
}

#content .table-paging .paginate_button.disabled {
    border: 0;
    background-color: rgba(0, 0, 0, 0);
}

#content .table-paging .paginate_button.disabled:hover {
    border: 0;
    background-color: rgba(0, 0, 0, 0);
}

#content .table-index {
    font-weight: bold;
    padding: 0 0 0 1vw;
}

#content .table-index div {
    color: rgb(37, 50, 98);
}

#content .sidebar-footer .table-buttons {
    display: none;
}

#content .table-buttons button {
    position: initial;
    font-weight: bold;
    margin: 0 0 0 2vw;
    -webkit-transition: 0.3s; /* Safari */
    transition: 0.3s;
    color: rgb(37, 50, 98);
    border: 1px solid #005A9B;
    border-radius: 8px 0 8px 0;
    background-color: white;
    background-image: none;
}

#content .table-buttons button:hover {
    color: white;
    background-color: #005A9B !important;
}

#content table td.small {
    width: 40px;
}

#content table td.medium, #overlay table td.medium {
    width: 100px;
}

#content table td.faded {
    color: gainsboro;
}

#content table .green, .dataTables_wrapper .green {
    color: #c0ffbc;
    background-color: #5fb35f;
}

#content table .red, .dataTables_wrapper .red {
    color: #ffc8c8;
    background-color: #bf5b5b;
}

#content table .yellow, .dataTables_wrapper .yellow {
    color: #fff8a0;
    background-color: #d1b054;
}

#content table .colorcell {
    width: 125px;
    border-bottom: 1px solid black;
    border-left: 1px solid black;
    border-radius: 10px;
}

#content table .colorcell.good {
    background-color: green;
}

#content table .colorcell.neutral {
    background-color: orange;
}

#content table .colorcell.bad {
    background-color: red;
}

#content table .colorcell.missing {
    background-color: #dfe0e2;
}

.warning-row {
    background-color: orange !important;
}

.warning-row td {
    background-color: orange !important;
}

.error-row {
    background-color: red !important;
}

.error-row td {
    background-color: red !important;
}

.highlight.error-row {
    background-color: darkred !important;
}

.highlight.error-row td {
    background-color: darkred !important;
}

.selected-row {
    font-weight: bold;
}

.selected-row td {
    font-weight: bold;
}

table.fullwidth {
    width: 100% !important;
}

.page table.fixed-header thead {
    position: sticky;
    top: 51px;
    background: transparent;
    transition: .2s;
    z-index: 2;
}

.page.page-scrolled table.fixed-header thead {
    background: white;
}

table.single-row {
    white-space: nowrap;
}

table tr.selected {
    border-top: 2px solid #0369b2;
    border-bottom: 2px solid #0369b2;
    background-color: #0369b266;
}

table tr.row-break {
    height: 12px;
}

input.table-search {
    width: 100%;
    box-sizing: border-box;
    padding: 3px 4px;
    border: 1px solid white;
}

.cell-fill {
    height: 36px;
    margin: -10px;
}

    .cell-fill.selected {
        background-color: rgb(37, 50, 98);
    }
    
    .cell-fill.selected p {
        color: rgba(255, 255, 255, 0.75);
    }
    
.cell-hint {
    line-height: 36px;
    text-align: center;
    font-style: italic;
    color: rgba(0, 0, 0, 0.5);
}

table.dataTable>tbody>tr.child:hover {
    background-color: #f6f6f6 !important;
}