:root {
    /*--dark-color: #00af00;*/
    --dark-color: #fff;
    --dark-green-color: #87ff87;
    --dark-border-color: rgba(0, 204, 66, 0.18);
    --dark-border-color-max: #006500;
}
.mark {
    display: inline-block;
    padding: 2px 5px;
    background-color: rgba(255, 255, 0, 0.65);
    border-radius: 10px;
}
#body-s {
    display: block;
    background-color: floralwhite;
}
.h-in-right {
    width: 100%;
    text-align: right;
}
body a.btn,
body button.btn {
    display: flex;
    flex-direction: row;
    align-self: normal;
    justify-content: center;
    align-items: center;
    padding: 8px 12px;
    font-size: 14px;
    color: #000000 !important;
    background: linear-gradient(314deg, #00ec26 2.32%, #a0d9ff 138.42%);
    border-radius: 4px;
    border: none;
    border-bottom: 2px solid #000000 !important;
    cursor: pointer;
    text-decoration: none;
}
body button.btn.btn-white {
    color: green!important;
    padding-left: 10px!important;
    padding-right: 10px!important;
    border: 1px solid green!important;
}
body button.btn.btn-white * {
    color: green;
}
body button.btn-border {
    display: flex;
    flex-direction: row;
    align-self: normal;
    justify-content: center;
    align-items: center;
    padding: 8px 12px;
    font-size: 14px;
    color: #000000;
    background: #ffffff;
    border-radius: 4px;
    border: 1px solid #078B3A;
    cursor: pointer;
}
body button.btn * {
    font-size: 14px;
}
body button.btn:hover {
    transform: scale(1.02);
    box-shadow: 2px 3px 5px rgba(7, 139, 58, 0.3);
}
body button.btn:focus {
    /*outline: 2px solid #078B3A;*/
}
body button.btn:active {
    transform: scale(0.98);
    box-shadow: inset 2px 3px 5px rgba(11, 51, 26, 0.71);
}
.site-pages *:not(.ace_editor, .ace_editor *) {
    /*font-size: 16px;*/
    /*font-weight: 400;*/
    /*color: #000000;*/
}
.action-btn {
    cursor: pointer;
}
.action-btn:hover,
.action-btn:focus {
    transform: scale(1.02);
}
#body-s .table-focus {
    z-index: 9999999!important;
}
#body-s .no-transition {
    transition: none!important;
}
.unselect,
.unselect * {
    -moz-user-select: none!important;
    -khtml-user-select: none!important;
    user-select: none!important;
}
.action-btn:active {
    transform: scale(0.98);
}
#body-s .gallery-item span {
    max-height: 22px;
}
#body-s .resizer {
    position: absolute;
    right: 0;
    bottom: 0;
    display: inline-block;
    width: 15px;
    height: 15px;
    background-color: #0DD2AC;
    cursor: all-scroll;
    z-index: 999999;
}

/*HEADER*/

.text-border-white {
    text-shadow:
            -0   -2px 0   #FFFFFF,
            0   -2px 0   #FFFFFF,
            -0    2px 0   #FFFFFF,
            0    2px 0   #FFFFFF,
            -2px -0   0   #FFFFFF,
            2px -0   0   #FFFFFF,
            -2px  0   0   #FFFFFF,
            2px  0   0   #FFFFFF,
            -1px -2px 0   #FFFFFF,
            1px -2px 0   #FFFFFF,
            -1px  2px 0   #FFFFFF,
            1px  2px 0   #FFFFFF,
            -2px -1px 0   #FFFFFF,
            2px -1px 0   #FFFFFF,
            -2px  1px 0   #FFFFFF,
            2px  1px 0   #FFFFFF,
            -2px -2px 0   #FFFFFF,
            2px -2px 0   #FFFFFF,
            -2px  2px 0   #FFFFFF,
            2px  2px 0   #FFFFFF,
            -2px -2px 0   #FFFFFF,
            2px -2px 0   #FFFFFF,
            -2px  2px 0   #FFFFFF,
            2px  2px 0   #FFFFFF;
}
.text-border-black {
    text-shadow:
            -0   -2px 0   #000000,
            0   -2px 0   #000000,
            -0    2px 0   #000000,
            0    2px 0   #000000,
            -2px -0   0   #000000,
            2px -0   0   #000000,
            -2px  0   0   #000000,
            2px  0   0   #000000,
            -1px -2px 0   #000000,
            1px -2px 0   #000000,
            -1px  2px 0   #000000,
            1px  2px 0   #000000,
            -2px -1px 0   #000000,
            2px -1px 0   #000000,
            -2px  1px 0   #000000,
            2px  1px 0   #000000,
            -2px -2px 0   #000000,
            2px -2px 0   #000000,
            -2px  2px 0   #000000,
            2px  2px 0   #000000,
            -2px -2px 0   #000000,
            2px -2px 0   #000000,
            -2px  2px 0   #000000,
            2px  2px 0   #000000;
}

