.multi-range-container{width:100%;height:35px;position:relative;}

.range_price input[type=range] {
  box-sizing: border-box;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 220px;
  margin: 0;
  padding: 0 2px;
  /* Add some L/R padding to ensure box shadow of handle is shown */
  overflow: hidden;
  border: 0;
  border-radius: 5px;
  outline: none;
  background: linear-gradient(var(--main-color), var(--main-color)) no-repeat center;
  /* Use a linear gradient to generate only the 2px height background */
  background-size: 100% 6px;
  pointer-events: none;
}
.range_price input[type=range]:active,
.range_price input[type=range]:focus {
  outline: none;
}
.range_price input[type=range]::-webkit-slider-thumb {
  height: 16px;
  width: 16px;
  border-radius: 100%;
  background-color: #fff;
  position: relative;
  margin: 2px 0px 3px 0px;
  /* Add some margin to ensure box shadow is shown */
  cursor: pointer;
  -webkit-appearance: none;
          appearance: none;
  pointer-events: all;
  box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.5);
}
.range_price input[type=range]::-webkit-slider-thumb::before {
  content: ' ';
  display: block;
  position: absolute;
  top: 13px;
  left: 100%;
  width: 2000px;
  height: 2px;
}
.multi-range {
  position: relative;
  height: 50px;
}
.multi-range input[type=range] {
  position: absolute;
}
.multi-range input[type=range]:nth-child(1)::-webkit-slider-thumb::before {
  background-color: red;
}
.multi-range input[type=range]:nth-child(2) {
  background: none;
}
.multi-range input[type=range]:nth-child(2)::-webkit-slider-thumb::before {
  background-color: grey;
}
