/* =========================================
   TABLE STRIPING (Nested Safe)
========================================= */

table#docket > tbody#docket-body > tr:nth-child(odd of :not(.detail)), table#docket > tbody#docket-body > tr:nth-child(odd of :not(.detail)) + tr.detail {
    background: #d3d3d3 !important;
}

table#docket > tbody#docket-body > tr:nth-child(even of :not(.detail)), table#docket > tbody#docket-body > tr:nth-child(even of :not(.detail)) + tr.detail {
    background: white !important;
}

table#docket table[data-remediated="true"], table#docket table[data-remediated="true"] tr {
    background: inherit !important;
}

/* =========================================
   VISUALLY HIDDEN HEADERS (Accessible)
========================================= */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.visually-hidden-focusable {
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.visually-hidden-table-header th {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
}
/* =========================================
   BUTTON NORMALIZATION
========================================= */

button {
    border: none;
    background: none;
    cursor: pointer;
}

/* Optional: focus visible improvement
button:focus {
    outline: 2px solid #005fcc;
    outline-offset: 2px;
}
*/

/* =========================================
   FIELDSET NORMALIZATION
========================================= */

fieldset {
    border: 0;
    padding: 0;
    margin: 0;
}

legend {
    font-weight: bold;
}

table#bonds {
    margin: 0 1.5em;
    width:98%;
}

table#bonds th {
    color:black !important;
}

button#search-docket,
button#prior-defendant-button, button#next-defendant-button,
button#prior-plaintiff-button, button#next-plaintiff-button,
button[name="ncas"], button[name="pcas"] {
    all: revert;
}

div.banner  {
    width:100%;
    clear:both;
}

div.banner:has(> br:only-child) {
    display: none;
}

div.banner > div[style*="red"] {
    background-color: #D10000 !important;
    padding: .5em 0;
}

thead.visually-hidden-table-header th {
    color:black;
}

thead.visually-hidden-table-header tr.divider th span {
    color:white;
}