h1.add-button-group {
    font-size: 22px;
    font-weight: 400;
}

.add-button-group {
    color: #B2B2B2;
    text-align: left;
    width: calc(100% - 200px);
    height: 40px;
    min-width: 700px;
    margin: 20px auto;
}

.add-button {
    float: left;
    margin: 10px 0;
    background-color: transparent;
}

    .add-button:hover {
        color: #F0F0F0;
        cursor: pointer;
    }

.filter-str {
    border: 1px solid #303641;
    float: right;
    background-color: transparent !important;
}

    .filter-str i:hover {
        cursor: pointer;
        color: #939DAF;
    }

.tm03 .add-button {
    color: #363636;
}

.tm04 .add-button {
    color: #363636;
}

.tm03 .add-button:hover {
    color: #939DAF;
    cursor: pointer;
}

.tm04 .add-button:hover {
    color: #555555;
    cursor: pointer;
}

/* таблица список устройств и переменных*/
#datalist td {
    min-width: 100px;
}

.table-type-01 {
    margin: 20px auto;
    font-family: "Rubik", Helvetica, Arial, sans-serif;
    font-size: 14px;
    width: calc(100% - 200px);
    line-height: 1.2em;
    text-align: left;
    min-width: 700px;
}

    .table-type-01 thead td {
        padding: 10px;
        border: 1px solid gray;
        background-color: #898989;
        font-weight: bold;
        color: #232323;
    }

.tm04 .table-type-01 thead td {
    background-color: #58637D;
}

.table-type-01 thead i {
    float: right;
    padding-left: 25px;
}

.table-type-01 tr {
    background-color: transparent;
    font-size: 12px;
    transition: background-color 0.2s ease;
    cursor: default;
    color: #B2B2B2;
}

.tm03 .table-type-01:not(#dev-symbol) tr {
    color: #131313;
}

.tm04 .table-type-01:not(#dev-symbol) tr {
    color: #B2B2B2;
}

.table-type-01 tr:hover {
    background-color: #252A39;
    /* [disabled]color: #F0F0F0; */
    /*cursor: context-menu;*/
}

.tm02 .table-type-01 tr:hover {
    background-color: #282828;
    /* [disabled]color: #F0F0F0; */
    /*cursor: context-menu;*/
}

.tm03 .table-type-01:not(#dev-symbol) tr:hover {
    background-color: #9B9B9B;
    /* [disabled]color: #F0F0F0; */
    /*cursor: context-menu;*/
}

.tm04 .table-type-01:not(#dev-symbol) tr:hover {
    background-color: #8E98AE;
}

.table-type-01 td {
    padding: 10px;
    border: 1px solid #303641;
    max-width: 300px;
    overflow-x: hidden;
    overflow-y: hidden;
    /* [disabled]word-break: break-all; */
    vertical-align: middle;
    /*min-width: 90px;*/
    overflow: hidden;
    /*box-sizing: border-box;*/
}

/*  таблица формируется в скрипте */
.table-edit tbody i {
    opacity: 0;
    transition: opacity 0.2s ease;
    padding-top: 0;
    padding-left: 10px;
    padding-bottom: 0;
    float: right;
    color: #707070;
    cursor: pointer;
}

.table-edit tbody tr:hover i {
    opacity: 1;
}

.table-edit tbody i:hover {
    color: #F0F0F0;
}

/* внутренности ячеек формируются в скрипте и обернуты в div */
.table-edit tbody td div {
    width: calc(100% - 30px);
    float: left;
    overflow: hidden;
}

.table-edit tbody td input {
    border: 0;
    width: calc(100% - 50px);
    font-size: 12px;
    font-family: "Rubik", Helvetica, Arial, sans-serif;
    line-height: 1.2em;
    float: left;
    text-align: inherit;
    color: #B2B2B2;
    background-color: #343D51;
}

.tm02 .table-edit tbody td input {
    color: #363636;
    background-color: #B6B6B6;
}

