@charset "UTF-8";

.bonsai,
.bonsai > li {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  direction: rtl;
  text-align: right;
}

.bonsai > li {
  position: relative;
  padding-right: 1.3em; /* padding for the thumb */
  padding-left: 0;
}

.bonsai > li .thumb {
  margin: -1px 0 0 0; /* negative margin removed for RTL, position handled via right */
  position: absolute;
  right: -1em;
  cursor: pointer;
}

.bonsai > li.has-children > .thumb:after {
  content: '◂';
  font-size: 22px;
  color: #c1c2d1;
}

.bonsai > li.has-children.expanded > .thumb:after {
  content: '▾';
}

.bonsai > li.collapsed > ol.bonsai {
  height: 0;
  overflow: hidden;
}

.bonsai .all,
.bonsai .none {
  cursor: pointer;
}
