/**
 * Tangutec programmes table.
 */

.tpt,
.tpt * {
	box-sizing: border-box;
}

.tpt-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.tpt {
	--tpt-header: #2cace3;
	--tpt-header-text: #ffffff;
	--tpt-link: #24428f;
	--tpt-link-hover: #1a3270;
	--tpt-cell: #2cace3;
	--tpt-cell-even: #222222;
	--tpt-text: #444444;
	--tpt-line: #2cace3;
	--tpt-row: #ffffff;
	--tpt-stripe: #eef8fd;
	--tpt-hover: #e3f4fb;
	width: 100%;
	color: var(--tpt-text);
	font-size: 14px;
	line-height: 1.55;
}

.tpt-font-poppins,
.tpt-font-poppins .tpt-title,
.tpt-font-poppins table,
.tpt-font-poppins .tpt-search,
.tpt-font-poppins .tpt-empty {
	font-family: Poppins, sans-serif;
}

.tpt-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 14px;
	flex-wrap: wrap;
}

.tpt-title {
	margin: 0;
	color: #1a1a1a;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
}

.tpt-intro {
	margin: -6px 0 14px;
	color: #555;
	font-size: 15px;
	line-height: 1.5;
}

.tpt-search {
	min-width: 180px;
	max-width: 280px;
	padding: 8px 12px;
	border: 1px solid #d5e3ea;
	border-radius: 4px;
	background: #fff;
	color: #333;
	font: inherit;
	font-size: 14px;
}

.tpt-search:focus {
	outline: 2px solid var(--tpt-header);
	outline-offset: 1px;
}

