/**
 * Angular JS slider directive
 *
 * (c) Rafal Zajac <rzajac@gmail.com>
 * http://github.com/rzajac/angularjs-slider
 *
 * Licensed under the MIT license
 */

rzslider {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 2px;
  margin: 30px 0 15px 0;
  vertical-align: middle;
  left: 10;
}

rzslider span {
  position: absolute;
  display: inline-block;
  white-space: nowrap;
}

rzslider span.base {
  width: 100%;
  height: 100%;
  padding: 0;
}

rzslider span.bar {
  z-index: 0;
  width: 100%;
  height: 100%;
  //background: #fff;
  background: rgba(0,0,0,0.3);
//  background: -webkit-linear-gradient(left top, hsl(0,100%,50%), hsl(60,100%,50%), hsl(120,100%,50%), hsl(180,100%,50%), hsl(240,100%,50%), hsl(300,100%,50%), hsl(360,100%,50%));
}


.colorful rzslider span.bar {
  z-index: 0;
  width: 100%;
  height: 200%;
  background: #fff;
  background: -webkit-linear-gradient(left top, hsl(0,100%,50%), hsl(60,100%,50%), hsl(120,100%,50%), hsl(180,100%,50%), hsl(240,100%,50%), hsl(300,100%,50%), hsl(360,100%,50%));
}

rzslider span.bar.selection {
  z-index: 1;
  width: 0;
  //background: #67b700;
  background: rgba(255,255,255,1);
}

.colorful rzslider span.bar.selection {
  z-index: 1;
  width: 0;
  //background: #67b700;
  background: rgba(0,0,0,0.5);
}


rzslider span.pointer {
  top: -7px;
  z-index: 2;
  width: 16px;
  height: 16px;
  cursor: pointer;
  background-color: #ffffff;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
}

rzslider span.pointer:after {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 4px;
  height: 4px;
  background: #71818e;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
  content: '';
}

rzslider span.pointer:hover:after {
  //background-color: #67b700;
  background-color: black;
}

rzslider span.pointer.active:after {
  //background-color: #67b700;
  background-color: red;
}

rzslider span.bubble {
  top: -30px;
  padding: 1px 3px 1px 3px;
  color: white;
  cursor: default;
  font-weight: bold;
}

rzslider span.bubble.selection {
  top: 15px;
}

rzslider span.bubble.limit {
  //color: #67b700;
  color: black;
}
