/* ======================================================================
   1. Собственная основа Onnimax. Код Bootstrap и его переменные не включены.
   Имена классов сохранены для уже существующей разметки Bootstrap 5.
   Каждый селектор имеет явный блок свойств, без @import и @extend.
   ====================================================================== */

/* Небольшой сброс: размеры, поля браузера и базовая типографика. */
* {
    box-sizing: border-box;
}
*::before {
    box-sizing: border-box;
}
*::after {
    box-sizing: border-box;
}
html {
    -webkit-text-size-adjust: 100%;
}
body {
    margin: 0;
    font-family:
        system-ui,
        -apple-system,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;
    line-height: 1.5;
    background: #fff;
}
[hidden] {
    display: none !important;
}
p {
    margin-top: 0;
    margin-bottom: 1rem;
}
ul {
    margin-top: 0;
    margin-bottom: 1rem;
    padding-left: 2rem;
}
ol {
    margin-top: 0;
    margin-bottom: 1rem;
    padding-left: 2rem;
}
ul ul {
    margin-bottom: 0;
}
ol ol {
    margin-bottom: 0;
}
dl {
    margin-top: 0;
    margin-bottom: 1rem;
}
dt {
    font-weight: 700;
}
dd {
    margin-left: 0;
    margin-bottom: 0.5rem;
}
hr {
    margin: 1rem 0;
    border: 0;
    border-top: 1px solid currentColor;
    opacity: 0.25;
}
img {
    vertical-align: middle;
}
svg {
    vertical-align: middle;
}
figcaption {
    font-size: 0.875em;
}
small {
    font-size: 0.875em;
}
strong {
    font-weight: bolder;
}
b {
    font-weight: bolder;
}
pre {
    display: block;
    margin: 0 0 1rem;
    overflow: auto;
    font-family: monospace;
    font-size: 0.875em;
}
code {
    font-family: monospace;
    font-size: 0.875em;
}
table {
    border-collapse: collapse;
}
caption {
    padding: 0.5rem 0;
    color: #6c757d;
    text-align: left;
}
th {
    text-align: inherit;
}
label {
    display: inline-block;
}
button {
    margin: 0;
    font: inherit;
    text-transform: none;
    cursor: pointer;
}
input {
    margin: 0;
    font: inherit;
}
textarea {
    margin: 0;
    font: inherit;
    resize: vertical;
}
select {
    margin: 0;
    font: inherit;
    text-transform: none;
}
button:disabled {
    cursor: default;
}
input:disabled {
    cursor: default;
}
fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}
legend {
    width: 100%;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}
summary {
    cursor: pointer;
}

/* Контейнер и сетка: только колонки, которые найдены в файлах шаблона. */
.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
}
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -0.75rem;
    margin-left: -0.75rem;
}
.row > * {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
}
.col {
    flex: 1 0 0%;
}
.col-12 {
    flex: 0 0 auto;
    width: 100%;
}
.g-3 {
    margin-top: -1rem;
    margin-right: -0.5rem;
    margin-left: -0.5rem;
}
.g-3 > * {
    margin-top: 1rem;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
}
.gy-3 {
    margin-top: -1rem;
}
.gy-3 > * {
    margin-top: 1rem;
}
.gy-4 {
    margin-top: -1.5rem;
}
.gy-4 > * {
    margin-top: 1.5rem;
}
@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
    .col-sm-6 {
        flex: 0 0 auto;
        width: 50%;
    }
}
@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
    .col-md-2 {
        flex: 0 0 auto;
        width: 16.666667%;
    }
    .col-md-3 {
        flex: 0 0 auto;
        width: 25%;
    }
    .col-md-4 {
        flex: 0 0 auto;
        width: 33.333333%;
    }
    .col-md-6 {
        flex: 0 0 auto;
        width: 50%;
    }
    .col-md-8 {
        flex: 0 0 auto;
        width: 66.666667%;
    }
    .col-md-10 {
        flex: 0 0 auto;
        width: 83.333333%;
    }
    .flex-md-row {
        flex-direction: row !important;
    }
}
@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
    .col-lg-1 {
        flex: 0 0 auto;
        width: 8.333333%;
    }
    .col-lg-4 {
        flex: 0 0 auto;
        width: 33.333333%;
    }
    .col-lg-5 {
        flex: 0 0 auto;
        width: 41.666667%;
    }
    .col-lg-6 {
        flex: 0 0 auto;
        width: 50%;
    }
    .col-lg-7 {
        flex: 0 0 auto;
        width: 58.333333%;
    }
    .col-lg-8 {
        flex: 0 0 auto;
        width: 66.666667%;
    }
    .col-lg-11 {
        flex: 0 0 auto;
        width: 91.666667%;
    }
    .mb-lg-0 {
        margin-bottom: 0 !important;
    }
}
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    .col-xl-3 {
        flex: 0 0 auto;
        width: 25%;
    }
}
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Кнопки и состояния: значения заданы непосредственно, без переменных Bootstrap. */
.btn {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    border: 1px solid transparent;
    border-radius: 0.375rem;
    background: transparent;
    color: #212529;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    transition:
        background-color 0.15s,
        border-color 0.15s,
        box-shadow 0.15s;
}
.btn:focus-visible {
    outline: 2px solid #e4ab47;
    outline-offset: 3px;
}
.btn:disabled {
    opacity: 0.65;
    pointer-events: none;
}
.btn[aria-disabled="true"] {
    opacity: 0.65;
    pointer-events: none;
}
.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.25rem;
}
.btn-primary {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}
.btn-primary:hover {
    color: #fff;
    background-color: #0b5ed7;
    border-color: #0a58ca;
}
.btn-primary:active {
    color: #fff;
    background-color: #0a58ca;
    border-color: #0a53be;
}
.btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}
.btn-secondary:hover {
    color: #fff;
    background-color: #5c636a;
    border-color: #565e64;
}
.btn-secondary:active {
    color: #fff;
    background-color: #565e64;
    border-color: #51585e;
}
.btn-success {
    color: #fff;
    background-color: #198754;
    border-color: #198754;
}
.btn-success:hover {
    color: #fff;
    background-color: #157347;
    border-color: #146c43;
}
.btn-success:active {
    color: #fff;
    background-color: #146c43;
    border-color: #13653f;
}
.btn-outline-primary {
    color: #0d6efd;
    background-color: transparent;
    border-color: #0d6efd;
}
.btn-outline-primary:hover {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}
.btn-outline-success {
    color: #198754;
    background-color: transparent;
    border-color: #198754;
}
.btn-outline-success:hover {
    color: #fff;
    background-color: #198754;
    border-color: #198754;
}
.btn-outline-danger {
    color: #dc3545;
    background-color: transparent;
    border-color: #dc3545;
}
.btn-outline-danger:hover {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}
.btn-close {
    box-sizing: content-box;
    position: relative;
    width: 1em;
    height: 1em;
    padding: 0.25em;
    border: 0;
    border-radius: 0.375rem;
    color: #000;
    background: transparent;
    opacity: 0.5;
}
.btn-close::before {
    position: absolute;
    inset: 0;
    content: "×";
    font:
        1.75em/0.85 Arial,
        sans-serif;
    text-align: center;
}
.btn-close:hover {
    opacity: 0.8;
}

/* Формы: обычные поля, select, checkbox и плавающие подписи. */
.form-label {
    margin-bottom: 0.5rem;
}
.form-control {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 0.375rem 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    color: #212529;
    background: #fff;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    transition:
        border-color 0.15s,
        box-shadow 0.15s;
}
.form-control:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem #0d6efd40;
}
.form-control::placeholder {
    color: #6c757d;
    opacity: 1;
}
.form-control:disabled {
    background-color: #e9ecef;
    opacity: 1;
}
.form-control[type="file"] {
    overflow: hidden;
}
.form-control[type="file"]::file-selector-button {
    margin: -0.375rem 0.75rem -0.375rem -0.75rem;
    padding: 0.375rem 0.75rem;
    border: 0;
    border-right: 1px solid #dee2e6;
    color: #212529;
    background: #e9ecef;
    font: inherit;
    cursor: pointer;
}
.form-select {
    display: block;
    width: 100%;
    padding: 0.375rem 2rem 0.375rem 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    color: #212529;
    background-color: #fff;
    font-size: 1rem;
    line-height: 1.5;
}
.form-select:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem #0d6efd40;
}
.form-select:disabled {
    background-color: #e9ecef;
}
.form-check {
    display: block;
    min-height: 1.5rem;
    padding-left: 1.5em;
    margin-bottom: 0.125rem;
}
.form-check-input {
    float: left;
    width: 1em;
    height: 1em;
    margin-top: 0.25em;
    margin-left: -1.5em;
    accent-color: #0d6efd;
}
.form-check-input:focus-visible {
    outline: 2px solid #86b7fe;
    outline-offset: 2px;
}
.form-check-label {
    cursor: pointer;
}
.form-floating {
    position: relative;
}
.form-floating > .form-control {
    height: calc(3.5rem + 2px);
    min-height: calc(3.5rem + 2px);
    padding: 1.625rem 0.75rem 0.625rem;
}
.form-floating > .form-select {
    height: calc(3.5rem + 2px);
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
}
.form-floating > label {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    padding: 1rem 0.75rem;
    overflow: hidden;
    color: #555;
    pointer-events: none;
    transform-origin: 0 0;
    transition: transform 0.15s;
}
.form-floating > .form-control::placeholder {
    color: transparent;
}
.form-floating > .form-control:placeholder-shown:not(:focus) {
    padding: 1rem 0.75rem;
}
.form-floating > .form-control:focus ~ label {
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}
.form-floating > .form-select ~ label {
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}
.input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}
.input-group > .form-control {
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}
.input-group > .form-select {
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}
.input-group > :not(:first-child) {
    margin-left: -1px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.input-group > :not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.input-group > .form-control:focus {
    z-index: 2;
}
.input-group-text {
    display: flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    color: #212529;
    background: #e9ecef;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
}

/* Карточки, сообщения, списки и таблицы, используемые страницами DLE. */
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid #00000020;
    background: #fff;
    overflow-wrap: break-word;
}
.card-body {
    flex: 1 1 auto;
    padding: 1rem;
}
.card-title {
    margin-top: 0;
    margin-bottom: 0.5rem;
}
.card-text:last-child {
    margin-bottom: 0;
}
.card-header {
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #00000020;
    background: #00000008;
}
.card-footer {
    padding: 0.5rem 1rem;
    border-top: 1px solid #00000020;
    background: #00000008;
}
.alert {
    position: relative;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.375rem;
}
.alert-warning {
    color: #664d03;
    background-color: #fff3cd;
    border-color: #ffe69c;
}
.alert-light {
    color: #495057;
    background-color: #fcfcfd;
    border-color: #e9ecef;
}
.alert-heading {
    color: inherit;
}
.badge {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
}
.list-inline {
    padding-left: 0;
    list-style: none;
}
.list-inline-item {
    display: inline-block;
}
.list-inline-item:not(:last-child) {
    margin-right: 0.5rem;
}
.blockquote-footer {
    margin-top: -1rem;
    margin-bottom: 1rem;
    color: #6c757d;
    font-size: 0.875em;
}
.blockquote-footer::before {
    content: "— ";
}
.table {
    width: 100%;
    margin-bottom: 1rem;
    border-color: #dee2e6;
    color: #212529;
    vertical-align: top;
}
.table > :not(caption) > * > * {
    padding: 0.5rem;
    border-bottom: 1px solid #dee2e6;
    background: #fff;
}
.table-bordered > :not(caption) > * > * {
    border: 1px solid #dee2e6;
}
.table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: #f2f2f2;
}
.table-hover > tbody > tr:hover > * {
    background-color: #e5e5e5;
}

