﻿select:has(option:first-child:checked:not([value])):not(:open),
select:has(option:first-child:checked[value='']):not(:open),
select:has(option:first-child:checked[value='0']):not(:open),
option:first-child:not([value]), option:first-child[value=""], option:first-child[value='0'] {
    color: rgba(0, 0, 0, 0.6) !important;
}

table.dataTable:not(#ReportParameterTable) td:has(label:not([for=''])) {
    padding: 0;
}
table.dataTable:not(#ReportParameterTable) td label {
    font-weight: normal !important;
    margin: 0;
    width: 100%;
}
table.dataTable:not(#ReportParameterTable) tr td label:has(input[type=checkbox]),
table.dataTable:not(#ReportParameterTable) tr td label:has(input[type=radio]) {
    cursor: pointer;
}
table.dataTable:not(#ReportParameterTable) tr:hover td label {
    font-weight: bold !important;
}
table.dataTable:not(#ReportParameterTable) td label:not([for='']) {
    padding: 8px;
}

.admintable td:has(input[type=checkbox]),
.admintable td:has(input[type=radio]) {
    text-align: center !important;
    padding: var(--table-cell-padding) !important;
}

.admintable td:has(input[type=checkbox]).align-left,
.admintable td:has(input[type=radio]).align-left {
    text-align: left !important;
}
.admintable td:has(input[type=checkbox]).align-right,
.admintable td:has(input[type=radio]).align-right {
    text-align: right !important;
}