.rangeslider,
.rangeslider__fill {
  display: block;
  -moz-box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.3);
  box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.3);
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
}

.rangeslider {
  position: relative;
  border-top: solid 1px #000;
  border-bottom: solid 1px #666;
  background-position: center top;
  background-repeat: no-repeat;
  background: #999;
  margin: 0 auto;
  border-radius: 1ex;
  background: linear-gradient(#2A2A2A,#777,#434343);
  box-shadow: inset 0 0 3px 1px rgba(20,20,20,0.8);
  -moz-box-shadow: inset 0 0 3px 1px rgba(20,20,20,0.8);
  -webkit-box-shadow: inset 0 0 3px 1px rgba(20,20,20,0.8);
  background: -webkit-linear-gradient(#2A2A2A,#777,#434343);
  background: -moz-linear-gradient(#2A2A2A,#777,#434343);
  background: -ms-linear-gradient(#2A2A2A,#777,#434343);
  background: -o-linear-gradient(#2A2A2A,#777,#434343);
}

.rangeslider--horizontal {
  height: 3px;
  width: 100%;
}

.rangeslider--horizontal:before{
    background-position: -3px;
    content: "";
    position: absolute;
    top: -18px;
    height: 16px;
    width: 100%;
    background-image: url(../img/slider_bg.png);
    background-repeat: repeat-x;
}

.rangeslider--vertical {
  width: 5px;
  min-height: 150px;
  max-height: 100%;
}

.rangeslider--disabled {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=40);
  opacity: 0.4;
}

.rangeslider__fill {
  position: absolute;
  background: #AAA;
  border-radius: 1ex;
  -webkit-box-shadow: none;
  box-shadow: none;
}
.rangeslider--horizontal .rangeslider__fill {
  top: 0;
  height: 100%;
}
.rangeslider--vertical .rangeslider__fill {
  bottom: 0;
  width: 100%;
}

.rangeslider__handle {
  background: white;
  cursor: pointer;
  display: inline-block;
  width: 19px;
  height: 19px;
  position: absolute;
  border-radius: 3px;
  background-image: url( ../img/slider_cur.png );
}

.rangeslider--horizontal .rangeslider__handle {
  top: -8px;
  touch-action: pan-y;
  -ms-touch-action: pan-y;
}
.rangeslider--vertical .rangeslider__handle {
  left: -6px;
  touch-action: pan-x;
  -ms-touch-action: pan-x;
}

input[type="range"]:focus + .rangeslider .rangeslider__handle {
  -moz-box-shadow: 0 0 8px #099;
  /* -webkit-box-shadow: 0 0 8px #009999; */
  /* box-shadow: 0 0 6px #099; */
  outline: 2px solid #06f;
}
