﻿/* =========== © 2021 Centroarts.com =========== */
@font-face {
	font-family: 'icons';
	font-weight: normal;
	font-style: normal;
	font-display: swap;
	src: url('../fonts/icons.woff2') format('woff2'),
	url('../fonts/icons.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.25rem; font-size: 1.25rem; width: 1.25rem; height: 1.25rem; display: inline-block; vertical-align: top; }

.i__play::before { content: "\e91e"; }
.i__ca::before { content: "\e91d"; }
.i__plus::before { content: "\e900"; }
.i__user::before { content: "\e901"; }
.i__up::before { content: "\e902"; }
.i__auction2::before { content: "\e903"; }
.i__dzen::before { content: "\e904"; }
.i__edit::before { content: "\e905"; }
.i__fav-fill::before { content: "\e906"; }
.i__fb::before { content: "\e907"; }
.i__info::before { content: "\e908"; }
.i__left::before { content: "\e909"; }
.i__link::before { content: "\e90a"; }
.i__link2::before { content: "\e90b"; }
.i__login::before { content: "\e90c"; }
.i__ok::before { content: "\e90d"; }
.i__right::before { content: "\e90e"; }
.i__upup::before { content: "\e90f"; }
.i__search::before { content: "\e910"; }
.i__star-dash::before { content: "\e911"; }
.i__star::before { content: "\e912"; }
.i__star-fill::before { content: "\e91c"; }
.i__view::before { content: "\e913"; }
.i__vk::before { content: "\e914"; }
.i__arrowleft::before { content: "\e915"; }
.i__arrowright::before { content: "\e916"; }
.i__auction::before { content: "\e917"; }
.i__close::before { content: "\e918"; }
.i__fav::before { content: "\e919"; }
.i__menu::before { content: "\e91a"; }
.i__tw::before { content: "\e91b"; }

@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; }
}

*, *::before, *::after { box-sizing: border-box; -webkit-box-sizing: border-box; }
.load * { transition: none !important; }

article, aside, figcaption, figure, footer, header, hgroup, main, nav, section { display: block; }
html { font-family: sans-serif; line-height: 1; display: block; }

[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.5rem 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; }

