.d-slider {
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
  padding: 16px;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -moz-user-select: none;
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  touch-action: none;
}
.d-slider input {
  display: none;
}
.d-slider .d-slider-bar {
  border: 1px inset #ccc;
  border-radius: 4px;
  padding: 0;
  margin: 0;
  background-clip: content-box;
  background-color: #f5f5f5;
}
.d-slider .d-slider-container {
  box-sizing: border-box;
  position: relative;
  height: 100%;
  width: 100%;
  box-shadow: 0 0.1em 0.2em 0.1em rgba(0, 0, 0, 0.1) inset;
}
.d-slider .d-slider-progress-bar {
  box-sizing: content-box;
  border-width: 0;
  background-color: #999999;
}
.d-slider.d-disabled {
  cursor: default;
  box-shadow: none;
}
.d-slider.d-disabled .d-slider-container {
  box-shadow: none;
  border-color: #ffffff;
}
.d-slider.d-disabled .d-slider-progress-bar {
  background: none;
}
.d-slider.d-disabled .d-slider-handle,
.d-slider.d-disabled .d-slider-handle:hover,
.d-slider.d-disabled .d-slider-handle:focus,
.d-slider.d-disabled .d-slider-handle:active,
.d-slider.d-disabled .d-slider-handle.active {
  border-color: #cccccc;
  box-shadow: none;
  background-color: #f5f5f5;
}
.d-slider-container > * {
  position: absolute;
}
.d-slider-handle {
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -moz-user-select: none;
  position: absolute;
  box-sizing: border-box;
  border: 1px outset #999999;
  border-radius: 6px;
  padding: 0;
  margin: 0;
  background-clip: content-box;
  background-color: #f5f5f5;
  z-index: 1;
}
.d-slider-handle:focus,
.d-slider-handle:active:focus,
.d-slider-handle.active:focus {
  outline: thin dotted;
  outline-offset: -3px;
}
.d-slider-handle:hover,
.d-slider-handle:focus {
  color: #333;
  text-decoration: none;
}
.d-slider-handle:focus + .d-slider-handle {
  z-index: 0;
}
.d-slider-handle:active,
.d-slider-handle.active {
  outline: 0;
  background-image: none;
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}
.d-slider-h {
  width: 200px;
}
.d-slider-h .d-slider-container {
  min-width: 80px;
  height: 8px;
}
.d-slider-h .d-slider-container > * {
  left: 0;
}
.d-slider-h .d-slider-progress-bar {
  height: 100%;
  top: 0;
}
.d-slider-h .d-slider-handle {
  top: -7px;
  width: 20px;
  height: 20px;
}
.d-slider-v {
  height: 200px;
}
.d-slider-v .d-slider-container {
  min-height: 80px;
  width: 8px;
}
.d-slider-v .d-slider-container > * {
  top: 0;
}
.d-slider-v .d-slider-progress-bar {
  width: 100%;
  left: 0;
  display: block;
}
.d-slider-v .d-slider-handle {
  left: -7px;
  width: 20px;
  height: 20px;
}
.d-slider-h-htl .d-slider-handle-max,
.d-slider-h-lth .d-slider-handle-min {
  left: -10px;
}
.d-slider-h-htl .d-slider-handle-min,
.d-slider-h-lth .d-slider-handle-max {
  right: -10px;
}
.d-slider-v-lth .d-slider-handle-max,
.d-slider-v-htl .d-slider-handle-min {
  bottom: -10px;
}
.d-slider-v-lth .d-slider-handle-min,
.d-slider-v-htl .d-slider-handle-max {
  top: -10px;
}
