.item {
  margin-bottom: 10px;
}
.slider-label {
  display: block;
  height: 10px;
  position: absolute;
  margin: -43px 12px 0;
  z-index: -1;
}
h1 {
  margin-bottom: 20px;
}
input[type=range] {
  height: 50px;
  padding-bottom: 20px;
  z-index: 1;
  background: transparent;
  -webkit-appearance: none;
}
input[type=range]::-webkit-slider-runnable-track {
  height: 3px;
  background: #999;
  border: none;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  border: none;
  height: 12px;
  width: 12px;
  border-radius: 50%;
  background: #777;
  margin-top: -4px;
}
input[type=range]::-moz-range-track {
  background: #999;
  border: none;
}
input[type=range]::-moz-range-thumb {
  border: none;
  height: 12px;
  width: 12px;
  border-radius: 50%;
  background: #777;
}
input[type=range]::-ms-track {
  background: #999;
  height: 1px;
  color: transparent;
}
input[type=range]::-ms-thumb {
  border: none;
  height: 12px;
  width: 12px;
  margin-top: 1px;
  border-radius: 50%;
  background: #777;
}
input[type=range]::-ms-tooltip {
    display: none;
}
.point {
  position: absolute;
  display: inline-block;
  margin-top: 10px;
  font-size: 75%;
  width: 40px;
  text-align: center;
  z-index: -1;
  color: #555;
}
.point::before {
  display: block;
  background: #999;
  width: 2px;
  height: 15px;
  margin-left: 20px;
  content: "";
  z-index: -1;
}
.point-small {
  position: absolute;
  display: inline-block;
  width: 1px;
  height: 10px;
  z-index: -1;
  margin-top: 10px;
  background: #999;
  margin-left: 200px;
}
.shape * {
  cursor: pointer;
}
.shape label {
  position: absolute;
  width: 100%;
  display: inline-block;
  text-align: center;
  color: white;
  font-size: 0.9em;
  margin-left: -15px;
}
.shape img {
  width: 100%;
}
.unit_dsc:not(.unit0) {
  display: none;
}

/* Distribution */
#distributionImage {
  width: 75%;
}
#distributionLength {
  width: 50%;
  margin-left: 12.5%;
}
#arc-add, #arc-sub {
  width: 34px;
  display: inline-block;
  vertical-align: top;
}

/* Distribution graph */
#graph {
  width: 100%;
  z-index: 50;
}

.graph-zoom {
  display: inline-block;
  position: absolute;
  margin-top: -28px;
  padding-right: 28px;
  text-align: right;
  width: 100%;
  z-index: 99;
}
.graph-zoom.graph-zoom-second {
  margin-top: -22px;
}
.graph-zoom > input {
  width: 24px;
  height: 24px;
  padding: 2px;
  display: inline-block;
  z-index: 100;
}
.graph-zoom > input:first-child {
  margin-right: 16px;
}

#graph-scale {
  margin-top: 5px;
}
#graph-scale > div:not(:first-child):not(:last-child) {
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  border-right: 1px solid black;
  height: 10px;
}
#graph-scale > div:nth-child(2) {
  border-left: 1px solid black;
}

#graph-scale > div:nth-child(2) { background: #0000ff; }
#graph-scale > div:nth-child(3) { background: #00aaff; }
#graph-scale > div:nth-child(4) { background: #00ffff; }
#graph-scale > div:nth-child(5) { background: #00ffbc; }
#graph-scale > div:nth-child(6) { background: #00ff6a; }
#graph-scale > div:nth-child(7) { background: #5bff00; }
#graph-scale > div:nth-child(8) { background: #b8ff00; }
#graph-scale > div:nth-child(9) { background: #ffff00; }
#graph-scale > div:nth-child(10) { background: #ffaa00; }
#graph-scale > div:nth-child(11) { background: #ff4000; }

#graph-scale-label div {
  text-align: center;
  font-size: 90%;
}
#graph-scale-label div:first-child {
  margin-left: 4.16%;
}
#graph-scale-label .unit_dsc {
  font-size: 75%;
  position: absolute;
  margin-left: 12px;
}