.c-inherit { color: inherit !important; }
.c-white { color: #FFF !important; }
.c-marker { color: var(--c-marker) !important; }
.c-main { color: var(--c-main) !important; }
.c-dark { color: var(--c-dark) !important; }
.c-muted { color: #8B8B8B !important; }

.bg-inherit { background-color: inherit !important; }
.bg-white { background-color: #FFF !important; }
.bg-main { background-color: var(--c-main) !important; }
.bg-marker { background-color: var(--c-marker) !important; }
.bg-grey { background-color: #F7F7F7 !important; }
.bg-dark { background-color: var(--c-dark2) !important; }

/* --- PAGE --- */
body {
  font: normal .875rem/1.5 var(--font);
  color: var(--c-dark); background-color: #F2F2F2; margin: 0;

  display: flex; flex-direction: column; min-height: 100vh; min-width: 320px;
  position: relative; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: rgba(0,0,0,0);
}
.wrp, .wrp-min { width: 100%; padding-left: 1rem; padding-right: 1rem; margin-left: auto; margin-right: auto; }
@media (min-width: 640px) {
  .wrp-min { max-width: 48rem; }
  .wrp .wrp-min { max-width: 46rem; }
}
@media (min-width: 992px) {
  .wrp, .wrp-min { padding-left: 2rem; padding-right: 2rem; }
  .wrp { max-width: 69.75rem; }
  .wrp-min { max-width: 50rem; }
}
@media (min-width: 1140px) {
  .wrp { max-width: 73.5rem; }
}

.wrp .wrp-min { padding-left: 0; padding-right: 0; }

a, .btn-link { color: var(--c-main); text-decoration: none; }
@media (min-width: 992px) {
	a, .btn-link { transition: color .2s ease; }
	a:hover, .btn-link:hover { color: var(--c-main-h); }
}

/* COVER */
.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); width: 100%; height: 100%; transform: translateX(-50%);
  object-fit: cover; object-position: center center;
  -o-object-position: center center; -o-object-fit: cover;
}

.avatar.fit-cover { width: 3rem; height: 3rem; border-radius: 50%; }

/* OTHER STYLES */
.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; }

.muted { opacity: .5; }

.comment__content iframe, .comment__content video,
.showfull__content iframe, .showfull__content video { width: 720px; height: 420px; max-width: 100%; }

.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 -- */
.text { font-size: 1rem; }
.text h1, .text h2 { font-size: 1.125rem; }
.text h3, .text h4, .text h5 { font-size: 1rem; }
.text h6 { font-size: .75rem; text-transform: uppercase; }

@media (min-width: 768px) {
  .text h1, .text h2 { font-size: 1.25rem; }
}

.heading { font-weight: bold; font-size: 1.5rem; line-height: 1.3; margin-bottom: 1.5rem; }
@media (min-width: 768px) {
	.heading { font-size: 1.75rem; }
}

.img { margin: 0 auto; display: flex; justify-content: center; align-items: flex-end; }
.img img { width: 100%; height: 100%; display: block; border-radius: 1.125rem; }
.title { line-height: 1.3; font-weight: bold; margin: 0; }
.title a { color: inherit; }

/* --- Collapse Bootstrap --- */
.collapse { display: none; }
.collapse.in { display: block; }
tr.collapse.in { display: table-row; }
tbody.collapse.in { display: table-row-group; }
.collapsing { position: relative; height: 0; overflow: hidden; transition-duration: 0.35s; transition-timing-function: ease; }

.fade { opacity: 0; transition: opacity 0.15s linear; }
.fade.in { opacity: 1; }

/* 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: var(--b-radius); margin-top: .25rem;
  background-color: #fafafa; font-weight: normal; 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: 576px) {
  .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; }
.compl_menu .dropdown-menu { padding: .5rem 0; left: auto; right: 0; top: auto; bottom: 100%; }
.dropdown-item {
  color: var(--c-dark) !important; display: block; padding: .25rem 1rem;
  white-space: nowrap; font-size: .75rem;
}
.compl_menu.open > button { opacity: .2 !important; }

@media (min-width: 992px) {
  .dropdown-item:hover { color: var(--c-main) !important; }
}

/* --- Modals Bootstrap --- */
.modal-open { overflow: hidden !important; }
@media (min-width: 992px) {
  .modal-open, .modal-open .header { padding-right: 16px !important; }
  .modal-open .header .logotype { margin-left: -8px; }
}
.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-footer { text-align: right; border-top: 1px solid rgba(0,0,0,0.05); }

.modal-title { font-size: 1.25rem; margin-bottom: 2rem; }
.modal-head {
  border-radius: inherit; border-bottom-right-radius: 0; border-bottom-left-radius: 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.modal-head .modal-title { margin: 0; }
.modal-header .modal-title { margin-bottom: 0; }
.modal-header + .modal-body { padding-top: 0 !important; }

.modal-content { position: relative; background-color: #fff; width: 100%; outline: 0; }
.modal-body, .modal-head, .modal-header, .modal-footer { padding: 1.5rem; }
.modal-backdrop {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1040; background-color: rgba(0,0,0,0.3);
}
.modal-backdrop.fade { opacity: 0; }
.modal-backdrop.in { opacity: 1; }
.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; }
.closes svg { display: block; }

.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; }
}
@media (min-width: 576px) {
  .modal.fade .modal-dialog { transform: scale(.85); transition: transform .2s ease, opacity .2s ease; }
  .modal.in .modal-dialog { transform: scale(1); }
  .modal-content {
    pointer-events: auto; background-clip: padding-box; max-width: 26rem; min-height: 0;
    border-radius: var(--b-radius); box-shadow: 0 1rem 2rem -.5rem 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, .modal-head, .modal-header, .modal-footer { padding: 2rem; }
}
@media (max-width: 575px) {
  .modal-dialog { display: flex; }
}

/* --- BTNS --- */
.btn-group .btn-block { width: 100%; }

.btn-reset { vertical-align: top; padding: 0; margin: 0; background: none; border: 0 none; cursor: pointer; }
.btn, .bbcodes, .ui-button {
  height: 2.5rem; line-height: 1.5rem; padding: .5rem 1rem; border-radius: var(--b-radius); font-size: .875rem;
  white-space: nowrap; text-align: center; text-transform: uppercase; background-color: var(--c-main);
  display: inline-block; vertical-align: top; border: 0 none; font-weight: bold;
  cursor: pointer; outline: none; text-decoration: none !important; color: #fff !important;
}
.btn-icon { display: flex; align-items: center; justify-content: center; }
.btn-icon svg { margin-right: .25rem; }

.btn:active, .bbcodes:active, .ui-button:active { opacity: .8; }
.bbcodes.cancel, .ui-button.cancel {color: #ffffff; background-color: var(--c-dark2)}

.btn-auction {
  background-color: var(--c-marker); color: #fff !important; font-weight: bold; display: inline-flex; align-items: center;
  font-size: .75rem; height: 1.5rem; line-height: 1.25rem; padding: .125rem .5rem; border-radius: 1rem;
}
.btn-auction > i { display: none !important; margin-left: -.25rem; margin-right: .25rem; }

@media (min-width: 992px) {
  .btn, .bbcodes, .ui-button {
    transition: box-shadow ease .15s, background-color ease .15s, transform ease .1s, opacity ease .1s;
  }
  .btn:hover, .bbcodes:hover, .ui-button:hover { background-color: var(--c-main-h); }

  .btn-auction { transition: box-shadow ease .15s; }
  .btn-auction:hover { box-shadow: 0 0 1rem 0 var(--c-marker); }
}
@media (max-width: 575px) {
  .btn-block { width: 100%; }
  .btn-block + .btn-block { margin-top: .5rem; }
}
@media (min-width: 576px) {
  .btn-group { display: flex; }
  .btn-group .btn + .btn { margin-left: .75rem; }
}
@media (min-width: 768px) {
  .btn-lg, .form-control-lg { font-size: 1rem; height: 3rem !important; padding: .75rem 1.25rem !important; }
  .form-control-lg { padding: calc(.75rem - 1px) 1rem !important; }
  textarea.form-control-lg { height: auto !important; }
}

/* --- FORMS --- */
.form-submit { margin-top: 1.25rem; }
.form-group, .form-check, .form-combo { margin-top: 1.25rem; margin-bottom: 0 !important; }
.form-group:first-of-type, .form-check:first-of-type, .form-combo:first-of-type { margin-top: 0 !important; }
.form-group > label { margin-bottom: .5rem; text-transform: uppercase; opacity: .8; }
label.form-group, .limitter, .form-group > label { line-height: 1.2; font-size: .75rem; }
.form-sep { border-top: 1px solid rgba(0,0,0,0.05); }
label.form-group, .form-group > label { display: block; }
label.form-group > .c-muted { display: block; margin-bottom: .5rem; text-transform: uppercase; }
label.form-group a.f-right { padding: .5rem; margin: -.5rem; }

@media (min-width: 680px) {
  .form-submit { margin-top: 2rem; }
  .form-group, .form-check, .form-combo { margin-top: 1.5rem; margin-bottom: 0 !important; }
  .form-combo { display: flex; margin-left: -1rem; margin-right: -1rem; }
  .form-combo .form-group { width: 100%; flex: 0 0 50%; max-width: 50%; padding: 0 1rem; margin: 0 !important; }
  label.form-group, .form-group > label { margin-bottom: .75rem; }
}

.check-login { position: relative; }
.check-login input { padding-right: 8rem !important; }
.check-login .btn {
  position: absolute; right: 0; top: 0; margin: .25rem; height: 2rem; line-height: 1.5rem; padding: .25rem .5rem; text-transform: uppercase; font-size: .75rem;
}

@media (min-width: 768px) {
  .check-login .btn { margin: .5rem; }
}

.input-group { display: flex; }
.input-group > input { width: 100%; }
.input-group > input + .btn { margin-left: .5rem; }

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; color: inherit;
  padding: calc(.5rem - 1px) .75rem; background: #f4f4f4; border: 1px solid #f4f4f4; border-radius: var(--b-radius);
  outline: none !important; transition: border .2s linear 0s, box-shadow .2s linear 0s;
  background-clip: padding-box;
}
select#category { width: 100% !important; }
select:focus, textarea:focus, input:focus {
  border-color: #d2d2d2; box-shadow: 0 .125rem .75rem 0 rgba(0,0,0,0.05);
}
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, input[type="search"] { -webkit-appearance: none; appearance: none; }
select[multiple], select[size], textarea { height: auto; min-height: 6em; }
::-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"] { height: auto; width: 100%; padding: .25rem; }

.dle-promt-text { width: 100% !important; }

.tableform { width: 100%; }
.sep-xfield { margin-top: 1.5rem; }
.grecaptcha-badge { opacity: 0; pointer-events: none; }
.bb-pane { display: none !important; }

/* Настройка стандартной капчи */
.c-capcha { position: relative; display: flex; }
.c-capcha > a {
  position: absolute; left: 0; top: 0; bottom: 0; width: 8rem; background-color: rgba(0,0,0,0.07);
  overflow: hidden; border-radius: var(--b-radius); border-top-right-radius: 0; border-bottom-right-radius: 0;
}
.c-capcha > a span, .c-capcha > a span img { display: block; height: 100%; width: 100%; }
.c-capcha > input { width: 100%; max-width: 16rem; height: 4rem; padding-left: 9rem; padding-right: 1rem; text-align: center; }

/*---Подсветка кода в теге [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; }

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

/* --- Displays --- */
.d-none { display: none !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-block { display: block !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-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-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-flex { display: flex !important; }
  .d-lg-inline-flex { display: inline-flex !important; }
}

/* --- Загрузчик AJAX --- */
#loading-layer {
  display: block !important; background-color: rgba(0,0,0,.1);
  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: ""; position: absolute; left: 50%; top: 50%; border-radius: 50%;
}
#loading-layer::before {
  width: 300px; height: 300px; margin-left: -150px; margin-top: -150px;
  background-image: radial-gradient(closest-side, rgba(0,0,0,0.3) 0, rgba(0,0,0,0) 100%);
}
#loading-layer::after {
  width: 60px; height: 60px; border: 10px solid transparent; border-bottom-color: #fff; border-right-color: #fff;
  margin-left: -30px; margin-top: -30px;
}
#loading-layer::after { animation: load_rotate .6s infinite linear; }
@keyframes load_rotate { 100% { transform:rotate(360deg); } }

