/*
Datalife Engine template,
name: LordFilm, creation date: 29 october 2026, version dle: 14 and higher
*/

:root {
	--bg: #f3f3f3;
	--bg-lighter: #ffffff;
	--bg-lightest: #ffffff;
	--bg-darker: #ececec;
	--bg-black: #b3e5fc;
	--bg-page: #b3e5fc; /* фон страницы вокруг контейнера */
	--tt: #333333;
	--tt-lighter: #111111;
	--tt-lighter-2: #222222;
	--tt-darker: #9a9a9a;
	--tt-darker-2: #7a7a7a;
	--bdc: #00000018;
	--bdc-lighter: #ffffff80;
	--bsh: 0 4px 14px rgba(0,0,0,0.15);
	--bsh-2: 0 1px 3px rgba(0,0,0,0.15);
	--accent: #5fb33b;
	--accent-darker: #4e9a2f;
	--accent-2: #f7a400;
	--accent-3: #e53935;
	--link: #2e7d32;
	--vk: #0077ff;
	--ui-bg: #fff;
	--ui-bg-darker: #f3f3f3;
	--ui-bg-darkest: #fff;
	--ui-bg-accent: #5fb33b;
	--ui-text-color-on-accent: #fff;
	--ui-bdc: #dcdcdc;
	--tt-2: #9a9a9a;
	--bg-3: #f3f3f3;
	--text-color-on-accent: #fff;
	--indent-negative: -15px;
	--indent: 15px; /* основной отступ справа и слева */
	--max-width: 930px; /* ширина контейнера, как на lordfilm */
	--font-nav: 'Oswald', 'Arial Narrow', Arial, sans-serif;
}

/* RESET, BASIC UI SETTINGS
----------------------------------------------- */
* {background: transparent; 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: 13px Arial, 'Helvetica Neue', Helvetica, sans-serif; line-height: 1.4; padding: 0; margin: 0;
	color: var(--tt); background: var(--bg-page);
	min-height: 100%; width: 100%; font-weight: 400; overflow-x: hidden;}
a {color: var(--tt-lighter-2); text-decoration: none;}
a:hover, a:focus {color: var(--accent-darker); text-decoration: none;}
h1, h2, h3, h4, h5 {font-weight: 700; font-size: 20px;}
::selection {background: var(--accent); 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: 14px; font-family: inherit;}
button, .btn, input[type="button"], input[type="reset"], input[type="submit"], .form__btn, .self_delete_link,
.qq-upload-button, .pm__links a, .usp__btn a {display: inline-flex; align-items: center; justify-content: center;
	cursor: pointer; text-align: center; padding: 0 16px; height: 34px; font-size: 12px; font-weight: 700;
	white-space: nowrap; background-color: var(--accent); color: #fff; box-shadow: none;
	text-transform: uppercase; letter-spacing: .5px; border-radius: 4px;}
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, .self_delete_link:hover
{background-color: var(--accent-darker); color: #fff; border-color: var(--accent-darker);}
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] {padding: 0; margin: 0;
	line-height: normal; border: 0; box-shadow: none; background: none; border-radius: 0;}

input[type="text"], input[type="password"] {height: 34px; line-height: 34px; border-radius: 4px; padding: 0 12px;}
select {height: 34px; padding: 0 12px; display: block;}
select:not([multiple]) {background-image: url(../dleimages/chevron.svg); padding-right: 30px;
	background-repeat: no-repeat; background-position: right 12px top 50%; background-size: .6em auto;}
select option {padding: 6px 10px;}
select[multiple] {padding: 0 5px;}
textarea {padding: 12px; overflow: auto; vertical-align: top; resize: vertical;}
input[type="text"], input[type="password"], select, textarea {width: 100%; background-color: var(--ui-bg-darkest); color: var(--tt-lighter);
	box-shadow: inset 0 0 0 1px var(--ui-bdc);}
input[type="text"]:focus, input[type="password"]:focus, textarea:focus
	{box-shadow: inset 0 0 0 1px var(--accent);}
input::placeholder, textarea::placeholder {color: var(--tt-darker); opacity: 1; font-size: 12px;}
input:focus::placeholder, textarea:focus::placeholder {color: transparent}

/* SNIPPETS
----------------------------------------------- */
.img-box, .img-wide, .img-responsive, .img-fit-cover {overflow: hidden; position: relative;}
.img-responsive {padding-top: 60%;}
.img-responsive--portrait {padding-top: 150%;}
.img-box > img, .img-responsive > img {width: 100%; min-height: 100%; display: block;}
.img-responsive > img {position: absolute; left: 0; top: 0;}
.img-wide img, .img-wide > a {width: 100%; display: block;}
.img-fit-cover img {width: 100%; height: 100%; object-fit: cover;}
.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;}
.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;}
.btn-icon, .centered-content {display: inline-flex; justify-content: center; align-items: center;}
.icon-at-left [class*="fa-"], .icon-left .icon {margin-right: 0.5em;}
.icon-at-right [class*="fa-"], .icon-right .icon {margin-left: 0.5em;}
.hidden, #dofullsearch, .form__header .form__btn, .comment-item__main .quote + br, .d-none {display: none;}
.anim, button, .btn, a, a img {transition: all .2s;}
.tac {text-align: center;}

.d-grid {display: grid; gap: 12px; grid-template-columns: repeat(6, minmax(0, 1fr));}
