/*
 * TablePress
 */

.l-body .tablepress {
	--text-color: inherit;
	--padding: .6rem 1rem;
	--border-color: var(--color-content-border);

	--head-bg-color: transparent;
	--head-active-bg-color: transparent;
	--head-active-text-color: var(--color-content-primary);

	--odd-bg-color: rgba(0,0,0,0.04);
	--odd-text-color: inherit;

	--even-bg-color: transparent;
	--even-text-color: inherit;

	--hover-bg-color: var(--border-color);
	}

.l-body .color_primary .tablepress,
.l-body .color_secondary .tablepress {
	--border-color: rgba(255,255,255,.2);
	}
.l-body .color_alternate .tablepress {
	--border-color: var(--color-alt-content-border);
	}
.l-body .color_footer-bottom .tablepress {
	--border-color: var(--color-footer-border);
	}
.l-body .color_footer-top .tablepress {
	--border-color: var(--color-subfooter-border);
	}

.tablepress thead th {
	line-height: 1.4;
	}

/* Fields */
.dt-container .dt-length {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 5px;
	justify-content: center;
	}
.dt-container input.dt-input[type=search],
.dt-container select.dt-input {
	line-height: 2em;
	min-height: 2em;
	height: 2em;
	padding: 0 .5em;
	}

/* Pagination */
.dt-container .dt-paging .dt-paging-button.current {
	font-weight: bold;
	}
.dt-container .dt-paging .dt-paging-button.current,
.dt-container .dt-paging .dt-paging-button:hover {
	border-color: currentColor;
	}

/* Sorting */
@media screen and (min-width: 1025px) {
.tablepress thead .dt-orderable-asc .dt-column-order,
.tablepress thead .dt-orderable-desc .dt-column-order,
.tablepress thead .dt-ordering-asc .dt-column-order,
.tablepress thead .dt-ordering-desc .dt-column-order {
	display: inline-block;
	vertical-align: middle;
	position: relative;
	left: auto;
	right: auto;
	margin: 0 .4rem;
	color: inherit;
	}
}
