#histogram-slider {
  position: relative;
  padding: 0 17px;
}

.histogram-wrap {
  overflow: hidden;
  display: flex;
}

.histogram-top-scale-wrap {
  position: relative;
  overflow: hidden;
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  transition: opacity 200ms ease-in-out;
  background-color: #1e2633bb;
}

.histogram-top-scale {
  height: 50px;
  display: flex;
  position: absolute;
}

.histogram-top-scale div {
  text-align: center;
  border-left: 1px solid white;
  padding: 0 5px;
}

.histogram-top-scale div:last-child {
  border-right: 1px solid white;
}

.histogram-top-scale div:not(:first-child) {}

.histogram-top-scale-tick {
  font-size: 14px;
  margin-bottom: 0;
}

.histogram-top-scale-value {
  font-size: 14px;
}

.bin {
  position: relative;
  margin-right: 1px;
}

.bin-color {
  background-color: #DBE0E2;
}

.bin-color-selected {
  background-color: #13467A;
}

.bin-color-optimal {
  background-color: #CAF9F6;
}

.bin-color-optimal-selected {
  background-color: #01E2D4;
}

.in-range {
  z-index: 1;
}

.out-of-range {
  z-index: 0;
}

.selected-range {
  text-align: center;
  margin-top: 25px;
}

.selected-range {
  font-size: 22px;
}

.ui-slider-horizontal {
  height: .2em;
}

.ui-slider .ui-slider-handle {
  width: .8em;
  height: .8em;
  border-radius: 50%;
}

.ui-corner-all {
  border-radius: 0;
}

.histogram-tooltip {
  cursor: pointer;
  float: left !important;
}

.histogram-tooltip>.tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: white;
  color: black;
  text-align: center;
  padding: 12px;
  position: absolute;
  z-index: 100;
  pointer-events: none;
}

.display-none {
  display: none;
}

@media(hover: hover) {
  .histogram-tooltip:hover>.bin-color {
    background-color: #e5432a;
    z-index: 2;
  }

  .histogram-tooltip:hover>.tooltiptext {
    visibility: visible;
    margin-top: 50px;
  }
}

@media(max-width: 480px) {
  .histogram-top-scale-tick,
  .histogram-top-scale-value {
    font-size: 12px;
  }
}
