﻿@media (max-width: 575.98px) {
    .h-xs-lw {
        height: 432px;
    }
    .h-xs-sm {
        height: 576px;
    }
    .h-xs-md {
        height: 720px;
    }
    .h-xs-lg {
        height: 960px;
    }

    .w-xs-100 {
        width: 100% !important;
    }
    .w-xs-75 {
        width: 75% !important;
    }

    .mw-xs-100 {
        max-width: 100% !important;
    }
    .mw-xs-75 {
        max-width: 75% !important;
    }
    .mw-xs-50 {
        max-width: 50% !important;
    }
    .mw-xs-25 {
        max-width: 25% !important;
    }

    .mb-xs-2 {
        margin-bottom: 0.5rem !important;
    }

    .flex-basis-xs-100 {
        flex-basis: 100%;
    }
    .flex-basis-xs-75 {
        flex-basis: 75%;
    }
    .flex-basis-xs-50 {
        flex-basis: 50%;
    }
    .flex-basis-xs-25 {
        flex-basis: 25%;
    }
}
@media (min-width: 576px) and (max-width: 767.98px) {
    
    .h-sm-lw {
        height: 432px;
    }
    .h-sm-sm {
        height: 576px;
    }
    .h-sm-md {
        height: 720px;
    }
    .h-sm-lg {
        height: 960px;
    }

    .w-sm-100 {
        width: 100% !important;
    }
    .w-sm-75 {
        width: 75% !important;
    }
    .w-sm-50 {
        width: 75% !important;
    }

    .mw-sm-100 {
        max-width: 100% !important;
    }
    .mw-sm-75 {
        max-width: 75% !important;
    }
    .mw-sm-50 {
        max-width: 50% !important;
    }
    .mw-sm-25 {
        max-width: 25% !important;
    }

    .flex-basis-sm-100 {
        flex-basis: 100%;
    }
    .flex-basis-sm-75 {
        flex-basis: 75%;
    }
    .flex-basis-sm-50 {
        flex-basis: 50%;
    }
    .flex-basis-sm-25 {
        flex-basis: 25%;
    }

    .text-right-sm {
        text-align: right;
    }
    .text-left-sm {
        text-align: left;
    }
}
@media (max-width: 767.98px) {
    .max-mx-md-auto {
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .max-pl-md-0 {
        padding-left: 0 !important;
    }
    .table-wrap-1 {
        border: 0;
    }
    .table-wrap-1 colgroup {
        display: none;
    }
    .table-wrap-1 thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }
    .table-wrap-1 tr {
        /*border-bottom: 1px solid #ddd;*/
        display: block;
    }
    .table-wrap-1 tr:not(:last-child) {
        margin-bottom: 30px;
    }
    .table-wrap-1 td {
        display: block;
        text-align: right;
    }
    .table-wrap-1 td::before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
    }
    .table-wrap-1 td:last-child {
        /*border-bottom: 0;*/
        border-bottom-color: #e8e9eb;
    }

    .table-wrap-2 thead {
        left: -9999px;
        position: absolute;
        visibility: hidden;
    }
    .table-wrap-2 tr {
        border-bottom: 0;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        margin-bottom: 40px;
    }
    .table-wrap-2 td {
        border: 1px solid;
        margin: 0 -1px -1px 0;
        padding-top: 35px;
        position: relative;
        width: 50%;
    }
    .table-wrap-2 td span {
        display: block;
    }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .h-md-lw {
        height: 432px;
    }
    .h-md-sm {
        height: 576px;
    }
    .h-md-md {
        height: 720px;
    }
    .h-md-lg {
        height: 960px;
    }

    .w-md-100 {
        width: 100% !important;
    }
    .w-md-75 {
        width: 75% !important;
    }
    .w-md-50 {
        width: 50% !important;
    }
    .mw-md-lg {
        max-width: 800px;
    }
    .mw-md-100 {
        max-width: 100% !important;
    }
    .mw-md-75 {
        max-width: 75% !important;
    }
    .mw-md-50 {
        max-width: 50% !important;
    }
    .mw-md-25 {
        max-width: 25% !important;
    }

    .flex-basis-md-100 {
        flex-basis: 100%;
    }
    .flex-basis-md-75 {
        flex-basis: 75%;
    }
    .flex-basis-md-50 {
        flex-basis: 50%;
    }
    .flex-basis-md-25 {
        flex-basis: 25%;
    }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    .h-lg-lw {
        height: 432px;
    }
    .h-lg-sm {
        height: 576px;
    }
    .h-lg-md {
        height: 720px;
    }
    .h-lg-lg {
        height: 960px;
    }

    .w-lg-100 {
        width: 100% !important;
    }

    .w-lg-75 {
        width: 75% !important;
    }

    .w-lg-50 {
        width: 50% !important;
    }
    .mw-lg-100 {
        max-width: 100% !important;
    }
    .mw-lg-75 {
        max-width: 75% !important;
    }
    .mw-lg-50 {
        max-width: 50% !important;
    }
    .mw-lg-25 {
        max-width: 25% !important;
    }

    .flex-basis-lg-100 {
        flex-basis: 100%;
    }
    .flex-basis-lg-75 {
        flex-basis: 75%;
    }
    .flex-basis-lg-50 {
        flex-basis: 50%;
    }
    .flex-basis-lg-25 {
        flex-basis: 25%;
    }

    .text-right-lg {
        text-align: right;
    }

    .text-left-lg {
        text-align: left;
    }
}
@media (min-width: 1200px) {
    .h-xl-lw {
        height: 432px;
    }
    .h-xl-sm {
        height: 576px;
    }
    .h-xl-md {
        height: 720px;
    }
    .h-xl-lg {
        height: 960px;
    }

    .w-xl-100 {
        width: 100% !important;
    }

    .w-xl-75 {
        width: 75% !important;
    }
    .w-xl-50 {
        width: 50% !important;
    }

    .mw-xl-100 {
        max-width: 100% !important;
    }
    .mw-xl-75 {
        max-width: 75% !important;
    }
    .mw-xl-50 {
        max-width: 50% !important;
    }
    .mw-xl-25 {
        max-width: 25% !important;
    }

    .flex-basis-xl-100 {
        flex-basis: 100%;
    }
    .flex-basis-xl-75 {
        flex-basis: 75%;
    }
    .flex-basis-xl-50 {
        flex-basis: 50%;
    }
    .flex-basis-xl-25 {
        flex-basis: 25%;
    }

    .text-right-xl {
        text-align: right;
    }

    .text-left-xl {
        text-align: left;
    }
}
@media (min-width: 1400px) {
    .container, .container-sm, .container-md, .container-lg, .container-xl {
        max-width: 1320px;
    }
    .w-xxl-75 {
        width: 75% !important;
    }
    .ml-xxl-auto, .mx-xxl-auto {
        margin-left: auto !important;
    }
    .mr-xxl-auto, .mx-xxl-auto {
        margin-right: auto !important;
    }
}
.default {
    border: 0;
    bottom: initial;
    box-sizing: initial;
    text-align: left;
    font: inherit;
    font-size: 100%;
    left: initial;
    line-height: initial;
    margin: 0;
    padding: 0;
    top: initial;
    right: initial;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.d-inherit {
    display: inherit !important;
}
.d-none-empty:empty {
    display: none;
}

.h-inherit {
    height: inherit;
}

.h-lw {
    height: 432px;
}
.h-sm {
    height: 576px;
}
.h-md {
    height: 720px;
}
.h-lg {
    height: 960px;
}

.mh-lw {
    max-height: 432px;
}
.mh-sm {
    max-height: 576px;
}
.mh-md {
    max-height: 720px;
}
.mh-lg {
    max-height: 960px;
}

.mih-lw {
    min-height: 432px;
}
.mih-sm {
    min-height: 576px;
}
.mih-md {
    min-height: 720px;
}
.mih-lg {
    min-height: 960px;
}


.h-5h {
    height: 576px !important;
}
.h-100vh {
    height: 100vh;
}
.w-100vw {
    width: 100vw;
}

.mw-100 {
    max-width: 100% !important;
}
.mw-75 {
    max-width: 75% !important;
}
.mw-50 {
    max-width: 50% !important;
}
.mw-25 {
    max-width: 25% !important;
}

.miw-100 {
    min-width: 100% !important;
}
.miw-75 {
    min-width: 75% !important;
}
.miw-50 {
    min-width: 50% !important;
}
.miw-25 {
    min-width: 25% !important;
}

.w-35 {
    width: 35% !important;
}

.mt-reverse-1 {
    margin-top: -0.25rem !important;
}

.pl-0, .px-0 {
    padding-left: 0 !important;
}
.pr-0, .px-0 {
    padding-right: 0 !important;
}

.t-0 {
    top: 0 !important;
}
.b-0 {
    bottom: 0 !important;
}
.l-0 {
    left: 0 !important;
}
.r-0 {
    right: 0 !important;
}

.alignment-middle {
    top: 50% !important;
    left: 50%;
    transform: translate(-50%, -50%);
}
.pos-absolute-r {
    position: absolute;
    right: 1em;
    top: .5em;
}
.pos-absolute-l {
    position: absolute;
    left: 1em;
    top: .5em;
}

.flex-1 {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}
.flex-auto {
    flex: auto;
}
.flex-basis-auto {
    flex-basis:auto;
}
.flex-basis-100 {
    flex-basis: 100%;
}
.flex-basis-75 {
    flex-basis: 75%;
}
.flex-basis-50 {
    flex-basis: 50%;
}
.flex-basis-25 {
    flex-basis: 25%;
}
.flex-basis-0 {
    flex-basis: 0;
}

.flex-0-0-auto {
    flex: 0 0 auto;
}
.flex-1-0-auto {
    flex: 1 0 auto;
}
.flex-0-1-auto {
    flex: 0 1 auto;
}
.flex-1-1-auto {
    flex: 1 1 auto;
}

.flex-0-0-100 {
    flex: 0 0 100%;
}
.flex-1-0-100 {
    flex: 1 0 100%;
}
.flex-0-1-100 {
    flex: 0 1 100%;
}
.flex-1-1-100 {
    flex: 1 1 100%;
}

.flex-0-0-75 {
    flex: 0 0 75%;
}
.flex-1-0-75 {
    flex: 1 0 75%;
}
.flex-0-1-75 {
    flex: 0 1 75%;
}
.flex-1-1-75 {
    flex: 1 1 75%;
}

.flex-0-0-50 {
    flex: 0 0 50%;
}
.flex-1-0-50 {
    flex: 1 0 50%;
}
.flex-0-1-50 {
    flex: 0 1 50%;
}
.flex-1-1-50 {
    flex: 1 1 50%;
}

.flex-0-0-25 {
    flex: 0 0 25%;
}
.flex-1-0-25 {
    flex: 1 0 25%;
}
.flex-0-1-25 {
    flex: 0 1 25%;
}
.flex-1-1-25 {
    flex: 1 1 25%;
}

.after-center::after, .after-before-center::after {
    top: 0rem;
    bottom: 0rem;
    margin: auto;
}
.before-center::before, .after-before-center::before {
    top: 0rem;
    bottom: 0rem;
    margin: auto;
}
.after-none:after, .before-none:before {
    content: none;
}

.required::after {
    content: "*";
    color: #dc3545;
}

.is-empty-hide:empty {
    display: none !important;
}

.ff-redacted {
    font-family: Redacted;
}
.ff-redacted-script {
    font-family: RedactedScript;
}
.fs-xxl {
    font-size: 1.75rem;
}
.fs-xl {
    font-size: 1.5rem;
}
.fs-lg {
    font-size: 1.25rem;
}
.fs-md {
    font-size: 1rem;
}
.fs-sm {
    font-size: 0.8rem;
}
.fs-xs {
    font-size: 0.6rem;
}

.fs-xxl-auto {
    font-size: calc(1.75rem + .8vw);
}
.fs-xl-auto {
    font-size: calc(1.5rem + .8vw);
}
.fs-lg-auto {
    font-size: calc(1.25rem + .8vw);
}
.fs-md-auto {
    font-size: calc(1rem + .8vw);
}
.fs-sm-auto {
    font-size: calc(0.8rem + .8vw);
}
.fs-xs-auto {
    font-size: calc(0.6rem + .8vw);
}

.lh-normal {
    line-height: normal !important;
}
.lh-xxl {
    line-height: 1.75em !important;
}
.lh-xl {
    line-height: 1.5em !important;
}
.lh-lg {
    line-height: 1.25em !important;
}
.lh-md {
    line-height: 1em !important;
}
.lh-sm {
    line-height: 0.8em !important;
}
.lh-xs {
    line-height: 0.6em !important;
}
.list-s-t-none {
    list-style-type: none;
}

.text-decoration-none {
    text-decoration: none !important;
}
.text-inherit {
    color: inherit !important;
}
.text-main {
    color: #2165e4 !important;
}
.text-gray {
    color: #6c757d !important;
}

.bg-none {
    background: none !important;
}
.bg-main {
    background-color: #1446a3 !important;
}
.bg-main-dark {
    background-color: #0c295f !important;
}
.bg-gradient-main {
    background-image: linear-gradient(15deg, #1446a3 0%, #0c295f 100%);
}

.bg-custom-2 {
    background-image: linear-gradient(15deg, #13547a 0%, #80d0c7 100%);
}

.bg-gradient-light {
    background: linear-gradient(to top, transparent, rgba(248,249,250,.5) 50%) !important;
}
.bg-light-8 {
    background-color: rgba(248, 249, 250, 0.8);
}
.bg-whitesmoke {
    background-color: #f5f5f5 !important;
}
.bg-light-gray {
    background-color: #e9ecef;
    border: 1px solid #ced4da;
}
.bg-gray94 {
    background-color: #f0f0f0 !important;
}
.bg-gray70 {
    background-color: #b3b3b3 !important;
}
.bg-gray75 {
    background-color: #bfbfbf !important;
}
.bg-gray80 {
    background-color: #cccccc !important;
}
.bg-gray85 {
    background-color: #d9d9d9 !important;
}
.bg-dark-blue {
    background-color: #1F537E !important;
}
.bg-dark-5 {
    background-color: rgba(52, 58, 64, 0.5);
}
.bg-alert-light {
    color: #6c757d !important;
    background-color: #e0e0e0 !important;
    border-color: #d6d8db !important;
}
.bg-alert-primary {
    color: #004085;
    background-color: #cce5ff;
    border-color: #b8daff;
}
.bg-alert-secondary {
    color: #383d41 !important;
    background-color: #e2e3e5 !important;
    border-color: #d6d8db !important;
}
.bg-alert-success {
    color: #155724 !important;
    background-color: #d4edda !important;
    border-color: #c3e6cb !important;
}
.bg-alert-danger {
    color: #721c24 !important;
    background-color: #f8d7da !important;
    border-color: #f5c6cb !important;
}
.bg-alert-warning {
    color: #856404 !important;
    background-color: #fff3cd !important;
    border-color: #ffeeba !important;
}

.border-gray70 {
    border-color: #b3b3b3;
}
.border-main {
    border-color: #0f2d66;
}
.border-transparent {
    border-color: transparent !important;
}
.border-br-radius-0, .border-bx-radius-0 {
    border-bottom-right-radius: 0;
}

.border-bl-radius-0, .border-bx-radius-0 {
    border-bottom-left-radius: 0;
}

.o-25 {
    opacity: 0.25;
}
.o-50 {
    opacity: 0.50;
}
.o-75 {
    opacity: 0.75;
}
.o-100 {
    opacity: 1;
}

.delay-hide-5 {
    opacity: 0;
    visibility: hidden;
    transition: opacity 5s, visibility 0s linear 5s;
}

.delay-hide-10 {
    opacity: 0;
    visibility: hidden;
    transition: opacity 10s, visibility 0s linear 10s;
}

.rotate-90 {
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}
.rotate-90-reverse {
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

.bg-table-light {
    background-color: transparent;
}
.bg-table-light thead tr {
    text-align: center;
    color: #ffffff;
    font-weight: bold;
    background-color: #343a40;
}
.bg-table-light thead tr th {
    border: 1px solid #e8e9eb;
}
.bg-table-light tbody tr td {
    color: #343a40;
    border: 1px solid #e8e9eb;
    padding: .5em;
}
.bg-table-light tbody tr:nth-child(2n) {
    background-color: #f4f4f4;
}

.bg-table-default {
    border-collapse: collapse;
    background-color: transparent;
}
.bg-table-default thead tr {
    text-align: center;
    color: #6c757d !important;
    font-weight: 400 !important;
}
.bg-table-default thead tr th {
    font-size: 0.8rem;
    font-weight: 400 !important;
}
.bg-table-default tbody tr:not(:last-child) {
    border-bottom: 1px solid #dee2e6 !important;
}
.bg-table-default tbody tr td {
    padding: .5rem 1rem !important;
}
.bg-table-default tbody tr:nth-child(2n) {
    background-color: #f4f4f4;
}

.table-success-middle {
    background-color: #a1e8bf !important;
}
.table-success-low {
    background-color: #cff3df !important;
}

.btn-outline-darkgray {
    color: #a9a9a9;
    border-color: #a9a9a9;
}
.btn-outline-darkgray:hover {
    color: #fff;
    background-color: #a9a9a9;
    border-color: #a9a9a9;
}
.btn-outline-darkgray:not(:disabled):not(.disabled).active,
.btn-outline-darkgray:not(:disabled):not(.disabled):active,
.show > .btn-outline-darkgray.dropdown-toggle {
    color: #fff;
    background-color: #a9a9a9;
    border-color: #a9a9a9;
}
.btn-outline-darkgray:not(:disabled):not(.disabled).active:focus,
.btn-outline-darkgray:not(:disabled):not(.disabled):active:focus,
.show > .btn-outline-darkgray.dropdown-toggle:focus {
    box-shadow: 0 0 0 .2rem rgba(108,117,125,.5);
}

.overflow-auto {
    overflow: auto !important;
}
.overflow-x-auto {
    overflow-x: auto !important;
}
.overflow-y-auto {
    overflow-y: auto !important;
}
.overflow-x-hidden {
    overflow-x: hidden !important;
}
.overflow-y-hidden {
    overflow-y: hidden !important;
}

.shadow-sm-top {
    box-shadow: 0 -.125rem .25rem rgba(0,0,0,.075) !important;
}
.shadow-top {
    box-shadow: 0 -.5rem 1rem rgba(0,0,0,.15) !important;
}
.shadow-lg-top {
    box-shadow: 0 -1rem 3rem rgba(0,0,0,.175) !important;
}

.cursor-help {
    cursor: help !important;
}
.cursor-wait {
    cursor: wait !important;
}
.cursor-crosshair {
    cursor: crosshair !important;
}
.cursor-text {
    cursor: text !important;
}
.cursor-default {
    cursor: default !important;
}
.cursor-pointer {
    cursor: pointer !important;
}

.pe-none {
    pointer-events: none !important;
}
.pe-auto {
    pointer-events: auto !important;
}

.us-none {
    -webkit-user-select: none !important;
    -khtml-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}
.text-decoration-none {
    text-decoration: none !important;
}
.appearance-none {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.appearance-normal {
    -webkit-appearance: normal;
    -moz-appearance: normal;
    appearance: normal;
}
.appearance-icon {
    -webkit-appearance: icon;
    -moz-appearance: icon;
    appearance: icon;
}
.appearance-window {
    -webkit-appearance: window;
    -moz-appearance: window;
    appearance: window;
}
.appearance-button {
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;
}
.appearance-menu {
    -webkit-appearance: menu;
    -moz-appearance: menu;
    appearance: menu;
}
.appearance-field {
    -webkit-appearance: field;
    -moz-appearance: field;
    appearance: field;
}

.z-index-1k {
    z-index: 1000 !important;
}
.z-index-2k {
    z-index: 2000 !important;
}
.z-index-1 {
    z-index: 1 !important;
}

/*pseudo-class*/
.pc-h-o-25:hover {
    opacity: 0.25;
}
.pc-h-o-50:hover {
    opacity: 0.50;
}
.pc-h-o-75:hover {
    opacity: 0.75;
}
.pc-h-o-100:hover {
    opacity: 1;
}

.pc-h-text-primary:hover {
    color: #007bff !important;
}
.pc-h-text-secondary:hover {
    color: #6c757d !important;
}
.pc-h-text-success:hover {
    color: #28a745 !important;
}
.pc-h-text-danger:hover {
    color: #dc3545 !important;
}
.pc-h-text-warning:hover {
    color: #ffc107 !important;
}
.pc-h-text-info:hover {
    color: #17a2b8 !important;
}
.pc-h-text-light:hover {
    color: #f8f9fa !important;
}
.pc-h-text-dark:hover {
    color: #343a40 !important;
}
.pc-h-text-body:hover {
    color: #212529 !important;
}
.pc-h-text-muted:hover {
    color: #6c757d !important;
}
.pc-h-text-white:hover {
    color: #fff !important;
}
.pc-h-text-black-50:hover {
    color: rgba(0,0,0,.5) !important;
}
.pc-h-text-white-50:hover {
    color: rgba(255,255,255,.5) !important;
}

.pc-h-bg-muted-gradient:hover {
    background: linear-gradient(to left, transparent, rgba(230, 230, 230, 0.4) 99%);
}


.offcollapse {
    position: absolute !important;
    top: 100% !important;
    /*left: 0 !important;
    right: auto !important;*/
    float: left !important;
    min-width: 10rem !important;
    padding: 0.5rem 0 !important;
    margin: 0.125rem 0 0 !important;
    font-size: 1rem !important;
    color: #212529 !important;
    text-align: left !important;
    list-style: none !important;
    background-color: #fff !important;
    background-clip: padding-box !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    border-radius: 0.25rem !important;
    z-index: 1000 !important;
}
.offcollapse .nav-link {
    display: block;
    width: 100%;
    padding: 0.25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #212529 !important;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}
.offcollapse .nav-link:hover, .offcollapse .nav-link:focus {
    color: #16181b !important;
    text-decoration: none;
    background-color: #f8f9fa;
}
.offcollapse .nav-link.active, .offcollapse .nav-link:active, .offcollapse .dropdown-item.active, .offcollapse .dropdown-item:active {
    color: #fff !important;
    text-decoration: none;
    background-color: #007bff;
}

.table-wrap-1 {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
}
.table-wrap-1 tr {
    background-color: #f8f8f8;
}
.table-wrap-1 th, .table-wrap-1 td {
    /*text-align: left;*/
    padding: 8px;
    border: 1px solid #ddd;
}

.table-wrap-2 td span {
    background: #eee;
    color: dimgrey;
    display: none;
    font-size: 10px;
    font-weight: bold;
    padding: 5px;
    position: absolute;
    text-transform: uppercase;
    top: 0;
    left: 0;
}

.modal-fullscreen {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0;
}
.modal-fullscreen .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
}

/*Спойлер*/
/*
.spoilers details > summary {
    position: relative;
    padding: .75rem 1.25rem;
    list-style-type: none;
    border-bottom: 1px solid rgba(0,0,0,.125);
    background-color: rgba(0,0,0,.03);
}
.spoilers details[open] > summary {
    color: #dc3545 !important;
}
*/




.spoilers details .spoiler-body {
    padding: 1.25rem;
}
.spoilers details {
    margin-bottom: 5px;
}
.spoilers details > summary {
    position: relative;
    font-size: 1.25rem;
    border: solid 1px #e5e5e5;
    border-radius: 4px;
    display: block;
    padding: 8px 15px;
    text-decoration: none !important;
    cursor: pointer;
}
.spoilers details > summary::after {
    content: "\25bc";
    position: absolute;
    right: 1em;
    top: 50% !important;
    transform: translate(-50%, -50%);
    font-size: 0.8em;
}
.spoilers details[open] > summary {
    border-bottom: solid 1px #e5e5e5;
    background: #f8f8f8;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}
.spoilers details[open] > summary::after {
    content: "\25b2";
}
.spoilers details[open] > .c_data * {
    animation: showBlock 0.3s linear forwards;
}
.spoilers details > summary:hover {
    background: #e5e5e5;
}
.spoilers details > .c_data {
    border: solid 1px #e5e5e5;
    border-top: none;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}
.spoilers .c_data {
padding: 5px;
padding-right: 10px;
padding-left: 10px;
}
.spoilers .c_data:empty:before {
    content: '...';
}
@keyframes showBlock {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/*Дерево*/
    .treeDropdownList ul {
        margin: 0;
        padding: 0;
        font-weight: 400;
        line-height: 1.5;
        list-style: none;
    }

    .treeDropdownList .treeData {
        margin: 0 0 0 .5em;
    }

    .treeDropdownList > ul > li:not(:only-child) {
        /*
        position: relative;
        padding: 5px 0 0 1.2em;
        */
    }

    .treeDropdownList li .treeData {
        margin-bottom: 1em;
        padding-left: 2.5em;
        padding-top: .5rem !important;
        padding-bottom: .5rem !important;
        font-size: 1rem;
        border-left: 1px solid #e5e5e5;
    }
    .treeDropdownList input[type="checkbox"] {
        display: none;
    }

    .treeDropdownList input[type="checkbox"] ~ label {
        display: block;
        position: relative;
        padding: 8px 15px;
        font-size: 1.25rem;
        border: solid 1px #e5e5e5;
        border-radius: 4px;
        cursor: pointer;
    }

    .treeDropdownList input[type="checkbox"] ~ label::before {
        content: "\25bc";
        position: absolute;
        right: 1em;
        top: 50% !important;
        transform: translate(-50%, -50%);
        font-size: 0.8em;
    }

    .treeDropdownList input[type="checkbox"]:checked ~ label::before {
        content: '\25b2';
    }

    .treeDropdownList input[type="checkbox"] ~ label:hover {
        background: #e5e5e5;
    }

    .treeDropdownList input[type="checkbox"] ~ .treeData {
        display: none;
    }

    .treeDropdownList input[type="checkbox"]:checked ~ .treeData {
        display: block;
    }

/*Галерея*/
    aside.gallery {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    aside.gallery .item {
        display: block;
        margin-right: .2em;
        margin-bottom: .6em;
        padding: 0.4em;
        width: 250px;
        height: 200px;
        box-sizing: border-box;
    }

    aside.gallery .thumbnail {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        padding: .5rem;
        height: inherit;
        width: 100%;
        border: 1px solid #e6eaf0;
        border-radius: 4px !important;
        transition: background 0.2s;
        cursor: pointer !important;
        text-decoration: none;
        color: #000 !important;
        background-color: transparent;
        overflow: hidden;
    }

    aside.gallery .thumbnail > img {
        width: 100%;
        height: 100%;
        border: none;
        object-fit: cover;
    }

/*Модальное окно*/
.modal_toggle {
    display: none;
    visibility: hidden;
}
.modal_toggle ~ label {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    cursor: pointer;
}
.modal_toggle ~ label > * {
    user-select: none;
}
.details_modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    overflow: hidden;
    z-index: 1001;
}
.modal_toggle:checked ~ .details_modal {
    display: block;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    overflow-x: hidden;
    overflow-y: auto;
}
.details_modal-dialog {
    min-width: 500px;
    margin: 1.75rem auto;
    padding: 0 5px;
    transition: -webkit-transform .3s ease-out;
    transition: transform .3s ease-out;
    transition: transform .3s ease-out,-webkit-transform .3s ease-out;
    webkit-transform: translate(0,-50px);
    transform: translate(0,-50px);
}
.modal_toggle:checked ~ .details_modal > .details_modal-dialog {
    -webkit-transform: none;
    transform: none;
}
.details_modal-content {
    position: relative;
    width: 100%;
    height: auto !important;
    padding-top: 25px;
    padding-bottom: 25px;
    padding-left: 10px;
    padding-right: 10px;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: .3rem;
    line-height: 1.2;
    background-color: #fff;
    background-clip: padding-box;
    box-shadow: 0 0 20px #00000050;
    outline: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.details_modal-body {
    position: static;
    height: inherit;
    width: inherit;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    line-height: inherit;
    color: inherit;
    line-height: normal;
    vertical-align: baseline;
    background: none;
    pointer-events: all;
    overflow: hidden;
}
.details_modal-body > * {
    height: 100%;
    width: 100%;
}
.details_modal-close {
    color: #000 !important;
    cursor: pointer;
    text-align: center;
    right: 15px;
    top: 6px;
    position: absolute;
    background-color: transparent;
    font-weight: 400;
    line-height: 12px;
    width: 12px;
    height: 12px;
    font-size: 30px;
    user-select: none;
    opacity: 0.6;
}
.details_modal-close:hover {
    opacity: 1;
}