/* Навигация и раскрываемые списки. Положение рассчитывает собственный JS. */
.nav {
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}
.nav-link {
    display: block;
    padding: 0.5rem 1rem;
    color: #0d6efd;
    text-decoration: none;
}
.nav-link:hover {
    color: #0a58ca;
}
.nav-pills .nav-link {
    border-radius: 0.375rem;
}
.nav-pills .nav-link.active {
    color: #fff;
    background-color: #0d6efd;
}
.tab-content > .tab-pane {
    display: none;
}
.tab-content > .active {
    display: block;
}
.fade {
    transition: opacity 0.15s;
}
.fade:not(.show) {
    opacity: 0;
}
.collapse:not(.show) {
    display: none;
}
.navbar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.navbar > .container {
    display: flex;
    flex-wrap: inherit;
    align-items: center;
    justify-content: space-between;
}
.navbar-brand {
    display: inline-block;
    margin-right: 1rem;
    padding-top: 0.3125rem;
    padding-bottom: 0.3125rem;
    text-decoration: none;
    white-space: nowrap;
}
.navbar-nav {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin: 0;
    list-style: none;
}
.navbar-nav .nav-link {
    padding-right: 0;
    padding-left: 0;
}
.navbar-collapse {
    flex-basis: 100%;
    flex-grow: 1;
    align-items: center;
}
.navbar-toggler {
    padding: 0.25rem 0.75rem;
    border: 1px solid #ffffffb3;
    border-radius: 0.375rem;
    color: #ffffffb3;
    background: transparent;
    font-size: 1.25rem;
    line-height: 1;
}
.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}
.dropdown {
    position: relative;
}
.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-left: 0.3em solid transparent;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1040;
    display: none;
    min-width: 10rem;
    max-width: calc(100vw - 1.5rem);
    margin: 0;
    border: 1px solid #0000002d;
    color: #212529;
    background: #fff;
    font-size: 1rem;
    text-align: left;
    list-style: none;
}
.dropdown-menu.show {
    display: block;
}
.dropdown-item {
    display: block;
    width: 100%;
    border: 0;
    color: #212529;
    background: transparent;
    font-weight: 400;
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
}
.dropdown-item[aria-disabled="true"] {
    color: #adb5bd;
    pointer-events: none;
}
.header-account .dropdown-menu {
    left: auto;
    right: 0;
}
.dropdown-menu[data-bs-theme="dark"] {
    color: #dee2e6;
    background-color: #343a40;
}
.dropdown-menu[data-bs-theme="dark"] .dropdown-item {
    color: #dee2e6;
}
.dropdown-menu[data-bs-theme="dark"] .dropdown-item:hover {
    background-color: #ffffff26;
}
.dropdown-menu[data-bs-theme="dark"] .dropdown-item:focus {
    background-color: #ffffff26;
}
.navbar-nav .dropdown-menu {
    position: static;
}
.fixed-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}
@media (min-width: 1200px) {
    .navbar-expand-xl {
        flex-wrap: nowrap;
        justify-content: flex-start;
    }
    .navbar-expand-xl .navbar-nav {
        flex-direction: row;
    }
    .navbar-expand-xl .navbar-nav .nav-link {
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }
    .navbar-expand-xl .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }
    .navbar-expand-xl .navbar-toggler {
        display: none;
    }
    .navbar-expand-xl .dropdown-menu {
        position: absolute;
    }
}

/* Модальное окно: ограниченная высота, прокрутка и отдельная подложка. */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1060;
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
}
.modal.show {
    display: block;
}
.modal-dialog {
    position: relative;
    width: auto;
    margin: 0.5rem;
    pointer-events: none;
}
.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
}
.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    border: 1px solid #0000002d;
    border-radius: 0.5rem;
    outline: 0;
    background: #fff;
    pointer-events: auto;
    overflow: hidden;
}
.modal-header {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
}
.modal-header .btn-close {
    margin: -0.5rem -0.5rem -0.5rem auto;
    padding: 0.5rem;
}
.modal-title {
    line-height: 1.5;
}
.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
}
.modal-footer {
    display: flex;
    flex-wrap: wrap;
    flex-shrink: 0;
    align-items: center;
    justify-content: flex-end;
    padding: 0.75rem;
    border-top: 1px solid #dee2e6;
}
.modal-footer > * {
    margin: 0.25rem;
}
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: #000;
    opacity: 0.5;
}
.modal-open {
    overflow: hidden;
}
@media (min-width: 576px) {
    .modal-dialog {
        max-width: 500px;
        margin: 1.75rem auto;
    }
    .modal-dialog-centered {
        min-height: calc(100% - 3.5rem);
    }
}

/* Одна текстовая подсказка обслуживает все элементы, включая AJAX DLE. */
.tooltip {
    position: fixed;
    z-index: 1090;
    max-width: min(250px, calc(100vw - 16px));
    pointer-events: none;
    font:
        0.875rem/1.4 system-ui,
        sans-serif;
}
.tooltip-inner {
    padding: 0.35rem 0.6rem;
    border-radius: 0.375rem;
    color: #fff;
    background: #000;
    text-align: center;
    overflow-wrap: anywhere;
}

/* Единственный используемый режим Swiper: горизонтальные слайды и autoHeight.
   Нет стилей 3D, вертикального режима, эффектов, пагинации и полос прокрутки. */
.swiper {
    position: relative;
    display: block;
    margin-right: auto;
    margin-left: auto;
    padding: 0;
    overflow: hidden;
    list-style: none;
    z-index: 1;
}
.swiper-wrapper {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    z-index: 1;
    box-sizing: content-box;
    transform: translate3d(0, 0, 0);
    transition-property: transform;
}
.swiper-horizontal {
    touch-action: pan-y;
}
.swiper-slide {
    position: relative;
    display: block;
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    transition-property: transform;
}
.swiper-slide-invisible-blank {
    visibility: hidden;
}
.swiper-autoheight {
    height: auto;
}
.swiper-autoheight .swiper-slide {
    height: auto;
}
.swiper-autoheight .swiper-wrapper {
    align-items: flex-start;
    transition-property: transform, height;
}
.swiper-backface-hidden .swiper-slide {
    transform: translateZ(0);
    backface-visibility: hidden;
}
.swiper .swiper-notification {
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: none;
    opacity: 0;
    z-index: -1000;
}

/* Полоса занятого места в личных сообщениях DLE. */
@keyframes progress-bar-stripes {
    from {
        background-position-x: 1rem;
    }
    to {
        background-position-x: 0;
    }
}

/* Используемые утилиты с привычными именами Bootstrap 5. */
.mb-1 {
    margin-bottom: 0.25rem !important;
}
.mb-2 {
    margin-bottom: 0.5rem !important;
}
.mb-3 {
    margin-bottom: 1rem !important;
}
.mb-4 {
    margin-bottom: 1.5rem !important;
}
.mb-5 {
    margin-bottom: 3rem !important;
}
.me-2 {
    margin-right: 0.5rem !important;
}
.ms-2 {
    margin-left: 0.5rem !important;
}
.ms-3 {
    margin-left: 1rem !important;
}
.ms-auto {
    margin-left: auto !important;
}
.mt-2 {
    margin-top: 0.5rem !important;
}
.mt-3 {
    margin-top: 1rem !important;
}
.mt-4 {
    margin-top: 1.5rem !important;
}
.mt-5 {
    margin-top: 3rem !important;
}
.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}
.my-2 {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}
.my-3 {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}
.p-0 {
    padding: 0 !important;
}
.p-2 {
    padding: 0.5rem !important;
}
.p-3 {
    padding: 1rem !important;
}
.pb-1 {
    padding-bottom: 0.25rem !important;
}
.pb-3 {
    padding-bottom: 1rem !important;
}
.pe-2 {
    padding-right: 0.5rem !important;
}
.pe-3 {
    padding-right: 1rem !important;
}
.ps-2 {
    padding-left: 0.5rem !important;
}
.ps-3 {
    padding-left: 1rem !important;
}
.pt-2 {
    padding-top: 0.5rem !important;
}
.pt-3 {
    padding-top: 1rem !important;
}
.px-2 {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
}
.px-3 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}
.py-2 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}
.py-3 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}
.d-block {
    display: block !important;
}
.d-inline-block {
    display: inline-block !important;
}
.d-flex {
    display: flex !important;
}
.d-grid {
    display: grid !important;
}
.flex-column {
    flex-direction: column !important;
}
.flex-row {
    flex-direction: row !important;
}
.flex-wrap {
    flex-wrap: wrap !important;
}
.align-items-center {
    align-items: center !important;
}
.justify-content-center {
    justify-content: center !important;
}
.align-top {
    vertical-align: top !important;
}
.gap-2 {
    gap: 0.5rem !important;
}
.gap-3 {
    gap: 1rem !important;
}
.w-25 {
    width: 25% !important;
}
.w-50 {
    width: 50% !important;
}
.w-75 {
    width: 75% !important;
}
.w-100 {
    width: 100% !important;
}
.h-100 {
    height: 100% !important;
}
.float-end {
    float: right !important;
}
.fw-semibold {
    font-weight: 600 !important;
}
.text-center {
    text-align: center !important;
}
.text-end {
    text-align: right !important;
}
.text-muted {
    color: #6c757d !important;
}
.text-body-secondary {
    color: #6c757d !important;
}
.text-danger {
    color: #dc3545 !important;
}
.text-info {
    color: #0dcaf0 !important;
}
.text-success {
    color: #198754 !important;
}
.text-warning {
    color: #ffc107 !important;
}
.text-primary-emphasis {
    color: #052c65 !important;
}
.text-secondary-emphasis {
    color: #2b2f32 !important;
}
.bg-white {
    background-color: #fff !important;
}
.bg-light {
    background-color: #f8f9fa !important;
}
.bg-body-secondary {
    background-color: #e9ecef !important;
}
.bg-body-tertiary {
    background-color: #f8f9fa !important;
}
.bg-warning-subtle {
    background-color: #fff3cd !important;
}
.bg-dark {
    background-color: #212529 !important;
}
.border {
    border: 1px solid #dee2e6 !important;
}
.border-bottom {
    border-bottom: 1px solid #dee2e6 !important;
}
.border-secondary {
    border-color: #6c757d !important;
}
.border-light-subtle {
    border-color: #e9ecef !important;
}
.border-primary-subtle {
    border-color: #9ec5fe !important;
}
.rounded-0 {
    border-radius: 0 !important;
}
.rounded-circle {
    border-radius: 50% !important;
}
.rounded-pill {
    border-radius: 50rem !important;
}
.shadow {
    box-shadow: 0 0.5rem 1rem #00000026 !important;
}
.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem #00000013 !important;
}
.text-bg-light {
    color: #000 !important;
    background-color: #f8f9fa !important;
}
.link-light {
    color: #f8f9fa !important;
}
.link-light:hover {
    color: #c6c7c8 !important;
}
.link-warning {
    color: #ffc107 !important;
}
.link-warning:hover {
    color: #ffcd39 !important;
}
.clearfix::after {
    display: block;
    clear: both;
    content: "";
}
.img-fluid {
    max-width: 100%;
    height: auto;
}
.visually-hidden-focusable:not(:focus):not(:focus-within) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
h1 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}
h2 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}
h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}
h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}
h5 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}
h6 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}
.h5 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}
/* Локальные WOFF2: латиница для финского текста и кириллица для отзывов. */
@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url(../fonts/montserrat-cyrillic-ext-wght-normal.woff2) format("woff2-variations");
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url(../fonts/montserrat-cyrillic-wght-normal.woff2) format("woff2-variations");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url(../fonts/montserrat-latin-ext-wght-normal.woff2) format("woff2-variations");
    unicode-range:
        U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
        U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
        U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url(../fonts/montserrat-latin-wght-normal.woff2) format("woff2-variations");
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
        U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    font-stretch: 75% 100%;
    src: url(../fonts/roboto-cyrillic-ext-standard-normal.woff2) format("woff2-variations");
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    font-stretch: 75% 100%;
    src: url(../fonts/roboto-cyrillic-standard-normal.woff2) format("woff2-variations");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    font-stretch: 75% 100%;
    src: url(../fonts/roboto-latin-ext-standard-normal.woff2) format("woff2-variations");
    unicode-range:
        U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
        U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
        U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    font-stretch: 75% 100%;
    src: url(../fonts/roboto-latin-standard-normal.woff2) format("woff2-variations");
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
        U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ============= template onnimax ============= */
