#sidebar-projects-tree,
#sidebar-projects-tree ul,
#sidebar-projects-tree li {
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

#sidebar-projects-tree .project-tree-summary,
#sidebar-projects-tree .project-tree-leaf {
  display: flex !important;
  width: 100% !important;
  align-items: center !important;
  min-height: 26px;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer;
  list-style: none;
}

#sidebar-projects-tree .project-tree-summary::-webkit-details-marker {
  display: none;
}

#sidebar-projects-tree a.project-tree-link {
  display: block !important;
  width: 100% !important;
  flex: 1;
  padding: 4px 5px !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}

#sidebar-projects-tree a.project-tree-link:hover {
  background-color: #f0f0f0 !important;
}

#sidebar-projects-tree a.selected {
  background-color: #eaf3ff !important;
  font-weight: bold !important;
}

#sidebar-projects-tree li.root-node {
  padding-left: 0 !important;
}

#sidebar-projects-tree li.child-node {
  padding-left: 1.1em !important;
}

#sidebar-projects-tree .expander {
  display: inline-block;
  width: 16px;
  text-align: center;
  font-size: 10px;
  color: #999;
  flex-shrink: 0;
}

#sidebar-projects-tree details[open] > .project-tree-summary .expander {
  transform: rotate(90deg);
}

#sidebar-projects-tree .glyph-icon, .project-glyph-icon {
  width: 1.1em;
  height: 1.1em;
  margin-right: 5px;
  vertical-align: middle;
  display: none;
}

@media screen and (min-width: 1025px) {
  #sidebar-projects-tree .glyph-icon, .project-glyph-icon {
    display: inline-block !important;
  }
}

@media screen and (max-width: 1024px) {
  #sidebar-projects-tree .expander {
    width: 24px !important;
    min-width: 24px !important;
  }
}
