/**
 * = Simplica Datatable Theme
 */
/**
 * = Datatables
 */
table {
    border: 1px solid #dee2e6;
}
table thead > tr > th {
    text-transform: uppercase;
    background-color: #f9f9f9;
    color: #212529;
}
table.s-datatable thead tr th {
    vertical-align: top;
}
table thead > tr > td.sorting, table thead > tr > td.sorting_asc, table thead > tr > td.sorting_desc, table thead > tr > th.sorting, table thead > tr > th.sorting_asc, table thead > tr > th.sorting_desc {
    padding-right: 30px;
    vertical-align: top;
}
table thead > tr > td:active, table thead > tr > th:active {
    outline: 0;
}
table thead .sorting, table thead .sorting_asc, table thead .sorting_desc, table thead .sorting_asc_disabled, table thead .sorting_desc_disabled {
    cursor: pointer;
    position: relative;
}
table thead .sorting:after, table thead .sorting:before, table thead .sorting_asc:after, table thead .sorting_asc:before, table thead .sorting_asc_disabled:after, table thead .sorting_asc_disabled:before, table thead .sorting_desc:after, table thead .sorting_desc:before, table thead .sorting_desc_disabled:after, table thead .sorting_desc_disabled:before {
    position: absolute;
    top: 0.8em;
    display: block;
    opacity: 0.3;
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    font-size: 1rem;
}
table thead .sorting:before, table thead .sorting_asc:before, table thead .sorting_asc_disabled:before, table thead .sorting_desc:before, table thead .sorting_desc_disabled:before {
    right: 1em;
    content: "\f0de";
}
table thead .sorting:after, table thead .sorting_asc:after, table thead .sorting_asc_disabled:after, table thead .sorting_desc:after, table thead .sorting_desc_disabled:after {
    right: 16px;
    content: "\f0dd";
}
table thead .sorting_asc:before, table thead .sorting_desc:after {
    opacity: 1;
}
table thead .sorting_asc_disabled:before, table thead .sorting_desc_disabled:after {
    opacity: 0;
}
table tbody {
    background-color: #ffffff;
    font-size: inherit;
}
table tbody a:not([href]) {
    color: inherit !important;
}
table tbody a, table tbody a:hover {
    color: #00a4db;
}
table tbody > td {
    color: inherit;
    word-wrap: break-word;
}
table tbody > tr {
    border-bottom: 1px solid #dee2e6;
}
table tbody tr:hover {
    color: #212529;
    background-color: #e9ecef;
    border-left: 1px solid #00a4db;
}

.s-selected-row, .s-selected-row:hover {
    color: #212529;
    background-color: #e9ecef;
    border-left: 2px solid #00a4db;
    fomt-weight: 600;
}

