table.dataTable {
    border: none;
}

.header_button:hover {
    background-color: #E1DFDF;
}

/*hide the main search box so we can add our own*/
.dataTables_filter, .dataTables_info {
    display: none;
}

.even td.sorting_1 {
    background-color: rgba(0,0,0,0) !important;
}

.odd td.sorting_1 {
    background-color: rgba(0,0,0,0) !important;
}

div.dt-buttons {
    height: 0px;
}

.dataTable {
    width: 400px;
}

.dataTable .even {
    background-color: white
}

.dataTable .odd {
    background-color: #E1EAF3
}

tr.even td.evenColumn {
    border-right: solid 1px #E1EAF3;
}

tr.even td.oddColumn {
    border-right: solid 1px #E1EAF3;
}

tr.odd td.evenColumn {
    border-right: solid 1px white;
}

tr.odd td.oddColumn {
    border-right: solid 1px white;
}

.dataTable .even:hover:not(.nohighlight) {
    cursor: pointer;
}

.dataTable .odd:hover:not(.nohighlight) {
    cursor: pointer;
}

.column-header {
    font-weight: bold !important;
    font-size: 15px;
}

.dataTables_wrapper {
    font-family: "Segoe UI",Arial,sans-serif;
    font-size: 13px;
}

.buttons-edit.disabled {
    box-shadow: 0px 0px 0px 0px;
}

.buttons-remove.disabled {
    box-shadow: 0px 0px 0px 0px;
}

.buttonhover {
    display: inline-block;
    opacity: 0.9;
}

.clickInfo:hover {
    cursor: pointer;
}

.datatablebutton {
    /* total height and width of 32px */
    /*height: 28px;*/
    border-radius: 4px;
    border: 2px solid black;
    opacity: 0.5 !important;
    margin-right: 7px;
}

.datatableTextButton {
    border-radius: 4px;
    border: 2px solid black;
    opacity: 0.5 !important;
    height: 28px;
    color: black;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
    padding-left: 5px;
    padding-right: 5px;
    font-weight: bold;
    margin-right: 5px;
}

