@import "vars.scss";

.bgus_hidden {
  display: none !important;
}
.bgus_nobreak {
  white-space: nowrap;
}
#bgus_fz_searchbox {
  position: fixed;
  top: 20px;
  left: 30%;
  right: 30%;
  background: rgba(10, 10, 10, 0.8);
  display: flex;
  flex-direction: column;
  z-index: 9999;
  color: #fff;
}
#bgus_fz_searchbox input {
  font-size: 14pt;
  padding: 5pt 8pt;
  border: 1px solid #555;
  margin: 5px;
  margin-bottom: 0;
  background-color: #111;
  color: #fff;
}
#bgus_fz_searchbox ul {
  list-style: none;
  margin: 5px;
  padding: 0;
}
#bgus_fz_searchbox li {
  margin: 0;
  padding: 5px;
  cursor: pointer;
}
#bgus_fz_searchbox li:hover {
  background-color: rgba(100, 100, 100, 0.5);
}
#bgus_fz_searchbox li.selected {
  border-left: 3px solid white;
}
.bgus_twistie:after {
  color: red;
  display: inline-block;
  font-weight: bold;
  margin-left: 0.2em;
  content: "⯆";
}
.bgus_collapsed > .bgus_twistie:after {
  content: "⯈";
}
div.tooltiptext {
  display: none;
  border: 1px solid #384e68;
  background: linear-gradient(to bottom, darken(#384e68, 20%), darken(#384e68, 25%));
}
span.bgus_nested_element:not(.bgus_collapsed) + div.tooltiptext {
  z-index: unset;
  visibility: inherit;
  display: block;
  opacity: 1;
  position: relative;
  width: auto;
  border-left-width: 3px;
  margin-left: 5px;
  margin-top: 5px;
  font-size: 8pt;
  padding: 5px 8px;
  line-height: 10pt;

  div.tooltiptext {
    margin-left: -5px;
  }
}
.bchem table.wikitable > tbody > tr > td:nth-child(2) {
  width: 45%;
  padding: 10px;
}
.bchem table.wikitable {
  border: 0 !important;
  .table-head {
    text-align: center;
  }
  th {
    background-color: darken($nanotrasen, 5%) !important;
  }
}
.bgus_fz_selected {
  border: 3px solid yellow;
}
body.bgus_cbox input[type="checkbox"] + span[data-src]:before {
  display: inline-block;
  width: 1.5em;
  content: "[_]";
}
body.bgus_cbox input[type="checkbox"]:checked + span[data-src]:before {
  content: "[X]";
}
body.bgus_cbox input[type="checkbox"]:checked + span[data-src] {
  text-decoration: line-through;
}
body.bgus_cbox input[type="checkbox"] + span[data-src] {
  cursor: pointer;
}
body.bgus_cbox input[type="checkbox"] + span[data-src]:before,
body.bgus_cbox input[type="checkbox"] + span[data-src] {
  color: orange;
  font-weight: bold;
}
body.bgus_cbox input[type="checkbox"]:checked + span[data-src]:before,
body.bgus_cbox input[type="checkbox"]:checked + span[data-src] {
  color: green;
}

.reagent-ext {
  .reagent-header {
    font-size: 12pt;
    text-align: left;
    padding: 10pt;
    padding-bottom: 0;
  }
  p {
    font-size: 8pt;
    font-weight: 300;
    line-height: 1.4em;
    word-spacing: -0.1em;
  }
  .treatment {
    font-size: 10pt;
  }
  .metabolism:before {
    font-size: 9pt;
    content: "Metabolism rate: ";
    font-weight: bold;
  }
  .overdose,
  .addiction {
    font-size: 9pt;
    font-weight: bold;
  }
  .overdose:before {
    color: #ffae68;
    content: "Overdose at ";
  }
  .addiction:before {
    color: #ffdf97;
    content: "Addiction at ";
  }
}
