.redex-container {
	clear: both;
	margin-bottom: 1rem;
	position: relative;
}

.redex-container table.redex {
	margin-bottom: 0;
}

.redex-container .redex tfoot:empty {
	display: none;
}

.redex-container .dt-scroll {
	width: 100%;
}

.redex-container .dt-scroll-body {
	overflow-x: auto;
	overflow-y: hidden;
	width: 100%;
}

.redex-container .dt-scroll .redex {
	width: 100% !important;
}

.redex-container div.dt-scroll-body tfoot tr,
.redex-container div.dt-scroll-body thead tr {
	height: 0;
}

.redex-container div.dt-scroll-body tfoot tr td,
.redex-container div.dt-scroll-body tfoot tr th,
.redex-container div.dt-scroll-body thead tr td,
.redex-container div.dt-scroll-body thead tr th {
	border-bottom-width: 0 !important;
	border-top-width: 0 !important;
	height: 0 !important;
	padding-bottom: 0 !important;
	padding-top: 0 !important;
}

.redex-container div.dt-scroll-body tfoot tr td div.dt-scroll-sizing,
.redex-container div.dt-scroll-body tfoot tr th div.dt-scroll-sizing,
.redex-container div.dt-scroll-body thead tr td div.dt-scroll-sizing,
.redex-container div.dt-scroll-body thead tr th div.dt-scroll-sizing {
	height: 0 !important;
	overflow: hidden !important;
}

.redex-container div.dt-scroll-body > table.dataTable > thead > tr > td,
.redex-container div.dt-scroll-body > table.dataTable > thead > tr > th {
	overflow: hidden;
}

.redex-container .dt-layout-row {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
}

.redex-container .dt-layout-row.dt-layout-table .dt-layout-cell {
	display: block;
	width: 100%;
}

.redex-container .dt-layout-cell {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 1em;
	padding: 5px 0;
}

.redex-container .dt-layout-cell.dt-layout-full {
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

.redex-container .dt-layout-cell.dt-layout-full > :only-child {
	margin: auto;
}

.redex-container .dt-layout-cell.dt-layout-start {
	align-items: center;
	justify-content: flex-start;
	margin-right: auto;
}

.redex-container .dt-layout-cell.dt-layout-end {
	align-items: center;
	justify-content: flex-end;
	margin-left: auto;
}

.redex-container .dt-layout-cell:empty {
	display: none;
}

.redex-container :where(label),
.redex-container :where(.dt-input) {
	display: inline;
	width: auto;
}

.redex-container :where(.dt-input),
.redex-container :where(.dt-search input[type="search"]) {
	background: transparent;
	border: 1px solid #aaa;
	border-radius: 3px;
	color: inherit;
	font-size: inherit;
	margin: 0;
	margin-inline-start: 0;
	padding: 5px;
}

.redex-container :where(.dt-length),
.redex-container :where(.dt-search) {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	justify-content: center;
}

.redex-container .dt-paging .dt-paging-button,
.redex-container .dataTables_paginate .paginate_button {
	background: #ee1b24;
	border: 1px solid #ee1b24;
	border-radius: 8px;
	box-sizing: border-box;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	font-size: 1em;
	height: 32px;
	margin: 0 10px;
	margin-inline-start: 2px;
	min-width: 32px;
	padding: 0 5px;
	text-align: center;
	text-decoration: none;
	vertical-align: middle;
}

.redex-container .dt-paging .dt-paging-button:hover,
.redex-container .dt-paging .dt-paging-button.current,
.redex-container .dt-paging .dt-paging-button.current:hover,
.redex-container .dataTables_paginate .paginate_button:hover,
.redex-container .dataTables_paginate .paginate_button.current,
.redex-container .dataTables_paginate .paginate_button.current:hover {
	background: #970000 !important;
	border: none !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
}

.redex-container .dt-paging .dt-paging-button.disabled,
.redex-container .dt-paging .dt-paging-button.disabled:active,
.redex-container .dt-paging .dt-paging-button.disabled:hover,
.redex-container .dataTables_paginate .paginate_button.disabled,
.redex-container .dataTables_paginate .paginate_button.disabled:active,
.redex-container .dataTables_paginate .paginate_button.disabled:hover {
	background: transparent;
	border: 1px solid transparent;
	color: rgba(0, 0, 0, 0.3);
	cursor: default;
	outline: none;
}

.redex-container .dt-paging .dt-paging-button:first-child,
.redex-container .dataTables_paginate .paginate_button:first-child {
	margin-inline-start: 0;
}

.redex-container .dt-paging .ellipsis {
	padding: 0 1em;
}

@media screen and (max-width: 767px) {
	.redex-container .dt-layout-row {
		flex-direction: column;
	}

	.redex-container .dt-layout-cell {
		flex-direction: column;
		padding: 0.5em 0;
	}
}
