.datatable-wrapper.no-header .datatable-container {
	border-top: 1px solid #d9d9d9;
}

.datatable-wrapper.no-footer .datatable-container {
	border-bottom: none /* 1px solid #d9d9d9 */;
}

.datatable-top,
.datatable-bottom {
	padding: 8px 10px;
}

.datatable-top > nav:first-child,
.datatable-top > div:first-child,
.datatable-bottom > nav:first-child,
.datatable-bottom > div:first-child {
	float: left;
}

.datatable-top > nav:last-child,
.datatable-top > div:not(first-child),
.datatable-bottom > nav:last-child,
.datatable-bottom > div:last-child {
	float: right;
}

.datatable-selector {
	padding: 6px;
}

.datatable-input {
	padding: 6px 12px;
}

.datatable-info {
	margin: 7px 0;
}

/* PAGER */
.datatable-pagination ul {
	margin: 0;
	padding-left: 0;
}

.datatable-pagination li {
	list-style: none;
	float: left;
}

.datatable-pagination li.datatable-hidden {
    visibility: hidden;
}

.datatable-pagination a,
.datatable-pagination button {
	border: 1px solid transparent;
	float: left;
	margin-left: 2px;
	padding: 6px 12px;
	position: relative;
	text-decoration: none;
	color: #333;
    cursor: pointer;
}

.datatable-pagination a:hover,
.datatable-pagination button:hover {
	background-color: #d9d9d9;
}

.datatable-pagination .datatable-active a,
.datatable-pagination .datatable-active a:focus,
.datatable-pagination .datatable-active a:hover,
.datatable-pagination .datatable-active button,
.datatable-pagination .datatable-active button:focus,
.datatable-pagination .datatable-active button:hover {
	background-color: #d9d9d9;
	cursor: default;
}

.datatable-pagination .datatable-ellipsis a,
.datatable-pagination .datatable-disabled a,
.datatable-pagination .datatable-disabled a:focus,
.datatable-pagination .datatable-disabled a:hover,
.datatable-pagination .datatable-ellipsis button,
.datatable-pagination .datatable-disabled button,
.datatable-pagination .datatable-disabled button:focus,
.datatable-pagination .datatable-disabled button:hover {
    pointer-events: none;
    cursor: default;
}

.datatable-pagination .datatable-disabled a,
.datatable-pagination .datatable-disabled a:focus,
.datatable-pagination .datatable-disabled a:hover,
.datatable-pagination .datatable-disabled button,
.datatable-pagination .datatable-disabled button:focus,
.datatable-pagination .datatable-disabled button:hover {
	cursor: not-allowed;
	opacity: 0.4;
}

.datatable-pagination .datatable-pagination a,
.datatable-pagination .datatable-pagination button {
	font-weight: bold;
}

/* TABLE */
.datatable-table {
	max-width: 100%;
	width: 100%;
	border-spacing: 0;
	border-collapse: separate;
}

.datatable-table > tbody > tr > td,
.datatable-table > tbody > tr > th,
.datatable-table > tfoot > tr > td,
.datatable-table > tfoot > tr > th,
.datatable-table > thead > tr > td,
.datatable-table > thead > tr > th {
	vertical-align: center;
	padding: 8px 10px;
}

.datatable-table > thead > tr > th {
	vertical-align: bottom;
	text-align: left;
	border-bottom: 1px solid #d9d9d9;
}

.datatable-table > tfoot > tr > th {
	vertical-align: bottom;
	text-align: left;
	border-top: 1px solid #d9d9d9;
}

.datatable-table th {
	vertical-align: bottom;
	text-align: left;
}

.datatable-table th a {
	text-decoration: none;
	color: inherit;
}

.datatable-table th button,
.datatable-pagination-list button {
    color: inherit;
    border: 0;
    background-color: inherit;
    cursor: pointer;
    text-align: inherit;
    font-weight: inherit;
    font-size: inherit;
}

.datatable-sorter, .datatable-filter {
	display: inline-block;
	height: 100%;
	position: relative;
	width: 100%;
}