/* ================ Andrey Mironov =============== */
/*
font-family: 'Montserrat', sans-serif;
font-family: 'Roboto', sans-serif;
*/
body {
    color: #555;
}
h1 {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    color: #555;
    line-height: 1.2;
}
h2 {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    color: #555;
    line-height: 1.2;
}
h3 {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    color: #555;
    line-height: 1.2;
}
h4 {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    color: #555;
    line-height: 1.2;
}
h5 {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    color: #555;
    line-height: 1.2;
}
h6 {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    color: #555;
    line-height: 1.2;
}
.h5 {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    color: #555;
    line-height: 1.2;
}
a {
    color: #0060df;
    text-decoration: none;
}
a:hover {
    color: #003eaa;
    text-decoration: none;
}
::selection {
    background: #e4ab47;
    color: #fff;
}
::-moz-selection {
    background: #e4ab47;
    color: #fff;
}
.mejs-container {
    max-width: 100% !important;
}
iframe {
    max-width: 100% !important;
}
video {
    max-width: 100% !important;
}
.btn-shadow:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}
.card {
    border-radius: 0rem;
}
.card-header:first-child {
    border-radius: 0;
}
.bg-dark {
    background-image: linear-gradient(#1a46ba, #1a46ba 60%, #12338a);
    background-repeat: no-repeat;
}
.text-popap {
    font-weight: normal;
    font-variant: normal;
    font-style: normal;
    font-size: 14px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #353535 !important;
}
.text-popap a {
    color: #007cbb !important;
}
.text-popap a:hover {
    color: #3f97b5 !important;
}
.text-white {
    color: #fff !important;
}
.text-white a {
    color: #fff !important;
}
.text-white a:hover {
    color: #fafafa !important;
}
/* =  MENU HEADER
/*-------------------------------------------------*/
.top-line {
    padding: 5px 0;
    background-color: #072466;
    transition: all 0.1s ease-in-out;
    line-height: normal;
}
.top-line span {
    color: #dfdfdf;
    font-size: 15px;
    font-family: "Montserrat", sans-serif;
}
.top-line span a {
    color: #dfdfdf;
    font-size: 15px;
    font-family: "Montserrat", sans-serif;
}
.top-line span a:hover {
    color: #e4ab47;
    font-size: 15px;
    font-family: "Montserrat", sans-serif;
    transition: all 0.2s ease-in-out;
}
header.active .top-line {
    height: 0;
    padding: 0;
}
.navbar-light .navbar-toggler {
    color: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.7);
}
.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar {
    padding: 0.2rem 0.8rem;
}
.navbar-light {
    background-color: #12338a;
    border: none;
}
.navbar-brand {
    font-family: "Montserrat";
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #f2f2f2 !important;
    padding: 5px 0;
}
.navbar-brand:hover {
    color: #f2f2f2;
    transition: all 0.2s ease-in-out;
}
.nav-item-reled::after {
    content: "";
    display: block;
    width: 0px;
    height: 3px;
    background: #e4ab47;
    transition: all 0.2s ease-in-out;
}
.nav-item-reled:hover::after {
    width: 100%;
}
.navbar-nav > li > a {
    color: #f2f2f2 !important;
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    padding: 3px 15px;
}
.navbar-nav > li > a:hover {
    color: #e4ab47 !important;
}
.navbar-nav > li > a.active {
    color: #e4ab47 !important;
}
.dropdown-item {
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    transition: all 0.5s ease-in-out;
}
.dropdown-item:hover {
    color: #fff;
    text-decoration: none;
    background-color: #233e87;
}
.dropdown-item:focus {
    color: #fff;
    text-decoration: none;
    background-color: #233e87;
}
.dropdown-menu {
    padding: 3px;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}