.s-select-all {
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.s-page-more {
    display: block;
    margin-top: -10px;
    line-height: 1.8;
    padding: 0.3rem 0.55rem 0.3rem 0.4rem !important;
}

.s-page-btn {
    border: none;
    border-radius: 50% !important;
    padding: 0.3rem 0.55rem 0.3rem 0.4rem !important;
    background-color: #eceff6;
    color: #00a4db;
    width: 34px;
}

.s-page-nav {
    border-color: transparent !important;
    color: #00a4db;
}
.s-page-nav:hover {
    z-index: 2;
    color: #00a4db;
    text-decoration: none;
    background-color: #eceff6;
    border-color: transparent;
    border-radius: 50%;
}

.page-item:last-child .s-page-nav {
    border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;
}

.page-item:first-child .s-page-nav {
    border-top-left-radius: 50%;
    border-bottom-left-radius: 50%;
}

.s-dropdown-active {
    background-color: transparent;
    color: #00a4db;
    font-weight: bold;
}

.s-dropdown-page {
    min-width: 2rem;
    margin-left: -1.3rem;
}
.s-dropdown-page .dropdown-item {
    text-align: center;
}

.s-datatable-settings .s-column-lock {
    background-color: #f9f9f9;
    border: 1px solid #e7e7e7;
    color: #a3a3a3;
    padding: 0.6rem 0;
    margin-bottom: 0.5rem;
}
.s-datatable-settings .draggable-list-row {
    border: 1px solid #e7e7e7;
    padding: 0.6rem 0;
    margin-bottom: 0.5rem;
}
.s-datatable-settings .draggable-list-row:hover {
    cursor: pointer;
}
.s-datatable-settings .s-drag-icon {
    color: #e3e3e3;
}
.s-datatable-settings .s-overflow-y {
    max-height: 450px;
    overflow-y: auto;
}

.s-select-all-page-dropdown-item{
    font-size: 85%;
}/*
Loaders
*/
.s-placeholder {
	display: block;
	min-height: 2.5rem;
	vertical-align: middle;
	cursor: wait;
	background-color: #d7d8dc;
	opacity: 0.5;
}

.s-placeholder .btn::before {
	display: inline-block;
	content: "";
}

.s-placeholder-xs {
	min-height: 0.6em;
}

.s-placeholder-sm {
	min-height: 0.8em;
}

.s-placeholder-lg {
	min-height: 1.2em;
}

.s-placeholder-xl {
	min-height: 2rem;
}

.s-placeholder-glow .s-placeholder {
	animation: s-placeholder-glow 2s ease-in-out infinite;
}

.table-placeholder {
	width: 100%;
}

.table-placeholder th {
	height: 2.8rem;
}

.table-placeholder td .s-placeholder {
	height: 2.2rem;
}

.datatable-outer-wrapper {

}

.datatable-outer-wrapper .datatable-inner-wrapper {
	width: 100%;
	height: 0;
	opacity: 0;
	overflow: hidden;
	transition: opacity 0.15s ease-in-out;
}

.datatable-outer-wrapper.loaded .datatable-inner-wrapper {
	opacity: 1;
	height: auto;
}

.datatable-outer-wrapper.loaded .datatable-initial-loader {
	display: none;
}

@keyframes s-placeholder-glow {
	50% {
		opacity: 0.2;
	}
}

.datatable-outer-wrapper.loaded .datatable-inner-wrapper.table-scrolling-both {
	overflow: auto;
	margin-bottom: 1rem;
	border: 1px solid #dee2e6;
}

.table-scrolling-both table {
	table-layout: fixed;
	margin: 0;
	border: 0;
}

.table-scrolling-both thead {
	border: 0;
}

.table-scrolling-both thead th {
	position: sticky;
	top: 0;
	z-index: 10;
}

.table-scrolling-both thead th.sticky-horizontal {
	z-index: 30;
}

.table-scrolling-both table th,
.table-scrolling-both table td {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.table-scrolling-both table th.datatable-selection-cell,
.table-scrolling-both table td.datatable-action-column {
	overflow: visible;
}

.table-scrolling-both table th {
	border: none;
	box-shadow: inset 0 -2px 0 #ddd;
}

.table-scrolling-both table th:first-child,
.table-scrolling-both table td:first-child {
	border-left-color: transparent;
}

.table-scrolling-both table th:last-child,
.table-scrolling-both table td:last-child {
	border-right-color: transparent;
}

.table-scrolling-both .table-hover tbody tr,
.table-scrolling-both .table-hover tbody tr:hover {
	border: none;
}

.table-scrolling-both .table-hover tbody tr td:first-child {
	position: relative;
}

.table-scrolling-both td.sticky-horizontal {
	position: sticky;
	z-index: 20;
}

.table-scrolling-both .table-hover tbody tr:hover td.sticky-horizontal {
	background-color: #e9ecef !important;
}

.table-scrolling-both .table-hover tbody tr:first-child td {
	border: none;
}

.table-scrolling-both .table-hover tbody tr:hover td:first-child:before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 2px;
	background-color: var(--primary);
}