/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

.tree-theme-human div.tree-subtree {
  margin: 0px 0px 0px 18px;
  padding: 0px;
}

html[dir="rtl"] .tree-theme-human div.tree-subtree {
  margin: 0px 18px 0px 0px;
}

.tree-theme-human div.tree-branch {
  margin: 0px;
  padding: 0px;
}

.tree-theme-human div.tree-branch-mid {
}

.tree-theme-human div.tree-branch-last {
}

/* node */

.tree-theme-human .tree-junction {
  display: block;
  float: left;
  width: 18px;
}

html[dir="rtl"] .tree-theme-human .tree-junction {
  float: right;
}

.tree-theme-human .tree-junction-expanded {
  display: block;
  float: left;
  width: 18px;
  background-image: url(tree.gif);
  background-position: -18px center;
  background-repeat: no-repeat;
  text-decoration: none;
}

html[dir="rtl"] .tree-theme-human .tree-junction-expanded {
  float: right;
  background-image: url(tree-rtl.gif);
  background-position-x: -36px;
}

.tree-theme-human .tree-junction-expanded:hover {
  background-position: -54px center;
}

html[dir="rtl"] .tree-theme-human .tree-junction-expanded:hover {
  background-position-x: 0px;
}

.tree-theme-human .tree-junction-collapsed {
  display: block;
  float: left;
  width: 18px;
  background-image: url(tree.gif);
  background-position: 0px center;
  background-repeat: no-repeat;
  text-decoration: none;
}

html[dir="rtl"] .tree-theme-human .tree-junction-collapsed {
  float: right;
  background-image: url(tree-rtl.gif);
  background-position-x: -54px;
}

.tree-theme-human .tree-junction-collapsed:hover {
  background-position: -36px center;
}

html[dir="rtl"] .tree-theme-human .tree-junction-collapsed:hover {
  background-position: -18px center;
}

.tree-theme-human span.tree-content {
  display: block;
  margin-left: 18px;
}

html[dir="rtl"] .tree-theme-human span.tree-content {
  margin-right: 18px;
}

/* tabletree */

.tree-theme-human table {
  border-spacing: 0px;
  border-collapse: collapse;
}

.tree-theme-human tr.selected {
  background-color: #fad184;
}

.tree-theme-human td {
  /* allow tree divs to fill complete td (regretfully height 100% on divs does not work) */
  margin: 0px;
  padding: 0px;
}

/* content */

.tree-theme-human span.tree-content a {
  color: black;
  text-decoration: none;
}

.tree-theme-human span.tree-content a:hover {
  text-decoration: underline;
}

.tree-theme-human span.tree-content .selected {
  background-color: #fad184;
}

.tree-theme-human .tree-folder-closed {
  display: inline-block;
  padding-left: 18px;
  background-image: url(folder.gif);
  background-position: 0px 50%;
  background-repeat: no-repeat;
}

html[dir="rtl"] .tree-theme-human .tree-folder-closed {
  background-image: url(folder-rtl.gif);
  background-position-x: right;
  padding-right: 18px;
  padding-left: initial;
}

.tree-theme-human .tree-folder-open {
  display: inline-block;
  padding-left: 18px;
  background-image: url(folder.gif);
  background-position: 0px 50%;
  background-repeat: no-repeat;
}

html[dir="rtl"] .tree-theme-human .tree-folder-open {
  background-image: url(folder-rtl.gif);
  background-position-x: right;
  padding-right: 18px;
  padding-left: initial;
}

.tree-theme-human .tree-folder-other {
  display: inline-block;
  padding-left: 18px;
  background-image: url(folder-other.gif);
  background-position: 0px 50%;
  background-repeat: no-repeat;
}

html[dir="rtl"] .tree-theme-human .tree-folder-other {
  background-image: url(folder-rtl-other.gif);
  background-position-x: right;
  padding-right: 18px;
  padding-left: initial;
}