.navbar-collapse {
    position: relative;
}
#imglogo {
    width: auto;
    height: 50px;
}
#navbar {
    transition: all 0.2s ease-in-out;
}
/* =  ENTER FORMS
/*-------------------------------------------------*/
.selectedrecip select {
    display: block;
    width: 100%;
}
.selectedzone select {
    display: block;
    width: 100%;
}
.styled-select select {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 3px;
    border: 1px solid #fff;
    height: 30px;
}
.mass_comments_action select {
    background: #f6f6f6;
    padding: 5px;
    font-size: 14px;
    border: 1px solid #cecece;
    height: 34px;
    margin-right: 5px;
}
.selectmass input {
    float: right;
    margin-left: 6px;
}
.mass_comments_action {
    text-align: right;
}
/* =  NAVIGATION
/*-------------------------------------------------*/
.navigation {
    color: #444 !important;
    margin: 30px 0px 20px 0px;
}
.navigation a:active {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    color: #555 !important;
    text-decoration: none;
    padding-top: 9px;
    padding-right: 14px;
    padding-left: 14px;
    padding-bottom: 9px;
    border: 1px solid #ccc;
    border-radius: 0px;
    background-image: linear-gradient(#fff, #fff 60%, #f5f5f5);
    background-repeat: no-repeat;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.176);
}
.navigation a:visited {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    color: #555 !important;
    text-decoration: none;
    padding-top: 9px;
    padding-right: 14px;
    padding-left: 14px;
    padding-bottom: 9px;
    border: 1px solid #ccc;
    border-radius: 0px;
    background-image: linear-gradient(#fff, #fff 60%, #f5f5f5);
    background-repeat: no-repeat;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.176);
}
.navigation a:link {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    color: #555 !important;
    text-decoration: none;
    padding-top: 9px;
    padding-right: 14px;
    padding-left: 14px;
    padding-bottom: 9px;
    border: 1px solid #ccc;
    border-radius: 0px;
    background-image: linear-gradient(#fff, #fff 60%, #f5f5f5);
    background-repeat: no-repeat;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.176);
}
.navigation a:hover {
    color: #fff !important;
    text-decoration: none;
    background-image: linear-gradient(#1a46ba, #1a46ba 60%, #1a46ba);
    background-repeat: no-repeat;
    filter: none;
    border: 1px solid #f2f2f2;
}
.navigation span {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    color: #888 !important;
    text-decoration: none;
    padding-top: 9px;
    padding-right: 14px;
    padding-left: 14px;
    padding-bottom: 9px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0px;
    background-color: #fff;
    cursor: not-allowed;
}
.navigation span .nav_ext {
    border: none;
    background: transparent;
}
/* =  ATTACHMENT
/*-------------------------------------------------*/
.attachment {
    background-color: #fafafa;
    display: block;
    position: relative;
    border: 1px solid #ccc;
    padding: 5px;
}
.attachment a:active {
    text-decoration: none;
}
.attachment a:visited {
    text-decoration: none;
}
.attachment a:link {
    text-decoration: none;
}
.attachment a:hover {
    text-decoration: none;
}
/* =  JQUERY UI
/*-------------------------------------------------*/
.ui-widget-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.5;
}
.ui-widget-content {
    background-color: #fafafa;
}
.ui-corner-all input {
    background-color: #fff;
    border: 1px solid #ccc;
    color: #555;
}
.ui-helper-clearfix:after {
    content: "";
    display: table;
    border-collapse: collapse;
}
.ui-helper-clearfix:before {
    content: "";
    display: table;
    border-collapse: collapse;
}
.ui-helper-clearfix:after {
    clear: both;
}
.ui-dialog {
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff;
    border: 1px solid #848a97;
    border-radius: 0;
    outline: 0;
    overflow: hidden;
    box-shadow: 0 10px 20px -4px rgba(0, 0, 0, 0.4);
}
.ui-dialog-titlebar {
    position: relative;
    padding: 1rem 1rem;
    border-bottom: 1px solid #848a97;
    background: #eee;
}
.ui-dialog-title {
    float: left;
    color: #404040;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ui-dialog-titlebar button {
    visibility: hidden;
}
.ui-dialog-titlebar-close:before {
    font-family: "artprofit";
    font-style: normal;
    font-weight: normal;
    content: "\e99c";
    visibility: visible;
    color: #555;
    font-size: 20px;
    position: absolute;
    top: 12px;
    right: 20px;
}
.ui-dialog-titlebar-close:hover {
    opacity: 0.75;
}
.ui-draggable .ui-dialog-titlebar {
    cursor: move;
}
.ui-dialog-content {
    position: relative;
    font-size: 0.9rem;
    border: 0;
    padding: 20px;
    overflow: auto;
    box-sizing: content-box;
}
.ui-dialog-content select {
    background: #fff;
    border: 1px solid #ccc;
    color: #555;
}
.ui-dialog-buttonpane {
    text-align: left;
    padding: 5px 15px;
    border-top: 1px solid #848a97;
    background: #eee;
}
.ui-dialog-buttonpane .ui-dialog-buttonset {
    float: right;
}
.ui-dialog-buttonpane button {
    background: #328bc8 !important;
    color: #fff !important;
    font-size: 0.95rem;
    border: 0 !important;
    margin: 0.5rem;
    padding: 0.3rem 0.5rem;
    float: right;
    cursor: pointer;
}
.ui-dialog-buttonpane button:hover {
    background: #be5046 !important;
    border: 0 !important;
    color: #fff !important;
}
.ui-state-error {
    border: 1px solid #f44336 !important;
}
.ui-front {
    z-index: 1000;
}
.ui-button-icon-only {
    overflow: hidden;
    text-indent: -9999px;
}
/* =  BUTTON
/*-------------------------------------------------*/
.bbcodes {
    display: inline-block;
    font-weight: normal;
    text-align: center;
    touch-action: manipulation;
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
    padding: 6px 10px;
    font-size: 14px;
    line-height: 1.42857143;
    border-radius: 0px;
    user-select: none;
    color: #fff;
    background-color: #d9230f;
    border-color: #d9230f;
}
.dlevotebutton {
    display: inline-block;
    font-weight: normal;
    text-align: center;
    touch-action: manipulation;
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
    padding: 6px 10px;
    font-size: 14px;
    line-height: 1.42857143;
    border-radius: 0px;
    user-select: none;
    color: #fff;
    background-color: #d9230f;
    border-color: #d9230f;
}
.bbcodes:hover {
    background-image: linear-gradient(#e72510, #d9230f 6%, #cb210e);
    background-repeat: no-repeat;
    filter: none;
    border: 1px solid #ba1e0d;
}
.dlevotebutton:hover {
    background-image: linear-gradient(#e72510, #d9230f 6%, #cb210e);
    background-repeat: no-repeat;
    filter: none;
    border: 1px solid #ba1e0d;
}
.bbcodes:active {
    color: #fff;
    background-color: #f23e2e;
    border-color: #d9230f;
    background-image: none;
}
.dlevotebutton:active {
    color: #fff;
    background-color: #f23e2e;
    border-color: #d9230f;
    background-image: none;
}
/*===== Дополнительные поля =====*/
.file-box {
    width: 95%;
    max-width: 437px;
    border: 1px solid #b3b3b3;
    border-radius: 3px;
    background-color: #f5f5f5;
    padding: 10px;
    margin-top: 10px;
}
.qq-uploader {
    position: relative;
    width: 100%;
}
.qq-upload-button {
    display: inline-block;
    padding: 4px 10px 4px 10px;
    margin-top: 5px;
    font: bold 11px/1.5em Verdana;
    color: #000;
    border: 1px solid #cacaca;
    cursor: pointer;
}
.qq-upload-drop-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    max-width: 437px;
    background: #ff9797;
    text-align: center;
}
.qq-upload-drop-area span {
    display: block;
    position: absolute;
    top: 50%;
    width: 100%;
    margin-top: -8px;
    font-size: 16px;
}
.qq-upload-drop-area-active {
    background: #ff7171;
}
.uploadedfile {
    float: left !important;
    width: 115px;
    height: 130px;
    margin: 10px 5px 5px 5px;
    border: 1px solid #b3b3b3;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
    background: #fff;
}
.uploadedfile .uploadimage {
    margin-top: 5px;
    width: 115px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: -webkit-grabbing;
}
.uploadedfile .info {
    text-align: left;
    white-space: nowrap;
    margin: 0px 5px 0px 5px;
    overflow: hidden;
}
.sortable-ghost {
    opacity: 0.4;
}
.progress {
    overflow: hidden;
    margin-top: 10px;
    margin-bottom: 10px;
    background-color: whitesmoke;
    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;
    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;
}
/* =  COMMENTS
/*-------------------------------------------------*/
#dlefastreplycomments {
    padding: 5px;
    background: #e4ecf0;
    margin: 5px 5px 5px 30px;
}
.commentsreplyname {
    padding: 2px;
    border: 1px solid #bcc0c2;
    width: 200px;
    background: #fff;
}
.findrelated {
    width: 100%;
    background: #ffc;
    border: 1px solid #ccc;
    padding: 5px;
    margin-right: 10px;
}
/* =  HEAD SLIDER SECTION
/*-------------------------------------------------*/
/* =  HEAD SECTION
/*-------------------------------------------------*/
.head-section {
    position: relative;
    padding-top: 150px;
    padding-bottom: 50px;
    background: url("../images/bg-laptop.jpg") center fixed;
    width: 100%;
    height: auto;
    background-size: cover;
}
.head-section:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 51, 140, 0.7);
}
.head-section .container {
    position: relative;
    z-index: 2;
}
.head-section .head-box {
    text-align: center;
    padding-bottom: 2px;
}
.head-section .head-box p {
    color: #fff;
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto;
}
.head-section .head-box h1 {
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    text-transform: none;
    text-shadow:
        0 0 6px rgba(202, 228, 225, 0.92),
        0 0 24px rgba(30, 132, 242, 0.6);
}
.head-section .head-box span {
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    margin-bottom: 66px;
    display: block;
    position: relative;
    text-shadow:
        0 0 6px rgba(202, 228, 225, 0.92),
        0 0 24px rgba(30, 132, 242, 0.6);
}
.head-section .head-box span:after {
    content: "";
    position: absolute;
    height: 2px;
    background: #e4ab47;
}
/* =  PRESENTATION SECTION
/*-------------------------------------------------*/
.presentation-section {
    padding: 50px 0;
    background: #f0f1f3;
}
.presentation-section .presentation-box h2 {
    font-family: "Montserrat", sans-serif;
    color: #555;
    font-weight: 600 !important;
    margin-bottom: 36px;
}
.presentation-section .presentation-box h3 {
    font-family: "Montserrat", sans-serif;
    color: #555;
    font-weight: 600 !important;
}
.presentation-section .presentation-box a {
    display: inline-block;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background: #1a46ba;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 10px 25px;
}
.presentation-section .presentation-box a:hover {
    background: #e4ab47;
    color: #fff;
    transition: all 0.2s ease-in-out;
}
.presentation-section .presentation-box p {
    font-family: "Montserrat", sans-serif;
    color: #555;
    font-size: 1rem;
    font-weight: 500 !important;
    padding-bottom: 10px;
}
.presentation-section .presentation-box img {
    width: 200px;
    height: auto;
    padding-top: 10px;
}
/* =  SERVICES SECTION
/*-------------------------------------------------*/
.services-section {
    padding: 30px 0;
}
.services-section .services-box .services-post img {
    width: 100%;
}
.services-section .services-box .services-post .services-content {
    padding-right: 10px;
}
.services-section .services-box .services-post .services-content h2 {
    font-family: "Montserrat", sans-serif;
    color: #555;
    font-weight: 600 !important;
    margin-bottom: 30px;
}
.services-section .services-box .services-post .services-content li {
    font-family: "Montserrat", sans-serif;
    color: #555;
    font-size: 1rem;
    font-weight: 500 !important;
    line-height: 38px;
    list-style-type: circle;
}
.services-section .services-box .services-post .services-content p {
    font-family: "Montserrat", sans-serif;
    color: #555;
    font-size: 1rem;
    font-weight: 500 !important;
    line-height: 38px;
}
/* =  REVIEWS SECTION
/*-------------------------------------------------*/
.reviews-section {
    padding: 10px 0;
    background-color: #f0f1f3;
}
.reviews-section .reviews-box {
    padding: 50px 0;
    background-color: #f0f1f3;
    background-image: url(../images/quotes.svg);
    background-repeat: no-repeat;
    background-position: left;
}
.reviews-section .reviews-box h2 {
    font-family: "Montserrat", sans-serif;
    color: #555;
    font-weight: 600 !important;
    margin-bottom: 36px;
}
.reviews-section .reviews-box h3 {
    font-family: "Montserrat", sans-serif;
    color: #555;
    font-size: 22px;
    font-weight: 600 !important;
}
.reviews-section .reviews-box p {
    font-family: "Montserrat", sans-serif;
    color: #555;
    font-size: 1rem;
    font-weight: 500 !important;
}
.blockquote {
    margin-bottom: 0rem;
    font-size: 1.1rem;
}
/* =  PARTNERS SECTION
/*-------------------------------------------------*/
.partners-section {
    padding-top: 10px;
    background-color: #fff;
}
/* =  ABOUT SECTION
/*-------------------------------------------------*/
/* =  CONTENT SECTION
/*-------------------------------------------------*/
.content-title-section {
    min-height: 300px;
    position: relative;
    padding-top: 150px;
    padding-bottom: 50px;
    background: url("../images/bg-page.jpg") center fixed;
    background-size: cover;
}
.content-title-section:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(240, 241, 243, 0.8);
}
.content-title-section .container {
    position: relative;
    z-index: 2;
}
/*--------- news, static -----------*/
.content-section {
    padding: 30px 0;
    background-color: #f7f7f7;
}
.content-section .page-content {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.125);
}
/* ============= личный кабинет ============= */
.card-user-bg {
    background: linear-gradient(135deg, #f2f6f8 0%, #d8e1e7 50%, #b5c6d0 50%, #e0eff9 100%);
}
.card-user > .nav-pills .nav-link {
    border-radius: 0rem;
}
.card-user > .nav-pills .nav-link.active {
    color: #fff;
    background-color: rgba(26, 69, 186, 0);
    border-bottom: 3px solid #e4ab47;
}
.nav-pills .show > .nav-link {
    color: #fff;
    background-color: rgba(26, 69, 186, 0);
    border-bottom: 3px solid #e4ab47;
}
.card-bg {
    background-color: #fafafa;
}
/* ============= картачки контактной информации ============= */
/* =  FOOTER
/*-------------------------------------------------*/
footer {
    background: #12338a;
    padding-top: 60px;
}
footer .footer-widgets {
    min-height: 500px;
    background-image: url(../images/footer-tampere.png);
    background-repeat: no-repeat;
    background-position: bottom;
}
footer .footer-widgets .widgets img {
    height: 30px;
    width: auto;
}
footer .footer-widgets .widgets .info-widget p {
    margin-bottom: 0px;
}
footer .footer-widgets .widgets .info-widget a {
    font-family: "Montserrat", sans-serif;
    color: #f2f2f2;
    font-weight: 500 !important;
}
footer .footer-widgets .widgets .info-widget a:hover {
    color: #e4ab47;
}
footer h2 {
    font-family: "Montserrat", sans-serif;
    color: #f2f2f2;
    font-size: 18px;
    font-weight: 600 !important;
    text-transform: uppercase;
    margin-bottom: 25px;
    padding-bottom: 25px;
    position: relative;
}
footer h2:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 1px;
    background: #e4ab47;
}
footer .last-line {
    background: #072466;
    padding: 25px 0;
    border-top: 1px solid #526ba6;
}
footer .last-line p.copyright {
    font-size: 14px;
    margin: 0;
    text-align: center;
    color: #f2f2f2;
}
footer p {
    font-family: "Montserrat", sans-serif;
    color: #f2f2f2;
    font-weight: 500 !important;
}
footer .last-line p.copyright a {
    color: #ccc;
}
footer .last-line p.copyright a:hover {
    color: #e4ab47;
}
/*--- Подсветка исходного кода ---*/
/* =========== © 2010 - 2023 ArtProfits =========== */
/* =================== svg fonts ================== */
/* ==================== v.3.3 ===================== */
@font-face {
    font-family: "artprofit";
    src: url("../fonts/artprofit.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: block;
}
.ar {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: "artprofit" !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1; /* Enable Ligatures ================ */
    letter-spacing: 0;
    font-feature-settings: "liga";
    font-variant-ligatures: discretionary-ligatures; /* Better Font Rendering =========== */
}
.ar {
    display: inline-block;
    font: normal normal normal 14px/1 artprofit;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.ar-lg {
    font-size: 1.33333333em;
    line-height: 0.75em;
    vertical-align: -15%;
}
.ar-2x {
    font-size: 2em;
}
.ar-settings-fill:before {
    content: "\e904";
}
.ar-key:before {
    content: "\e905";
}
.ar-key-fill:before {
    content: "\e906";
}
.ar-add-key-fill:before {
    content: "\e908";
}
.ar-calendar:before {
    content: "\e90b";
}
.ar-calendar-fill:before {
    content: "\e90c";
}
.ar-calendar-off:before {
    content: "\e90d";
}
.ar-calendar-off-fill:before {
    content: "\e90e";
}
.ar-web-design-fill:before {
    content: "\e911";
}
.ar-edit-property:before {
    content: "\e912";
}
.ar-user-circle-fill:before {
    content: "\e921";
}
.ar-user-fill:before {
    content: "\e923";
}
.ar-user-update-circle-fill:before {
    content: "\e92d";
}
.ar-user-unfriend-fill:before {
    content: "\e92e";
}
.ar-reading:before {
    content: "\e92f";
}
.ar-download-cloud:before {
    content: "\e935";
}
.ar-inbox:before {
    content: "\e937";
}
.ar-message:before {
    content: "\e939";
}
.ar-message-fill:before {
    content: "\e93a";
}
.ar-add-message:before {
    content: "\e93b";
}
.ar-group-message:before {
    content: "\e93d";
}
.ar-group-message-fill:before {
    content: "\e93e";
}
.ar-contact:before {
    content: "\e93f";
}
.ar-phone:before {
    content: "\e940";
}
.ar-phone-fill:before {
    content: "\e941";
}
.ar-comments:before {
    content: "\e944";
}
.ar-comments-fill:before {
    content: "\e945";
}
.ar-comment-oval:before {
    content: "\e946";
}
.ar-print-fill:before {
    content: "\e951";
}
.ar-error:before {
    content: "\e952";
}
.ar-error-fill:before {
    content: "\e953";
}
.ar-combo-chart:before {
    content: "\e954";
}
.ar-combo-chart-fill:before {
    content: "\e955";
}
.ar-rss-fill:before {
    content: "\e957";
}
.ar-eye:before {
    content: "\e95a";
}
.ar-stack-photos-fill:before {
    content: "\e960";
}
.ar-visit-fill:before {
    content: "\e964";
}
.ar-worldwide-location-fill:before {
    content: "\e968";
}
.ar-worldwide-domain:before {
    content: "\e969";
}
.ar-bug-fill:before {
    content: "\e96e";
}
.ar-spam-fill:before {
    content: "\e970";
}
.ar-clock:before {
    content: "\e97a";
}
.ar-clock-circle:before {
    content: "\e97c";
}
.ar-quotes:before {
    content: "\e97d";
}
.ar-reply:before {
    content: "\e97e";
}
.ar-trash:before {
    content: "\e97f";
}
.ar-checked:before {
    content: "\e980";
}
.ar-pencil-square:before {
    content: "\e982";
}
.ar-mail-at:before {
    content: "\e984";
}
.ar-question-answer:before {
    content: "\e986";
}
.ar-off:before {
    content: "\e987";
}
.ar-number:before {
    content: "\e988";
}
.ar-link:before {
    content: "\e990";
}
.ar-check-in:before {
    content: "\e991";
}
.ar-chevron-double-left:before {
    content: "\e999";
}
.ar-chevron-double-right:before {
    content: "\e99a";
}
/* ============ © 2010 - 2023 ArtProfits =========== */
/* ================== BB Редактор ================== */
.bb-pane {
    padding-bottom: 10px;
    padding-left: 10px;
    margin: 0;
    border: 1px solid rgba(0, 0, 0, 0.25);
    border-bottom-width: 0;
    border-radius: 2px 2px 0 0;
    text-decoration: none;
    background: #f8f8f8;
}
.bb-pane:after {
    content: "";
    display: block;
    clear: both;
}
.bb-pane > b {
    margin-top: 10px;
    margin-left: 0;
    vertical-align: middle;
}
.bb-pane .bb-btn + .bb-btn {
    margin-left: -1px;
}
.bb-pane .bb-btn + .bb-pane {
    margin-left: -1px;
}
.bb-pane .bb-pane + .bb-btn {
    margin-left: -1px;
}
.bb-pane .bb-pane + .bb-pane {
    margin-left: -1px;
}
.bb-btn {
    color: #404549;
    float: left;
    padding: 6px 10px;
    border-radius: 2px;
}
.bb-btn:hover {
    color: #be5046;
}
.bb-btn:active {
    color: #be5046;
}
.bb-btn:active {
    background: rgba(243, 243, 243, 0.2);
    border-color: #cfcfcf;
}
@font-face {
    font-family: "bb-editor-font";
    src:
        url("../fonts/bb-editor-font.ttf?ikv2pg") format("truetype"),
        url("../fonts/bb-editor-font.woff?ikv2pg") format("woff");
    font-weight: normal;
    font-style: normal;
}
[class^="bb-btn"] {
    font-size: 17px;
    font-family: "bb-editor-font";
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
[class*=" bb-btn"] {
    font-size: 17px;
    font-family: "bb-editor-font";
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.bb-sel {
    float: left;
    padding: 2px 2px 0 2px;
}
.bb-sel select {
    font-size: 11px;
}
.bb-sep {
    display: none;
}
.bb-btn {
    cursor: pointer;
    outline: 0;
}
#b_font select {
    padding: 0;
}
#b_size select {
    padding: 0;
}
#b_b:before {
    content: "\e900";
}
#b_i:before {
    content: "\e901";
}
#b_u:before {
    content: "\e902";
}
#b_s:before {
    content: "\e903";
}
#b_sub:before {
    content: "\e904";
}
#b_sup:before {
    content: "\e905";
}
#b_up:before {
    content: "\e906";
}
#b_emo:before {
    content: "\e907";
}
#b_url:before {
    content: "\e908";
}
#b_leech:before {
    content: "\e909";
}
#b_mail:before {
    content: "\e90a";
}
#b_img:before {
    content: "\e90b";
}
#b_video:before {
    content: "\e90c";
}
#b_audio:before {
    content: "\e90d";
}
#b_hide:before {
    content: "\e90e";
}
#b_quote:before {
    content: "\e90f";
}
#b_code:before {
    content: "\e910";
}
#b_header:before {
    content: "\e911";
}
#b_font:before {
    content: "\e912";
}
#b_size:before {
    content: "\e913";
}
#b_left:before {
    content: "\e914";
}
#b_center:before {
    content: "\e915";
}
#b_right:before {
    content: "\e916";
}
#b_justify:before {
    content: "\e917";
}
#b_color:before {
    content: "\e918";
}
#b_spoiler:before {
    content: "\e919";
}
#b_yt:before {
    content: "\e91a";
}
#b_tf:before {
    content: "\e91b";
}
#b_list:before {
    content: "\e91c";
}
#b_ol:before {
    content: "\e91d";
}
#b_br:before {
    content: "\e91e";
}
#b_pl:before {
    content: "\e91f";
}
.bb-pane h1 {
    margin-top: 5px;
    margin-bottom: 5px;
}
.bb-pane h2 {
    margin-top: 5px;
    margin-bottom: 5px;
}
.bb-pane h3 {
    margin-top: 5px;
    margin-bottom: 5px;
}
.bb-pane h4 {
    margin-top: 5px;
    margin-bottom: 5px;
}
.bb-pane h5 {
    margin-top: 5px;
    margin-bottom: 5px;
}
.bb-pane h6 {
    margin-top: 5px;
    margin-bottom: 5px;
}
.bb-pane h1 {
    font-size: 36px;
}
.bb-pane h2 {
    font-size: 30px;
}
.bb-pane h3 {
    font-size: 24px;
}
.bb-pane h4 {
    font-size: 18px;
}
.bb-pane h5 {
    font-size: 14px;
}
.bb-pane h6 {
    font-size: 12px;
}
.bb-pane-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    min-width: 180px;
    padding: 5px 0;
    margin: 2px 0 0;
    list-style: none;
    font-size: 11px;
    border: 1px solid rgba(0, 0, 0, 0.25);
    border-radius: 2px;
    background: #f8f8f8;
    background-clip: padding-box;
    box-shadow: 0 1px 2px #dadada;
    max-height: 350px;
    overflow: auto;
}
.bb-pane-dropdown > li > a {
    display: block;
    padding: 3px 10px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857;
    color: #353535;
    white-space: nowrap;
}
.bb-pane-dropdown > li > a:hover {
    text-decoration: none;
    color: #262626;
    background-color: whitesmoke;
}
.bb-pane-dropdown .color-palette div .color-btn {
    width: 17px;
    height: 17px;
    padding: 0;
    margin: 0;
    border: 1px solid #fff;
    cursor: pointer;
}
.bb-pane-dropdown .color-palette {
    padding: 0px 5px;
}
.bb-editor textarea {
    width: 100%;
    margin-top: 0;
    border-radius: 0 0 4px 4px;
    border: 1px solid rgba(0, 0, 0, 0.25);
    padding: 10px;
    color: #292929;
}
.bb-editor textarea:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
.bb-pane-dropdown table {
    margin: 0;
}
/* =========== © 2010 - 2020 ArtProfits =========== */
/* ============= template tampereclub ============= */
/* ================ Andrey Mironov ================ */
/*--- Загрузчик AJAX ---*/
#loading-layer {
    display: block !important;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 9999;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    text-indent: -9999px;
    overflow: hidden;
    white-space: nowrap;
}
#loading-layer::after {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    height: 100px;
    width: 100px;
    margin: 0px auto;
    animation: rotation 0.6s infinite linear;
    border-left: 4px solid rgba(0, 174, 239, 0.15);
    border-right: 4px solid rgba(0, 174, 239, 0.15);
    border-bottom: 4px solid rgba(0, 174, 239, 0.15);
    border-top: 4px solid rgba(0, 174, 239, 0.8);
    border-radius: 100%;
}
@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}
/* ================ дополнительные поля ================ */
.xfieldsrow {
    padding-top: 5px;
    clear: both;
}
.xfieldscolleft {
    float: left;
    width: 30%;
}
.xfieldscolright {
    float: left;
    width: 70%;
}
.xfieldimagegallery {
    margin: 0;
    padding: 0;
    list-style: none;
    clear: both;
}
.xfieldimagegallery li {
    list-style: none;
    margin: 0;
    padding: 0;
}
.xfieldimagegallery li img {
    float: left;
    margin: 8px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 0px;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.176);
    width: 160px;
    height: auto;
    padding: 1px;
}
.xfieldimagegallery li img:hover {
    box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.4);
}
/* ================ Ввод дополнительный полей в добавлении новости ================ */
.xfields input {
    color: #333;
    font-size: 12px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    background: #fff;
    height: 36px;
    border: 1px solid #ccc;
    border-radius: 0px;
    margin-top: 5px;
    margin-left: 5px;
    padding-left: 5px;
}
.xfields textarea {
    width: 100%;
    height: 100px;
    margin-top: 5px;
}
/* ================ Настройка подсказки для доп. полей ================ */
.xfieldsnote {
    color: #838383;
    font-size: 0.9em;
}
/* ================ Дополнительные поля профиля пользователей ================ */
.xprofile input {
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    transition:
        border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out,
        -webkit-box-shadow 0.15s ease-in-out;
    margin-bottom: 0.5rem !important;
}
.xprofile input:focus {
    color: #495057;
    background-color: #fff;
    border-color: #a1d6f4;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(47, 164, 231, 0.25);
}
.xprofile select {
    color: #000;
    border: 1px solid #8a8989;
    background-color: #fff;
}
.xprofile textarea {
    height: 70px;
    margin: 0px 1px 0px 0px;
    padding: 0px;
}
.xfields_table td {
    vertical-align: top;
}
/* ================ Цитаты, Спойлеры, Код  ================ */
.scriptcode {
    padding: 0.5rem;
    background: #fff;
    border-left: 2px solid #d8e7c8;
}
.title_quote {
    padding: 0.5rem;
    background: #fff;
    border-left: 2px solid #d8e7c8;
}
.title_spoiler {
    padding: 0.5rem;
    background: #fff;
    border-left: 2px solid #d8e7c8;
}
.text_spoiler {
    padding: 0.5rem;
    background: #fff;
    border-left: 2px solid #d8e7c8;
}
.title_quote {
    margin-top: 2px;
    font-weight: bold;
}
.quote {
    padding: 0 2%;
    margin: 1em 0;
    border-left: 2px solid #1a46ba;
    font-style: italic;
}
blockquote {
    padding: 0 2%;
    margin: 1em 0;
    border-left: 2px solid #1a46ba;
    font-style: italic;
}
.title_spoiler {
    margin-top: 2px;
    background-color: #fbfbfc;
}
.text_spoiler {
    margin-bottom: 2px;
}
.title_spoiler img {
    vertical-align: middle;
    margin: -1px 0 0 !important;
    box-shadow: 0 0 0 rgba(0, 0, 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: #4c6d0f;
    margin: 0 0 1em 0;
}
.hide a {
    text-decoration: underline;
}
.hide a:hover {
    text-decoration: none;
}
/* ================ Выпадающее меню кнопки редактировать ================ */
#dropmenudiv {
    background-color: #fff;
    font-size: 14px;
    font-family: Arial, sans-seri;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.4);
    color: #292929;
    margin-bottom: 2px;
    padding: 5px 0;
    opacity: 0.98 !important;
    width: 200px !important;
}
#dropmenudiv a {
    display: block;
    text-decoration: none;
    color: #292929;
    padding: 5px;
    margin: 5px;
}
#dropmenudiv a:hover {
    color: #fff;
    background-color: #2fa4e7;
}
/*---показ оригинальной картинки загруженной на сайт из уменьшенной копии---*/
.highslide-wrapper {
    background: #fff;
}
.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;
}
/*---Навигация по картинкам галереи---*/
.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;
}
/* ================ Поля быстрого редактирования публикаций на сайте ================ */
.quick-edit-text {
    padding: 0.4em;
    width: 350px;
}
.quick-edit-textarea {
    height: 250px;
    box-sizing: border-box;
    padding: 2px;
    border: 1px solid #d7d7d7;
    width: 100%;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    transition:
        border-color ease-in-out 0.15s,
        box-shadow ease-in-out 0.15s;
}
/* ================ Вывод результатов голосования на сайте ================ */
.pm_progress_bar {
    vertical-align: baseline;
    display: flex;
    height: 1.5rem;
    overflow: hidden;
    font-size: 0.75rem;
    background-color: #198754;
    border-radius: 0rem;
    margin-bottom: 10px;
}
.pm_progress_bar span {
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    background-color: #dc3545;
    transition: width 0.6s ease;
    background-image: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.15) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0.15) 75%,
        transparent 75%,
        transparent
    );
    background-size: 1rem 1rem;
    animation: progress-bar-stripes 1s linear infinite;
}
/* ================ Подсветка кода в теге [code] ================ */
pre code {
    display: block;
    padding: 0.5em;
    background: #f9fafa;
    border: 1px solid #dce7e7;
    overflow: auto;
    white-space: pre;
}
pre .title {
    color: #268bd2;
}
/* ================ Смайлы ================ */
.emoji {
    border: none;
    vertical-align: middle;
    width: 22px;
    height: 22px;
}
.emoji_box {
    width: 100%;
    max-width: 390px;
}
.emoji_category {
    padding: 7px;
    clear: both;
}
.emoji_list {
    margin-top: 5px;
    margin-bottom: 5px;
    width: 100%;
    font-family:
        "Apple Color Emoji", "Segoe UI Emoji", "NotoColorEmoji", "Segoe UI Symbol", "Android Emoji",
        "EmojiSymbols";
    font-size: 2em;
}
.emoji_symbol {
    float: left;
    margin-bottom: 10px;
    width: 12.5%;
    text-align: center;
}
.emoji_symbol a {
    cursor: pointer;
    text-decoration: none;
}
.emoji_symbol a:hover {
    cursor: pointer;
    text-decoration: none;
}
.native-emoji {
    font-size: 1.3em;
    font-family:
        "Apple Color Emoji", "Segoe UI Emoji", "NotoColorEmoji", "Segoe UI Symbol", "Android Emoji",
        "EmojiSymbols";
}
/* ================ 15.0 - 15.1 ================ */
figure {
    margin: 0;
}
figure.align-left {
    float: left;
}
figure.align-right {
    float: right;
}
figure.image.align-center {
    display: table;
    margin-left: auto;
    margin-right: auto;
}
figure.image figcaption {
    padding: 1rem;
    background-color: #fafafa;
    font-size: 0.8rem;
    caption-side: bottom;
    word-break: break-word;
    text-align: center;
}
figure.image.align-center figcaption {
    display: table-caption;
}
/* ================ 15.2 - 15.3 ================ */
.comments-image-gallery {
    margin: 0;
    padding: 0;
    list-style: none;
    clear: both;
}
.comments-image-gallery li {
    list-style: none;
    margin: 0;
    padding: 0;
}
.comments-image-gallery li img {
    float: left;
    margin-right: 5px;
    border: 5px solid #fff;
    width: 100px;
    height: 100px;
    transition: box-shadow 0.5s ease;
}
.comments-image-gallery li img:hover {
    box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.4);
}
.mce-toc {
    border: 1px solid #dbdada;
    margin: 0 0 0.7rem 0;
}
.mce-toc h2 {
    margin: 4px;
}
.mce-toc ul {
    padding-left: 20px;
    list-style: none;
    margin-top: 0;
    margin-bottom: 0;
    margin-block-start: 1em;
    margin-block-end: 1em;
}
.mce-toc ul ul {
    padding-left: 20px;
    margin-block-start: 0;
    margin-block-end: 0;
}
.mce-toc li {
    list-style-type: none;
}
/* ================ 15.3 - 16.0 ================ */
.image-bordered {
    border: 1px solid #ddd;
}
.image-shadows {
    box-shadow:
        rgb(9 30 66 / 25%) 0px 4px 8px -2px,
        rgb(9 30 66 / 8%) 0px 0px 0px 1px;
}
.image-padded {
    padding: 0.5rem;
}
.comments-user-profile {
    font-weight: bold;
    cursor: pointer;
    color: #3394e6;
}
/* ================ 16.1 - 17.0 ================ */
.mce-accordion summary {
    cursor: pointer;
}
.self_delete_link {
    border: 0 none;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    padding: 12px 27px;
    border-radius: 10px;
    outline: none;
    background-color: #f44336;
    color: #fff;
    text-shadow: 0 1px #333;
    text-decoration: none !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    transition: all ease 0.1s;
}
/*========== 17.0 - 17.1 ==========*/
.DLEPush {
    z-index: 2001;
    position: fixed;
    right: 20px;
    top: 20px;
}
@keyframes DLEPush-show {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
.DLEPush-notification.wrapper {
    animation-name: DLEPush-show;
    animation-duration: 1s;
    position: relative;
    display: grid;
    align-items: center;
    color: #333;
    margin-bottom: 10px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 15px rgb(0 0 0 / 20%);
    background-color: #fff;
    border-radius: 10px;
}
.DLEPush-notification .DLEPush-icon {
    grid-column: 1;
    grid-row: 1 / span 2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    width: 45px;
    height: 100%;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    text-align: center;
}
.DLEPush-notification .DLEPush-icon svg {
    scale: 0.8;
}
.DLEPush-notification .DLEPush-header {
    font-weight: 500;
    grid-column: 2;
    grid-row: 1;
    font-size: 1rem;
    margin-left: 1rem;
    margin-top: 0.5rem;
}
.DLEPush-notification .DLEPush-header:empty {
    margin-top: 0;
}
.DLEPush-notification .DLEPush-message {
    grid-column: 2;
    grid-row: 2;
    font-size: 0.875rem;
    margin: 1rem;
}
.DLEPush-notification .DLEPush-message li {
    list-style-type: none;
    padding-left: 0;
}
.DLEPush-notification .DLEPush-message ul {
    list-style-type: none;
    padding-left: 0;
}
.DLEPush-notification .DLEPush-close {
    position: absolute;
    top: 8px;
    right: 10px;
    font-weight: 300;
    background: none;
    border: 0;
    font-size: 1.15rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    color: inherit;
    outline: 0;
    opacity: 0.75;
}
@media only screen and (min-width: 601px) {
    .DLEPush-notification.wrapper {
        min-width: 400px;
    }
}
.DLEPush-notification .DLEPush-close:hover {
    opacity: 1;
}
.DLEPush-notification.wrapper.push-success {
    background-color: #e0f2f1;
}
.DLEPush-notification.wrapper.push-success .DLEPush-icon {
    background-color: #00897b;
}
.DLEPush-notification.wrapper.push-warning {
    background-color: #fff3e0;
}
.DLEPush-notification.wrapper.push-warning .DLEPush-icon {
    background-color: #ff9800;
}
.DLEPush-notification.wrapper.push-error {
    background-color: #fbe9e7;
}
.DLEPush-notification.wrapper.push-error .DLEPush-icon {
    background-color: #ff5722;
}
input[type="text"].comments_author_field {
    width: 100%;
    margin-bottom: 10px;
}
/* Гибкие элементы могут сжиматься до ширины родительской колонки. */
.d-flex > * {
    min-width: 0;
}
.card {
    min-width: 0;
}
.card-body {
    min-width: 0;
}
.input-group {
    min-width: 0;
}
.tab-content {
    min-width: 0;
}
img {
    max-width: 100%;
}
.content-section {
    overflow-wrap: anywhere;
}
.content-title-section {
    overflow-wrap: anywhere;
}
.presentation-box {
    overflow-wrap: anywhere;
}
.services-content {
    overflow-wrap: anywhere;
}
.reviews-box {
    overflow-wrap: anywhere;
}
.footer-widgets {
    overflow-wrap: anywhere;
}
.content-section input {
    max-width: 100%;
}
.content-section textarea {
    max-width: 100%;
}
.content-section textarea {
    width: 100%;
}
.content-section .wide {
    width: 100%;
}
.content-section .xfields {
    width: 100%;
}
.content-section textarea {
    resize: vertical;
}
/* Изображения из редактора сохраняют пропорции; широкие таблицы
   и код прокручиваются внутри своего блока, не расширяя страницу. */
.page-copy img {
    height: auto;
}
.page-copy figure {
    max-width: 100%;
}
.page-copy video {
    max-width: 100%;
}
.page-copy iframe {
    max-width: 100%;
}
.page-copy pre {
    max-width: 100%;
}
.page-copy video {
    height: auto;
}
.page-copy table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}
.table-responsive {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
}
.captcha-scroll {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
}
.content-section .table-responsive > table {
    min-width: 36rem;
}
.captcha-scroll iframe {
    /* Не сжимаем внутреннюю разметку виджета проверки. */
    max-width: none !important;
}
.navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}
.navigation a {
    display: inline-block;
}
.navigation span {
    display: inline-block;
}
/* Верхняя полоса: длинные контакты переходят на следующую строку. */
.header-top-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.375rem 0.75rem;
}
.header-contacts {
    display: flex;
    flex: 1 1 34rem;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.375rem 1rem;
    min-width: 0;
}
.header-contacts > span {
    display: inline-block;
    max-width: 100%;
}
.header-contacts a {
    overflow-wrap: anywhere;
}
.header-language {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}
.header-language > span {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}
.header-language a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    min-height: 2rem;
}
.header-account > .nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    min-height: 2rem;
}
.language-flag {
    display: block;
    width: auto;
    height: 26px;
}
.header-account {
    flex-shrink: 0;
}
/* lib.js сворачивает верхнюю полосу при прокрутке.
   Скрываем и её содержимое, чтобы оно не перекрывало меню. */
