body {
    overflow: hidden;
    font-family: 'Exo 2', sans-serif;
    background-color: #303641;
    font-weight: normal;
}

.prod .visoff {
    display: none;
}

.mobile body {
    /*position: fixed; только для мобильных*/
    /*размеры в ulogin только для мобильных*/
    position: fixed;
    width: 100vw;
    height: 100%; /*  100vh неправильно вычисляется в Android Hrome без учета 56px строка адреса*/
}

#mbody {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* все неправильные input с красным фоном*/
input:invalid {
    background-color: #ff7f7f;
}

/* класс запрещающий выделение текста*/
.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Chrome/Safari/Opera */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently not supported by any browser */
    cursor: default;
}

/* пробирка и текст в верхнем левом углу */
.flask-left {
    z-index: 910;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-user-select: none;
    -moz-user-select: -moz-none;
    -ms-user-select: none;
    user-select: none;
    font-family: 'SansSerif', Arial, sans-serif;
    color: #B2B2B2;
}

    .flask-left:hover {
        color: #F0F0F0;
        cursor: pointer;
    }

    .flask-left div:nth-child(1) {
        width: 50px;
        height: 50px;
        font-size: 26px;
        text-align: center;
        vertical-align: middle;
        display: table-cell;
    }

    .flask-left div:nth-child(2) {
        width: 50px;
        height: 50px;
        font-size: 7px;
        text-align: left;
        vertical-align: middle;
        display: table-cell;
        letter-spacing: 5px;
        line-height: 9px;
    }

/* контейнер для основной информации (доски, таблицы и тд) */
#mcontent {
    width: calc(100% - 225px);
    height: calc(100% - 50px);
    overflow: scroll;
    position: absolute;
    top: 50px;
    right: 0;
    display: block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 15px 0 15px 15px;
    transition: width 0.6s ease-in;
    z-index: 500;
}

/* затемненный фон для всплывающих меню */
.pop-back {
    position: fixed;
    display: none;
    top: 0;
    left: 0;
/*    width: 100vw;*/
/*    height: 100vh;*/
    width: 100%;
    height: 100%;
    z-index: 1500;
    background-color: hsla(0,0%,38%,0.4);
    /*background-color: transparent;*/
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow: scroll;
}

