.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 {
  background: rgba( 255,255,255,0.4);
  position: relative;
  height:2px;
}
.rangeslider--horizontal {
  height: 20px;
  width: 100%;
}
.rangeslider--vertical {
  width: 20px;
  min-height: 150px;
  max-height: 100%;
}
.rangeslider--disabled {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=40);
  opacity: 0.4;
}
.rangeslider__fill {
  background: #FFFFFF;
  position: absolute;
  height:2px;
}
.rangeslider--horizontal .rangeslider__fill {
  top: 0;
  height: 100%;
  height:2px;

}
.rangeslider--vertical .rangeslider__fill {
  bottom: 0;
  width: 100%;
}
.rangeslider__handle {
    background: #FFFFFF;
    cursor: pointer;
    display: inline-block;
    width: 21px;
    height: 21px;
    position: absolute;
    border-radius: 50%;
}

/*
.rangeslider__handle:after {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  margin: auto;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjEzIi8+PHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjZmZmZmZmIiBzdG9wLW9wYWNpdHk9IjAuMCIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');
  background-size: 100%;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, rgba(0, 0, 0, 0.13)), color-stop(100%, rgba(255, 255, 255, 0)));
  background-image: -moz-linear-gradient(rgba(0, 0, 0, 0.13), rgba(255, 255, 255, 0));
  background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0.13), rgba(255, 255, 255, 0));
  background-image: linear-gradient(rgba(0, 0, 0, 0.13), rgba(255, 255, 255, 0));
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
}
.rangeslider__handle:active, .rangeslider--active .rangeslider__handle {
  background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjEiLz48c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDAwMDAiIHN0b3Atb3BhY2l0eT0iMC4xMiIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');
  background-size: 100%;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, rgba(0, 0, 0, 0.1)), color-stop(100%, rgba(0, 0, 0, 0.12)));
  background-image: -moz-linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.12));
  background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.12));
  background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.12));
}
*/

.rangeslider--horizontal .rangeslider__handle {
  top: -9px;
  touch-action: pan-y;
  -ms-touch-action: pan-y;
}
.rangeslider--vertical .rangeslider__handle {
  left: -10px;
  touch-action: pan-x;
  -ms-touch-action: pan-x;
}
input[type="range"]:focus + .rangeslider .rangeslider__handle { box-shadow: 0 0 8px rgba(255, 0, 255, 0.9); }

/*  ----------------------------------------- */
$background-color: #121212;
$base-color: #F01F14;
$bright-color: #5C5C5C;
$tooltip-bg-color: $base-color;
$link-color: $base-color;
$dark-link-color: darken( $link-color, 40% );
@mixin position($top: 50%, $left: 50%, $horizontal: -50%, $vertical: -50%, $bottom: auto) {
  position: absolute;
  top: $top;
  left: $left;
  bottom: $bottom;
  transform: translate($horizontal, $vertical);
  -webkit-transform: translate($horizontal, $vertical);
  -ms-transform: translate($horizontal, $vertical);
}
@mixin resize($x, $y) {
  -ms-transform: scale($x, $y); /* IE 9 */
  -webkit-transform: scale($x, $y); /* Safari */
  transform: scale($x, $y);
}
@mixin transition($target: all, $duration: .3s) {
  transition: $target $duration ease-in-out;
  -moz-transition: $target $duration ease-in-out;
  -webkit-transition: $target $duration ease-in-out;
}
body {
  background: $background-color;
  color: $bright-color;
}
wrapper {
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  padding: 15rem;
}
.rangeslider {
  background-color: $bright-color;
  border-radius: 0.4rem;
  height: 0.2rem;
}
.rangeslider__fill {
  background-color: $base-color;
  border-radius: 0.4rem;
}
.rangeslider__handle {
  width: 1.3rem;
  height: 1.3rem;
  position: absolute;
  @include transition(transform);

  &::after {
    display: none;
  }
  &:hover, &:active {
    @include resize(1.2,1.2);
    @include transition(transform, .1s);
  }
}

.rangeslider__value-bubble {
  // poz dat sheit
  @include position(auto, 50%,-50%,0, 2.5rem);
  text-align: center;
  background-color: $tooltip-bg-color;
  padding: 1rem;
  color: $bright-color;
  width: auto;
  margin: 0;
  white-space: nowrap;

  &::before {
    content: "";

    // border magic makes arrow yay!
    width: 0;
    height: 0;
    border-left: 1rem solid transparent;
    border-right: 1rem solid transparent;
    border-top: 1rem solid $base-color;

    // put to the right place
    @include position(auto, 50%, -50%, -45%, -1rem);
  }
}