header.active .top-line {
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
}
.site-header .navbar-brand {
    min-width: 0;
    max-width: calc(100% - 4.5rem);
}
#imglogo {
    display: block;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
}
.site-header .navbar-toggler {
    flex-shrink: 0;
    min-width: 44px;
    min-height: 44px;
}
.site-header .dropdown-item {
    overflow-wrap: anywhere;
}
/* Заголовки плавно уменьшаются, сохраняя исходный размер на ПК. */
.content-section h1 {
    font-size: clamp(1.375rem, 1rem + 1.5vw, 2rem);
}
.head-section .head-box h1 {
    font-size: clamp(1.75rem, 1.25rem + 2vw, 2.5rem);
    line-height: 1.35;
}
.head-section .head-box span {
    font-size: clamp(1.75rem, 1.25rem + 2vw, 2.5rem);
    line-height: 1.35;
}
.head-section .head-box p {
    font-size: clamp(1rem, 0.875rem + 1vw, 1.5rem);
    line-height: 1.5;
}
.head-section .head-box span:after {
    left: 50%;
    bottom: -32px;
    width: min(280px, 80%);
    margin-top: 0;
    transform: translateX(-50%);
}
.presentation-section .presentation-box h2 {
    font-size: clamp(1.25rem, 1rem + 1.25vw, 1.75rem);
    line-height: 1.35;
}
.services-section .services-box .services-post .services-content h2 {
    font-size: clamp(1.25rem, 1rem + 1.25vw, 1.75rem);
    line-height: 1.35;
}
.reviews-section .reviews-box h2 {
    font-size: clamp(1.25rem, 1rem + 1.25vw, 1.75rem);
    line-height: 1.35;
}
.partners-section .about-box h2 {
    font-size: clamp(1.25rem, 1rem + 1.25vw, 1.75rem);
    line-height: 1.35;
}
.presentation-section .presentation-box h3 {
    font-size: clamp(1.125rem, 0.875rem + 1vw, 1.5rem);
    line-height: 1.35;
}
.presentation-box .card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.presentation-box .card-body > a {
    max-width: 100%;
    margin-top: auto;
}
.services-content ul {
    padding-left: 1.25rem;
}
.review-video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background-color: #000;
}
.partner-slide {
    padding-right: 3rem;
    padding-left: 3rem;
}
.partner-slide > a {
    min-height: 44px;
}
/* Вспомогательные страницы: формы, профиль и уведомления. */
.contact-map {
    display: block;
    width: 100%;
    height: clamp(220px, 40vw, 300px);
}
.attachment-input .input-group-text {
    max-width: 100%;
    white-space: normal;
}
.news-tags {
    width: 50%;
}
.card-user-bg p {
    line-height: 1.5;
}
.profile-detail-row > * {
    min-width: 0;
}
.DLEPush {
    max-width: calc(100vw - 40px);
}
.DLEPush-notification.wrapper {
    grid-template-columns: 45px minmax(0, 1fr);
    overflow-wrap: anywhere;
}
/* Планшеты и небольшие ноутбуки: меню свёрнуто до 1200 px.
   Шапка занимает собственное место, поэтому её переменная высота
   больше не накрывает содержимое первой секции. */