.bottom-row-header {
    margin-bottom: 30px;
}
.up-row-header {
    margin-top: 30px;
    margin-bottom: 30px;
}
.find-field {
    margin: 0 15px;
    flex-grow: 2;
    padding: 5px 5px 5px 20px;
    border: 1px solid #4A55684D;
    border-radius: 5px;
}
.find-field input {
    flex-grow: 2;
    border: none;
    outline: none;
}
.fixator-editor {
    position: fixed!important;
    top: 10vh;
    left: 50%!important;
    max-width: 1200px;
    transform: translateX(-50%)!important;
    z-index: 9999999;
}
.fixator-editor .left-panel {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: -20px;
    left: 0;
    z-index: 10;
    width: 100%;
    background-color: gray;
    gap: 10px;
}
.fixator-editor .left-panel button {
    position: relative!important;
    right: unset;
    border-radius: 5px;
    transform: none;
}
.fixator-editor .left-panel button:active {
    transform: none;
}
.fragment-line .ace_editor {
    overflow: unset;
}
.json-td {
    text-align: center;
}
.json-td button {
    padding: 3px 7px 2px!important;
}
.pre {
    white-space: pre;
    font-family: monospace, monospace!important;
    padding: 0 10px;
}
p {
    box-sizing: border-box;
}
.pre * {
    font-family: monospace, monospace!important;
    box-sizing: border-box;
}
.pre input {
    display: inline-block;
    border: none!important;
    border-radius: 0!important;
    flex-grow: 2;
}
.inner-class.main-class.opened > .inner-class.inner-element input  {
    background-color: rgba(128, 128, 128, 0.07);
}
.inner-class {
    padding: 4px 2px 4px 10px;
    /*border: 1px solid #cbcbcb;*/
    margin: 3px 2px 3px 0;
    background-color: rgba(255, 255, 255, 0.25);
}
.inner-class.main-class {
    padding: 0 9px;
    overflow: hidden;
    max-height: 26px;
}
.inner-class.main-class.opened {
    max-height: 1000vh;
}
.inner-class.main-class .inner-class.main-class {
    /*background-color: rgb(213, 237, 255);*/
    margin-left: 10px!important;
}
.inner-class.main-class .inner-class.main-class > div:first-child {
    /*background-color: rgb(97, 185, 255);*/
}
.inner-class.main-class .inner-class.main-class .inner-class.main-class {
    /*background-color: rgb(238, 238, 238);*/
}
.inner-class.main-class .inner-class.main-class .inner-class.main-class > div {
    background: none;
}
.inner-class.main-class .inner-class.main-class .inner-class.main-class .inner-class.main-class {
    /*background-color: rgb(211, 211, 211);*/
}
/*.inner-class.main-class:hover {*/
/*    outline: 1px dashed rgba(0, 0, 0, 0.27);*/
/*}*/
.inner-class.main-class:hover .inner-class.main-class {
    box-shadow: none;
}
/*.inner-class.main-class:hover .inner-class.main-class:hover {*/
/*    outline: 1px dashed rgba(0, 0, 0, 0.27);*/
/*}*/
.inner-class.inner-element {
    margin-left: 25px!important;
}
.main-class > div:first-child {
    /*background-color: #fafa77db;*/
    padding: 0 8px;
    font-size: 20px;
    border-radius: 5px;
}
.inner-class.inner-element {
    border: none!important;
    display: flex;
    align-items: center;
    width: calc(100% - 10px);
    margin: 0;
    padding: 1px 0;
    overflow: hidden;
    background: none;
}
.json-win {
    min-width: 700px;
    min-height: 600px;
    height: 600px;
    width: 450px;
}
.json-win h4 b {
    transform: translateY(0)!important;
}
.input-div-field {
    padding: 4px 8px!important;
    background-color: #ffffff!important;
    color: #000000!important;
    border: 1px solid #000000!important;
}
.input-div-field.red-bg {
    background-color: #ff8c8c !important;
}
.inner-class.main-class.opened > .title-log {
    margin-bottom: 7px;
}
.inner-class.main-class.opened {
    position: relative;
    padding-bottom: 5px!important;
}
.inner-class.main-class.opened:before {
    content: '';
    position: absolute;
    display: inline-block;
    left: 8px;
    top: 10px;
    width: 1px;
    height: calc(100% - 13px);
    background-color: #999999;
}
.inner-class.main-class.opened:after {
    content: '';
    position: absolute;
    display: inline-block;
    left: 8px;
    bottom: 3px;
    width: calc(100% - 13px);
    height: 1px;
    background-color: #999999;
}
.inner-class .title-log {
    position: relative;
}
.inner-class.opened .title-log:before {
    content: '';
    position: absolute;
    display: inline-block;
    left: -1px;
    top: 10px;
    width: 5px;
    height: 1px;
    background-color: #999999;
}
.inner-class.main-class > .title-log:after {
    content: '▲';
    transition: 0.5s;
    opacity: 0.4;
    transform: translateY(4px) rotate(180deg);
    position: absolute;
    right: -12px;
    top: 0;
}
.inner-class.main-class.opened > .title-log:after {
    content: '▲';
    opacity: 1;
    transform: translateY(1px) rotate(0deg);
}
.json-win .content.pre {
    padding: 5px 10px 25px;
}