.row-selected.datatablebutton:hover {
    -webkit-filter: drop-shadow(3px 3px 3px #222);
    filter: drop-shadow(3px 3px 3px #222);
}

.datatablebutton:hover.tableAddImage, .datatablebutton:hover.alwaysClickableImage {
    -webkit-filter: drop-shadow(3px 3px 3px #222);
    filter: drop-shadow(3px 3px 3px #222);
}

.tableAddImage, .alwaysClickableImage {
    background-color: white !important;
    -webkit-filter: drop-shadow(5px 5px 5px #222);
    filter: drop-shadow(5px 5px 5px #222);
    opacity: 1.0 !important;
}

.buttonhover img {
    display: inline-block;
    opacity: 0.8;
}

.buttonhover img:hover {
    opacity: 1;
    filter: drop-shadow(5px 5px 5px black);
}

.row-selected {
    opacity: 1.0 !important;
    -webkit-filter: drop-shadow(5px 5px 5px #222);
    filter: drop-shadow(5px 5px 5px #222);
}

.row-selected:hover {
    opacity: 1.0 !important;
    -webkit-filter: drop-shadow(3px 3px 3px #222);
    filter: drop-shadow(3px 3px 3px #222);
}

.rowSelectedImage {
    opacity: 0.6;
    margin-right: 4px;
}

/*hide the copy, csv and xls buttons in the datatable, we will trigger these buttons when we want to do these functions*/
.buttons-copy, .buttons-csv, .buttons-excel, .buttons-pdf, .addButton, .editButton, .deleteButton {
    position: absolute;
    left: -9999px;
}

.clearable {
    background: url('../images/close.png') no-repeat right -10px center;
    background-color: white;
    border: 1px solid #999;
    padding: 3px 18px 3px 4px;
    border-radius: 3px;
    transition: background 0.4s;
}

.column-search-select {
    background-color: white;
    border: 1px solid #999;
    padding: 3px 18px 3px 4px;
    border-radius: 3px;
}

.clearable.x {
    background-position: right 5px center;
}

.clearable.onX {
    cursor: pointer;
}

label.column_header {
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
    font-weight: bold;
    margin: 0 !important;
    vertical-align: bottom !important;
}

input.column_search_field {
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
}

a.sort_button {
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
}

table.stick_together {
    white-space: nowrap;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    text-align: center;
    vertical-align: middle !important;
    width: 100% !important;
}

td.stick_together {
    white-space: nowrap;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    vertical-align: middle !important;
    height: 100%;
}

tr.stick_together {
    white-space: nowrap;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    vertical-align: middle !important;
}



table.dataTable thead th.sorting_asc {
    background-image: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 0px;
}

table.dataTable thead th.sorting_desc {
    background-image: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 0px;
}

table.dataTable thead th {
    outline: none;
}

table.dataTable thead th.sorting {
    background-image: none !important;
    width: 0px;
    padding: 0 !important;
    margin: 0 !important;
}

a.close-modal {
    top: 3px !important;
    right: 3px !important;
}


td.details-control {
    background: url('/images/expand.png') no-repeat center center;
}

td.details-control, th.details-control {
    background-size: 15px;
    cursor: pointer;
    max-width: 45px !important;
    width: 45px !important;
    min-width: 45px !important;
    box-sizing: border-box !important;
    margin: 0px !important;
    padding: 0px !important;
}

tr.shown > td.details-control {
    background: url('/images/collapse.png') no-repeat center center;
    background-size: 15px;
}

table.dataTable th,
table.dataTable td {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

.datatable th div.dataTables_sizing {
    font-size: 12px;
}

.dataTables_length {
    padding-top: 5px;
}



tr.topShown {
    border-top: 2px solid gray;
    border-left: 2px solid gray;
    border-right: 2px solid gray;
}

tr.bottomShown {
    border-bottom: 2px solid gray;
    border-left: 2px solid gray;
    border-right: 2px solid gray;
}

table {
    border-collapse: collapse !important;
}

.dataTables_scrollHeadInner {
    padding-right: 0px !important;
    width: 99.9% !important;
}
/* 
 * Firefox's scroll bar doesn't take up DOM space by default, 
 * so we need to add some space so it doesn't overlap with the header/footer text 
 */
@-moz-document url-prefix() {
    /* header */
    .dataTables_scrollHead {
        padding-bottom: 1em;
    }

    /* main datatable body for footer */
    .dataTables_scrollBody {
        padding-bottom: 1em;
    }
}

.dataTables_empty {
    background-color: lightgray;
}

.column-search-select option {
    font-size: 9px;
}


.dt-rowReorder-moving {
    border: 2px solid black;
    opacity: 0.10;
}

.dt-rowReorder-float {
}

td.draggable:not(:active) {
    background-image: url("/images/draggable.png");
    background-position: right;
    background-repeat: no-repeat;
    background-color: #DADADA;
    padding: 1px;
    filter: drop-shadow(1px 1px 1px black);
}

.rowJustReordered {
    border: 2px solid black !important;
}

.rowJustReorderedFadeOut {
    border: 2px solid transparent !important;
    transition: border 0.25s;
}

table.dataTable.compact thead th, table.dataTable.compact tfoot th {
    padding: 0px !important;
}


table.dataTable tbody tr {
    background-color: initial;
}

div.DTE div.DTE_Form_Error {
    /* This is done to prevent a long error message from pushing the button off the window */
    width: 85%;
    /* Allow messages to wrap instead of getting cut off with elipses */
    overflow: visible;
    white-space: break-spaces;
}

div.DTE div.DTE_Footer {
    height: auto;
}

/*td.select-checkbox:after, table.dataTable tr.selected th.select-checkbox:after {
    margin-top: -32px !important;
    margin-left: -5px !important;
}

td.select-checkbox:before, table.dataTable tbody td.select-checkbox:after, table.dataTable tbody th.select-checkbox:before, table.dataTable tbody th.select-checkbox:after{
    top: 1.5em !important;
}*/

table.dataTable tbody td.select-checkbox:before, table.dataTable tbody td.select-checkbox:after, table.dataTable tbody th.select-checkbox:before, table.dataTable tbody th.select-checkbox:after {
    margin: 0;
    top: 50%;
    transform: translate(-6px,50%)
}

table.dataTable tr.selected td.select-checkbox:after, table.dataTable tr.selected th.select-checkbox:after {
    transform: translate(1px, -1px);
}


tr.disabled td.select-checkbox:before {
    border: none !important;
}

tr.disabled td.select-checkbox:after {
    content: '' !important;
}

td.select-radio-button:before {
    border-radius: 50% !important;
}

table.dataTable tr.selected td.select-checkbox:after, table.dataTable tr.selected th.select-checkbox:after {
    font-size: 19px !important;
}

/*fixes issue with column width on some columnn growing when the fixed header is shown*/
table.fixedHeader-floating {
    table-layout: auto !important;
}

/*fixes horizontal scroll issue with fixed header*/
.dtfh-floatingparenthead {
    overflow: auto !important;
    height: auto !important;
    background-color: white;
}


.condensedHeader {
/*    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;*/
}

div.data.data.data.data.data {
    width: fit-content;
}

/*datatables looks for url(DataTables-1.11.5/images/sort_both.png); and sort_asc if this is not here */
table.dataTable thead .sorting.sorting.sorting.sorting {
    background-image: none;
}

table.dataTable thead .sorting_asc.sorting_asc.sorting_asc.sorting_asc {
    background-image: none !important;
}