@media (max-width: 1199.98px) {
    .site-header {
        position: relative;
        z-index: 1030;
    }

    .site-header-shell {
        position: relative;
        /* Раскрытое меню прокручивается вместе со всей страницей. */
        overflow: visible;
    }

    .site-header .navbar {
        padding: 0.375rem 0;
    }

    /* Мобильная шапка находится в потоке страницы. Отключаем только
       изменение её высоты при прокрутке, сохраняя исходный JS для ПК. */
    .site-header.active .top-line {
        height: auto;
        padding: 5px 0;
        overflow: visible;
        visibility: visible;
        pointer-events: auto;
    }

    .site-header #imglogo {
        width: auto !important;
        height: 40px !important;
    }

    .site-header .header-account .dropdown-menu {
        max-width: calc(100vw - 1.5rem);
    }

    .site-header .navbar-collapse {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .site-header .navbar-nav > li > a {
        padding: 0.625rem 0.75rem;
        white-space: normal;
    }

    .site-header .navbar-nav .dropdown-menu {
        min-width: 0;
        width: 100%;
        box-shadow: none !important;
    }

    .head-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
        background-attachment: scroll;
    }

    .content-title-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
        background-attachment: scroll;
    }

    .content-title-section {
        min-height: 180px;
    }

    .partner-slide {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    footer .footer-widgets {
        padding-bottom: 160px;
    }
}
/* Телефоны и узкие планшеты: текст и формы в одну колонку. */
@media (max-width: 767.98px) {
    .header-contacts {
        flex-basis: 100%;
        gap: 0.375rem 0.75rem;
    }

    .top-line span {
        font-size: 0.8125rem;
    }

    .top-line span a {
        font-size: 0.8125rem;
    }

    .top-line span a:hover {
        font-size: 0.8125rem;
    }

    .header-language {
        margin-left: auto;
    }

    .header-language a {
        min-width: 44px;
        min-height: 44px;
    }

    .header-account > .nav-link {
        min-width: 44px;
        min-height: 44px;
    }

    .head-section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .presentation-section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .presentation-section .presentation-box h2 {
        margin-bottom: 1.5rem;
    }

    .services-section .services-box .services-post .services-content h2 {
        margin-bottom: 1.5rem;
    }

    .reviews-section .reviews-box h2 {
        margin-bottom: 1.5rem;
    }

    .services-section .services-box .services-post .services-content {
        padding-right: 0;
    }

    .services-section .services-box .services-post .services-content li {
        line-height: 1.65;
    }

    .services-section .services-box .services-post .services-content p {
        line-height: 1.65;
    }

    .services-content li + li {
        margin-top: 0.5rem;
    }

    .services-illustration img {
        display: block;
        max-width: 360px;
        margin-right: auto;
        margin-left: auto;
    }

    .reviews-section .reviews-box {
        padding: 2rem 0;
        background-size: 100px auto;
        background-position: left 2rem;
    }

    .partner-slide {
        padding-right: 0.25rem;
        padding-left: 0.25rem;
    }

    .content-section .form-control {
        /* 16 px сохраняют читаемость и предотвращают зум поля в iOS. */
        font-size: 1rem;
    }

    .content-section .form-select {
        /* 16 px сохраняют читаемость и предотвращают зум поля в iOS. */
        font-size: 1rem;
    }

    #login-modal .form-control {
        /* 16 px сохраняют читаемость и предотвращают зум поля в iOS. */
        font-size: 1rem;
    }

    .attachment-input > .form-control {
        flex: 0 0 100%;
        width: 100%;
        margin-left: 0 !important;
        border-radius: 0;
    }

    .attachment-input > .input-group-text {
        flex: 0 0 100%;
        width: 100%;
        margin-left: 0 !important;
        border-radius: 0;
    }

    .registration-check {
        flex-basis: 100%;
        margin-top: 0.5rem;
        margin-left: 0 !important;
    }

    .registration-check > input {
        width: 100%;
    }

    .profile-detail-row {
        flex-direction: column !important;
        gap: 0.5rem;
    }

    .profile-detail-row > .w-25 {
        width: 100% !important;
    }

    .profile-detail-row > .w-50 {
        width: 100% !important;
    }

    .profile-detail-row > .w-75 {
        width: 100% !important;
    }

    .news-tags {
        width: 100%;
    }

    .comment-card > .text-center img {
        width: 64px;
        height: 64px;
        object-fit: cover;
    }

    .content-section .xfields {
        display: block;
        width: 100% !important;
        max-width: 100%;
    }

    .content-section .xfields tbody {
        display: block;
        width: 100% !important;
        max-width: 100%;
    }

    .content-section .xfields tr {
        display: block;
        width: 100% !important;
        max-width: 100%;
    }

    .content-section .xfields td {
        display: block;
        width: 100% !important;
        max-width: 100%;
    }

    .content-section .xfields td {
        padding-bottom: 0.5rem;
    }

    .ui-dialog {
        top: 0.5rem !important;
        right: 0.5rem;
        left: 0.5rem !important;
        width: auto !important;
        max-width: calc(100vw - 1rem);
        max-height: calc(100vh - 1rem);
        overflow-y: auto;
    }

    footer {
        padding-top: 2rem;
    }

    footer .footer-widgets {
        min-height: 0;
        padding-bottom: 120px;
        background-size: auto 100px;
    }

    footer h2 {
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }

    footer .last-line {
        padding: 1rem 0;
    }
}
/* ========================================================================
   Onnimax: адаптивное оформление собственных компонентов шаблона.
   Верхние границы размеров текста сохраняют оформление исходного шаблона.
   ======================================================================== */
