.search-treeTable {
    margin: 4px;
}

.search-treeTable .input-filed {
    width: 100%;
    height: 40px;
    background-color: #F3F6FA;
    border-radius: 8px;
}

.treeTable {
    width: 100%;
    background-color: #fff;
    border-collapse: collapse;
    border-spacing: 0;
}

.treeTable:not(.active-drop-row) tbody tr:not(.row-add-task):not(.add-new-tr) td:hover {
    background-color: rgb(76 135 236 / 5%) !important;
    outline: 2px solid #000 !important;
    outline-offset: -2px !important;
}

.treeTable tbody td.numbering {
    position: relative;
    font-weight: normal !important;
    font-size: 12px;
    color: #4e4e4e;
}

.treeTable tbody{
    counter-reset: tr;
}
.treeTable tbody tr {
    counter-increment: tr;
}

.treeTable tbody td.numbering:after {
    content: counter(tr)
}

.treeTable tbody tr td:not(.cell-info) {
    width: 1%;
    white-space: nowrap;
}

.treeTable,
.treeTable th,
.treeTable td {
    border: none;
    padding: 0;
    margin: 0;
}

.treeTable tbody tr.folder {
    font-weight: bold;
}

.treeTable tbody tr td.cell-info {
    /*min-width: 450px;*/
    /*max-width: 900px;*/
}


.treeTable tbody .cell-info .box-toggle .btn-toggle-folder {
    position: relative;
    padding: 0;
    background-color: transparent;
}

.treeTable tbody .cell-info .box-toggle .btn-toggle-folder .icon.toggle-folder {
    position: relative;
    z-index: 1;
    background-color: var(--blue);
}

.treeTable tbody .cell-info .box-toggle .btn-toggle-folder:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    border-radius: 50px;
    transform: scale(0);
    transition: transform 100ms ease-in-out;
}

.treeTable tbody .cell-info .box-toggle .btn-toggle-folder:hover:after {
    background-color: rgb(76, 135, 236, 0.18);
    transform: scale(1.7);
}

.treeTable tbody .cell-info .td-container {
    display: flex;
    align-items: center;
    overflow: hidden;
}

.treeTable tbody .cell-info .td-container .level-container {
    display: flex;
    align-items: center;
    height: 100%;
}

.treeTable tbody .cell-info .td-container .level-container .level-box {
    position: relative;
    height: 100% !important;
}

.treeTable tbody .cell-info .td-container .level-container .level-box:before,
.treeTable tbody .cell-info .td-container .level-container .level-box:after {
    content: '';
    position: absolute;
    background-color: #ccc;
}

.treeTable tbody .cell-info .td-container .level-container .level-box:after {
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
}

.treeTable tbody .cell-info .td-container .level-container .level-box:before {
    top: 0;
    left: 7px;
    width: 1px;
    height: 50%;
}

.treeTable tbody .cell-info .td-container .level-container .level-box:first-child:before {
    top: 0;
    left: 7px;
    width: 1px;
    height: 100%;
}

.treeTable tbody .cell-info .td-container .level-container .level-box:first-child:after {
    top: 50%;
    left: 7px;
    width: 23px;
    height: 1px;
}

.treeTable tbody .cell-info .td-container .title {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 !important;
}

.treeTable tbody .cell-info .td-container .title .box-toggle {
    display: flex;
    margin-right: 5px;
}


/* ------------------------------------------------------ */


.treeTable-dropdown {
    position: relative;
}

.treeTable-dropdown .input-box {

}

.treeTable-dropdown .content-treeTable {
    display: none;
    position: fixed;
    z-index: 100;
    width: 420px;
    max-height: 300px;
    overflow: auto;

    background: #FFFFFF;
    border: 1px solid #EAEEF4;
    box-shadow: 0px 8px 32px rgba(12, 16, 24, 0.12);
    border-radius: 12px;
    /*transform: translateY(-21px);*/
}

.treeTable-dropdown .content-treeTable.open {
    display: block;
}

.treeTable-dropdown .content-treeTable .treeTable {
    border: none;
    border-spacing: 0px;
    border-collapse: separate !important;
}

.treeTable-dropdown .content-treeTable .treeTable tbody {

}

.treeTable-dropdown .content-treeTable .treeTable tbody tr {
    cursor: pointer !important;
}

