#wrapper {
  width: 100%;
  height: calc(100vh - 130px);
  border: 1px solid green;
  box-sizing: border-box;
}

#tree {
  overflow-y: auto;
  height: 100%;
}

.node,
.children {
  overflow-y: hidden;
}

.children {
  margin-left: calc(1px + 0.725em);
  padding-left: calc(1px + 0.431em);
  background: linear-gradient(
      to bottom,
      #888888 0%,
      #888888 calc(100% - 10px),
      transparent calc(100% - 10px)
    )
    0 0 / 1px 100% no-repeat;
}

.closed {
  display: none;
}

.item span {
  pointer-events: none;
}

span.code-label {
  margin-left: 5px; /* --span-margin */
  line-height: 22px;
}

i.fa-shrink {
  transform: scale(0.5);
  transform-origin: 50% 50%;
}
i.fa-shrink-more {
  transform: scale(0.2);
}
i.fa-caret-down {
  transition: all 0.25s linear;
}
i.fa-caret-down.rotated {
  transform: rotate3d(0, 0, 1, 180deg);
}
i.fas {
  color: #555555;
  flex-shrink: 0;
}

.no-click {
  pointer-events: none;
}

.statusCount {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.7em;
}

.statusCount.included {
  margin-left: 6px;
}

.statusCount.included,
.statusCount.included i.fas {
  color: green;
}

.statusCount.excluded,
.statusCount.excluded i.fas {
  color: red;
}

.statusCount.unknown,
.statusCount.unknown i.fas {
  color: orange;
}

.statusCount.noChildren,
.statusCount.noChildren i.fas {
  color: #999999;
}

.item {
  display: flex;
  align-items: center;
  justify-content: start;
  font-size: 16px;
  font-family: sans-serif;
  min-height: 28px;
  cursor: pointer;
  /*   padding-top: 3px; */
}

.item:hover {
  background-color: #e1e5e1;
}

.item:hover .statusCount {
  display: flex;
}

.node.item {
  cursor: default;
}
.node.item.included:hover {
  background-color: #e6f8d8;
}
.node.item.excluded:hover {
  background-color: #f0f0f0;
}
.node.item.unknown:hover {
  background-color: #fdfde4;
}

/* Don't show hover effect on phone/tablets etc. */
@media (hover: none) {
  /* Device that can not hover with ease */
  .node.excluded .item:hover {
    background-color: #f0f0f0;
  }
  .node.included .item:hover {
    background-color: #e6f8d8;
  }
  .node.unknown .item:hover {
    background-color: #fdfde4;
  }
}

.node.excluded {
  background: #f0f0f0;
  opacity: 0.6;
}
.node.included {
  background: #e6f8d8;
}
.node.unknown {
  background: #fdfde4;
}

.notransition {
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -o-transition: none !important;
  transition: none !important;
}

.included-reason {
  color: green;
  font-weight: bold;
}

.included-reason-group {
  border-bottom: 2px solid green;
  /*   text-decoration: underline; */
}

.excluded-reason {
  color: red;
  font-weight: bold;
  border-bottom: 2px solid red;
  /*   text-decoration: underline; */
}

.tippy-box[data-theme~="my"] {
  text-align: left;
  border: 1px solid black;
  background: white;
  color: black;
  font-size: 16px;
  font-family: sans-serif;
  margin: 10px;
}

.pl-10 {
  padding-left: 10px;
}

.ml-10 {
  margin-left: 10px;
}

.mr-10 {
  margin-right: 10px;
}

i.fa-info-circle {
  color: #428bca;
  cursor: pointer;
}

span.pill {
  border-radius: 3px;
  padding: 3px 6px;
  text-transform: uppercase;
  font-weight: bold;
}

span.pill.included {
  background-color: green;
  color: white;
}

span.pill.unknown {
  background-color: orange;
  color: white;
}

span.pill.excluded {
  background-color: red;
  color: white;
}

.alert {
  padding-top: 3px;
  padding-bottom: 3px;
  margin-bottom: 5px;
}
.fa-github::before {
  content: "\f09b";
}
.fab {
  font-family: "Font Awesome 5 Brands", sans-serif;
  font-display: swap;
}
.btn-github {
  color: #ffffff;
  background-color: #444444;
  border-color: rgba(0, 0, 0, 0.2);
}
.btn-social {
  position: relative;
  padding-left: 44px;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.btn-social > :first-child {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 32px;
  line-height: 34px;
  font-size: 1.6em;
  text-align: center;
  border-right: 1px solid rgba(0, 0, 0, 0.2);
}
.btn-github:hover {
  color: #ffffff;
  background-color: #2b2b2b;
  border-color: rgba(0, 0, 0, 0.2);
}

.navbar {
  margin-bottom: 10px;
}

.nav-tabs {
  margin-bottom: 10px;
  border: none;
}

#to-correct {
  float: right;
}

@media (max-width: 540px) {
  #results {
    padding: 0;
  }
  .btn-toolbar {
    display: flex;
    justify-content: center;
  }
  #to-correct {
    float: none;
  }
}

@media (max-width: 440px) {
  .btn-social {
    display: none;
  }
}
