/*generated with Input range slider CSS style generator (version 20211225)
https://toughengineer.github.io/demo/slider-styler*/
input[type=range].styled-slider {
  height: 25px;
  width: 100%;
  background: inherit;
  -webkit-appearance: none;
}

/*progress support*/
input[type=range].styled-slider.slider-progress {
  --range: calc(var(--max) - var(--min));
  --ratio: calc((var(--value) - var(--min)) / var(--range));
  --sx: calc(0.5 * 25px + var(--ratio) * (100% - 25px));
}

input[type=range].styled-slider:focus {
  outline: none;
}

/*webkit*/
input[type=range].styled-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 15px;
  background: var(--primary-light);
  border: none;
  box-shadow: 0 0 2px black;
  margin-top: calc(max((10px - 1px - 1px) * 0.5,0px) - 25px * 0.5);
}

input[type=range].styled-slider::-webkit-slider-runnable-track {
  height: 10px;
  border: 1px solid var(--primary-light);
  border-radius: 5px;
  background: #ffffff;
  box-shadow: none;
}

input[type=range].styled-slider::-webkit-slider-thumb:hover {
  background: var(--primary-light);
}

input[type=range].styled-slider:hover::-webkit-slider-runnable-track {
  background: #ffffff;
  border-color: var(--primary-light);
}

input[type=range].styled-slider::-webkit-slider-thumb:active {
  background: var(--primary-light);
}

input[type=range].styled-slider:active::-webkit-slider-runnable-track {
  background: #ffffff;
  border-color: var(--primary-light);
}

input[type=range].styled-slider.slider-progress::-webkit-slider-runnable-track {
  background: linear-gradient(var(--primary-light),var(--primary-light)) 0/var(--sx) 100% no-repeat, #ffffff;
}

input[type=range].styled-slider.slider-progress:hover::-webkit-slider-runnable-track {
  background: linear-gradient(var(--primary-light),var(--primary-light)) 0/var(--sx) 100% no-repeat, #ffffff;
}

input[type=range].styled-slider.slider-progress:active::-webkit-slider-runnable-track {
  background: linear-gradient(var(--primary-light),var(--primary-light)) 0/var(--sx) 100% no-repeat, #ffffff;
}

/*mozilla*/
input[type=range].styled-slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 15px;
  background: var(--primary-light);
  border: none;
  box-shadow: none;
}

input[type=range].styled-slider::-moz-range-track {
  height: max(calc(10px - 1px - 1px),0px);
  border: 1px solid var(--primary-light);
  border-radius: 5px;
  background: #ffffff;
  box-shadow: none;
}

input[type=range].styled-slider::-moz-range-thumb:hover {
  background: var(--primary-light);
}

input[type=range].styled-slider:hover::-moz-range-track {
  background: #ffffff;
  border-color: var(--primary-light);
}

input[type=range].styled-slider::-moz-range-thumb:active {
  background: var(--primary-light);
}

input[type=range].styled-slider:active::-moz-range-track {
  background: #ffffff;
  border-color: var(--primary-light);
}

input[type=range].styled-slider.slider-progress::-moz-range-track {
  background: linear-gradient(var(--primary-light),var(--primary-light)) 0/var(--sx) 100% no-repeat, #ffffff;
}

input[type=range].styled-slider.slider-progress:hover::-moz-range-track {
  background: linear-gradient(var(--primary-light),var(--primary-light)) 0/var(--sx) 100% no-repeat, #ffffff;
}

input[type=range].styled-slider.slider-progress:active::-moz-range-track {
  background: linear-gradient(var(--primary-light),var(--primary-light)) 0/var(--sx) 100% no-repeat, #ffffff;
}

/*ms*/
input[type=range].styled-slider::-ms-fill-upper {
  background: transparent;
  border-color: transparent;
}

input[type=range].styled-slider::-ms-fill-lower {
  background: transparent;
  border-color: transparent;
}

input[type=range].styled-slider::-ms-thumb {
  width: 25px;
  height: 25px;
  border-radius: 15px;
  background: var(--primary-light);
  border: none;
  box-shadow: 0 0 2px black;
  margin-top: 0;
  box-sizing: border-box;
}

input[type=range].styled-slider::-ms-track {
  height: 10px;
  border-radius: 5px;
  background: #ffffff;
  border: 1px solid var(--primary-light);
  box-shadow: none;
  box-sizing: border-box;
}

input[type=range].styled-slider::-ms-thumb:hover {
  background: var(--primary-light);
}

input[type=range].styled-slider:hover::-ms-track {
  background: #ffffff;
  border-color: var(--primary-light);
}

input[type=range].styled-slider::-ms-thumb:active {
  background: var(--primary-light);
}

input[type=range].styled-slider:active::-ms-track {
  background: #ffffff;
  border-color: var(--primary-light);
}

input[type=range].styled-slider.slider-progress::-ms-fill-lower {
  height: max(calc(10px - 1px - 1px),0px);
  border-radius: 5px 0 0 5px;
  margin: -1px 0 -1px -1px;
  background: var(--primary-light);
  border: 1px solid var(--primary-light);
  border-right-width: 0;
}

input[type=range].styled-slider.slider-progress:hover::-ms-fill-lower {
  background: var(--primary-light);
  border-color: var(--primary-light);
}

input[type=range].styled-slider.slider-progress:active::-ms-fill-lower {
  background: var(--primary-light);
  border-color: var(--primary-light);
}