.tpt-scroll {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.tpt table {
	width: 100%;
	min-width: var(--tpt-min, 720px);
	border-collapse: collapse;
	border-spacing: 0;
}

.tpt th,
.tpt td {
	padding: 14px 16px;
	border-bottom: 1px solid var(--tpt-line);
	text-align: left;
	vertical-align: middle;
	overflow-wrap: break-word;
}

.tpt thead th {
	background: var(--tpt-header);
	color: var(--tpt-header-text);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: -0.01em;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.tpt tbody td {
	background: var(--tpt-row);
	color: var(--tpt-cell);
	font-size: 14px;
	font-weight: 400;
}

.tpt-striped tbody tr:nth-child(even) td {
	background: var(--tpt-stripe);
	color: var(--tpt-cell-even);
}

.tpt-hover tbody tr:hover td {
	background: var(--tpt-hover);
}

.tpt a {
	color: var(--tpt-link);
	text-decoration: none;
	transition: color 0.15s ease;
}

.tpt a:hover {
	color: var(--tpt-link-hover);
}

.tpt-striped tbody tr:nth-child(even) td a {
	color: var(--tpt-link);
}

.tpt-striped tbody tr:nth-child(even) td a:hover {
	color: var(--tpt-link-hover);
}

.tpt-paged.tpt-striped tbody tr:nth-child(even) td {
	background: var(--tpt-row);
	color: var(--tpt-cell);
}

.tpt-paged.tpt-striped tbody tr.is-even td {
	background: var(--tpt-stripe);
	color: var(--tpt-cell-even);
}

.tpt-paged.tpt-striped tbody tr:nth-child(even) td a,
.tpt-paged.tpt-striped tbody tr.is-even td a {
	color: var(--tpt-link);
}

.tpt tbody tr.tpt-offpage,
.tpt tbody tr.tpt-filtered {
	display: none;
}

.tpt-underline a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.tpt-align-left {
	text-align: left;
}

.tpt-align-center {
	text-align: center;
}

.tpt-align-right {
	text-align: right;
}

.tpt-sort {
	appearance: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	font-weight: inherit;
	letter-spacing: inherit;
	text-align: inherit;
	cursor: pointer;
	box-shadow: none;
	border-radius: 0;
}

.tpt .tpt-sort:hover,
.tpt .tpt-sort:focus,
.tpt .tpt-sort:active {
	background: transparent;
	background-color: transparent;
	color: inherit;
	box-shadow: none;
	border-radius: 0;
}

.tpt-align-center .tpt-sort {
	justify-content: center;
}

.tpt-align-right .tpt-sort {
	justify-content: flex-end;
}

.tpt-caret {
	display: inline-flex;
	flex-direction: column;
	gap: 2px;
	flex: 0 0 auto;
	opacity: 0.95;
}

.tpt-caret span {
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
}

.tpt-caret .tpt-up {
	border-bottom: 4px solid currentColor;
}

.tpt-caret .tpt-down {
	border-top: 4px solid currentColor;
}

.tpt th.is-asc .tpt-down,
.tpt th.is-desc .tpt-up {
	opacity: 0.35;
}

.tpt a:focus-visible,
.tpt-sort:focus-visible,
.tpt-search:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.tpt tbody a:focus-visible {
	outline-color: var(--tpt-link);
}

.tpt-empty {
	margin: 12px 0 0;
	color: #666;
	font-size: 14px;
}

.tpt-note {
	margin: 0 0 12px;
	padding: 8px 12px;
	background: #fff8e8;
	border-left: 3px solid #c48a12;
	color: #6b4e00;
	font-size: 12px;
	line-height: 1.45;
}

@media (max-width: 767px) {
	.tpt-stack table,
	.tpt-stack thead,
	.tpt-stack tbody,
	.tpt-stack tr,
	.tpt-stack th,
	.tpt-stack td {
		display: block;
		width: 100%;
		min-width: 0;
	}

	.tpt-stack thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
	}

	.tpt-stack tr {
		margin: 0 0 12px;
		border: 1px solid var(--tpt-line);
	}

	.tpt-stack td {
		border-bottom: 1px solid rgba(44, 172, 227, 0.35);
	}

	.tpt-stack td:last-child {
		border-bottom: 0;
	}

	.tpt-stack td::before {
		content: attr(data-label);
		display: block;
		margin-bottom: 2px;
		color: var(--tpt-header);
		font-size: 11px;
		font-weight: 700;
		letter-spacing: 0.04em;
		text-transform: uppercase;
	}
}

.tpt-pager {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 6px;
	margin: 16px 0 0;
}

.tpt-pager[hidden] {
	display: none;
}

.tpt .tpt-page {
	appearance: none;
	min-width: 34px;
	height: 34px;
	margin: 0;
	padding: 0 8px;
	border: 1px solid var(--tpt-page-border, #d5dbe3);
	border-radius: 2px;
	background: var(--tpt-page-bg, #ffffff);
	background-color: var(--tpt-page-bg, #ffffff);
	color: var(--tpt-page-text, #24428f);
	font: inherit;
	font-size: 14px;
	line-height: 1;
	box-shadow: none;
	cursor: pointer;
}

.tpt .tpt-page:hover,
.tpt .tpt-page:focus {
	background: var(--tpt-page-hover, #eef3f8);
	background-color: var(--tpt-page-hover, #eef3f8);
	color: var(--tpt-page-text, #24428f);
	box-shadow: none;
}

.tpt .tpt-page.is-current,
.tpt .tpt-page.is-current:hover,
.tpt .tpt-page.is-current:focus {
	background: var(--tpt-page-active, #163a70);
	background-color: var(--tpt-page-active, #163a70);
	border-color: var(--tpt-page-active, #163a70);
	color: var(--tpt-page-active-text, #ffffff);
	cursor: default;
}

.tpt .tpt-page:disabled {
	opacity: 0.45;
	cursor: default;
}

.tpt-page-gap {
	min-width: 16px;
	color: var(--tpt-page-text, #24428f);
	text-align: center;
}

@media (prefers-reduced-motion: reduce) {
	.tpt a {
		transition: none;
	}
}
