/* =========== © 2024 Centroarts.com =========== */

/* Поиск по сайту */
@media (max-width: 575px) {
	.page-search>form {
		padding: var(--gap-min);
	}
}

@media (min-width: 576px) {
	.page-search {
		padding: var(--gap);
	}
}

.searchpage-field {
	position: relative;
}

.searchpage-field-btns {
	position: absolute;
	right: 0;
	top: 0;
	display: flex;
}

.searchpage-field-btns button {
	background: none !important;
	border: 0 none !important;
	width: 44px;
	height: 44px;
	line-height: 24px;
	padding: 10px;
	color: inherit !important;
}

.searchpage-field-btns button svg {
	display: block;
	margin: 0 auto;
}

.searchpage-field+.c-muted,
.searchpage-extended+.c-muted {
	font-size: var(--fs-sm);
	display: block;
	margin-top: 8px;
}

/* Статические страницы */
.page-back {
	margin-bottom: var(--gap-min);
}

.page-back a {
	display: block;
	font-weight: bold;
	font-size: var(--fs-sm);
}

@media (min-width: 768px) {

	.static,
	.lastcomments {
		padding: 0 var(--gap);
	}
}

@media (max-width: 767px) {

	.static,
	.lastcomments {
		padding: var(--gap-min);
	}

	.page-back a {
		padding: 8px;
		margin: -8px;
		text-transform: uppercase;
	}
}

/* Теги */
.tag_list>span {
	margin: 0 3px 3px 0;
}

.tag_list>span,
.tag_list>span>a {
	display: inline-block;
}

.tag_list>span>a {
	color: inherit;
	text-decoration: none !important;
	padding: .5rem 1rem;
	border-radius: 20px;
	border: 1px solid var(--border-color);
}

.tag_list>span>a:hover {
	border-color: var(--primary-color);
	background-color: var(--primary-color);
	color: #fff;
}

/* STATS */
.page-stats .heading {
	text-align: center;
}

.tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.tabs>input[type="radio"] {
	position: absolute;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.tabs>label {
	position: relative;
	padding: 8px 16px;
	line-height: 24px;
	border-radius: 6px;
	margin: 0 2px;
	cursor: pointer;
	font-weight: bold;
	color: inherit;
}

.tabs>input:checked+label {
	background-color: rgba(var(--primary-color-rgb), 0.1);
	color: var(--primary-color);
}

.tab-content {
	width: 100%;
	margin-top: var(--gap);
}

.tab-content .tab-pane {
	display: none;
}

.tabs>input#stat-tab1:checked~.tab-content>#tab1,
.tabs>input#stat-tab2:checked~.tab-content>#tab2,
.tabs>input#stat-tab3:checked~.tab-content>#tab3 {
	display: flex !important;
}

.stat_group {
	margin-top: var(--gap);
}

.stat_group>.title {
	font-size: var(--fs-lg);
	margin-top: 0;
	margin-bottom: 16px;
	font-weight: bold;
}

.stat_group>ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.stat_group>ul>li {
	display: flex;
	padding: .6em 0;
	border-top: 1px solid var(--border-color);
}

.stats-list-left {
	flex: 1 1 auto;
}

.stats-list-right {
	font-weight: bold;
	padding-left: 8px;
}

.stats_big {
	max-width: 800px;
	margin: 32px auto;
}

.stats_big {
	text-align: center;
}

.stats_big_item {
	display: block;
	flex: 0 0 calc(100% / 3);
	padding: 0 10px;
}

.stats_big_item .title {
	display: block;
	margin: 0 0 8px 0;
	font-size: calc(32px + 1vw);
	line-height: 1;
}

@media (max-width: 575px) {
	.stats_big_item .c-muted {
		font-size: var(--fs-sm);
	}
}

.stat-tabs {
	text-align: center;
	display: flex;
	justify-content: center;
	font-size: .875rem;
	font-weight: bold;
	text-transform: uppercase;
}

.stat-tabs a {
	padding: .5rem 1rem;
	line-height: 1.5rem;
	text-decoration: none !important;
	border-radius: .125rem;
}

.stat-tabs a.active {
	background-color: #9c373a;
	color: #fff;
}

/* - TABLE - */
.table-box {
	overflow: hidden;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin-bottom: 0;
	border: 1px solid var(--border-color);
	border-radius: 6px;
	font-size: var(--fs-sm);
}

.table-box table {
	margin: 0 !important;
}

table.table {
	width: 100%;
	margin: 0;
}

table.table td,
table.table th {
	padding: 12px 8px;
	vertical-align: top;
	border-bottom: 1px solid var(--border-color);
}

table.table thead td {
	padding: 8px;
	vertical-align: bottom;
	text-transform: uppercase;
	font-size: var(--fs-xsm);
	font-weight: bold;
	color: inherit;
}

table.table tbody tr:last-child>* {
	border-bottom-width: 0;
}