/* --- Социальные иконки --- */
.soc_login { margin-top: 1.5rem; padding-top: 1.5rem; margin-bottom: 2rem; border-top: 1px solid rgba(0,0,0,0.1); }
.soc_login_icons { display: flex; margin-top: 1rem; }
.soc_login_icons a {
  color: inherit; cursor: pointer; display: block; width: 2.5rem; height: 2.5rem; margin-right: .5rem;
  padding: .625rem; border-radius: 50%; background-color: rgba(50,50,50,0.05);
}
.soc_login_icons a:last-child { margin-right: 0; }

.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: .9rem; color: rgba(0,0,0,0.5); font-weight: bold; font-style: italic; 
  border: 0 none;
}
.quote, blockquote {
  padding: 1.5rem 0; border: 0 solid var(--c-main); border-width: 2px 0;
  font-family: Georgia, serif; font-style: italic; text-align: center;
  font-size: 1.2em;
}

@media (min-width: 576px) {
  .title_quote {
    padding: 4px 16px; padding-left: 26px; margin-left: 46px;
    border-left: 2px solid var(--c-main); background-color: rgba(0,0,0,0.03);
  }
  .quote, blockquote {
    margin-left: 46px; padding: 10px 26px;
    border-width: 0 0 0 2px; background-color: rgba(0,0,0,0.03);
    position: relative; text-align: left;
  }
  .quote::before, blockquote::before {
    content: "\201c"; color: var(--c-main); font-size: 75px; line-height: 60px;
    position: absolute; left: 0; top: 0; margin-left: -46px;
    font-style: normal;
  }
}

