﻿/* datatables styles */
.dataTables_wrapper {
    padding-top: 10px;
}

/*table thead tr th.nowrap, table tbody tr td.nowrap {
    white-space: nowrap;
}*/

#tableWrapper{
    min-height:280px;
}

table.dataTable > tbody > tr.child {
  padding: 0.5em 1em;
}

/* override basic bootstrap table css */
.table > tbody > tr > td {
     vertical-align: middle;
}

/* Used to show td text in red if tr has this class (Alerts in Caseload)*/
/* https://stackoverflow.com/questions/77550349/unable-to-apply-text-color-to-table-row-with-bootstrap */
/*tr.text-danger td,
tr.text-danger th {
    color: inherit;
}*/

/*used to identify selected row programatically in javascript*/
/* 
    .bdgselectedTableRow {
    background-color: #e7f1ff;
}*/

/*Setting selected row color to light blue*/
table.table.dataTable > tbody > tr.selected > * {
    box-shadow: inset 0 0 0 9999px rgb(206, 221.6, 244.4) !important;
    color: unset !important;  
}

table.table.dataTable > tbody > tr.selected a {
    color: rgb(10,88,202)!important; 
}

table.table.dataTable.table-striped > tbody > tr:nth-of-type(2n+1).selected > * {
    box-shadow: inset 0 0 0 9999px rgba(206, 221.6, 244.4, 0.95) !important; 
    color: unset !important;
}

table.table.dataTable.table-hover > tbody > tr.selected:hover > * {
    box-shadow: inset 0 0 0 9999px rgba(206, 221.6, 244.4, 0.975) !important; 
    color: unset !important;
}

table.dataTable > tbody > tr > .selected {
    background-color: rgb(206, 221.6, 244.4) !important; 
    color:unset!important;
}

/*Dark theme*/
/**/
[data-bs-theme=dark] table.table.dataTable > tbody > tr.selected > * {
    box-shadow: inset 0 0 0 9999px rgb(206, 221.6, 244.4) !important; 
    color: #000 !important;  
}
[data-bs-theme=dark] table.table.dataTable.table-striped > tbody > tr.selected > * {
    box-shadow: inset 0 0 0 9999px rgb(206, 221.6, 244.4) !important; 
    color: #000 !important;  
}
[data-bs-theme=dark] table.table.dataTable.table-hover > tbody > tr.selected > * {
    box-shadow: inset 0 0 0 9999px rgb(206, 221.6, 244.4) !important;
    color: #000 !important;  
}

[data-bs-theme=dark] table.table.dataTable > tbody > tr.selected.text-danger > * {
    color: #B30000 !important;
}
[data-bs-theme=dark] table.table.dataTable > tbody > tr.selected.text-danger > a {
    color: #0A58CA !important;
}
/**/
/* Apply default black ONLY to cells without .text-danger */
/*table.table.dataTable > tbody > tr.selected > :not(.text-danger) {
    color: #000 !important;
}*/

/*table.dataTable.dtr-column > tbody > tr > td.control:before,
table.dataTable.dtr-column > tbody > tr > th.control:before {
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
    display: block;
    position: absolute;
    color: #000000;
    border: none; 
    border-radius: 0; 
    box-shadow: none;
    box-sizing: content-box;
    text-align: center;
    text-indent: 0 !important;
    line-height: 14px;
    content: none;
    background-color: transparent;
    font-style: normal;
    font-weight: normal;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f055\f067";
     removed font- based rules 
    content: none;
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font: var(--fa-font-solid);
    content: "\f063";
    padding: 2px;
}
table.dataTable.dtr-column > tbody > tr.parent td.control:before,
table.dataTable.dtr-column > tbody > tr.parent th.control:before {
    content: none;
      background-color: transparent;
      font-style: normal;
      font-weight: normal;
      font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f146";
    content: none;
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font: var(--fa-font-solid); 
    content: "\f062";
    padding: 2px;
}*/