.titaui-tree {
  position: relative;
  overflow: hidden;
}

.titaui-tree .rc-tree-list-scrollbar {
  width: 4px !important;
}

.titaui-tree .rc-tree-list-scrollbar .rc-tree-list-scrollbar-thumb {
  border-radius: 10px !important;
  background: #bac2cf !important;
}

.titaui-tree .rc-tree-list-holder {
  overflow: hidden;
}

.titaui-tree .rc-tree .rc-tree-treenode.drop-target {
  background-color: unset;
}

.titaui-tree .rc-tree .rc-tree-treenode.drop-container > .draggable::after {
  box-shadow: unset;
}

.titaui-tree .rc-tree .rc-tree-treenode.drop-container ~ .rc-tree-treenode {
  border-left: unset;
}

.titaui-tree .rc-tree .rc-tree-treenode.drag-over-gap-bottom {
  position: relative;
}

.titaui-tree .rc-tree .rc-tree-treenode.drag-over-gap-bottom::before {
  display: inline-block;
  position: absolute;
  width: 100%;
  bottom: 0;
  content: '';
  border-bottom: 2px solid #2879ff;
  z-index: 1;
}

.titaui-tree .rc-tree .rc-tree-treenode.drag-over-gap-top {
  position: relative;
}

.titaui-tree .rc-tree .rc-tree-treenode.drag-over-gap-top::before {
  display: inline-block;
  position: absolute;
  width: 100%;
  top: 0;
  content: '';
  border-top: 2px solid #2879ff;
  z-index: 1;
}

.titaui-tree .rc-tree .rc-tree-treenode {
  display: flex;
  align-items: center;
  line-height: unset;
  overflow: hidden;
  border-radius: 8px;
}

.titaui-tree .rc-tree .rc-tree-treenode .rc-tree-node-content-wrapper {
  height: unset;
  width: 100%;
}

.titaui-tree .rc-tree-title {
  width: 100%;
}

.titaui-tree .rc-tree-switcher {
  padding-right: 8px;
  display: inline-block;
  line-height: 0;
  cursor: pointer;
}

.titaui-tree__switcher {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url(./images/arrow.svg) transparent no-repeat 50% 50%;
  transition: all 0.2s;
  cursor: pointer;
}

.titaui-tree__switcher-close {
  transform: rotate(-90deg);
}

.titaui-tree__switcher-opend {
  transform: rotate(0deg);
}

.titaui-tree .node-motion {
  transition: all 0.3s;
  overflow-y: hidden;
}