.treeTable-dropdown .content-treeTable .treeTable tbody tr:hover {
    background-color: rgba(170, 174, 182, 0.12) !important;
    outline: none !important;
}

.treeTable-dropdown .content-treeTable .treeTable tbody tr[id=NaN]:hover {
    background-color: #fff !important;
    outline: none !important;
}

.treeTable-dropdown .content-treeTable .treeTable tbody tr td {
    white-space: normal !important;
    padding: 12px !important;
    border: none !important;
}

.treeTable-dropdown .content-treeTable .treeTable tbody .cell-info .box-actions {
    display: none !important;
}

.treeTable-dropdown .content-treeTable .treeTable tbody .cell-info .box-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    margin-right: 4px;
    line-height: 0;
}

.treeTable-dropdown .content-treeTable .treeTable tbody .cell-info .box-toggle .toggle-folder {
    background-color: var(--blue);
}

.treeTable-dropdown .content-treeTable .treeTable tbody .cell-info .td-container {
    display: flex;
    align-items: center;
}

.treeTable-dropdown .content-treeTable .treeTable tbody .cell-info .td-container .level-container {
    display: flex;
    align-items: center;
}

.treeTable-dropdown .content-treeTable .treeTable tbody .cell-info .td-container .level-container .level-box {

}

.treeTable-dropdown .content-treeTable .treeTable tbody .cell-info .td-container .level-container .level-box hr {
    display: none !important;
}

.treeTable-dropdown .content-treeTable .treeTable tbody .cell-info .td-container .title {
    display: flex;
    align-items: center;
    padding: 0 !important;
}

.treeTable-dropdown .content-treeTable .treeTable tbody .item-product {
    display: flex;
    align-items: center;
    grid-gap: 12px;
    width: 100%;
}

.treeTable-dropdown .content-treeTable .treeTable tbody .item-product .box-photo {
    margin-bottom: auto;
}

.treeTable-dropdown .content-treeTable .treeTable tbody .item-product .box-photo .photo-none {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    aspect-ratio: 1 / 1;
    background-color: rgba(48, 54, 74, 0.1);
    border-radius: 4px;
}

.treeTable-dropdown .content-treeTable .treeTable tbody .item-product .box-photo .photo-none .icon {
    font-size: 20px;
    background-color: #949494;
}

.treeTable-dropdown .content-treeTable .treeTable tbody .item-product .box-info {
    display: flex;
    flex-direction: column;
    grid-gap: 1px;
}

.treeTable-dropdown .content-treeTable .treeTable tbody .item-product .box-info .name-product {
    font-weight: 500;
    font-size: 14px;
    color: #2B2B2B;

    overflow: hidden;
    text-overflow: ellipsis;
    display: -moz-box;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    box-orient: vertical;
}

.treeTable-dropdown .content-treeTable .treeTable tbody .item-product .box-info .bread-crumbs {
    display: flex;
    align-items: center;

    overflow: hidden;
    text-overflow: ellipsis;
    display: -moz-box;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    box-orient: vertical;
}

.treeTable-dropdown .content-treeTable .treeTable tbody .item-product .box-info .bread-crumbs .item-bread {
    position: relative;
    font-size: 12px;
    padding-right: 8px;
    color: #919191;
}

.treeTable-dropdown .content-treeTable .treeTable tbody .item-product .box-info .bread-crumbs .item-bread:after {
    content: "\\";
    position: absolute;
    top: 0;
    right: 0;
}

.treeTable-dropdown .content-treeTable .treeTable tbody .item-product .box-info .bread-crumbs .item-bread:last-child:after {
    display: none;
}

.treeTable-dropdown .content-treeTable .treeTable tbody .item-product .box-events {
    margin-left: auto;
}

.treeTable-dropdown .content-treeTable .treeTable tbody .item-product .box-events .btn {
    margin-left: 20px;
    width: 122px;
    height: 28px;
}

.treeTable-dropdown .content-treeTable .treeTable tbody .item-product .box-events .btn._add {
    background-color: transparent;
    border-color: var(--blue);
    color: var(--blue);
}

.treeTable-dropdown .content-treeTable .treeTable tbody .item-product .box-events .btn._add .icon {
    background-color: var(--blue);
}


/* mini-size */

/*.table.mini-size {*/
/*    max-height: 320px;*/
/*    overflow: auto;*/
/*}*/

