#outer {
  display: block;
  position: relative;
}

/* works on firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #d3d3d3;
}

/* Works on Chrome, Edge, and Safari */
*::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

/* *::-webkit-scrollbar-track {
  background: white;
} */

*::-webkit-scrollbar-thumb {
  background-color: #d3d3d3;
  border-radius: 20px;
}

div.triangle {
    overflow: auto;
    white-space: nowrap;
    width: 76%;
    height: 95%;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 23%;
    transform: translateY(-50%);
    text-align: center;
}

div.triangle::-webkit-scrollbar {
      width: thin;
    }

div.row {
    position: relative;
    height: 2.6875em;
    text-align: center;
    z-index: -1;
    white-space: nowrap;
    display: flex;
    width: min-content;

}

div.elem {
    border: 1px solid #e1c2c2;
    width: 6.375em;
    height: 80%;
    display: inline-block;
    position: relative;
}

div.elem > pre, div.elem > span {
  display: inherit;
}

div.elem .cvalue {
    overflow: hidden;
    text-overflow: ellipsis;
    width: 80%;
    margin: 0;
    position: absolute;
    font-size: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -47%);
}

div.elem .cvalue:hover {
    overflow: visible;
    background-color: rgb(217, 200, 200);
    width: min-content;
    height: min-content;
    z-index: 100;
    font-size: 150%;
}

button.mybutton {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 7px;
  position: relative;
  z-index: 100;

}

button.binterface {
  width: 36%;
  border: hidden;
}

button.binterface:hover {
  opacity: 75%;
}

button.binterface:active {
  opacity: 85%;
}

select.mymenu {
  border: hidden;
  width: 36%;
  text-align: center;
}

select.mymenu:hover {
  opacity: 75%;
}

select.mymenu:active {
  opacity: 85%;
}

div.interface {
  position: relative;
  /* width: 100%; */
  margin-top: 5px;
}

div.interface textarea {
  width: 100%;
}

/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 250px;
  background-color: #ccdfbd;
  color: black;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;

  opacity: 0;
  transition: opacity 1s;
  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 200;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

div.intcontainer {
  width: 100%;
  display: inline-flex;
  justify-content: space-between;
  margin-top: 5px;
}

#download_button {
  position: absolute;
  top: 7px;
  right: 1px;
  background: GhostWhite
}

#download_button:hover {
  opacity: 75%;
  stroke: #164ed5;
}

#download_button:active {
  opacity: 95%;
}

span.hint {
  visibility: hidden;
  position: absolute;
  background-color: #f4dada;
  color: black;
  text-align: center;
  padding: 2px 6px;
  border-radius: 6px;
  bottom: 4px;
  left: 3px;
  float: none;
}

span.hint:hover {
  opacity: 75%;
}

span.hint:active {
  opacity: 85%;
}

span.idx {
  float: none;
  position: absolute;
  left: 3px;
  top: 0px;
  font-size: 8px;
  width: 40%;
  text-overflow: ellipsis;
  overflow: hidden;
  text-align: left;
}

span.idx:hover {
  background-color: rgb(255, 255, 255);
  overflow: visible;
  border-style: solid;
  border-width: 1px;
  border-color: rgb(196, 230, 209);
  width: auto;
  height: auto;
  z-index: 100;
  font-size: 110%;
}

span.pbc {
  position: absolute;
  bottom: 0px;
  right: 2px;
  font-size: 8px;
  width: 40%;
  text-overflow: ellipsis;
  text-align: right;
  overflow: hidden;
}

span.pbc:hover {
  background-color: rgb(255, 255, 255);
  overflow: visible;
  border-style: solid;
  border-width: 1px;
  border-color: rgb(88, 191, 208);
  width: auto;
  height: auto;
  z-index: 100;
  font-size: 110%;
}

input.lookup {
  width: 50px;
}

div.output {
  width: 100%;
  overflow-x: auto;
  text-overflow: ellipsis;
  height: 30px;
  white-space: nowrap;
}

div.output pre {
  display: inline;
}
