:root {
	--bg: #efefef;
	--bg-lighter: #fff;
	--bg-darker: #e6e6e6;
	--nav: #e6e6e6;
	--tt: #161616;
	--tt-lighter: #565656;
	--tt-lightest: #999;
	--bdc: #f2f2f2;
	--bdc-darker: #e3e3e3;
	--bsh: 0 5px 10px #00000015;
	--bsh-2: 0 10px 20px #00000005;
	--gradient: #323438;
	--accent: #23b684;
	--accent-darker: #0f595e;
	--btn-color: #23b684;
	--btn-bg: #23b6851e;
	--btn-bg-hover: #23b6853f;
	--ui-bg: #fff;
	--ui-bg-darker: #f6f6f6;
	--ui-bg-darkest: #f0f0f0;
	--ui-bg-accent: #11222c;
	--ui-tt-on-accent: #fff;
	--ui-bdc: #e6e6e6;
	--indent-negative: -30px;
	--indent: 30px;
	--download-bg: #23b6841f;
	/* основной отступ справа и слева */
	--max-width: 1380px;
	/* максимальная ширина блока контента */
	--war: url(/templates/minesborka/images/war.png);
	--logo: url(../images/logo.png);
	--chevron: url(https://img.icons8.com/material-rounded/31/000000/chevron-down.png);
	--category__desc: #a9a8a8;
	--shadow: 0px 10px 50px 0px rgb(0 0 0 / 5%);
	--shadow-hover: 0px 10px 50px 0px rgb(159 157 157 / 50%);
}

html.darktheme {
	--bg: #16171b;
	--bg-lighter: #202125;
	--bg-darker: #202125;
	--nav: #191a1e;
	--tt: #f9f9f9;
	--tt-lighter: #707175;
	--tt-lightest: #999;
	--bdc: #32343a;
	--bdc-darker: #23b68440;
	--bsh: 0 5px 10px #00000015;
	--bsh-2: 0 10px 20px #00000005;
	--gradient: #191a1e;
	--accent: #23b684;
	--accent-darker: #0f595e;
	--btn-color: #23b684;
	--btn-bg: #23b6851e;
	--btn-bg-hover: #23b6853f;
	--ui-bg: #202125;
	--ui-bg-darker: #16171b;
	--ui-bg-darkest: #32343a;
	--ui-bg-accent: #11222c;
	--ui-tt-on-accent: #fff;
	--ui-bdc: #32343a;
	--indent-negative: -30px;
	--indent: 30px;
	--download-bg: #23b6841f;
	/* максимальная ширина блока контента */
	--war: url(/templates/minesborka/images/war-dark.png);
	--chevron: url(https://img.icons8.com/material-rounded/31/ffffff/chevron-down.png);
	--category__desc: #7c7c7c;
	--shadow: 0px 10px 50px 0px rgb(0 0 0 / 20%);
	--shadow-hover: 0px 10px 50px 0px rgb(0 0 0 / 30%);
}

html.bluetheme {
	--bdc-darker: #00d0ff40;
    --accent: #00d0ff;
    --accent-darker: #007995;
    --btn-color: #00d0ff;
    --btn-bg: #00d0ff1e;
    --btn-bg-hover: #00d0ff3f;
	--download-bg: #00d0ff1f;
	--logo: url(../images/logoblue.png);
}

html.noads {
	--noadsstyle: none;
}

@media screen and (max-width: 1220px) {
	:root {
		--indent-negative: -20px;
		--indent: 20px;
	}
}

/* RESET, BASIC UI SETTINGS
----------------------------------------------- */
* {
	background: none;
	margin: 0;
	padding: 0;
	outline: none;
	border: 0;
	box-sizing: border-box;
}

ol,
ul {
	list-style: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

img,
table,
iframe,
video,
frame,
embed,
object {
	max-width: 100%;
}

body {
	font: 15px / 1.4 'Manrope', sans-serif;
	font-weight: 400;
	letter-spacing: 0.02em;
	color: var(--tt);
	background-color: var(--bg);
	width: 100%;
	overflow-x: hidden;
}

a {
	color: var(--tt-);
	text-decoration: none;
}

a:hover,
a:focus {
	text-decoration: none;
}

h1,
h2,
h3,
h4,
h5 {
	font-weight: 700;
	color: var(--tt);
}

h1 {
	font-size: 24px;
}

h2 {
	font-size: 20px;
}

h3,
h4,
h5 {
	font-size: 18px;
    font-weight: 500;
}


::selection {
	background: #23b685b4;
	color: #fff;
}

b,
strong,
.bolder {
	font-weight: 700;
}

button,
select,
textarea,
input[type="text"],
input[type="password"],
input[type="button"],
input[type="submit"] {
	appearance: none;
	-webkit-appearance: none;
	font-size: 16px;
	font-family: inherit;
}

button,
.btn,
input[type="button"],
input[type="reset"],
input[type="submit"],
.form__btn,
.qq-upload-button,
.pm__links a,
.usp__btn a {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	padding: 0 20px;
	height: 40px;
	white-space: nowrap;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	background-color: var(--btn-bg);
	color: var(--btn-color);
	border-radius: 10px;
	box-shadow: none;
}

button:hover,
.btn:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.form__btn:hover,
.qq-upload-button:hover,
.pm__links a:hover,
.usp__btn a:hover {
	background-color: var(--btn-bg-hover);
	border-color: var(--btn-bg-hover);
}

button:active,
input[type="button"]:active,
input[type="submit"]:active {
	box-shadow: inset 0 1px 4px 0 rgba(0, 0, 0, 0.1);
}

.color-btn,
[class*=fr],
[class*=plyr],
[class*=owl-],
[id*=mceu],
[class*=tox-],
.ui-dialog-titlebar-close {
	padding: 0;
	margin: 0;
	line-height: normal;
	border: 0;
	box-shadow: none;
	background: none;
	border-radius: 0;
}

input[type="text"],
input[type="password"] {
	height: 40px;
	line-height: 40px;
	border-radius: 3px;
	padding: 0 15px;
}

select {
	height: 40px;
	padding: 0 15px;
	display: block;
	font-size: 15px;
}

select:not([multiple]) {
	background-image: url(../dleimages/chevron.svg);
	padding-right: 30px;
	background-repeat: no-repeat;
	background-position: right 15px top 50%;
	background-size: 12px auto;
}

select option {
	padding: 6px 10px;
}

select[multiple] option {
	padding: 3px 10px;
}

select[multiple] {
	padding: 9px 5px;
	border-radius: 3px;
}

textarea {
	padding: 15px;
	overflow: auto;
	vertical-align: top;
	resize: vertical;
}

input[type="text"],
input[type="password"],
select,
textarea {
	width: 100%;
	background-color: var(--bg);
	color: var(--tt);
	box-shadow: inset 0 0 0 1px var(--bg), inset 1px 2px 5px rgba(0, 0, 0, 0.1);
}

input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus {
	box-shadow: inset 0 0 0 1px var(--accent), inset 1px 2px 5px rgba(0, 0, 0, 0.1);
}

input::placeholder,
textarea::placeholder {
	color: var(--tt);
	opacity: 0.4;
	font-size: 14px;
}

input:focus::placeholder,
textarea:focus::placeholder {
	color: transparent
}


/* SNIPPETS
----------------------------------------------- */
.img-wide,
.img-responsive,
.img-fit-cover {
	position: relative;
	overflow: hidden;
}

.img-responsive {
	padding-top: 60%;
}

.img-responsive>img,
.img-fit-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.img-responsive>img {
	position: absolute;
	left: 0;
	top: 0;
}

.img-wide img,
.img-wide>a,
.expand-link {
	width: 100%;
	display: block;
}

.clr {
	clear: both;
}

.clearfix::after {
	content: "";
	display: table;
	clear: both;
}

.ws-nowrap {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.line-clamp {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.vw100 {
	margin: 0 calc((100% - 100vw)/2);
	padding: 0 calc((100vw - 100%)/2);
}

.img-mask::before {
	content: '';
	position: absolute;
	z-index: 1;
	left: 0;
	right: 0;
	bottom: 0;
	height: 60%;
	background: linear-gradient(to top, #000 0%, transparent 100%);
	opacity: 0.8;
}

.expand-link::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
}

.d-flex,
.fx-row {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
}

.fd-column,
.fx-col {
	flex-direction: column;
	flex-wrap: nowrap;
}

.jc-space-between,
.fx-row {
	justify-content: space-between;
}

.jc-flex-start,
.fx-start {
	justify-content: flex-start;
}

.jc-center,
.fx-center {
	justify-content: center;
}

.jc-flex-end {
	justify-content: flex-end;
}

.ai-flex-start {
	align-items: flex-start;
}

.ai-center,
.fx-middle {
	align-items: center;
}

.ai-flex-end {
	align-items: flex-end;
}

.order-first {
	order: -1;
}

.order-last {
	order: 10;
}

.flex-grow-1,
.fx-1,
.stretch-free-width {
	flex: 1 1 0;
	max-width: 100%;
	min-width: 50px;
}

.pi-center {
	display: inline-grid;
	place-items: center;
}

.icon-at-left [class*="fa-"] {
	margin-right: 0.8em;
}

.icon-at-right [class*="fa-"] {
	margin-left: 0.8em;
}

.hidden,
#dofullsearch,
.comment-item__main .quote+br,
.d-none,
#category option:empty,
.ui-helper-hidden-accessible:empty,
#related_news:empty,
#result-registration:empty {
	display: none;
}

.anim,
button,
.btn,
/* a, */
.popular img,
.attent img,
.top-item img,
.nav__list-hidden {
	transition: color 0.3s, opacity 0.3s, box-shadow 0.3s, transform 0.3s;
}

.d-grid,
#dle-content {
	display: grid;
	grid-gap: 15px 15px;
	grid-auto-flow: row dense;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.d-grid>*:not(.grid-item),
#dle-content>*:not(.grid-item),
#dle-content {
	grid-column: 1 / -1;
}

@font-face {
	font-family: 'Manrope';
	src: url('../webfonts/manrope-400.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Manrope';
	src: url('../webfonts/manrope-600.woff2') format('woff2');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Manrope';
	src: url('../webfonts/manrope-700.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}


@media screen and (min-width: 1220px) {
	a.short__img:hover {
		opacity: 0.8;
	}

	.popular:hover img,
	.attent:hover img,
	.top-item:hover img {
		transform: scale(1.1, 1.1);
	}

	.popular:hover .popular__title,
	.int:hover .int__title,
	.attent:hover .attent__title,
	.short__title a:hover,
	.footer__text a:hover,
	.sect__sort a:hover,
	.speedbar a:hover {
		text-decoration: underline;
	}

	.pagination__pages a:hover,
	.pagination__btn-loader a:hover,
	.page__tags a:hover {
		background: var(--download-bg);
		color: var(--accent);
		border-color: var(--download-bg);
	}

	.nav__list>li:hover>a,
	.nav__list-hidden a:hover,
	.side-nav>li:hover>a {
		color: var(--accent);
	}

	.nav__list li:hover .nav__list-hidden,
	.side-nav li:hover .nav__list-hidden {
		visibility: visible !important;
		opacity: 1 !important;
		transform: translateY(0);
	}
}

.checkbox input:checked, .comments_subscribe input:checked, input.switch:checked {
	background-color: var(--accent);
}

.xfieldimagegallery li img {
	border: 5px solid var(--bg);
}