.datatable-sorter::before,
.datatable-sorter::after {
	content: "";
	height: 0;
	width: 0;
	position: absolute;
	right: 4px;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	opacity: 0.2;
}


.datatable-sorter::before {
	border-top: 4px solid #000;
	bottom: 0px;
}

.datatable-sorter::after {
	border-bottom: 4px solid #000;
	border-top: 4px solid transparent;
	top: 0px;
}

.datatable-ascending .datatable-sorter::after,
.datatable-descending .datatable-sorter::before,
.datatable-ascending .datatable-filter::after,
.datatable-descending .datatable-filter::before {
	opacity: 0.6;
}

.datatable-filter::before {
    content: "";
    position: absolute;
    right: 4px;
    opacity: 0.2;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
	border-radius: 50%;
    border-top: 10px solid #000;
    top: 25%;
}

.datatable-filter-active .datatable-filter::before {
    opacity: 0.6;
}

.datatable-empty {
	text-align: center;
}

.datatable-top::after, .datatable-bottom::after {
	clear: both;
	content: " ";
	display: table;
}

table.datatable-table:focus tr.datatable-cursor > td:first-child {
	border-left: 3px blue solid;
}

table.datatable-table:focus {
	outline: solid 1px black;
    outline-offset: -1px;
}

/* tailwind inserts */

.flex {
	display: flex;
}

.justify-between {
	justify-content: space-between;
}

.flex-1 {
	flex: 1;
} 

.hidden {
	display: none;
}

.w-5 {
	width: 20px;
}

.h-5 {
	height: 20px;
}

.text-sm {
    font-size: 0.75rem;
}

.text-gray-700 {
    color: #3e4853;
}

.leading-5 {
	line-height: 1.25;
}

.font-medium {
    font-weight: 500;
}

.relative {
	position: relative;
} 

.z-0 {
	z-index: 0;
}

.inline-flex {
	display: inline-flex;
}

.shadow-sm {
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.rounded-md {
	border-radius: 0.375rem;
}

.items-center {
	align-items: center;
} 

.text-sm {
	font-size: 0.75rem;
}

.font-medium {
	font-weight: 500 !important;
}

.text-gray-500 {
	color: #6b7280;
}

.bg-white {
	background-color: #fff;
}

.border {
	border: 1px solid #e5e7eb;
}

.border-gray-300 {
	border-color: #e5e7eb;
}

.cursor-default {
	cursor: default;
}

.rounded-l-md {
	border-top-left-radius: 0.375rem;
	border-bottom-left-radius: 0.375rem;
}

.leading-5 {
	line-height: 1.25;
}

.-ml-px {
	margin-left: -1px;
} 

.hover\:text-gray-500:hover {
	color: #6b7280;
}

.focus:z-10 {
	z-index: 10;
}

.focus:outline-none {
	outline: none;
}

.focus:ring {
	ring: 1px solid #e5e7eb;
}

.focus:border-blue-300 {
	border-color: #3b82f6;
}

.active:bg-gray-100 {
	background-color: #f3f4f6;
}

.active:text-gray-700 {
	color: #3e4853;
}

.transition {
	transition: all 0.15s ease-in-out;
}

.ease-in-out {
	transition-timing-function: ease-in-out;
}

.duration-150 {
	transition-duration: 150ms;
} 

@media (width >= 40rem) { 
	.sm\:hidden {
		display: none;
	}

	.sm\:flex-1 {
		flex: 1;
	}
	
	.sm\:flex {
		display: flex;
	}
	
	.sm\:items-center {
		align-items: center;
	}
	
	.sm\:justify-between {
		justify-content: space-between;
	}
}

/** Overrrides */
#pagination-container > nav p {
    margin-bottom: 0 !important;
	line-height: 1.65 !important;
	margin-right: 0.5rem !important;
}

[data-pc-direction=ltr] .px-4 {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
}

/* override <span arria-current="page" */
[data-pc-direction=ltr] span[aria-current="page"] > span,
[data-pc-direction=ltr] span[aria-disabled="true"] > span {
	line-height: 1.65 !important;
}