body {
    padding: 20px;
    background-color: #f9f9f9;
  }

.p-4 {
    padding: 0px !important;
}

.container {
  min-width: 95%;
}

.navbar {
    font-weight: 0 !important;
}

h1 {
    margin-bottom: 1em;
}

h2 {
    position:sticky;
    left: 0;
    margin-right: 30px!;
    font-weight: 700;
}

h6 {
    font-weight:700;
}

.nav-link{
    font-weight: 700;
    color: black;
    padding-left: 40px;
    padding-right: 40px;
}

.tax-box {
    background-color: #fff;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0px 0px 8px 8px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    display: block;
    margin: auto;
    overflow-x: clip;
}

.loading {
    font-style: italic;
    color: #666;
}

.error {
    color: red;
    font-weight: bold;
    margin-top: 20px;
}

.taxonomy-tree {
    white-space: nowrap;
    line-height: 1.4;
    margin-top: 0px !important;
    overflow-x: scroll;
    padding-bottom: 30px;
}

.taxonomy-tree li {
    position: relative;
    margin: 0.2em 0;
    padding-left: 1.2em;
    cursor: default;
}

.taxonomy-tree li::before {
    content: "└─  ";
    position: absolute;
    left: 0;
    color: #555;
    color: white;
    border-bottom: 2px #555 solid;
}

.button-tax-container {
    display: inline-flex;
    align-items: stretch;
    border-radius: 6px;
    overflow: hidden;
    z-index: 1000;
}

.taxonomy-node-text {
    background: #198754;
    color: white;
    display: flex;
    align-items: center;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
    border-right: none;
    padding-left: 10px;
    padding-right: 10px;
    z-index: 1000;
}

.toggle-tax-tree {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    display: flex;
    align-items: center;
    padding-top: 3px;
    padding-bottom: 3px;
}

.tax-name {
  font-weight: bold;
  padding: 3px 6px;
  font-variant: petite-caps;
  font-size: 20px;
  padding-bottom: 6px;
  padding-left: 3px;
  padding-right: 3px;
}

.tax-counts {
  margin-left: 8px;
  font-size: 14px;
  color: white;
  font-family: monospace;
}

.highlight {
  background: #ffe686;
  color: black;
  margin-top: 5px;
  margin-bottom: 5px;
  border-radius: 6px;
}

.taxonomy-tree .tax-ul {
  list-style: none;
  margin: 0;
  padding-left: 2.5em;
  margin-left: -19.25px;
  margin-top: -27px;
}

.tax-ul > li:first-child {
  padding-top: 27px;
}

.taxonomy-tree li {
  margin: 0.2em 0;
  position: relative;
  border-left: 2px solid #555;
  margin-bottom: -10px;
  padding-top: 10px;
}

.root-ul>li {
    border-left: none !important;
}

.root-ul>li::before {
    border-bottom: none !important;
    border-left: none !important;
}

.root-ul {
     border-left: none !important;
}

.btn.btn-outline-success.toggle-tax-tree {
  z-index: 1000;
}

.tax-ul > li:last-child {
  border-left:none !important;
}

.tax-ul > li:last-child:before {
  border-left: 2px #555 solid;
  margin-top:-5px;
}

/* Make input+button behave like a single control */
.input-group:focus-within {
  box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25); /* same as Bootstrap's green focus */
  border-radius: 0.375rem; /* same as .form-control rounded */
}

.input-group .form-control,
.input-group .btn {
  box-shadow: none !important; /* remove default shadows */
}

.input-group .form-control {
  border-top-left-radius: 0.375rem;
  border-bottom-left-radius: 0.375rem;
}

.input-group .btn {
  border-top-right-radius: 0.375rem;
  border-bottom-right-radius: 0.375rem;
}

#taxSearchBtn {
    width: 30%;
}

.taxonomy-description {
  margin-bottom: 2em;
  margin-left: 1em;
  margin-right: auto;
  width: 90%;
  font-size: 18px;
}
 .ncbi-taxonomy-link {
    text-decoration: none;
    color: #198754;
  }

.ncbi-taxonomy-link:hover {
    text-decoration: none;
    text-shadow: 0px 0px 5px #198754;
    color: #198754;
}