$range__thumb-bg: $neutral-white;
$range__thumb-height: 16px;
$range__thumb-width: 16px;
$range__thumb-radius: 100%;
$range__track-bg: $neutral-black;
$range__track-height: 2px;

input {
  display: block;
}

input[type=range] {
  -webkit-appearance: none;
  background: transparent;
  width: 100%;

  &::-ms-track {
    background: transparent;
    border-color: transparent;
    color: transparent;
    cursor: pointer;
    width: 100%;
  }

  &::-webkit-slider-thumb {
    -webkit-appearance: none;
    background: $range__thumb-bg;
    border-radius: $range__thumb-radius;
    border: $border;
    cursor: pointer;
    height: $range__thumb-height;
    margin-top: -8px;
    width: $range__thumb-width;
  }

  &::-moz-range-thumb {
    background: $range__thumb-bg;
    border-radius: $range__thumb-radius;
    border: $border ;
    cursor: pointer;
    height: $range__thumb-height;
    width: $range__thumb-width;
  }

  &::-ms-thumb {
    background: $range__thumb-bg;
    border-radius: $range__thumb-radius;
    border: $border ;
    cursor: pointer;
    height: $range__thumb-height;
    width: $range__thumb-width;
  }

  &::-webkit-slider-runnable-track {
    background: $range__track-bg;
    border-radius: 0;
    border: none;
    box-shadow: none;
    cursor: pointer;
    height: $range__track-height;
    width: 100%;
  }

  &:focus::-webkit-slider-runnable-track {
    background: $range__track-bg;
  }

  &::-moz-range-track {
    background: $range__track-bg;
    border-radius: 0;
    border: none;
    box-shadow: none;
    cursor: pointer;
    height: $range__track-height;
    width: 100%;
  }

  &::-ms-track {
    background: transparent;
    border-color: transparent;
    border-width: 16px 0;
    color: transparent;
    cursor: pointer;
    height: $range__track-height;
    width: 100%;
  }
  &::-ms-fill-lower {
    background: $range__track-bg;
    border-radius: 0;
    border: none;
    box-shadow: none;
  }
  &:focus::-ms-fill-lower {
    background: $range__track-bg;
  }
  &::-ms-fill-upper {
    background: $range__track-bg;
    border-radius: 0;
    border: none;
    box-shadow: none;
  }
  &:focus::-ms-fill-upper {
    background: $range__track-bg;
  }
}