:root {
    --onnimax-header-height: 108px;
}
/* Плавное изменение шрифта без фиксирования размера корневого элемента. */
body {
    font-size: clamp(0.9375rem, 0.9rem + 0.15vw, 1rem);
}
h1 {
    font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem);
}
h2 {
    font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.5rem);
}
h3 {
    font-size: clamp(1.125rem, 1rem + 0.5vw, 1.45rem);
}
h4 {
    font-size: clamp(1.0625rem, 0.95rem + 0.4vw, 1.25rem);
}
h5 {
    font-size: clamp(1rem, 0.94rem + 0.3vw, 1.15rem);
}
.h5 {
    font-size: clamp(1rem, 0.94rem + 0.3vw, 1.15rem);
}
h6 {
    font-size: clamp(0.9375rem, 0.9rem + 0.2vw, 1rem);
}
/* Читаемый текст и перенос длинных ссылок; редактор DLE имеет собственные правила. */
.presentation-box p {
    font-size: clamp(0.9375rem, 0.9rem + 0.15vw, 1rem);
}
.services-content li {
    font-size: clamp(0.9375rem, 0.9rem + 0.15vw, 1rem);
}
.services-content p {
    font-size: clamp(0.9375rem, 0.9rem + 0.15vw, 1rem);
}
.reviews-box p {
    font-size: clamp(0.9375rem, 0.9rem + 0.15vw, 1rem);
}
footer p {
    font-size: clamp(0.9375rem, 0.9rem + 0.15vw, 1rem);
}
footer .footer-widgets .widgets .info-widget a {
    font-size: clamp(0.9375rem, 0.9rem + 0.15vw, 1rem);
}
.row > * {
    min-width: 0;
}
.swiper {
    min-width: 0;
}
.swiper-wrapper {
    min-width: 0;
}
input[type="file"] {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}
.xfields input {
    min-width: 0;
    max-width: 100%;
}
.page-copy pre {
    overflow-x: auto;
}
.page-copy .table-responsive table {
    display: table;
}
/* Переход к содержимому доступен с клавиатуры и не занимает места в шапке. */
.skip-link:focus {
    position: fixed;
    z-index: 1100;
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.75rem;
    color: #12338a;
    background: #fff;
}
:focus-visible {
    outline: 2px solid #e4ab47;
    outline-offset: 3px;
}
#main-content {
    scroll-margin-top: var(--onnimax-header-height);
}
/* Высота закреплённой шапки измеряется в обычном состоянии.
   При прокрутке меняются только классы: содержимое страницы не прыгает. */
@media (min-width: 1200px) {
    .head-section {
        padding-top: calc(var(--onnimax-header-height) + 3rem);
    }
    .content-title-section {
        padding-top: calc(var(--onnimax-header-height) + 3rem);
    }
    .site-header.active #imglogo {
        height: 30px;
    }
    .navbar-nav > li > a {
        padding-inline: 0.65rem;
    }
}
#imglogo {
    transition: height 0.2s ease;
}
.header-account .dropdown-menu {
    max-width: calc(100vw - 1.5rem);
}
.header-account .dropdown-item {
    white-space: normal;
}
.site-header .navbar-toggler-icon {
    opacity: 1;
}
/* Поля и плавающие подписи сохраняют классы Bootstrap.
   Для полей, создаваемых сервером DLE, ограничиваем только ширину. */
