/*
 * 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-bootstrap div.tree-subtree {
  margin: 0px 0px 0px 18px;
  padding: 0px;
}

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

/*
.tree-theme-bootstrap div.tree-branch-mid {
}

.tree-theme-bootstrap div.tree-branch-last {
}
*/

/* node */

.tree-theme-bootstrap .tree-junction {
  display: flex;
  float: left;
  color: rgba(0,0,0,0);
}

.tree-theme-bootstrap .tree-junction-expanded {
  display: flex;
  float: left;
  text-decoration: none;
}

/* https://fontawesome.com/icons/chevron-down?style=solid */
.tree-theme-bootstrap .tree-junction-expanded:before {
  font-family: "Font Awesome 6 Free", sans-serif;
  font-weight: 900;
  content: "\f078";
}

/*
.tree-theme-bootstrap .tree-junction-expanded:hover {
  
}
*/

.tree-theme-bootstrap .tree-junction-collapsed {
  display: flex;
  float: left;
  text-decoration: none;
}

/* https://fontawesome.com/icons/chevron-right?style=solid */
.tree-theme-bootstrap .tree-junction-collapsed:before {
  font-family: "Font Awesome 6 Free", sans-serif;
  font-weight: 900;
  content: "\f054";
}

/*
.tree-theme-bootstrap .tree-junction-collapsed:hover {
  
}
*/

.tree-theme-bootstrap span.tree-content {
  display: block;
}

.tree-theme-bootstrap .tree-node-selected {
  background-color: var(--tree-node-selected-bg-color, lightgrey);
}

/* tabletree */

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

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

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

/* content */

.tree-theme-bootstrap span.tree-content a {
  text-decoration: none;
}

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

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