/* контейнер в центре экрана для меню настрое индикатора */
/* TODO снизу чуть приподнят 10% */
.set-container {
    width: 677px;
    height: 460px;
    position: absolute;
    margin: auto;
    top: 1%;
    bottom: 1%;
    right: 1%;
    left: 1%;
    font-family: "Exo 2", sans-serif;
    text-align: left;
    font-size: 12px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* сперва создаем тени для всех элементом настроек индикатора */
.shadow-plus {
    width: 28px;
    height: 31px;
    display: block;
    position: absolute;
    top: 0; /* координата left задается в JS*/
    background-color: #3b4250;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    color: #636C7A;
    text-align: center;
    -webkit-box-shadow: 0 0 8px #111111;
    -moz-box-shadow: 0 0 8px #111111;
    box-shadow: 0 0 8px #111111;
    transition: box-shadow 0.2s ease, color 0.2s ease;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-top: 8px;
    -webkit-user-select: none;
    -moz-user-select: -moz-none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
}

.tm02 .shadow-plus {
    background-color: #444444;
}

.shadow-plus:hover {
    /*-webkit-box-shadow: 0 0 8px #909090;*/
    box-shadow: 0 0 8px #909090;
    color: #F0F0F0;
}

.shadow-ower {
    -webkit-box-shadow: 0 0 8px #87be57;
    -moz-box-shadow: 0 0 8px #87be57;
    box-shadow: 0 0 8px #87be57;
}

/* Подсветка закладок при перетаскивании */
.tab-sort-move {
    background-color: #363947 !important;
}

.tm02 .tab-sort-move {
    background-color: #313131 !important;
}

.shadow-tab {
    background-color: #3b4250;
    color: #636C7A;
    /*width: 111px;*/
    width: 67px;
    height: 31px;
    display: block;
    position: absolute;
    top: 0; /* координата left задается в JS*/
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    -webkit-box-shadow: 0 0 8px #111111;
    -moz-box-shadow: 0 0 8px #111111;
    box-shadow: 0 0 8px #111111;
    transition: box-shadow 0.2s ease, color 0.2s ease;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-top: 8px;
    /*padding-left: 10px;*/
    padding-left: 8px;
    cursor: default;
}

.tm02 .shadow-tab {
    background-color: #393939;
    color: #6d6d6d;
}

.shadow-tab nobr {
    overflow: hidden;
    display: inline-block;
    /*width: 74px;*/
    width: 33px;
    height: 1.2em;
    text-align: left;
    -webkit-user-select: none;
    -moz-user-select: -moz-none;
    -ms-user-select: none;
    user-select: none;
}

.shadow-tab:hover {
    -webkit-box-shadow: 0 0 8px #909090;
    -moz-box-shadow: 0 0 8px #909090;
    box-shadow: 0 0 8px #909090;
    color: #858F9C;
}

.shadow-tab i {
    position: absolute;
    right: 10px;
}

    .shadow-tab i:hover {
        color: #F0F0F0;
        cursor: pointer;
    }

.shadow-body {
    width: 677px;
    display: block;
    position: absolute;
    top: 30px;
    left: 0;
    border-radius: 5px;
    -webkit-box-shadow: 0 0 8px rgba(17,17,17,1.00);
    -moz-box-shadow: 0 0 8px rgba(17,17,17,1.00);
    box-shadow: 0 0 8px rgba(17,17,17,1.00);
}
/*  TODO на iOS 16 кнопки сползают вверх какого хера?*/
.set-buttons {
    display: block;
    position: absolute;
    bottom: 15px;
    width: 677px;
    text-align: center;
    z-index: 1511;
}

/* элементы меню настроек индикатора */
.set-tab {
    background-color: #303641;
    /*width: 111px;*/
    width: 67px;
    height: 31px;
    display: block;
    position: absolute;
    top: 0; /* координата left задается в JS*/
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    box-sizing: border-box;
    padding-top: 8px;
    /*padding-left: 12px;*/
    padding-left: 8px;
    color: #B2B2B2;
    cursor: default;
}

.tm02 .set-tab {
    background-color: #403f3f;
}

.set-tab nobr {
    overflow: hidden;
    display: inline-block;
    /*width: 74px;*/
    width: 33px;
    height: 1.2em;
    text-align: left;
}

.set-tab i {
    position: absolute;
    right: 10px;
}

    .set-tab i:hover {
        color: #F0F0F0;
        cursor: pointer;
    }

.set-body {
    background-color: #303641;
    width: 677px;
    /*height: 430px;*/
    display: block;
    position: absolute;
    top: 30px;
    left: 0;
    border-radius: 5px;
    font-size: 14px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 20px 30px;
}

.tm02 .set-body {
    background-color: #403f3f;
}

.set-body table {
    margin-bottom: 70px;
}

.set-body td {
    border-bottom: 1px solid #3b4250;
    vertical-align: middle;
    text-align: left;
    padding-bottom: 25px;
    width: 215px;
}

.tm02 .set-body td {
    border-bottom: 1px solid #606060;
}

.set-body td:nth-child(1) {
    text-align: left;
}

.set-body td:nth-child(2) {
    text-align: center;
}

.set-body td:nth-child(3) {
    text-align: right;
}

.set-body .three-input td {
    border: none;
    padding-bottom: 7px;
}

.set-inp-container {
    display: inline-block;
    text-align: left;
    position: relative;
}

.set-inp-header {
    padding: 10px 0;
    color: #b2b2b2;
}

/*  символы и надписи поля арифметических операций */
.fx-i {
    color: olivedrab;
    margin-left: 2px;
    display: none;
}

    .fx-i.active {
        display: inline-block;
        cursor: pointer;
    }

.fx-w {
    color: coral;
    font-size: 88%;
    position: absolute;
    margin: 10px;
    display: none;
}

    .fx-w.active {
        display: inline-block;
    }

.set-inp-field {
    background-color: #3b4250;
    border: none;
    border-radius: 3px;
    width: 180px;
    color: #b2b2b2;
    padding: 7px 10px;
    font-size: 12px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: inline-block;
    transition: all 0.2s ease;
}

.tm02 .set-inp-field {
    background-color: #313131;
}
/* тень при наведении на поля настроек виджета */
.set-inp-field:hover {
    -webkit-box-shadow: 0 0 4px #939DAF;
    -moz-box-shadow: 0 0 4px #939DAF;
    box-shadow: 0 0 4px #939DAF;
    /* проверка использования переменной (не работает в IE11)*/
    /*-webkit-box-shadow: 0 0 4px var(--tm1-inp-shad);
        -moz-box-shadow: 0 0 4px #939DAF;
        box-shadow: 0 0 4px var(--tm1-inp-shad);*/
}

.set-inp-field * {
    background-color: transparent;
    border: none;
    color: #b2b2b2;
    font-size: 12px;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.set-inp-field.inp-button {
    width: 100%;
    min-width: 145px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

    .set-inp-field.inp-button *:hover {
        color: #fff;
        cursor: pointer;
    }

    .set-inp-field.inp-button input:disabled {
        opacity: 0.3;
        pointer-events: none;
    }

.add-button-group table {
    width: calc(100% + 30px);
    border-collapse: separate;
    border-spacing: 15px;
    margin-left: -15px;
}

select {
    /*-webkit-appearance: none;*/
    border: 0;
    background: none !important;
}

input {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* для редактирования текстового виджета */
.tbox-jscolor input {
    width: 100%;
}

.lbl-onoff {
    background-color: #3b4250;
    position: relative;
    height: 30px;
    transition: all 0.3s ease;
    text-align: center;
    vertical-align: middle;
    display: table-cell;
    cursor: pointer;
}

    .lbl-onoff span {
        font-size: 14px;
        margin: 0 29px;
    }

    .lbl-onoff:after {
        background: #343a44;
        position: absolute;
        display: block;
        width: 90px;
        height: 30px;
        top: 0;
        left: 0;
        border-radius: 3px;
        content: '';
        transition: all 0.5s ease;
        -webkit-box-shadow: 0 0 3px rgba(17,17,17,0.50);
        -moz-box-shadow: 0 0 3px rgba(17,17,17,0.50);
        box-shadow: 0 0 3px rgba(17,17,17,0.50);
        cursor: pointer;
    }

.tm02 .lbl-onoff:after {
    background: #252525;
}

.onoff-switch:checked + .lbl-onoff::after {
    left: 90px;
}

.onoff-switch:checked + .lbl-onoff {
    background-color: #296240;
}

.onoff-switch:disabled {
    pointer-events: none;
}

    .onoff-switch:disabled + .lbl-onoff {
        opacity: 0.1;
        cursor: default;
    }

        .onoff-switch:disabled + .lbl-onoff::after {
            background: #686868;
            cursor: default;
            pointer-events: none;
        }

.lbl-onoff:active:after {
    transform: scale(1, 1.25);
}

/* класс для всплывающих подсказок, например:  data-tclass="dash-tooltip tooltip-left" */
.dash-tooltip {
    position: fixed;
    padding: 3px 5px;
    border-radius: 4px;
    text-align: center;
    line-height: 1.3;
    font: 0.7em/1.3 'Roboto', arial, sans-serif;
    -webkit-box-shadow: 0 0 5px #323232;
    -moz-box-shadow: 0 0 5px #323232;
    box-shadow: 0 0 5px #323232;
    z-index: 2000;
}

.tooltip-left {
    text-align: left !important;
}

.tm01 .dash-tooltip {
    color: #d7d7d7;
    background-color: #222222;
}

.tm02 .dash-tooltip {
    color: #d7d7d7;
    background-color: #424242;
}

.tm03 .dash-tooltip {
    color: #d7d7d7;
    background-color: #222222;
}

.tm04 .dash-tooltip {
    color: #d7d7d7;
    background-color: #222222;
}

/* окно кастомизации */
/* текст подтверждения */
.pop-win .confirmtxt2 {
    text-align: center;
    margin: -15px 0 7px 0;
    line-height: 2.2em;
    font-size: 18px;
}
/* заголовок раздела (язык, сцена, фон)*/
.pop-win .img-box-title {
    padding: 20px;
}

#dash-custom td {
    text-align: center;
    padding-top: 15px;
}

/* выбор языка */
.pop-win .img-box-list div {
    padding: 5px;
    margin: 0 3px;
    display: inline-block;
    width: 50px;
    background-color: #484C56;
    -webkit-box-shadow: 0 0 15px #17191D;
    -moz-box-shadow: 0 0 15px #17191D;
    box-shadow: 0 0 15px #17191D;
    cursor: default;
    font: 12px 'Roboto', arial, sans-serif;
    text-align: center;
}

/* картинки сцен и фона */
.pop-win .img-box-list {
    padding-bottom: 10px;
}

    .pop-win .img-box-list img {
        margin: 0 10px;
        display: inline-block;
        -webkit-box-shadow: 0 0 15px #17191D;
        -moz-box-shadow: 0 0 15px #17191D;
        box-shadow: 0 0 15px #17191D;
    }

    /* активная */
    .pop-win .img-box-list .active {
        -webkit-box-shadow: 0 0 10px #B2BAC6;
        -moz-box-shadow: 0 0 10px #B2BAC6;
        box-shadow: 0 0 10px #B2BAC6;
    }
    /* наведение на любые кроме активной */
    .pop-win .img-box-list *:hover:not(.active) {
        cursor: pointer;
        -webkit-box-shadow: 0 0 8px #676448;
        -moz-box-shadow: 0 0 8px #676448;
        box-shadow: 0 0 8px #676448;
    }

/* всплывающее окно с лицензиями, при старте free */
.lic-upg-free {
    font-size: 13px;
    /*color: #8d8d8d;*/
    margin: 0 0;
    line-height: 1.85em;
    transition: color 0.3s ease;
    cursor: pointer;
}

    .lic-upg-free:hover {
        color: #89afb5;
        text-decoration-line: underline;
        text-decoration-style: dotted;
    }

/* стили страницы Profile */

#usrwin .usrwin-container {
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    height: 500px;
}

#usrwin .usrwin-button {
    width: 100%;
    margin: auto;
    text-align: center;
    color: #b2b2b2;
    background-color: #303641;
}

#usrwin table {
    border-collapse: separate;
    border-spacing: 30px 20px;
    width: 100%;
}

    #usrwin table td {
        padding: 35px 35px 20px 35px;
        background-color: #303641;
        vertical-align: top;
        min-width: 315px;
    }

