.modMtDtree a {
  text-decoration: none;
  color: black;
  padding: 0.1rem 0.25rem;
}
.modMtDtree a.active {
  background-color: #DDE1E6;
}
.modMtDtree a:hover {
  background-color: #DDE1E6;
}
.modMtDtree [data-target-type=plus],
.modMtDtree [data-target-type=folder] {
  cursor: pointer;
}
.modMtDtree li {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.modMtDtree li .icon-category,
.modMtDtree li .icon-listing {
  width: 18px;
  text-align: center;
}
.modMtDtree li .collapsible {
  position: absolute;
  left: 0.2rem;
  top: 0.5rem;
  color: #6d757e;
}

.treeselect {
  display: block;
  padding-left: 0;
  list-style: none;
}
.treeselect li {
  position: relative;
  display: block;
  line-height: 1.8rem;
  list-style: none;
}
.treeselect li::before {
  position: absolute;
  top: 14px;
  left: 25px;
  width: 10px;
  height: 1px;
  margin: auto;
  content: "";
  background-color: rgba(0, 0, 0, 0.2);
}
[dir=rtl] .treeselect li::before {
  right: 25px;
  left: 0;
  margin: 0;
}
.treeselect li::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 25px;
  width: 1px;
  height: 100%;
  content: "";
  background-color: rgba(0, 0, 0, 0.2);
}
[dir=rtl] .treeselect li::after {
  right: 25px;
  left: 0;
}
.treeselect li:last-child::after {
  height: 14px;
}
.treeselect li li {
  padding-inline-start: 40px;
}
.treeselect > li::before,
.treeselect > li::after {
  display: none;
}
.treeselect .treeselect-toggle {
  display: inline-block;
  padding: 0;
  margin-right: 0.1rem;
  text-align: center;
  cursor: pointer;
}
.treeselect .treeselect-menu {
  display: inline-block;
}
.treeselect .treeselect-item {
  display: inline-block;
}
.treeselect .treeselect-item input {
  position: relative;
  top: 1px;
  margin-right: 0.2rem;
}
.treeselect .treeselect-item label {
  margin-bottom: 0;
}
.treeselect .dropdown-toggle {
  padding: 0 0.5rem 0.3rem;
  margin-left: 0.5rem;
}
.treeselect .dropdown-toggle::after {
  margin-left: 0;
  font-size: 1rem;
  color: var(--template-text-dark);
}

.tree-holder ul ul {
  padding-left: 0;
}
.tree-holder ul ul li::before,
.tree-holder ul ul li::after {
  left: 8px;
  display: block;
}
[dir=rtl] .tree-holder ul ul li::before,
[dir=rtl] .tree-holder ul ul li::after {
  right: 8px;
  left: 0;
  margin: 0;
}
.tree-holder ul ul li::before {
  top: 12px;
}
.tree-holder ul ul li:last-child::after {
  height: 12px;
}
.tree-holder li {
  line-height: 1.8rem;
}
.tree-holder li > a .fa,
.tree-holder li > a .fas {
  margin-right: 0.35rem;
}
.tree-holder li li {
  padding-inline-start: 20px;
}
