div.slider {
  padding: 5px;
  display: inline-block;
  position: relative;
}

div.slider div.slider_label {
  font-size: 12px;
  font-weight: bold;
  display: inline-block;
  float: left;
  height: 20px;
  line-height: 20px;
  padding: 4px 5px;
  color: #333333;
}

div.slider div.current, div.slider div.handle, div.slider div.tick {
  text-align: center;
  font-size: 12px;
  float: left;
  cursor: pointer;
  display: block;
  position: absolute;
}

div.slider div.current, div.slider div.handle {
  height: 25px;
  line-height: 26px;
  color: #333333;
  border: 1px solid #bbbbbb;
  border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25);
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
  background-color: #e6e6e6;
  background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
  background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
  -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
     -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
          box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
  -moz-background-clip: padding; -webkit-background-clip: padding-box; background-clip: padding-box;
  margin-top: -2px;
  margin-left: -1px;

}

div.slider div.current:hover, div.slider div.handle:hover {
  text-decoration: none;
  background-position: 0 -15px;
  -webkit-transition: background-position 0.1s linear;
     -moz-transition: background-position 0.1s linear;
       -o-transition: background-position 0.1s linear;
          transition: background-position 0.1s linear;
  
}

div.slider div.current {
  z-index: 50;
}

div.slider div.tick {
  height: 20px;
  line-height: 20px;
  background: none;
  color: #ffffff;
  padding-top: 2px;
}

div.slider div.background {
  color: white;
  text-align: center;
  overflow: visible;
  display: block;
  top: 7px;
  background-color: #888888;
  background-image: -moz-linear-gradient(top, #999999, #888888);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#999999), to(#888888));
  background-image: -webkit-linear-gradient(top, #999999, #888888);
  background-image: -o-linear-gradient(top, #999999, #888888);
  background-image: linear-gradient(to bottom, #999999, #888888);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  float: left;
  -webkit-box-shadow: inset 0px 2px 4px rgba(0,0,0,.15), 0px 1px 2px rgba(0,0,0,.05);
     -moz-box-shadow: inset 0px 2px 4px rgba(0,0,0,.15), 0px 1px 2px rgba(0,0,0,.05);
          box-shadow: inset 0px 2px 4px rgba(0,0,0,.15), 0px 1px 2px rgba(0,0,0,.05);
  position: absolute;
  z-index: 500;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
  -moz-background-clip: padding; -webkit-background-clip: padding-box; background-clip: padding-box;
  
}

div.slider div.ranger {
  background-color: rgba(180,0,0,1);
  box-shadow:inset 0px 0px 5px rgba(0,0,0,.5);
  -webkit-box-shadow:inset 0px 0px 5px rgba(0,0,0,.5);
  -moz-box-shadow:inset 0px 0px 5px rgba(0,0,0,.5);
  height: 16px;
  display: block;
  position: absolute;
  pointer-events: none;
}

div.slider div.bullet {
  font-weight: bold;
  display: inline-block;
  position: absolute;
  font-size: 12px;
  color: #4c4c4c;
  opacity: 0.5;
  text-align: center;
  height: 16px;
  width: 10px;
  z-index: 1;
  pointer-events: none;
}