.tm02 #usrwin table td {
    background-color: #393939;
}

#usrwin table td:last-child {
    width: 60%;
}

#usrwin table td:last-child {
    text-align: center;
    color: #b2b2b2;
}

#usrwin #usr-lic div {
    margin: 20px 0;
    color: #b2b2b2;
}

#usrwin #usr-lic .lic-upg {
    cursor: pointer;
    color: #8FBEC5;
}

    #usrwin #usr-lic .lic-upg:hover {
        color: #E9DC68;
    }

#usrwin #usr-lic a:hover {
    color: #E9DC68;
}

#usrwin .usr-inp-header {
    width: 100%;
    color: #b2b2b2;
    padding: 20px 20px 10px 0;
    text-align: left;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#usrwin .set-inp-field {
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* стили страницы Messages и Support */
.msg-container {
    background: #303641;
    margin: 10px auto 20px auto;
    width: 90%;
    padding: 20px 30px;
    color: #b2b2b2;
    text-align: left;
    min-width: 500px;
}

.tm02 .msg-container {
    background: #393939;
}

.msg-date {
    font-size: 10px;
    font-weight: 400;
    color: #999999;
    padding-left: 10px;
}

.msg-title {
    font-weight: 500;
    font-size: 1.3em;
    padding: 10px;
    vertical-align: middle;
}