.spoiler { background-color: #F7F7F7; padding: 1rem; padding-left: 3rem; border-radius: .75rem; font-size: .875rem; }
.spoiler .title_spoiler {
  padding: 1rem; padding-left: 3rem; margin: -1rem; margin-left: -3rem; border-radius: 0;
  background: none !important; position: relative;
}
.spoiler .title_spoiler a::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.spoiler .title_spoiler img { max-width: 1.5rem; margin-left: -2rem; }

.text_spoiler { display: none; }
.text_spoiler::before { content: ""; display: block; height: 1rem; }

.title_spoiler {
  display: flex; align-items: center; font-weight: bold; padding: .5rem;
  background-color: #F7F7F7; border-radius: .75rem; font-size: .875rem;
}
.title_spoiler a { color: inherit !important; }
.title_spoiler img { width: 1.5rem; height: 1.5rem; display: block; }
.scriptcode { color: #4c6d0f; text-align: left; font-family: "Courier New" }

.hide { background-color: #f0f0f0; padding: 5px; color: #f97330; margin: 0 0 1em 0 }
.hide a { text-decoration: underline; }
.hide a:hover { text-decoration: none }
  
/*--- Таблица Персональных сообщений и лучших пользователей ---*/
table.userstop { font-size: .75rem; }
.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%; padding: .5rem 0; margin: -.5rem 0; word-break: break-all;
  -webkit-overflow-scrolling: touch;
}
.block_article .table_wide { display: flex; margin: 0; padding: 0; }
.block_article .table_wide::after, .block_article .table_wide::before {
  content: ""; display: block; height: 1rem; max-width: 1.25rem; min-width: 1.25rem;
}
.pmlist .table_wide > form { width: 100%; min-width: 640px; }
.pmlist .table_wide > form table { min-width: 0; }
.table_wide table { min-width: 640px; table-layout: fixed; }

@media (min-width: 680px) {
  .block_article .table_wide::after, .block_article .table_wide::before { max-width: 2.5rem; min-width: 2.5rem; }
}

/*---показ оригинальной картинки загруженной на сайт из уменьшенной копии---*/
.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---*/
#modal-overlay { background: #000 !important; opacity: .5 !important; }
.ui-widget-overlay { background: #000; opacity: .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: 28.75rem; z-index: 999;
  border-radius: var(--m-radius); box-shadow: 0 .75rem 3rem -.5rem rgba(0,0,0,0.3); border: 1px solid rgba(0,0,0,0.05);
  background-color: #fff; background-clip: padding-box;
}
.ui-dialog-titlebar { padding: 1.25rem; display: flex; align-items: center; min-width: 0; position: relative; border-bottom: 1px solid #eaeaea; }
.ui-dialog-title {
  display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: bold; font-size: 1rem;
}
.ui-dialog-titlebar-close {
  height: 2rem; width: 2rem; margin: -.5625rem; margin-left: auto; padding: 0; text-indent: -9999px; position: relative;
  overflow: hidden; white-space: nowrap; border: 0 none !important; background: none !important; box-shadow: none !important;
}
.ui-button-icon-space { display: none; }
.ui-dialog-titlebar-close .ui-icon {
  width: 1.25rem; height: 1.25rem; position: absolute; left: 50%; top: 50%; margin: -.625rem 0 0 -.625rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23191919' d='M11.41,10l5.3-5.29a1,1,0,1,0-1.42-1.42L10,8.59,4.71,3.29A1,1,0,0,0,3.29,4.71L8.59,10l-5.3,5.29a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0L10,11.41l5.29,5.3a1,1,0,0,0,1.42,0,1,1,0,0,0,0-1.42Z'/%3E%3C/svg%3E");
  background-size: 100% auto; opacity: .5;
}
@media (min-width: 992px) {
  .ui-dialog-titlebar-close .ui-icon { transition: opacity .2s ease; }
  .ui-dialog-titlebar-close:hover .ui-icon { opacity: .8; }
}
.ui-icon { overflow: hidden; text-indent: -9999px; }
.ui-dialog label { color: #575757; }
.ui-dialog-content { padding: 1.25rem; 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; }
}
@media (max-width: 500px) {
  .modal-body { padding-top: 2rem; }
  .form-group > label { font-size: .75rem; }
}

/* --- Окно пользователя --- */
.dle-popup-userprofile .ui-dialog-content { padding: 0; }
.popup_userinfo_top { padding: 1.25rem; padding-bottom: 0; height: 4.5rem; margin-bottom: 2.5rem; background: #F7F7F7; }
.popup_userinfo_top .avatar {
  vertical-align: top; border-radius: 50%; border: .25rem solid #fff; width: 5rem; height: 5rem;
  box-shadow: 0 .75rem 1.5rem 0 rgba(0,0,0,0.1);
}
.popup_userinfo_top .avatar img { background-color: #fff; }
.popup_userinfo.useronline .avatar { border-color: var(--c-marker); }
.popup_userinfo .usinf { padding: 1rem 1.25rem; font-size: .875rem; }

.usinf > li { padding: .5rem 0; border-top: 1px solid rgba(0,0,0,0.05); }
.usinf > li:first-child { border-top-width: 0; }
.ui-c1, .ui-c2 { display: block; }

@media (max-width: 575px) {
  .ui-c1 { opacity: .5; font-size: .75rem; }
}
@media (min-width: 576px) {
  .usinf > li { display: flex; flex-wrap: wrap; }
  .ui-c1, .ui-c2 { display: inline-block; vertical-align: top; }
  .ui-c1 { width: 40%; margin-right: 5%; }
  .ui-c2 { width: 50%; }
}
@media (min-width: 768px) {
  .usinf { font-size: 1.1rem; }
  .ui-c1 { width: 30%; }
  .ui-c2 { width: 60%; }
}
