@import url("https://fonts.googleapis.com/css?family=Lato");

.range-container {
  position: relative;
  width: 100%;
}

input[type="range"] {
  max-width: 100%;
  margin: 18px 0;
  -webkit-appearance: none;
}

input[type="range"] + label {
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  padding: 5px 0;
  position: static;
  text-align: center;
  width: 80px;
}

input[type="range"]:active {
  outline: none;
}

input[type="range"]::-webkit-slider-runnable-track {
  animate: 0.2s;
  background-color: #a0ce4e;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  height: 7.5px;
}

input[type="range"]::-webkit-slider-thumb {
  background: #ffffff;
  border-radius: 50%;
  border: 1px solid #a0ce4e;
  cursor: pointer;
  height: 20px;
  width: 20px;
  margin-top: -7px;
  -webkit-appearance: none;
}

input[type="range"]:active::-webkit-slider-runnable-track {
  opacity: 0.8;
}
input[type="range"]::-moz-range-track {
  animate: 0.2s;
  background-color: purple;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  height: 7.5px;
}
input[type="range"]::-moz-range-thumb {
  background: #ffffff;
  border-radius: 50%;
  border: 1px solid purple;
  cursor: pointer;
  height: 20px;
  width: 20px;
}
input[type="range"]::-ms-track {
  animate: 0.2s;
  background-color: purple;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  height: 7.5px;
}
input[type="range"]::-ms-thumb {
  background: #ffffff;
  border-radius: 50%;
  border: 1px solid purple;
  cursor: pointer;
  height: 20px;
  width: 20px;
  margin: 0;
  box-sizing: border-box;
}

input[type="range"]:active::-ms-fill-lower {
  background: purple;
}

input[type="range"]:active::-ms-fill-upper {
  background: purple;
}