.content-section select {
    max-width: 100%;
}
.form-floating > label {
    max-width: calc(100% - 1rem);
}
.registration-check {
    display: flex;
}
.registration-check > input {
    border-radius: 0;
}
.registration-page .input-group {
    align-items: stretch;
}
.modal-title {
    margin: 0;
}
.modal-content {
    overflow-wrap: anywhere;
}
.modal-footer {
    gap: 0.25rem;
}
/* Swiper отвечает за ширину и перемещение, собственные правила — за оформление. */
.review-slide {
    height: auto;
    overflow-wrap: anywhere;
}
.review-slide figure {
    margin-bottom: 0;
}
.review-slide .blockquote {
    font-style: italic;
    border-left: 2px solid #1a46ba;
    padding-left: 1rem;
}
.review-slide .blockquote > :last-child {
    margin-bottom: 0;
}
.review-slide .blockquote-footer {
    margin-top: 1rem;
}
.partners-slider .swiper-wrapper {
    align-items: center;
}
.partner-slide {
    height: auto;
    padding: 1rem clamp(0.25rem, 3vw, 3rem);
}
.partner-slide > a {
    display: flex;
    align-items: center;
    justify-content: center;
}
.partners-slider img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 300 / 250;
    object-fit: contain;
}
/* Кнопки слайдеров доступны мышью, касанием и клавиатурой. */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    margin-top: 0.5rem;
}
.carousel-controls[hidden] {
    display: none;
}
.carousel-controls button {
    display: grid;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: 0;
    color: #12338a;
    background: transparent;
    font-size: 1.7rem;
    line-height: 1;
}
.carousel-controls [data-slide-pause] {
    font-size: 0.95rem;
}
.carousel-controls button:hover {
    color: #936015;
}
.carousel-controls [aria-pressed="true"] {
    color: #936015;
}
.carousel-controls button:disabled {
    opacity: 0.4;
    cursor: default;
}
/* До запуска Swiper все отзывы и логотипы остаются читаемыми. */
.swiper:not(.swiper-initialized) {
    overflow: visible;
}
.swiper:not(.swiper-initialized) > .swiper-wrapper {
    display: block;
}
.review-slider:not(.swiper-initialized) .review-slide + .review-slide {
    margin-top: 2rem;
}
.partners-slider:not(.swiper-initialized) > .swiper-wrapper {
    display: flex;
    flex-wrap: wrap;
}
.partners-slider:not(.swiper-initialized) .partner-slide {
    flex: 0 0 50%;
}
@media (min-width: 768px) {
    .partners-slider:not(.swiper-initialized) .partner-slide {
        flex-basis: 33.333333%;
    }
}
@media (min-width: 992px) {
    .partners-slider:not(.swiper-initialized) .partner-slide {
        flex-basis: 25%;
    }
}
/* Карточки сотрудников: фото спереди, контакты сзади, привычные имена колонок. */
.mainflip {
    position: relative;
    display: grid;
    perspective: 1000px;
}
.frontside {
    grid-area: 1 / 1;
    backface-visibility: hidden;
    transition: transform 0.6s;
    box-shadow: 0 2px 5px 2px #9e9e9e80;
}
.backside {
    grid-area: 1 / 1;
    backface-visibility: hidden;
    transition: transform 0.6s;
    box-shadow: 0 2px 5px 2px #9e9e9e80;
}
.frontside {
    transform: rotateY(0);
}
.backside {
    position: relative;
    transform: rotateY(-180deg);
    visibility: hidden;
}
.image-flip.is-flipped .frontside {
    transform: rotateY(180deg);
    visibility: hidden;
}
.image-flip.is-flipped .backside {
    transform: rotateY(0);
    visibility: visible;
}
#team .card {
    min-height: 280px;
    height: 100%;
    border: 0;
    background: #f0f1f3cc;
}
#team .card-title {
    color: #12338a;
}
.team-photo {
    display: inline-block;
    margin-bottom: 0.5rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
}
.team-photo img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
}
.team-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 1;
}
.backside .card a {
    font-size: 18px;
    color: #1a46ba;
}
.backside .card a:hover {
    color: #e4ab47;
}
/* Если JavaScript отключён, контакты сотрудников и мобильное меню не теряются. */
html:not(.js-ready) .backside {
    position: static;
    transform: none;
    visibility: visible;
    margin-top: 1rem;
    grid-area: auto;
}
html:not(.js-ready) .team-close {
    display: none;
}
html:not(.js-ready) .navbar-collapse.collapse {
    display: block;
}
html:not(.js-ready) .navbar-toggler {
    display: none;
}
html:not(.js-ready) .navbar-nav .dropdown-menu {
    display: block;
    position: static;
}
/* Телефон: зоны касания, перенос полей и безопасные границы модального окна. */
@media (max-width: 767.98px) {
    .modal-dialog {
        margin: 0.5rem;
    }
    .modal-footer > * {
        max-width: 100%;
        white-space: normal;
    }
    .registration-page .input-group > .form-control {
        min-width: 0;
    }
    .form-floating > label {
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .content-section .btn {
        white-space: normal;
    }
    .header-account .dropdown-menu {
        min-width: min(18rem, calc(100vw - 1.5rem));
    }
}
/* Пользователь может отключить анимацию в настройках устройства. */
@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        transition-duration: 0s !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
    *::before {
        scroll-behavior: auto !important;
        transition-duration: 0s !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0s !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
/* Печатная версия обычной страницы: навигация и кнопки не занимают место. */
@media print {
    .site-header {
        display: none !important;
    }
    footer {
        display: none !important;
    }
    .carousel-controls {
        display: none !important;
    }
    .skip-link {
        display: none !important;
    }
    .modal-backdrop {
        display: none !important;
    }
    .noprint {
        display: none !important;
    }
    .head-section {
        padding-top: 1rem;
        background-attachment: scroll;
    }
    .content-title-section {
        padding-top: 1rem;
        background-attachment: scroll;
    }
    .page-copy {
        background: #fff;
    }
    .content-section {
        background: #fff;
    }
}
/* Совместимость старых имён иконок, используемых формами исходного шаблона. */
.ar-add-key-b::before {
    content: "\e908";
}
.ar-error-w::before {
    content: "\e952";
}
.ar-key-b::before {
    content: "\e906";
}
.ar-key-w::before {
    content: "\e905";
}
.ar-mail-at-w::before {
    content: "\e984";
}
.ar-rss-b::before {
    content: "\e957";
}
.ar-user-add-w::before {
    content: "\e926";
}
.ar-user-b::before {
    content: "\e923";
}
.ar-user-update-w::before {
    content: "\e92a";
}
/* Базовый и средний размер значков. */
.ar-1x {
    font-size: 1em;
}
.ar-md {
    font-size: 1em;
}
/* Специальные страницы: отключённый сайт и печатная версия. */
/* offline.tpl: исходное оформление, ограниченное своей страницей. */
.template-offline {
    min-height: 100%;
    position: relative;
}
.template-offline {
    -webkit-font-smoothing: antialiased;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
}
.template-offline a {
    -webkit-font-smoothing: antialiased;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
}
.template-offline {
    margin-bottom: 40px;
}
.template-offline {
    font:
        15px/1.5 Arial,
        Helvetica,
        sans-serif;
    color: #555555;
    outline: none;
}
.template-offline select {
    font:
        15px/1.5 Arial,
        Helvetica,
        sans-serif;
    color: #555555;
    outline: none;
}
.template-offline input {
    font:
        15px/1.5 Arial,
        Helvetica,
        sans-serif;
    color: #555555;
    outline: none;
}
.template-offline textarea {
    font:
        15px/1.5 Arial,
        Helvetica,
        sans-serif;
    color: #555555;
    outline: none;
}
.template-offline button {
    font:
        15px/1.5 Arial,
        Helvetica,
        sans-serif;
    color: #555555;
    outline: none;
}
.template-offline a {
    outline: none;
    color: #3394e6;
    text-decoration: none;
}
.template-offline a:hover {
    text-decoration: underline;
}
.template-offline a img {
    border: 0 none;
}
.template-offline a > img {
    vertical-align: bottom;
}
.template-offline {
    background-color: #f0f1f3;
}
.template-offline .offpage {
    max-width: 500px;
    padding: 4%;
    margin: 8% auto 0 auto;
    padding-bottom: 25px;
}
.template-offline .logo {
    text-align: center;
}
.template-offline .logo > img {
    width: 100%;
    max-width: 250px;
    height: auto;
    vertical-align: top;
}
.template-offline .wrap {
    text-align: center;
}
.template-offline .wrap > .title {
    font-size: clamp(1.25rem, 4vw, 1.75rem);
    overflow-wrap: anywhere;
    display: block;
    margin: 4% 0 5% 0;
}
.template-offline .copyright {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    min-height: 20px;
    line-height: 20px;
    text-align: center;
    font-size: 0.9rem;
    background-color: #12338a;
    color: #f0f1f3;
    border-top: 3px solid #e4ab47;
}
.template-offline .copyright:hover {
    opacity: 1;
}
/* print.tpl: исходное оформление, ограниченное своей страницей. */
.template-print {
    font-size: 16px;
    font-family: Georgia, "Times New Roman", Arial, sans-serif;
    background-color: #fff;
    color: #000;
}
.template-print h1 {
    margin: 2em 0 0.6em 0;
    letter-spacing: -0.01em;
    line-height: normal;
    font-weight: bold;
    text-rendering: optimizeLegibility;
}
.template-print h2 {
    margin: 2em 0 0.6em 0;
    letter-spacing: -0.01em;
    line-height: normal;
    font-weight: bold;
    text-rendering: optimizeLegibility;
}
.template-print h3 {
    margin: 2em 0 0.6em 0;
    letter-spacing: -0.01em;
    line-height: normal;
    font-weight: bold;
    text-rendering: optimizeLegibility;
}
.template-print h4 {
    margin: 2em 0 0.6em 0;
    letter-spacing: -0.01em;
    line-height: normal;
    font-weight: bold;
    text-rendering: optimizeLegibility;
}
.template-print h5 {
    margin: 2em 0 0.6em 0;
    letter-spacing: -0.01em;
    line-height: normal;
    font-weight: bold;
    text-rendering: optimizeLegibility;
}
.template-print h1 {
    font-size: 24px;
}
.template-print h2 {
    font-size: 22px;
}
.template-print h3 {
    font-size: 20px;
}
.template-print h4 {
    font-size: 18px;
}
.template-print h5 {
    font-size: 16px;
}
.template-print img {
    border: 0;
}
.template-print .btn-button {
    margin: 10px;
}
.template-print .btn {
    font-family: Arial;
    color: #ffffff;
    font-size: 18px;
    background: #3498db;
    padding: 10px 20px 10px 20px;
    text-decoration: none;
    border: 0px;
    cursor: pointer;
}
.template-print .btn:hover {
    background: #3cb0fd;
    text-decoration: none;
}
.template-print .top {
    margin-bottom: 10px;
}
.template-print div.wrap {
    width: 100%;
    height: 100px;
    position: relative;
}
.template-print .wrap img {
    position: absolute;
    top: 0;
    display: block;
}
.template-print .wrap img:nth-of-type(1) {
    left: 0;
}
.template-print .wrap img:nth-of-type(2) {
    right: 0;
}
.template-print .meta {
    color: #555555;
    text-align: right;
}
@media print {
    .template-print {
        font-family: Times, "Times New Roman", serif;
        width: 100%;
        height: auto;
        padding: 0;
    }
    .template-print * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    .template-print *:before {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    .template-print *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    .template-print *:first-letter {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    .template-print p:first-line {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    .template-print div:first-line {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    .template-print blockquote:first-line {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    .template-print li:first-line {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    .template-print .noprint {
        display: none;
    }
    .template-print img {
        display: none;
    }
}
/* static_print.tpl: исходное оформление, ограниченное своей страницей. */
.template-static_print {
    font-size: 16px;
    font-family: Georgia, "Times New Roman", Arial, sans-serif;
    background-color: #fff;
    color: #000;
}
.template-static_print h1 {
    margin: 2em 0 0.6em 0;
    letter-spacing: -0.01em;
    line-height: normal;
    font-weight: bold;
    text-rendering: optimizeLegibility;
}
.template-static_print h2 {
    margin: 2em 0 0.6em 0;
    letter-spacing: -0.01em;
    line-height: normal;
    font-weight: bold;
    text-rendering: optimizeLegibility;
}
.template-static_print h3 {
    margin: 2em 0 0.6em 0;
    letter-spacing: -0.01em;
    line-height: normal;
    font-weight: bold;
    text-rendering: optimizeLegibility;
}
.template-static_print h4 {
    margin: 2em 0 0.6em 0;
    letter-spacing: -0.01em;
    line-height: normal;
    font-weight: bold;
    text-rendering: optimizeLegibility;
}
.template-static_print h5 {
    margin: 2em 0 0.6em 0;
    letter-spacing: -0.01em;
    line-height: normal;
    font-weight: bold;
    text-rendering: optimizeLegibility;
}
.template-static_print h1 {
    font-size: 24px;
}
.template-static_print h2 {
    font-size: 22px;
}
.template-static_print h3 {
    font-size: 20px;
}
.template-static_print h4 {
    font-size: 18px;
}
.template-static_print h5 {
    font-size: 16px;
}
.template-static_print img {
    border: 0;
}
.template-static_print .btn-button {
    margin: 10px;
}
.template-static_print .btn {
    font-family: Arial;
    color: #ffffff;
    font-size: 18px;
    background: #3498db;
    padding: 10px 20px 10px 20px;
    text-decoration: none;
    border: 0px;
    cursor: pointer;
}
.template-static_print .btn:hover {
    background: #3cb0fd;
    text-decoration: none;
}
.template-static_print .top {
    margin-bottom: 10px;
}
.template-static_print div.wrap {
    width: 100%;
    height: 100px;
    position: relative;
}
.template-static_print .wrap img {
    position: absolute;
    top: 0;
    display: block;
}
.template-static_print .wrap img:nth-of-type(1) {
    left: 0;
}
.template-static_print .wrap img:nth-of-type(2) {
    right: 0;
}
.template-static_print .meta {
    color: #555555;
    text-align: right;
}
@media print {
    .template-static_print {
        font-family: Times, "Times New Roman", serif;
        width: 100%;
        height: auto;
        padding: 0;
    }
    .template-static_print * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    .template-static_print *:before {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    .template-static_print *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    .template-static_print *:first-letter {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    .template-static_print p:first-line {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    .template-static_print div:first-line {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    .template-static_print blockquote:first-line {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    .template-static_print li:first-line {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    .template-static_print .noprint {
        display: none;
    }
    .template-static_print img {
        display: none;
    }
}
/* На экране печатная страница тоже помещается на телефоне. */
.template-print {
    margin: clamp(1rem, 3vw, 3rem);
}
.template-static_print {
    margin: clamp(1rem, 3vw, 3rem);
}
.template-print .text {
    font-size: clamp(1rem, 0.9rem + 0.5vw, 1.3rem);
    overflow-wrap: anywhere;
}
.template-static_print .text {
    font-size: clamp(1rem, 0.9rem + 0.5vw, 1.3rem);
    overflow-wrap: anywhere;
}
@media print {
    .template-print {
        margin: 0;
    }
    .template-static_print {
        margin: 0;
    }
}
