﻿/* =========== © 2020 Centroarts.com =========== */
@font-face {
	font-family: 'icons';
	font-weight: normal;
	font-style: normal;
	font-display: block;
	src: url('../fonts/icon.woff2') format('woff2'),
		url('../fonts/icon.woff') format('woff');
}

/* @font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: normal;
	font-display: swap;
	src: local('Roboto'), local('Roboto-Regular'),
	   url('../fonts/roboto-v20-latin_cyrillic-regular.woff2') format('woff2'),
	   url('../fonts/roboto-v20-latin_cyrillic-regular.woff') format('woff');
}
@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: bold;
	font-display: swap;
	src: local('Roboto Bold'), local('Roboto-Bold'),
	   url('../fonts/roboto-v20-latin_cyrillic-700.woff2') format('woff2'),
	   url('../fonts/roboto-v20-latin_cyrillic-700.woff') format('woff');
} */

[class^="i__"], [class*=" i__"] {
	font-family: 'icons' !important;
	speak: never;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
[class^="i__"]::before, [class*=" i__"]::before { line-height: 1.5rem; font-size: 1.5rem; width: 1.5rem; height: 1.5rem; display: inline-block; vertical-align: top; }
.i__restore:before { content: "\e927"; }
.i__edit:before { content: "\e926"; }
.i__mail:before { content: "\e923"; }
.i__gl:before { content: "\e924"; }
.i__ya:before { content: "\e925"; }
.i__ok:before { content: "\e900"; }
.i__photo:before { content: "\e901"; }
.i__senddoc:before { content: "\e902"; }
.i__radio:before { content: "\e903"; }
.i__time:before { content: "\e904"; }
.i__tw:before { content: "\e905"; }
.i__vk:before { content: "\e906"; }
.i__com:before { content: "\e907"; }
.i__cross:before { content: "\e908"; }
.i__dzen:before { content: "\e909"; }
.i__home:before { content: "\e90a"; }
.i__login:before { content: "\e90b"; }
.i__reg:before { content: "\e90c"; }
.i__right:before { content: "\e90d"; }
.i__search:before { content: "\e90e"; }
.i__set:before { content: "\e90f"; }
.i__star:before { content: "\e910"; }
.i__sun:before { content: "\e911"; }
.i__user:before { content: "\e912"; }
.i__video:before { content: "\e913"; }
.i__add:before { content: "\e914"; }
.i__bottom:before { content: "\e915"; }
.i__ca:before { content: "\e916"; }
.i__compl:before { content: "\e917"; }
.i__del:before { content: "\e918"; }
.i__left:before { content: "\e919"; }
.i__reply:before { content: "\e91a"; }
.i__up:before { content: "\e91b"; }
.i__upper:before { content: "\e91c"; }
.i__print:before { content: "\e91d"; }
.i__quote:before { content: "\e91e"; }
.i__views:before { content: "\e91f"; }
.i__notify:before { content: "\e920"; }
.i__fb:before { content: "\e921"; }
.i__details:before { content: "\e922"; }

*, *::before, *::after { box-sizing: border-box; -webkit-box-sizing: border-box; }
article, aside, figcaption, figure, footer, header, hgroup, main, nav, section { display: block; }
html { font-family: sans-serif; line-height: 1; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: rgba(0,0,0,0); }

[tabindex="-1"]:focus { outline: 0 !important; }

hr { box-sizing: content-box; height: 0; overflow: visible; border: 0 solid rgba(0,0,0,0.1); border-top-width: 1px; margin: 1.75rem 0; }
h1, h2, h3, h4, h5, h6 { margin-top: 0; margin-bottom: 0.5rem; }
p { margin-top: 0; margin-bottom: 1rem; }

abbr[title],
abbr[data-original-title] {
	text-decoration: underline; -webkit-text-decoration: underline dotted; text-decoration: underline dotted;
	cursor: help; border-bottom: 0; -webkit-text-decoration-skip-ink: none; text-decoration-skip-ink: none;
}
address { margin-bottom: 1rem; font-style: normal; line-height: inherit; }
ol, ul, dl { list-style: none; padding: 0; margin: 0; }
ol ol, ul ul, ol ul, ul ol { margin-bottom: 0; }
dt { font-weight: 700; }
dd { margin-bottom: .5rem; margin-left: 0; }
blockquote { margin: 0 0 1rem; }
b, strong { font-weight: bold; }
small, .small { font-size: .75em; }
sub, sup { position: relative; font-size: 75%; line-height: 0; vertical-align: baseline; }
sub { bottom: -.25em; }
sup { top: -.5em; }

a:not([href]):not([tabindex]) { color: inherit; text-decoration: none; }
a:not([href]):not([tabindex]):hover, a:not([href]):not([tabindex]):focus { color: inherit; text-decoration: none; }
a:not([href]):not([tabindex]):focus { outline: 0; }

pre, code, kbd, samp { font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 1em; }
pre { margin-top: 0; margin-bottom: 1rem; overflow: auto; }
figure { margin: 0 0 1rem; }
img { vertical-align: middle; border-style: none; }
svg { overflow: hidden; vertical-align: middle; }
table { border-collapse: collapse; }
caption { padding-top: 0.75rem; padding-bottom: 0.75rem; color: #99999e; text-align: left; caption-side: bottom; }
th { text-align: inherit; }
label { display: inline-block; margin-bottom: 0.5rem; }
button { border-radius: 0; }
button:focus { outline: 1px dotted; outline: 5px auto -webkit-focus-ring-color; }
input, button, select, optgroup, textarea { margin: 0; font-family: inherit; font-size: inherit; line-height: inherit; }
button, input { overflow: visible; }
button, select { text-transform: none; }
select { word-wrap: normal; }
button, [type="button"], [type="reset"], [type="submit"] { -webkit-appearance: button; outline: none !important; }
button:not(:disabled),
[type="button"]:not(:disabled),
[type="reset"]:not(:disabled),
[type="submit"]:not(:disabled) { cursor: pointer;}
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner { padding: 0; border-style: none; }
input[type="radio"],
input[type="checkbox"] { box-sizing: border-box; -webkit-box-sizing: border-box; padding: 0; }
textarea { overflow: auto; resize: vertical; }
fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
legend { display: block; width: 100%; max-width: 100%; padding: 0; margin-bottom: .5rem; font-size: 1.5rem; line-height: inherit; color: inherit; white-space: normal;}
progress { vertical-align: baseline; }
[type="search"] { outline-offset: -2px; -webkit-appearance: none; }
[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
::-webkit-file-upload-button { font: inherit; -webkit-appearance: button; }
output { display: inline-block; }
summary { display: list-item; cursor: pointer; }
template { display: none; }
[hidden] { display: none !important; }

/* Общая настройка */
html { display: block; }
body {
	font: normal 1rem/1.45 Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", "Open Sans", "Helvetica Neue", sans-serif;
	color: #222; background-color: #e4e3e1;
	text-rendering: optimizeLegibility;

	min-width: 320px; min-height: 100vh; margin: 0; display: flex; flex-direction: column;
}

/* .font { font-family: Roboto, Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", "Open Sans", "Helvetica Neue", sans-serif; } */
.font { font-family: Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", "Open Sans", "Helvetica Neue", sans-serif; }
.cover { background-position: 50% 50%; background-repeat: no-repeat; background-size: cover; }
.fit-cover { position: relative; display: flex; overflow: hidden; flex-direction: column; flex-grow: 1; }
.fit-cover img {
	position: absolute; top: 0; left: 50%; display: block;
	min-width: calc(100% + 1px); height: 100%; transform: translateX(-50%);
	object-fit: cover; object-position: center center;
	-o-object-position: center center; -o-object-fit: cover;
}

a { color: #9c373a; outline: none !important; text-decoration: none; }
@media (min-width: 992px) {
	a:hover, a:active, a:focus { color: #8d2c2f; text-decoration: underline; transition: color ease .2s; }
}

.w-100 { width: 100%; }
.circle { border-radius: 50%; }
.dashed { position: relative; display: inline-block; }
.dashed::after { content: ""; position: absolute; left: 0; top: 100%; width: 100%; height: 0; border-top: 1px dashed #9D9FA4; }

.truncate { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uppercase { text-transform: uppercase; }
.text-wrap { white-space: normal !important; }
.text-nowrap { white-space: nowrap !important; }
.fw-b { font-weight: bold; }
.fw-n { font-weight: normal; }
.lh-norm { line-height: normal; }
.f-right { float: right; }
.f-left { float: left; }
.ww-break-word { word-wrap: break-word; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.fs-075 { font-size: .75rem !important; }
.fs-0875 { font-size: .875rem !important; }
.fs-1 { font-size: 1rem !important; }
.fs-11 { font-size: 1.1rem !important; }
.fs-1125 { font-size: 1.125rem !important; }
.fs-125 { font-size: 1.25rem !important; }
.fs-1375 { font-size: 1.375rem !important; }
.fs-15 { font-size: 1.5rem !important; }
.fs-1625 { font-size: 1.625rem !important; }
.fs-2 { font-size: 2rem !important; }
.fs-225 { font-size: 2.25rem !important; }
.fs-2625 { font-size: 2.625rem !important; }

.t-left { text-align: left !important; }
.t-center { text-align: center !important; }
.t-right { text-align: right !important; }

@media (min-width: 576px) {
	.fs-sm-075 { font-size: .75rem !important; }
	.fs-sm-0875 { font-size: .875rem !important; }
	.fs-sm-1 { font-size: 1rem !important; }
	.fs-sm-1125 { font-size: 1.125rem !important; }
	.fs-sm-125 { font-size: 1.25rem !important; }
	.fs-sm-1375 { font-size: 1.375rem !important; }
	.fs-sm-15 { font-size: 1.5rem !important; }
	.fs-sm-1625 { font-size: 1.625rem !important; }
	.fs-sm-2 { font-size: 2rem !important; }
	.fs-sm-225 { font-size: 2.25rem !important; }
	.fs-sm-2625 { font-size: 2.625rem !important; }

	.t-sm-left { text-align: left !important; }
	.t-sm-center { text-align: center !important; }
	.t-sm-right { text-align: right !important; }
}
@media (min-width: 768px) {
	.fs-md-075 { font-size: .75rem !important; }
	.fs-md-0875 { font-size: .875rem !important; }
	.fs-md-1 { font-size: 1rem !important; }
	.fs-md-1125 { font-size: 1.125rem !important; }
	.fs-md-125 { font-size: 1.25rem !important; }
	.fs-md-1375 { font-size: 1.375rem !important; }
	.fs-md-15 { font-size: 1.5rem !important; }
	.fs-md-1625 { font-size: 1.625rem !important; }
	.fs-md-2 { font-size: 2rem !important; }
	.fs-md-225 { font-size: 2.25rem !important; }

	.t-md-left { text-align: left !important; }
	.t-md-center { text-align: center !important; }
	.t-md-right { text-align: right !important; }
}
@media (min-width: 992px) {
	.fs-lg-075 { font-size: .75rem !important; }
	.fs-lg-0875 { font-size: .875rem !important; }
	.fs-lg-1 { font-size: 1rem !important; }
	.fs-lg-1125 { font-size: 1.125rem !important; }
	.fs-lg-125 { font-size: 1.25rem !important; }
	.fs-lg-1375 { font-size: 1.375rem !important; }
	.fs-lg-15 { font-size: 1.5rem !important; }
	.fs-lg-1625 { font-size: 1.625rem !important; }
	.fs-lg-2 { font-size: 2rem !important; }
	.fs-lg-225 { font-size: 2.25rem !important; }
	.fs-lg-2625 { font-size: 2.625rem !important; }

	.t-lg-left { text-align: left !important; }
	.t-lg-center { text-align: center !important; }
	.t-lg-right { text-align: right !important; }
}
@media (min-width: 1240px) {
	.fs-xl-075 { font-size: .75rem !important; }
	.fs-xl-0875 { font-size: .875rem !important; }
	.fs-xl-1 { font-size: 1rem !important; }
	.fs-xl-1125 { font-size: 1.125rem !important; }
	.fs-xl-125 { font-size: 1.25rem !important; }
	.fs-xl-1375 { font-size: 1.375rem !important; }
	.fs-xl-15 { font-size: 1.5rem !important; }
	.fs-xl-1625 { font-size: 1.625rem !important; }
	.fs-xl-2 { font-size: 2rem !important; }
	.fs-xl-225 { font-size: 2.25rem !important; }
	.fs-xl-2625 { font-size: 2.625rem !important; }

	.t-xl-left { text-align: left !important; }
	.t-xl-center { text-align: center !important; }
	.t-xl-right { text-align: right !important; }
}

.c-inherit { color: inherit !important; }
.c-white { color: #FFFFFF !important; }
.c-red { color: #9c373a !important; }
.c-dark { color: #222 !important; }
.c-muted { color: #8D8D8D !important; }

.bg-inherit { background-color: inherit !important; }
.bg-white { background-color: #FFFFFF !important; }
.bg-red { background-color: #9c373a !important; }
.bg-grey { background-color: #EBEAE8 !important; }
.bg-dark { background-color: #383533 !important; }
.bg-light { background-color: #f7f7f7 !important; }

.muted { opacity: .5; }

.small, small { font-size: .75rem; }

/* Headings */
@media (min-width: 576px) {
	h1, .h1 { font-size: 2.5rem; }
	h2, .h2 { font-size: 2rem; }
	h3, .h3 { font-size: 1.5rem; font-weight:bold; }
}

@media (max-width: 575px) {
	h1, .h1 { font-size: 2rem; }
	h2, .h2 { font-size: 1.8rem; }
	h3, .h3 { font-size: 1.5rem; font-weight:bold; }
}

h4, .h4 { font-size: 1.45rem; }
h5, .h5 { font-size: 1.25rem; }
h6, .h6 { font-size: 1rem; }

/* .text h1, .text h2, .text h3, .text h4, .text h5 { font-family: Roboto, Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", "Open Sans", "Helvetica Neue", sans-serif; } */

.text h1, .text h2 { font-size: 1.5rem; }
.text h3 { font-size: 1.25rem; }
.text h4 { font-size: 1.125rem; }
.text h5 { font-size: 1rem; }
.text h6 { font-size: .75rem; text-transform: uppercase; }

@media (min-width: 992px) {
	.text h1, .text h2 { font-size: 2rem; }
	.text h3 { font-size: 1.75rem; }
	.text h4 { font-size: 1.5rem; }
	.text h5 { font-size: 1.25rem; }
	.text h6 { font-size: 1;  }
}
@media (min-width: 768px) {
	.text h1, .text h2 { font-size: 1.75rem; }
	.text h3 { font-size: 1.5rem; }
	.text h4 { font-size: 1.25rem; }
	.text h5 { font-size: 1rem; }
	.text h6 { font-size: .875rem; }
}

/* DropDown */
.open > .dropdown-menu { display: block !important; }
.open > .dropdown-btn { opacity: .5; }
.dropdown { position: relative; }
.dropdown-menu {
	display: none; position: absolute; z-index: 100; left: 0; border-radius: .125rem; margin-top: .25rem;
	background-color: #fafafa; font-weight: normal;
	border-radius: 1px; box-shadow: 0 .5rem 4rem -.5rem rgba(0,0,0,0.2), 0 .25rem .5rem 0 rgba(0,0,0,0.2);
}
.dropdown-menu-right { right: 0; left: auto; }
@media (min-height: 600px) {
	.dropdown-menu-arrow { display: none; position: absolute; z-index: 100; top: 100%; left: 50%; width: 20px; margin: -5px 0 0 -10px; }
	.open > .dropdown-menu-arrow { display: block; }
	.dropdown-menu-arrow::after {
		content: ""; position: absolute; top: 50%; left: 50%; margin: 0 0 0 -10px;
		border: solid transparent; border-bottom-color: #fafafa; border-width: 0 10px 10px 10px;
	}
}
.dropdown-header { display: block; padding: .5rem 1.5rem; margin-bottom: 0; white-space: nowrap; }
.dropdown-form { min-width: 240px; padding: 1.25rem; }

/* --- Modals Bootstrap --- */
.modal-open { overflow: hidden !important; }
.modal {
	position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1050;
	display: none; overflow: hidden; outline: 0;
}
.modal-dialog { position: relative; width: auto; min-height: 100%; }
.modal-open .modal { overflow-x: hidden; overflow-y: auto; }
.modal-content { position: relative; background-color: #fff; width: 100%; outline: 0; }
.modal-body { padding: 1.5rem; }
.modal-backdrop { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1040; background-color: #000; }
.modal-backdrop.fade { opacity: 0; }
.modal-backdrop.in { opacity: .3; }
.modal-dialog .close, .modal-close {
	position: absolute; right: 0; top: 0; padding: .5rem; width: 2.5rem; height: 2.5rem; background: none;
	border: 0 none; outline: none !important; pointer-events: auto; background: none;
	transition: color .15s ease-out;
}
.modal .modal-dialog > .close, .modal-close { width: 4rem; height: 4rem; padding: 1rem; z-index: 1; }
.modal-dialog .close { opacity: .5; }

.modal-title { margin-bottom: 1rem; }
.modal-close { color: #fff; transition: opacity .15s ease-out; }

@media (min-width: 992px) {
	.modal-close:hover { opacity: .8; }
	.modal-dialog .close:hover { opacity: .8; }
	.modal { -webkit-overflow-scrolling: touch; }
}

/* Quick Search */
.modal-search { background-color: rgba(156,55,58,0.98); }
.modal-search .modal-dialog { align-items: flex-start; padding: 0; margin: 0; }
.modal-search .modal-content { background: none; box-shadow: none; }

.modal.modal-search.fade .modal-dialog { transform: scale(1) translateY(-2rem) !important; }
.modal.modal-search.in .modal-dialog { transform: translateY(0) !important; }
.modal-search .modal-content { max-width: 50rem; }
.modal-search .modal-body { padding-top: 4rem; }

.searchfield { position: relative; }
.searchfield > input {
	font-size: 1.25rem !important; line-height: 1.5rem; height: 3.5rem !important; padding: 1rem !important;
	padding-right: 4.5rem !important; border: 0 none !important;
}
.modal-search .searchfield > input { box-shadow: 0 1rem 3rem 0 rgba(0,0,0,0.25); }
.searchfield > button {	
	position: absolute; top: 50%; right: 0; border-radius: 0 .125rem .125rem 0;
	transform: translateY(-50%); width: 3.5rem; height: 3.5rem;
	padding: 1rem; margin: 0; border: 0 none; background: none;
	transition: background-color .15s ease-out;
}
.searchfield > button:hover { background-color: #EBEAE8; }
.qsearch-advanced { position: relative; z-index: 1; margin-top: 1rem; text-align: right; }

@media (min-width: 576px) {
	.modal.fade .modal-dialog { transform: scale(.85); transition: transform .2s ease; }
	.modal.in .modal-dialog { transform: scale(1); }
	.modal-content {
		pointer-events: auto; background-clip: padding-box; max-width: 30rem; min-height: 0;
		border-radius: .25rem; box-shadow: 0 1rem 1.5rem -.25rem rgba(0,0,0,0.25), 0 0 0 1px rgba(0, 0, 0, 0.1);
	}
	.container .modal-content { box-shadow: 0 1rem 3.25rem -.25rem rgba(0,73,150,0.125), 0 0 0 1px rgba(0,73,150, 0.1); }
	.modal-dialog {
		display: flex; align-items: center; justify-content: center; pointer-events: none;
		margin: 1rem auto; min-height: calc(100% - 2rem); padding-left: .5rem; padding-right: .5rem;
	}
	.modal-body { padding: 2rem; }
}
@media (max-width: 575px) {
	.modal-dialog { display: flex; }
	.modal-body { min-height: 100% !important; padding-top: 3.5rem; }
}

/* ScrollCont */
.scrollcont, .scrollbar { overflow: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.scrollcont::-webkit-scrollbar, .scrollbar::-webkit-scrollbar { background: none !important; }
@media (min-width: 992px) {
	::-webkit-scrollbar { width: 16px; background-color: #FAFAFA; }
	::-webkit-scrollbar-thumb { background-color: #C1C1C1; border-radius: 8px; border: 4px solid #FAFAFA; }
	::-webkit-scrollbar-track { background-color: #ededed; border-radius: 8px; border: 4px solid #FAFAFA; }
}

/* BTNS */
.btn-reset { vertical-align: top; padding: 0; margin: 0; background: none; border: 0 none; cursor: pointer; }
.btn, .bbcodes, .ui-button {
	/* font-family: Roboto, Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", "Open Sans", "Helvetica Neue", sans-serif; */
	height: 2.5rem; line-height: 1.5rem; padding: calc(.5rem - 1px) 1rem; border-radius: .125rem;
	white-space: nowrap; text-align: center;
	display: inline-block; vertical-align: top; border: 0 none; text-transform: uppercase; font-weight: bold;
	cursor: pointer; outline: none; text-decoration: none !important; color: #fff !important;
	background-color: #9c373a; border: 1px solid #9c373a;
	transition: box-shadow ease .15s, background-color ease .15s, border-color ease .15s;
}
.btn-dark { background-color: #222; border-color: #222; }

.ui-dialog-buttonset button:first-child,
input[value="Отменить"], input[value="Не принимаю"],
.btn-cancel {border-color: rgba(0,0,0,0.1) !important; color: #222 !important; background-color: rgba(0,0,0,0.05); }

@media (min-width: 576px) {
	.btn-lg { font-size: 1.25rem; height: 3rem; padding: calc(.75rem - 1px) 1.25rem; }
}
@media (min-width: 992px) {
	.btn:hover, .bbcodes:hover, .ui-button:hover { background-color: #b43f41; border-color: #b43f41; }
	.btn:active, .bbcodes:active, .ui-button:active { background-color: #9c373a; border-color: #9c373a; box-shadow: 0 0 0 .25rem rgba(156,55,58,0.2); }

	.btn-dark:hover { background-color: #444; border-color: #444; }
	.btn-dark:active { background-color: #111; border-color: #111; box-shadow: 0 0 0 .25rem rgba(0,0,0,0.2); }

	.ui-dialog-buttonset button:first-child:hover,
	input[value="Отменить"]:hover, input[value="Не принимаю"]:hover,
	.btn-cancel:hover {
		background-color: #fff !important;
	}
	.ui-dialog-buttonset button:first-child:active,
	input[value="Отменить"]:active, input[value="Не принимаю"]:active,
	.btn-cancel:active {
		background-color: #e8e8e8 !important; border-color: rgba(0,0,0,0.125) !important; box-shadow: none;
	}
}
@media (max-width: 575px) {
	/* .btn-block { width: 100%; } */
	.btn-block + .btn-block { margin-top: .5rem; }
}

/* --- FORMS --- */
.form-group, .form-submit, .loginform-foot, .form-check, .form-combo { margin-top: 1rem; }
.form-group:first-child, .form-check:first-child, .form-combo:first-child { margin-top: 0; }
@media (min-width: 576px) {
	.form-group, .form-submit, .loginform-foot, .form-check, .form-combo { margin-top: 1.5rem; }
	.form-combo { display: flex; margin-left: -.75rem; margin-right: -.75rem; }
	.form-combo .form-group { width: 100%; flex: 0 0 50%; max-width: 50%; padding: 0 .75rem; margin: 0; }
}
@media (min-width: 576px) and (max-width: 767px) {
	.form-combo { margin-left: -.5rem; margin-right: -.5rem; }
	.form-combo .form-group { padding: 0 .5rem; }
}
.form-group > label { font-size: .875rem; line-height: 1.2; text-transform: uppercase; opacity: .8; }
.form-sep { border-top: 1px solid rgba(0,0,0,0.05); }

.loginform-foot { display: flex; }
.loginform-foot > a:first-child { margin-right: auto; }

select, textarea, input[type="text"], input[type="password"], input[type="file"],
input[type="datetime"], input[type="datetime-local"], input[type="date"],
input[type="month"], input[type="time"], input[type="week"], input[type="number"],
input[type="email"], input[type="url"], input[type="search"], input[type="tel"],
input[type="color"] {
	display: inline-block; width: 100%; height: 2.5rem; line-height: 1.5rem; font-size: 1rem;
	padding: calc(.5rem - 1px) .75rem; background: #fff; border: 1px solid rgba(0,0,0,0.1); border-radius: .125rem;
	outline: none !important;
}
select:focus, textarea:focus, input:focus {
	border-color: rgba(0,0,0,0.15); box-shadow: 0 .25rem .75rem 0 rgba(0,0,0,0.06);
	transition: border .2s linear 0s, box-shadow .2s linear 0s; background-clip: padding-box;
}
textarea { margin: 0; overflow: auto; vertical-align: top; resize: vertical; }
input[type="radio"], input[type="checkbox"] { line-height: normal; margin: -2px 6px 0 0; vertical-align: middle; }
input[type="file"], input[type="image"],
input[type="submit"], input[type="reset"],
input[type="button"], input[type="radio"],
input[type="checkbox"] { width: auto; }
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
select[multiple], select { -webkit-appearance: none; appearance: none; }
select[multiple], select[size], textarea { height: auto;, }
::-moz-placeholder, :-moz-placeholder, ::-webkit-input-placeholder { opacity: 0.6; }
select:not([multiple]) {
	padding-right: 2rem;
	background-position: calc(100% - .375rem) 50%; background-size: 1.5rem 1.5rem; background-repeat: no-repeat;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.12 9.29L12 13.17l3.88-3.88c.39-.39 1.02-.39 1.41 0 .39.39.39 1.02 0 1.41l-4.59 4.59c-.39.39-1.02.39-1.41 0L6.7 10.7c-.39-.39-.39-1.02 0-1.41.39-.38 1.03-.39 1.42 0z'/%3E%3C/svg%3E");
}

input:focus { outline: none;  }
input[type="file"], input[type="image"] { padding: 0; border-width: 0; background: none; box-shadow: none; }

/* Custom Control */
.custom-control-input:checked ~ .custom-control-label::before { background-color: #9c373a; }
.custom-control-input:focus ~ .custom-control-label::before { box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(156, 55, 58, 0.25); }
.custom-control-input:active ~ .custom-control-label::before { background-color: #fbbb9b; }
.custom-control-input:disabled ~ .custom-control-label { color: #e0c7bb; }
.custom-control-input:disabled ~ .custom-control-label::before { background-color: #f6f0ec; }

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before { background-color: #9c373a; }
.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::before { background-color: #9c373a; }
.custom-checkbox .custom-control-input:disabled:checked ~ .custom-control-label::before { background-color: rgba(156, 55, 58, 0.5); }
.custom-checkbox .custom-control-input:disabled:indeterminate ~ .custom-control-label::before { background-color: rgba(156, 55, 58, 0.5); }
.custom-radio .custom-control-label::before { border-radius: 50%; }
.custom-radio .custom-control-input:checked ~ .custom-control-label::before { background-color: #9c373a; }
.custom-radio .custom-control-input:disabled:checked ~ .custom-control-label::before { background-color: rgba(156, 55, 58, 0.5); }

.custom-control-label::before { background-color: #e5e5e5; }

/*---Дополнительные поля---*/
.xfields textarea, .xprofile textarea { width: 100%; height: 186px; margin-top: 5px; }
.xfieldsnote { color: #838383; font-size: .9em; }
.xfields_table td { vertical-align: top; }
.xfieldsrow { padding-top:5px; clear: both; }
.xfieldscolleft { float: left; width: 30%; }
.xfieldscolright { float: left; width: 70%; }

/*---Подсветка кода в теге [code]---*/
pre code { display: block; padding: 0.5em; background: #f9fafa; border: 1px solid #dce7e7; overflow:auto; white-space: pre; }
pre .comment, pre .template_comment, pre .diff .header, pre .doctype, pre .lisp .string, pre .javadoc { color: #93a1a1; font-style: italic; }
pre .keyword, pre .css .rule .keyword, pre .winutils, pre .javascript .title, pre .method, pre .addition, pre .css .tag, pre .lisp .title { color: #859900; }
pre .number, pre .command, pre .string, pre .tag .value, pre .phpdoc, pre .tex .formula, pre .regexp, pre .hexcolor { color: #2aa198; }
pre .title, pre .localvars, pre .function .title, pre .chunk, pre .decorator,
pre .builtin, pre .built_in, pre .lisp .title, pre .identifier, pre .title .keymethods, pre .id { color: #268bd2; }
pre .tag .title, pre .rules .property, pre .django .tag .keyword { font-weight: bold; }
pre .attribute, pre .variable, pre .instancevar, pre .lisp .body, pre .smalltalk .number, pre .constant, pre .class .title,
pre .parent, pre .haskell .label { color: #b58900; }
pre .preprocessor, pre .pi, pre .shebang, pre .symbol,
pre .diff .change, pre .special, pre .keymethods, pre .attr_selector, pre .important, pre .subst, pre .cdata { color: #cb4b16; }
pre .deletion { color: #dc322f; }
pre .tex .formula { background: #eee8d5; }

/* --- Поля форм --- */
table.xfields input { width: 100%; }
table.xfields tr > td:first-child { padding-right: 10px; }

/*---Смайлики---*/
.emoji { border: none; vertical-align: middle; }

/* Настройка стандартной капчи */
.c-capcha { position: relative; display: flex; }
.c-capcha > a { margin-right: 5px; }
.c-capcha img {
	position: relative; display: block;
	width: 100px; height: auto; border-radius: 3px;
	z-index: 1; padding: 4px; background: #fff;
	border: 1px solid #dcdcdc; transition: all ease .2s;
}
.c-capcha:hover img {  box-shadow: 0 6px 20px 0 rgba(0,0,0,0.2); transform: scale(1.3,1.3); border-color: transparent; }
.c-capcha > input { float: left; width: 150px; text-align: center; }

/* Настройка стандартной капчи при ответах на комментарии */
.dle-captcha { position: relative; }
.dle-captcha:after { clear: both; display: block; content: ""; }
.dle-captcha > a { float: left; margin-right: 5px; }
.dle-captcha img {
	position: relative;
	display: block;
	width: 130px; height: 46px;
	-webkit-transition: all ease .2s; transition: all ease .2s;
}
.dle-captcha > input { float: left; width: 130px; }

/* --- ITEMS --- */
.item { position: relative; }
.item-link::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 100%; }

/* DISPLAY & Align */
.d-none { display: none !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-block { display: block !important; }
.d-table { display: table !important; }
.d-table-row { display: table-row !important; }
.d-table-cell { display: table-cell !important; }
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }

@media (min-width: 576px) {
	.d-sm-none { display: none !important; }
	.d-sm-inline { display: inline !important; }
	.d-sm-inline-block { display: inline-block !important; }
	.d-sm-block { display: block !important; }
	.d-sm-table { display: table !important; }
	.d-sm-table-row { display: table-row !important; }
	.d-sm-table-cell { display: table-cell !important; }
	.d-sm-flex { display: flex !important; }
	.d-sm-inline-flex { display: inline-flex !important; }
}

@media (min-width: 768px) {
	.d-md-none { display: none !important; }
	.d-md-inline { display: inline !important; }
	.d-md-inline-block { display: inline-block !important; }
	.d-md-block { display: block !important; }
	.d-md-table { display: table !important; }
	.d-md-table-row { display: table-row !important; }
	.d-md-table-cell { display: table-cell !important; }
	.d-md-flex { display: flex !important; }
	.d-md-inline-flex { display: inline-flex !important; }
}

@media (min-width: 992px) {
	.d-lg-none { display: none !important; }
	.d-lg-inline { display: inline !important; }
	.d-lg-inline-block { display: inline-block !important; }
	.d-lg-block { display: block !important; }
	.d-lg-table { display: table !important; }
	.d-lg-table-row { display: table-row !important; }
	.d-lg-table-cell { display: table-cell !important; }
	.d-lg-flex { display: flex !important; }
	.d-lg-inline-flex { display: inline-flex !important; }
}

@media (min-width: 1240px) {
	.d-xl-none { display: none !important; }
	.d-xl-inline { display: inline !important; }
	.d-xl-inline-block { display: inline-block !important; }
	.d-xl-block { display: block !important; }
	.d-xl-table { display: table !important; }
	.d-xl-table-row { display: table-row !important; }
	.d-xl-table-cell { display: table-cell !important; }
	.d-xl-flex { display: flex !important; }
	.d-xl-inline-flex { display: inline-flex !important; }
}

.order-first { order: -1; }
.order-last { order: 13; }

.flex-row { flex-direction: row !important; }
.flex-column { flex-direction: column !important; }
.flex-row-reverse { flex-direction: row-reverse !important; }
.flex-column-reverse { flex-direction: column-reverse !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-nowrap { flex-wrap: nowrap !important; }
.flex-fill { flex: 1 1 auto !important; }
.jc-start { justify-content: flex-start !important; }
.jc-end { justify-content: flex-end !important; }
.jc-center { justify-content: center !important; }
.jc-between { justify-content: space-between !important; }
.jc-around { justify-content: space-around !important; }
.ai-start { align-items: flex-start !important; }
.ai-end { align-items: flex-end !important; }
.ai-center { align-items: center !important; }
.ai-baseline { align-items: baseline !important; }
.ai-stretch { align-items: stretch !important; }
.ac-start { align-content: flex-start !important; }
.ac-end { align-content: flex-end !important; }
.ac-center { align-content: center !important; }
.ac-between { align-content: space-between !important; }
.ac-around { align-content: space-around !important; }
.ac-stretch { align-content: stretch !important; }
.as-auto { align-self: auto !important; }
.as-start { align-self: flex-start !important; }
.as-end { align-self: flex-end !important; }
.as-center { align-self: center !important; }
.as-baseline { align-self: baseline !important; }
.as-stretch { align-self: stretch !important; }

@media (min-width: 576px) {
	.order-sm-first { order: -1; }
	.order-sm-last { order: 13; }
	
	.flex-sm-row { flex-direction: row !important; }
	.flex-sm-column { flex-direction: column !important; }
	.flex-sm-row-reverse { flex-direction: row-reverse !important; }
	.flex-sm-column-reverse { flex-direction: column-reverse !important; }
	.flex-sm-wrap { flex-wrap: wrap !important; }
	.flex-sm-nowrap { flex-wrap: nowrap !important; }
	.flex-sm-fill { flex: 1 1 auto !important; }
	.jc-sm-start { justify-content: flex-start !important; }
	.jc-sm-end { justify-content: flex-end !important; }
	.jc-sm-center { justify-content: center !important; }
	.jc-sm-between { justify-content: space-between !important; }
	.jc-sm-around { justify-content: space-around !important; }
	.ai-sm-start { align-items: flex-start !important; }
	.ai-sm-end { align-items: flex-end !important; }
	.ai-sm-center { align-items: center !important; }
	.ai-sm-baseline { align-items: baseline !important; }
	.ai-sm-stretch { align-items: stretch !important; }
	.ac-sm-start { align-content: flex-start !important; }
	.ac-sm-end { align-content: flex-end !important; }
	.ac-sm-center { align-content: center !important; }
	.ac-sm-between { align-content: space-between !important; }
	.ac-sm-around { align-content: space-around !important; }
	.ac-sm-stretch { align-content: stretch !important; }
	.as-sm-auto { align-self: auto !important; }
	.as-sm-start { align-self: flex-start !important; }
	.as-sm-end { align-self: flex-end !important; }
	.as-sm-center { align-self: center !important; }
	.as-sm-baseline { align-self: baseline !important; }
	.as-sm-stretch { align-self: stretch !important; }
}

@media (min-width: 768px) {
	.order-md-first { order: -1; }
	.order-md-last { order: 13; }

	.flex-md-row { flex-direction: row !important; }
	.flex-md-column { flex-direction: column !important; }
	.flex-md-row-reverse { flex-direction: row-reverse !important; }
	.flex-md-column-reverse { flex-direction: column-reverse !important; }
	.flex-md-wrap { flex-wrap: wrap !important; }
	.flex-md-nowrap { flex-wrap: nowrap !important; }
	.flex-md-fill { flex: 1 1 auto !important; }
	.jc-md-start { justify-content: flex-start !important; }
	.jc-md-end { justify-content: flex-end !important; }
	.jc-md-center { justify-content: center !important; }
	.jc-md-between { justify-content: space-between !important; }
	.jc-md-around { justify-content: space-around !important; }
	.ai-md-start { align-items: flex-start !important; }
	.ai-md-end { align-items: flex-end !important; }
	.ai-md-center { align-items: center !important; }
	.ai-md-baseline { align-items: baseline !important; }
	.ai-md-stretch { align-items: stretch !important; }
	.ac-md-start { align-content: flex-start !important; }
	.ac-md-end { align-content: flex-end !important; }
	.ac-md-center { align-content: center !important; }
	.ac-md-between { align-content: space-between !important; }
	.ac-md-around { align-content: space-around !important; }
	.ac-md-stretch { align-content: stretch !important; }
	.as-md-auto { align-self: auto !important; }
	.as-md-start { align-self: flex-start !important; }
	.as-md-end { align-self: flex-end !important; }
	.as-md-center { align-self: center !important; }
	.as-md-baseline { align-self: baseline !important; }
	.as-md-stretch { align-self: stretch !important; }
}

@media (min-width: 992px) {
	.order-lg-first { order: -1; }
	.order-lg-last { order: 13; }

	.flex-lg-row { flex-direction: row !important; }
	.flex-lg-column { flex-direction: column !important; }
	.flex-lg-row-reverse { flex-direction: row-reverse !important; }
	.flex-lg-column-reverse { flex-direction: column-reverse !important; }
	.flex-lg-wrap { flex-wrap: wrap !important; }
	.flex-lg-nowrap { flex-wrap: nowrap !important; }
	.flex-lg-wrap-reverse { flex-wrap: wrap-reverse !important; }
	.flex-lg-fill { flex: 1 1 auto !important; }
	.flex-lg-grow-0 { flex-grow: 0 !important; }
	.flex-lg-grow-1 { flex-grow: 1 !important; }
	.flex-lg-shrink-0 { flex-shrink: 0 !important; }
	.flex-lg-shrink-1 { flex-shrink: 1 !important; }
	.jc-lg-start { justify-content: flex-start !important; }
	.jc-lg-end { justify-content: flex-end !important; }
	.jc-lg-center { justify-content: center !important; }
	.jc-lg-between { justify-content: space-between !important; }
	.jc-lg-around { justify-content: space-around !important; }
	.ai-lg-start { align-items: flex-start !important; }
	.ai-lg-end { align-items: flex-end !important; }
	.ai-lg-center { align-items: center !important; }
	.ai-lg-baseline { align-items: baseline !important; }
	.ai-lg-stretch { align-items: stretch !important; }
	.ac-lg-start { align-content: flex-start !important; }
	.ac-lg-end { align-content: flex-end !important; }
	.ac-lg-center { align-content: center !important; }
	.ac-lg-between { align-content: space-between !important; }
	.ac-lg-around { align-content: space-around !important; }
	.ac-lg-stretch { align-content: stretch !important; }
	.as-lg-auto { align-self: auto !important; }
	.as-lg-start { align-self: flex-start !important; }
	.as-lg-end { align-self: flex-end !important; }
	.as-lg-center { align-self: center !important; }
	.as-lg-baseline { align-self: baseline !important; }
	.as-lg-stretch { align-self: stretch !important; }
}

@media (min-width: 1240px) {
	.order-xl-first { order: -1; }
	.order-xl-last { order: 13; }

	.flex-xl-row { flex-direction: row !important; }
	.flex-xl-column { flex-direction: column !important; }
	.flex-xl-row-reverse { flex-direction: row-reverse !important; }
	.flex-xl-column-reverse { flex-direction: column-reverse !important; }
	.flex-xl-wrap { flex-wrap: wrap !important; }
	.flex-xl-nowrap { flex-wrap: nowrap !important; }
	.flex-xl-fill { flex: 1 1 auto !important; }
	.jc-xl-start { justify-content: flex-start !important; }
	.jc-xl-end { justify-content: flex-end !important; }
	.jc-xl-center { justify-content: center !important; }
	.jc-xl-between { justify-content: space-between !important; }
	.jc-xl-around { justify-content: space-around !important; }
	.ai-xl-start { align-items: flex-start !important; }
	.ai-xl-end { align-items: flex-end !important; }
	.ai-xl-center { align-items: center !important; }
	.ai-xl-baseline { align-items: baseline !important; }
	.ai-xl-stretch { align-items: stretch !important; }
	.ac-xl-start { align-content: flex-start !important; }
	.ac-xl-end { align-content: flex-end !important; }
	.ac-xl-center { align-content: center !important; }
	.ac-xl-between { align-content: space-between !important; }
	.ac-xl-around { align-content: space-around !important; }
	.ac-xl-stretch { align-content: stretch !important; }
	.as-xl-auto { align-self: auto !important; }
	.as-xl-start { align-self: flex-start !important; }
	.as-xl-end { align-self: flex-end !important; }
	.as-xl-center { align-self: center !important; }
	.as-xl-baseline { align-self: baseline !important; }
	.as-xl-stretch { align-self: stretch !important; }
}

/* --- Загрузчик AJAX --- */
#loading-layer {
	display: block !important;
	background-color: rgba(255,255,255,.9);
	z-index: 9999 !important;
	position: fixed; top: 0; left: 0; right: 0; bottom: 0;
	width: 100%; height: 100%; text-indent: -9999px;
	overflow: hidden; white-space: nowrap;
}
#loading-layer:before, #loading-layer:after {
	content: ""; width: 64px; height: 64px; position: absolute; left: 50%; top: 50%;
	margin-left: -32px; margin-top: -32px;
}
#loading-layer:before { border: 4px solid rgba(0,0,0,0.14); border-radius: 50%; }
#loading-layer:after {
	background-repeat: no-repeat;
	background-position: 50% 50%; background-size: 100% 100%;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='%23000' d='M4,16.5c2.8-5.1,6.9-9.2,11.7-12C20.6,1.6,26.2,0,32,0v4c-5.1,0-10,1.4-14.2,3.9C13.6,10.4,10,14,7.5,18.4L4,16.5z'/%3E%3C/svg%3E");
}
#loading-layer:after { animation: load_rotate .6s infinite linear; }
@keyframes load_rotate { 100% { transform:rotate(360deg); } }

/* --- Alert --- */
.post__listing > #dle-content .alert { padding: .875rem; }
.alert { margin-bottom: 1.75rem; }
.alert_in { padding: 1.125rem; background-color: #f8f2ed; box-shadow: 0 2px 8px 0 rgba(0,0,0,0.06), inset 0 0 0 1px rgba(0,0,0,0.1); }
.alert-cont, .alert-cont p { margin: 0; }
.alert-title { font-weight: bold; color: #9c373a; margin-bottom: .5rem; text-transform: uppercase; }
.alert-title > i { margin-right: .5rem; }

/* --- Социальные иконки --- */
.soc_login { text-align: center; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(0,0,0,0.1); }
.soc_login_icons { display: flex; justify-content: space-between; margin-top: 1.5rem; }
.soc_login_icons a { color: inherit; cursor: pointer; display: block; width: 2.5rem; height: 2.5rem; padding: .5rem; border-radius: 50%; background-color: rgba(50,50,50,0.05); }
.soc_login_icons a svg { width: 1.5rem; height: 1.5rem; vertical-align: top; }

.soc_register { text-align: left; border-top: 0; max-width: 300px; padding: 0; margin: 1.75rem 0; }
.soc_register .soc_login_icons { margin-top: 1rem; }

@media (min-width: 992px) {
	.soc_login_icons a:hover { color: #fff; transition: background-color ease .2s, color linear 0s; }
	.soc_login_icons .soc_vk:hover { background-color: #48729e; }
	.soc_login_icons .soc_ya:hover { background-color: #ff0000; }
	.soc_login_icons .soc_fb:hover { background-color: #3b5998; }
	.soc_login_icons .soc_gp:hover { background-color: #4284F4; }
	.soc_login_icons .soc_od:hover { background-color: #eb722e; }
	.soc_login_icons .soc_mail:hover { background-color: #005ff9; }
}

/* --- Изображения в тексте --- */
img.fr-dii { margin-left: 0 !important; margin-right: 0 !important; max-width: 100% !important; }
img.fr-dii.fr-fil { float: left; margin: 5px 24px 25px 0; max-width: calc(100% - 5px); }

/* --- Цитаты, Спойлеры, Код --- */
.title_quote {
	font-size: .85rem; color: rgba(0,0,0,0.5); font-style: italic; font-weight: bold;
	border: 0 none;
}
.quote, blockquote {
	padding: 1.5rem 0; border: 0 solid #9c373a; border-width: 2px 0;
	font-family: Georgia, serif; font-style: italic; text-align: center;
	font-size: 1.25rem;
}

/* Цитата в комментариях */
.comment .quote, .comment blockquote { font-size: 1.1rem; }
.comment blockquote, .comment .quote {
		padding: 10px 16px;
		border-width: 0 0 0 2px; background-color: rgba(0,0,0,0.03);
		text-align: left;
}
.comment .title_quote {
	padding-top: 8px; padding-bottom: 0; padding-left: 16px;
	border-left: 2px solid #9c373a; background-color: rgba(0,0,0,0.03);
}

@media (min-width: 576px) {
	.title_quote, .quote, blockquote { background-color: #f1f1f1; }
	.title_quote {
		padding: 4px 16px; padding-left: 26px;
		border-left: 2px solid #9c373a;
	}
	.quote, blockquote {
		padding: 16px 26px; padding-left: 68px; border-width: 0 0 0 2px;
		position: relative; text-align: left;
	}
	.quote::before, blockquote::before {
		content: "\201c"; color: #9c373a; font-size: 80px; line-height: 68px;
		position: absolute; left: 0; top: 0; margin: 16px 20px;
		font-style: normal;
	}

	.comment .quote::before, .comment blockquote::before {
		font-size: 53px; line-height: 50px; margin: 12px 14px;
	}
	.comment .title_quote, .comment .quote, .comment blockquote { padding-left: 52px; }
}

.title_spoiler { margin-top: 2px; }
.text_spoiler { margin-bottom: 2px; }
.title_spoiler img { vertical-align: middle; margin: -1px 0 0 !important }
.scriptcode { color: #4c6d0f; text-align: left; font-family: "Courier New" }
.title_spoiler { font-weight: normal; }
.text_spoiler { border-top: 0; text-align: justify; }

.hide { background-color: #f0f0f0; padding: 5px; color: #9c373a; margin: 0 0 1em 0 }
.hide a { text-decoration: underline; }
.hide a:hover { text-decoration: none }
	
/*--- Таблица Персональных сообщений и лучших пользователей ---*/
table.userstop { font-size: 80%; }
.userstop td, .pm td.pm_list, .pm td.pm_head { border-bottom: 1px solid rgba(0,0,0,0.1); padding: 12px 2px; }
table.pm, table.userstop { width: 100%; margin-bottom: 0; }
table.pm select { width: 150px; }
.userstop thead td, .pm td.pm_head { border-bottom: 1px solid rgba(0,0,0,0.1); font-weight: bold; }
table.pm .navigation { border-top-width: 0; margin: 0; }

.table_wide { 
	overflow-y: hidden; overflow-x: auto; width: 100%; word-break: break-all;
	-webkit-overflow-scrolling: touch;
}

.table_wide > table { min-width: 800px; table-layout: fixed; }
.table_wide table.pm { min-width: 600px; }

/*---показ оригинальной картинки загруженной на сайт из уменьшенной копии---*/
.highslide-wrapper, .highslide-outline { background: #fff }
.highslide-image { border: 2px solid #fff }
.highslide-active-anchor { visibility: hidden } 
.highslide-active-anchor img { visibility: hidden }
.highslide-dimming { background-color: black }
.highslide-html { background-color: white }
.highslide-loading { display: block; color: white; font-size: 9px; font-weight: bold; text-decoration: none; padding: 3px; border: 1px solid white; background-color: black }
a.highslide-full-expand { background: url(../dleimages/fullexpand.gif) no-repeat; display: block; margin: 0 10px 10px 0; width: 34px; height: 34px }
.highslide-display-block { display: block }
.highslide-display-none { display: none }
.highslide-caption { display: none; padding: 5px; background: white }
.highslide-controls { width: 195px; height: 40px; background: url(../../../engine/classes/highslide/graphics/controlbar-black-border.gif) no-repeat 0 -90px; margin-right: 15px; margin-bottom: 10px; margin-top: 10px }
.highslide-controls ul { position: relative; left: 15px; height: 40px; list-style: none; margin: 0; padding: 0; background: url(../../../engine/classes/highslide/graphics/controlbar-black-border.gif) no-repeat 100% -90px }
.highslide-controls li { float: left; padding: 5px 0; }
.highslide-controls a { background: url(../../../engine/classes/highslide/graphics/controlbar-black-border.gif); display: block; float: left; height: 30px; width: 30px; outline: none }
.highslide-controls a.disabled { cursor: default }
.highslide-controls a span { display: none }
 
/*---The CSS sprites for the controlbar---*/
.highslide-controls .highslide-previous a { background-position: 0 0 }
.highslide-controls .highslide-previous a:hover { background-position: 0 -30px }
.highslide-controls .highslide-previous a.disabled { background-position: 0 -60px !important }
.highslide-controls .highslide-play a { background-position: -30px 0 }
.highslide-controls .highslide-play a:hover { background-position: -30px -30px }
.highslide-controls .highslide-play a.disabled { background-position: -30px -60px !important }
.highslide-controls .highslide-pause a { background-position: -60px 0 }
.highslide-controls .highslide-pause a:hover { background-position: -60px -30px }
.highslide-controls .highslide-next a { background-position: -90px 0 }
.highslide-controls .highslide-next a:hover { background-position: -90px -30px }
.highslide-controls .highslide-next a.disabled { background-position: -90px -60px !important }
.highslide-controls .highslide-move a { background-position: -120px 0 }
.highslide-controls .highslide-move a:hover { background-position: -120px -30px }
.highslide-controls .highslide-full-expand a { background-position: -150px 0 }
.highslide-controls .highslide-full-expand a:hover { background-position: -150px -30px }
.highslide-controls .highslide-full-expand a.disabled { background-position: -150px -60px !important }
.highslide-controls .highslide-close a { background-position: -180px 0 }
.highslide-controls .highslide-close a:hover { background-position: -180px -30px }

/*---Диалоговые и всплывающие окна jQuery UI---*/
.ui-widget-overlay { background: #000; opacity: 0.5; left: 0; top: 0; right: 0; bottom: 0; position: fixed; }
.ui-helper-clearfix:after { clear: both; content: "."; display: block; height: 0; visibility: hidden }
.ui-helper-clearfix { display: inline-block }
* html .ui-helper-clearfix { height: 1% }
.ui-helper-clearfix { display: block }
.ui-dialog {
	text-align: left; overflow: hidden; padding: 0; position: absolute; width: 420px;
	border-radius: 2px; box-shadow: 0 8px 40px -10px rgba(0,0,0,0.3); border: 1px solid #e6e6e6; border-color: rgba(0,0,0,0.1); background-color: #fff; background-clip: padding-box;
	z-index: 1000;
}
.ui-dialog-titlebar { padding: 20px 20px; position: relative; border-bottom: 1px solid #eaeaea; }
.ui-dialog-title { float: left; font-weight: bold; font-size: 1em; }
.ui-dialog-titlebar-close { position: absolute; right: 10px; top: 50%; margin-top: -16px; height: 32px; width: 32px; border: 0 none !important; }
.ui-dialog-titlebar-close .ui-icon, .i-cross16 {
	display: block; margin: 8px auto 0 auto; width: 14px; height: 14px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23222' d='M.3,1.7A1,1,0,0,1,.3.3,1,1,0,0,1,1.7.3L8,6.6,14.3.3a1,1,0,0,1,1.4,0,1,1,0,0,1,0,1.4L9.4,8l6.3,6.3a1,1,0,0,1-1.4,1.4L8,9.4,1.7,15.7a1,1,0,0,1-1.4,0,1,1,0,0,1,0-1.4L6.6,8Z'/%3E%3C/svg%3E");
	background-size: 14px auto; opacity: .5;
}
.ui-dialog-titlebar-close:hover .ui-icon { opacity: 1; }
.ui-icon { overflow: hidden; text-indent: -9999px; }
.ui-dialog label { color: #575757; }
.ui-dialog-content { padding: 20px; overflow: auto; position: relative; zoom: 1; }
.loginbox.ui-dialog, .loginbox .ui-dialog-content { overflow: visible !important; }
.ui-dialog-content h2 { display: inline; font-size: 1em; font-weight: bold }
.ui-dialog .ui-dialog-buttonpane { padding: 20px; text-align: center; border-top: 1px solid #eaeaea; }
.ui-dialog .ui-resizable-se { bottom: 3px; height: 14px; right: 3px; width: 14px; }
.ui-draggable .ui-dialog-titlebar { cursor: move; }
.ui-state-error { background: #fef1ec 50% 50% repeat-x !important; border: 1px solid #cd0a0a; color: #cd0a0a; }
.ui-helper-hidden-accessible{ display: none; }
.ui-dialog-buttonset .ui-button { margin-top: .125rem; margin-bottom: .125rem; }

@media (min-width: 576px) {
	.ui-dialog-buttonset .ui-button + .ui-button { margin-left: .25rem; }
}
@media (max-width: 575px) {
	.ui-dialog-buttonset .ui-button { width: 100%; }
	.ui-dialog-buttonset .ui-button + .ui-button { margin-top: .25rem; }
}

.progress {
	overflow: hidden; margin-top: 10px; margin-bottom: 10px;
    height: 10px; border-radius: 8px; background: #eee; box-shadow: 0 1px 0 white, 0 0px 0 1px rgba(0, 0, 0, 0.1) inset, 0 1px 4px rgba(0, 0, 0, 0.2) inset;
}
 .progress .progress-bar {
    float:left; width:0%; font-size:12px; line-height:20px; color:white; text-align:center;
    background-color:#428bca; box-shadow:inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    transition:width 0.6s ease; border-radius:8px; box-shadow:none; height:8px;
}
.progress-bar span{
    position:absolute; width:1px; height:1px; margin:-1px;
    padding:0; overflow:hidden; clip:rect(0 0 0 0); border:0;
}
.progress-blue {
    background-image:linear-gradient(to bottom, #9bcff5 0%, #6db9f0 100%);
    background-repeat:repeat-x;
    border:1px solid #55aeee;
}

@media (max-width: 500px) {
	.post__listing > #dle-content .alert { padding: .5625rem; }
	.modal-body { padding: 1.125rem; padding-top: 2rem; }
	.form-group > label { font-size: .75rem; }
}

/** Загрузчик */
#mediaupload .mediaupload-col3 button {
  box-shadow: none;
    border-radius: 2px;
    background-color: #9c3735;
    border: 0 none;
    color: #fff;
    font-weight: bold;
    padding: .5rem .875rem;
    font-size: 1rem;
    line-height: 1.5rem;
    height: 2.5rem
    outline: none!important
}

#mediaupload .media-upload-button {
 	 width: 100%;
    box-shadow: none;
    font-size: 1rem;
    line-height: 1.5;
    border: none;
    background: #9c3735;
    text-align: center;
    margin-top: 16px;
    color: #fff;
    border-radius: 2px;
    cursor: pointer;
    padding: .55rem 0;
    margin-left: 0;
    font: inherit
}

#mediaupload {
  color: initial;
}

#mediaupload .media-upload-button-area {
	padding: 15px 15px 25px;
}

#mediaupload .mediaupload-row {
  display: flex;
  align-items: center;
  padding: 20px 20px 15px 15px;
  border-top: 1px solid #ddd
}

#mediaupload .upload-options {
  display: none;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  padding: 8px 20px 8px 15px
}


#mediaupload .dle-popup-mediaupload .mediaupload-insert-params {
	display: none;
}

#mediaupload select, #mediaupload input[type="text"], #mediaupload input[type="file"] {
    padding: .5rem .85rem!important;
    font-size: 1rem;
    line-height: 1.5rem;
    height: 2.5rem;
    color: #222;
    background-color: #fff;
    box-sizing: border-box;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 2px;
    transition: border-color .15s ease-in-out , box-shadow .15s ease-in-out;
    outline: none!important
}


#mediaupload .mediaupload-col2 input.classic {
	paddin-left: 5px!important; 
}

#mediaupload .mediaupload-col2 input.classic {
	paddin-left: 5px!important; 
}

#mediaupload  .tabs a.current, #mediaupload .tabs a.current:hover {
  color: #fff;
  background-color: #9c3735!important;
  border: 1px solid #ddd;
  border-top-color: #fff;
  border-bottom-color: transparent
}

.mediaupload-insert-params {
	display: none!important
}


#mediaupload .file-preview-card.active {
  border-color: #9c3735
}

#mediaupload .file-preview-card.active .file-footer-bottom {
  border-left-color: #9c3735;
  border-right-color: #9c3735;
  border-bottom-color: #9c3735;
}

#mediaupload .file-preview-card.active .file-content {
  border-left-color: #9c3735;
  border-right-color: #9c3735;
  border-top-color: #9c3735;
}

#mediaupload .file-preview-card.active .file-footer-caption {
  border-left-color: #9c3735;
  border-right-color: #9c3735;
}

#mediaupload .file-preview-card .active-ribbon span {
  background-color:  #9c3735;
}

.mediaupload-box {
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  min-height: 260px;
  border: 1px solid #ddd;
  border-top-color: #ddd
}