.table.mini-size thead th {
    background-color: #009775 !important;
    color: #fff !important;
    padding: 3px 6px !important;
}

.table.mini-size thead th div {
    font-weight: 600;
}

.table.mini-size {
    font-size: 15px !important;
}

.table.mini-size td {
    padding: 4px 6px !important;
}

.table.mini-size tfoot tr {
    position: sticky;
    bottom: 0;
}

.table.mini-size tfoot td {
    background-color: #009775;
    color: #fff;
    font-weight: bold !important;
}

.modebar.modebar--hover,
#chart_funnel-license-text {
    display: none !important;
    opacity: 0;
    visibility: hidden;
}

.table .style-type {
    position: relative;
    padding-left: 14px;
}

.table .style-type:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;

    display: inline-block;
    height: 1em;
    width: 1em;
    font-size: 10px;
    background-color: #000;
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
    transform: translate(0px, 50%);
}

.table .style-type._blocked {
    color: #D58D49;
}
.table .style-type._blocked:before {
    mask-image: url(/view/icons/lock.svg);
    -webkit-mask-image: url(/view/icons/lock.svg);
    background-color: #D58D49;
}

.table .style-type._receipt {
    color: var(--green);
}
.table .style-type._receipt:before {
    mask-image: url(/view/icons/plus.svg);
    -webkit-mask-image: url(/view/icons/plus.svg);
    background-color: var(--green);
}

.table .style-type._spent {
    color: red;
}
.table .style-type._spent:before {
    mask-image: url(/view/icons/minus.svg);
    -webkit-mask-image: url(/view/icons/minus.svg);
    background-color: red;
}


.treeTable-dropdown .content-treeTable .treeTable .empty-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 150px;
    margin-left: -24px;
    padding-top: 10px;
}

.treeTable-dropdown .content-treeTable .treeTable .empty-list .icon-cart {
    width: 70px;
    margin-bottom: 10px;
}

.treeTable-dropdown .content-treeTable .treeTable .empty-list .label {
    font-size: 14px;
    text-align: center;
    color: #AAAAAA;
}

.treeTable-dropdown .content-treeTable .treeTable .empty-list .btn {
    width: 100%;
    margin-top: 20px;
    background-color: rgba(76, 135, 236, 0.10);
    color: var(--blue);
    border: none !important;
}

.treeTable-dropdown .content-treeTable .treeTable .empty-list .btn .icon {
    background-color: var(--blue);
}

.treeTable-dropdown .content-treeTable .treeTable .empty-list .btn:hover {
    background-color: var(--blue);
    color: #fff;
}

.treeTable-dropdown .content-treeTable .treeTable .empty-list .btn:hover .icon {
    background-color: #fff;
}

@media (max-width: 1500px) {
    .table.mini-size {
        font-size: 12px !important;
    }

    .table.mini-size td {
        padding: 0.5px 4px !important;
    }

    .table .style-type:before {
        transform: translate(0px, 25%);
    }
}

/* end - mini-size */


.G-doubleManager-frame .col-list-stages .treeTable tbody .add-new-tr .add-task-wrapper {
    padding: 5px 0;
    padding-left: 26px;
    height: 100%;
}

.G-doubleManager-frame .col-list-stages .treeTable tbody .add-new-tr .add-task-wrapper .fileds-wrapper {
    display: flex;
    height: 100%;
}

.G-doubleManager-frame .col-list-stages .treeTable tbody .add-new-tr .add-task-wrapper .fileds-wrapper input {
    width: 300px;
    height: 100%;
    font-size: 12px;
    border: 1px solid #646675;
    background-color: #fff !important;
    border-radius: 3px;
    padding: 0 10px;
}

.G-doubleManager-frame .col-list-stages .treeTable tbody .add-new-tr .add-task-wrapper .fileds-wrapper .btn {
    height: 100%;
    aspect-ratio: 1 / 1;
    padding: 0;
    border-radius: 3px;
    margin-left: 4px;
}

.G-doubleManager-frame .col-list-stages .treeTable tbody .add-new-tr .add-task-wrapper .fileds-wrapper .btn .icon {
    font-size: 12px;
}

.G-plugin-treeTable .actions-container .treeLevels {
    display: flex;
    align-items: center;
    grid-column-gap: 6px;
    height: 100%;
}