.msg-body {
    line-height: 1.3em;
    font-weight: 300;
    padding: 10px;
}

    .msg-body b {
        font-weight: 600;
    }

    .msg-body p {
        margin: 7px 0;
        initial-letter: initial;
    }

    .msg-body ul {
        list-style-type: disc;
        padding: 0.5em 2em;
    }

    .msg-body ol {
        padding: 0.5em 2em;
        list-style-type: decimal;
    }

    .msg-body li {
        padding: 0.2em 0;
    }

.msg-footer {
    padding: 10px;
    font-weight: 400;
}

/* часть разметки для Support */
.msg-title.doc-title:hover {
    cursor: pointer;
    color: #fff;
}

.msg-title.doc-title i {
    margin-left: 15px;
}

.msg-title.doc-title:after {
    content: "";
    display: block;
    clear: both;
}

/* контейнер аватарки */
.imgbox {
    display: inline-block;
    overflow: hidden;
    width: 200px;
    height: 200px;
}

.usr-avatar {
    /*background-image: url(../img/avatar/nik.jpeg);*/
    background-repeat: no-repeat;
    background-clip: content-box;
    background-size: contain;
    background-position: center center;
}
/* само превью изображений */
.showimg {
    display: inline-block;
    transition: transform 0.6s;
    position: relative;
}

    .showimg:hover {
        cursor: pointer;
    }

/* темный фон над изображением при наведении*/
.imgbox::after {
    background-color: rgba(41,41,41,0.70);
    display: block;
    position: relative;
    width: 200px;
    height: 200px;
    top: -200px;
    content: attr(data-txt);
    color: #b2b2b2;
    opacity: 0;
    -webkit-transition: opacity 0.3s;
    -moz-transition: opacity 0.3s;
    -o-transition: opacity 0.3s;
    transition: opacity 0.3s;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    pointer-events: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-top: 60px;
}

.imgbox:hover::after {
    opacity: 1;
}