/**
 * Dark theme overrides for jquery.dataTables.css
 * Load this file AFTER any DataTables stylesheet.
 */

#searchresults,
#landing,
#searchresults .dataTables_wrapper,
#landing .dataTables_wrapper,
.page-results #landing,
.page-results #searchresults,
.page-results .dataTables_wrapper {
	background-color: #1a2029 !important;
	color: #e8edf4 !important;
}

#searchresults table,
#landing table,
#landing table.dataTable,
#landing #myTable,
#searchresults table.dataTable,
.page-results table.dataTable {
	background-color: #1a2029 !important;
	color: #e8edf4 !important;
	border-collapse: collapse !important;
}

#searchresults table thead th,
#landing table thead th,
#searchresults table tbody td,
#landing table tbody td,
table.dataTable thead th,
table.dataTable thead td,
table.dataTable tbody th,
table.dataTable tbody td {
	color: #e8edf4 !important;
	border-color: #2d3745 !important;
}

#searchresults table thead th,
#landing table thead th,
table.dataTable thead th,
table.dataTable thead td {
	background-color: #222a36 !important;
	color: #8b98ab !important;
}

/* DataTables sets background on tr */
#landing table.dataTable tbody tr,
#searchresults table.dataTable tbody tr,
table.dataTable tbody tr {
	background-color: #1a2029 !important;
}

table.dataTable.display tbody tr.odd,
table.dataTable.stripe tbody tr.odd,
table.dataTable.order-column.stripe tbody tr.odd,
#landing table.dataTable.display tbody tr.odd,
#landing table.dataTable.stripe tbody tr.odd,
#landing table tbody tr:nth-child(odd) {
	background-color: #222a36 !important;
}

table.dataTable.display tbody tr.even,
table.dataTable.stripe tbody tr.even,
#landing table.dataTable.display tbody tr.even,
#landing table.dataTable.stripe tbody tr.even,
#landing table tbody tr:nth-child(even) {
	background-color: #1a2029 !important;
}

table.dataTable.display tbody tr:hover,
table.dataTable.hover tbody tr:hover,
table.dataTable.display tbody tr:hover > .sorting_1,
table.dataTable.display tbody tr:hover > .sorting_2,
table.dataTable.display tbody tr:hover > .sorting_3,
table.dataTable.order-column.hover tbody tr:hover > .sorting_1,
table.dataTable.order-column.hover tbody tr:hover > .sorting_2,
table.dataTable.order-column.hover tbody tr:hover > .sorting_3 {
	background-color: rgba(45, 143, 212, 0.15) !important;
}

table.dataTable.display tbody tr.odd > .sorting_1,
table.dataTable.display tbody tr.odd > .sorting_2,
table.dataTable.display tbody tr.odd > .sorting_3,
table.dataTable.order-column.stripe tbody tr.odd > .sorting_1,
table.dataTable.order-column.stripe tbody tr.odd > .sorting_2,
table.dataTable.order-column.stripe tbody tr.odd > .sorting_3,
table.dataTable.display tbody tr.even > .sorting_1,
table.dataTable.display tbody tr.even > .sorting_2,
table.dataTable.display tbody tr.even > .sorting_3 {
	background-color: inherit !important;
}

table.dataTable tbody tr.selected {
	background-color: rgba(45, 143, 212, 0.25) !important;
}

table.dataTable.no-footer {
	border-bottom-color: #2d3745 !important;
}

table.dataTable.row-border tbody th,
table.dataTable.row-border tbody td,
table.dataTable.display tbody th,
table.dataTable.display tbody td {
	border-top-color: #2d3745 !important;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_processing,
.dataTables_wrapper .dataTables_paginate {
	color: #8b98ab !important;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
	background-color: #222a36 !important;
	color: #e8edf4 !important;
	border: 1px solid #2d3745 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
	color: #2d8fd4 !important;
	background: transparent !important;
	border-color: #2d3745 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
	color: #e8edf4 !important;
	background: #222a36 !important;
	border-color: #2d3745 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
	color: #e8edf4 !important;
	background: #2d8fd4 !important;
	border-color: #2d8fd4 !important;
}

.dataTables_wrapper .dataTables_scroll,
.dataTables_wrapper .dataTables_scrollHead,
.dataTables_wrapper .dataTables_scrollBody {
	background-color: #1a2029 !important;
}

.dataTables_wrapper .dataTables_processing {
	background-color: #1a2029 !important;
	color: #e8edf4 !important;
}

#landing .results-link-cell,
.results-link-cell {
	color: #2d8fd4 !important;
	cursor: pointer;
}

#landing .results-link-cell:hover,
.results-link-cell:hover {
	color: #3aa3ef !important;
}

#landing h2,
#searchresults h2 {
	color: #e8edf4 !important;
}

.dt-buttons .dt-button {
	background-color: #222a36 !important;
	color: #e8edf4 !important;
	border-color: #2d3745 !important;
}