/* форма настроек для устройств */
#dev-symbol {
    width: 100%;
    min-width: 400px;
    display: table;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

    #dev-symbol thead {
        display: inline-block;
        width: 100%;
        /* [disabled]height: 40px; */
        background-color: #898989;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    #dev-symbol tbody {
        display: inline-block;
        max-height: 153px;
        overflow-y: scroll;
        overflow-x: hidden;
        width: 100%;
        margin-top: -5px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    #dev-symbol td {
        border: 1px solid gray;
        min-width: 50px;
    }

/* Not Authorized device */
.deny-dev {
    color: indianred;
    cursor: pointer;
}

    .deny-dev:hover {
        color: red;
    }

.devlic-upg {
    display: inline-block;
    font-size: 13px;
    line-height: 1.85em;
    color: #b2b2b2;
    margin: 0 0;
    transition: color 0.3s ease;
    cursor: pointer;
}

    .devlic-upg:hover {
        color: #89afb5;
    }

/* Виртуальное устройство */
.virt-oper-list {
    margin: 10px auto;
    width: 410px;
    height: 250px;
    overflow-y: scroll;
    background-color: dimgrey;
    border-radius: 3px;
}

.virt-oper-row {
    width: 100%;
    box-sizing: border-box;
    border-bottom: 1px solid #53565a;
    text-align: left;
}

.virt-oper-list i {
    padding: 5px 10px;
    color: #1f1f1f;
    transition: color 0.3s ease;
}

    .virt-oper-list i:hover {
        color: #b2b2b2;
        cursor: pointer;
    }

    .virt-oper-list i.fa-edit {
        padding: 0;
    }

.virt-oper-row select, .virt-oper-row input, .virt-oper-row p {
    /*width: 130px;*/
    padding: 3px;
    border-right: 1px solid #53565a;
    color: #1f1f1f;
    display: inline-block;
    box-sizing: border-box;
}

.virt-oper-row .virt-oper {
    width: 50px;
}

.virt-oper-row .calc-row {
    width: 144px;
}

.virt-oper-row .vol-row {
    width: 156px;
}

.virt-oper-row input {
    width: 160px;
}

.virt-oper-row p {
    width: 160px;
}

.virt-f {
    display: none;
}

    .virt-f.active {
        display: inline-block;
        cursor: pointer;
    }

/* экспорт в CSV */
#csve table td {
    padding: 5px 0;
}

#fx-box {
    opacity: 0;
    z-index: 1600;
    /* не надо, плавное открытие-закрытие функции fadeIn fadeOut с помощью d3*/
    /*transition: all 0.3s ease;*/
}
/* Окно редактирования f(x) */
.fx-table tbody td {
    vertical-align: top;
    color: gray;
    font-size: 12px;
    padding: 0 5px;
}.condition

    .fx-table tbody td div {
        margin: 5px;
    }

.fx-table tbody tr:nth-child(2) td {
    vertical-align: bottom;
    width: 140px;
}

/* Замена устройств на доске */
.dev-change {
    margin: 10px;
    width: 180px;
}

/* таблица с условиями */
#conditions {
    position: relative;
    width: 100%;
    font-size: 85%;
    border-spacing: 0;
    background-color: #c7c7c7;
    color: #303641;
}

    #conditions .tline {
        border-bottom: 1px solid gray;
    }

    #conditions thead {
        display: inline-block;
        width: 100%;
    }

        #conditions thead tr {
            border-bottom: 2px solid gray;
        }

        #conditions thead td {
            padding: 3px 8px;
            font-weight: bold;
            border: 1px solid gray;
        }

    #conditions tbody {
        display: inline-block;
        max-height: 290px;
        min-height: 290px;
        height: 290px !important;
        overflow-y: scroll;
        overflow-x: hidden;
        width: 100%;
        margin-top: -5px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

        #conditions tbody td {
            padding: 3px 0;
        }

        #conditions tbody .dt-period {
            text-align: right;
        }

    #conditions .cond-inp {
        box-sizing: content-box;
        min-width: 60px;
        width: 88%;
        height: 20px;
        font-size: 11px;
        padding: 0;
        border: 1px solid #c5c3c3;
        text-align: center;
/*        background-color: azure !important; */    }
/* --- END --- таблица с условиями */
