.nestedSortable {
   .nodeWrapper {
      border-top: 1px solid $border-color-light;
      border-bottom: 1px solid $border-color-light;
      display: flex;
      align-items: center;
      margin-bottom: -1px;
      padding: 5px 15px 5px 0;

      + ul {
         background: $gray-background;

         li {
            background: $white;
         }
      }
   }

   .badge + .badge,
   .btn + .dropdown {
      margin-left: 5px;
   }
}

.nestedSortableRoot {
   min-height: 40px;
}

.nestedSortableRoot,
.nestedSortableRoot .node > ul {
   margin: 0;
   padding: 0;
   list-style-type: none;
}

.nestedSortableRoot li.mjs-nestedSortable-collapsed > ul {
   display: none;
}

.nodeWrapper,
.sections-root,
.sections-sortable {
   .tdd-column,
   .list_item {
      //&:has(+ .tooltip),
      &:last-of-type {
         margin-left: -15px;
      }
   }

   &.tdd-row,
   .tdd-row {
      min-height: 38px;
   }

   .tdd-column {
      font-size: 12px; //todo $font-size-small;

      .opener {
         color: $primary;
      }
   }
}
