/* Arbre des relations hiérarchiques (remplace le rendu du treecontrol AngularJS) */

.hierarchical-relation-tree,
.hierarchical-relation-tree ul {
  list-style: none;
  margin: 0;
  padding-left: 20px;
}

.hierarchical-relation-tree {
  padding-left: 0;
}

.hierarchical-relation-tree .tree-children li {
  padding-left: 20px;
}

.hierarchical-relation-tree .tree-node > .tree-children {
  display: none;
}

.hierarchical-relation-tree .tree-node.tree-open > .tree-children {
  display: block;
}

.hierarchical-relation-tree .tree-toggle {
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-right: 4px;
  padding: 0;
  border: 0;
  appearance: none;
  background: url("../assets/images/tree-controls/collapsed-leaf.png") no-repeat center;
  cursor: pointer;
}

.hierarchical-relation-tree .tree-node.tree-open > .tree-toggle {
  background-image: url("../assets/images/tree-controls/expanded-leaf.png");
}

.hierarchical-relation-tree .tree-label {
  cursor: pointer;
}

.hierarchical-relation-tree .tree-node > a.tree-label {
  color: inherit;
  text-decoration: none;
  line-height: 1.5;
}

.hierarchical-relation-tree .tree-node > a.tree-label:hover {
  text-decoration: underline;
}

.hierarchical-relation-tree button.tree-label {
  background: none;
  border: 0;
  padding: 0;
  appearance: none;
  font: inherit;
  color: inherit;
}

.hierarchical-relation-tree .tree-node.link-selected > .tree-label {
  font-weight: bold;
}

.hierarchical-relation-tree .tree-pager > .tree-label {
  font-style: italic;
}

.hierarchical-relation-tree .tree-children.tree-loading {
  opacity: 0.5;
}