/*DARK THEME*/

body.dark,
body.dark * {
    background-color: #001006;
    color: var(--dark-color);
}

body.dark .swiper-slide a,
body.dark .flex.column.gap-5,
body.dark button *,
body.dark a *,
body.dark .flex.column.gap-5 * {
    background: none;
}
body.dark .find-field {
    border: 1px solid #006500;
}

body.dark .columns.column-left > div {
    background-color: #02240d;
    border: 1px solid #006500;
}
body.dark .columns.column-right {
    border: 1px solid #006500;
    background-color: #02240d;
}
body.dark .columns.column-right,
body.dark .columns.column-right *,
body.dark .columns.column-left * {
    background-color: #02240d;
}
body.dark .shops a.flex:before {
    border-top: 1px solid #003400;
    border-left: 1px solid #003400;
}
body.dark .shops a.flex:after {
    border-bottom: 1px solid #003400;
    border-right: 1px solid #003400;
}
body.dark .shops a.flex:hover:before {
    border-top: 1px solid #005B00FF;
    border-left: 1px solid #005B00FF;
}
body.dark .shops a.flex:hover:after {
    border-bottom: 1px solid #005B00FF;
    border-right: 1px solid #005B00FF;
}
body.dark .shops a,
body.dark .shops a * {
    color: var(--dark-color);
}
body.dark a.h2,
body.dark h2 *,
body.dark h2 {
    color: var(--dark-color);
}
body.dark .one-order .price,
body.dark .products-list li .text-info div.price {
    color: var(--dark-green-color);
}
body.dark .shops a:hover {
    background-color: rgba(0, 98, 36, 0.38);
}
body.dark .column-right h2.h2,
body.dark .one-order h2.h2 {
    color: var(--dark-color)!important;
}
body.dark img,
body.dark #banner {
    filter: brightness(80%);
}
body.dark .wrapper-link a {
    color: var(--dark-color);
}
body.dark .shop .text {
    color: var(--dark-color);
}
body.dark ul.rating li div {
    color: var(--dark-color);
}
body.dark .products-list li {
    color: var(--dark-color);
}
body.dark .products-list li {
    border: 1px solid var(--dark-border-color);
}
body.dark .products-list li img {
    border-bottom: 1px solid var(--dark-border-color);
}
body.dark .b-2 {
    border: 1px solid var(--dark-border-color-max);
}
h1.h1,
h1.h1 * {
    font-size: 1.5em!important;
    font-weight: bold;
}

@media screen and (max-width: 950px) {
    body .up-row-header button.btn {
        background: none!important;
    }
    body button.btn *,
    body button.btn {
        font-size: 16px;
    }
    body button.btn:hover,
    body button.btn:focus {
        transform: scale(1);
        box-shadow: none;
    }
    #body-s section {
        position: relative;
        /*margin-bottom: 1em;*/
    }
    #body-s section:before {
        content: '';
        display: inline-block;
        position: absolute;
        left: 10px;
        bottom: -1em;
        width: calc(100% - 20px);
        height: 1px;
        background-color: rgba(0, 0, 0, 0.37);
    }
}