.slidecontainer {
  padding: 2rem 0;
  max-width: 100%;
  position: relative;
  min-height: 141px;
}

.range-values {
  display: flex;
  justify-content: space-between;
}

input,
output {
  display: inline-block;
  vertical-align: middle;
  font-size: 1rem;
  font-family: Arial, sans-serif;
}

output {
  background: #f65c00;
  padding: 5px 16px;
  border-radius: 3px;
  color: #fff;
}

input[type="number"] {
  width: 40px;
  padding: 4px 5px;
  border: 1px solid #bbb;
  border-radius: 3px;
}

input[type="range"] {
  overflow: initial !important;
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 5px;
  background-image: linear-gradient(#e35500, #e35500);
  background-size: 70% 100%;
  background-repeat: no-repeat;
  margin-bottom: 1rem !important;
}

/* Input Thumb */
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 20px;
  width: 20px;
  position: relative;
  top: -5px;
  margin-bottom: -10px;
  border-radius: 50%;
  background: #f65c00;
  cursor: ew-resize;
  box-shadow: 0 0 2px 0 #555;
  transition: background 0.3s ease-in-out;
}

input[type="range"].inactive-thumb::-webkit-slider-thumb {
  background: #9cb19f;
}

input[type="range"]::-moz-range-thumb {
  -webkit-appearance: none;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #f65c00;
  cursor: ew-resize;
  box-shadow: 0 0 2px 0 #555;
  transition: background 0.3s ease-in-out;
}

input[type="range"].inactive-thumb::-moz-range-thumb {
  background: #9cb19f;
}

input[type="range"]::-ms-thumb {
  -webkit-appearance: none;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #f65c00;
  cursor: ew-resize;
  box-shadow: 0 0 2px 0 #555;
  transition: background 0.3s ease-in-out;
}

input[type="range"].inactive-thumb::-ms-thumb {
  background: #9cb19f;
}

input[type="range"]::-webkit-slider-thumb:hover {
  background: #ff0200;
}

input[type="range"]::-moz-range-thumb:hover {
  background: #ff0200;
}

input[type="range"]::-ms-thumb:hover {
  background: #ff0200;
}

/* Input Track */
input[type="range"]::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  box-shadow: none;
  border: none;
  background: transparent;
}

input[type="range"]::-moz-range-track {
  -webkit-appearance: none;
  box-shadow: none;
  border: none;
  background: transparent;
}

input[type="range"]::-ms-track {
  -webkit-appearance: none;
  box-shadow: none;
  border: none;
  background: transparent;
}

.bubble {
  color: white;
  padding: 4px 12px;
  position: absolute;
  border-radius: 4px;
  left: 50%;
  transform: translateX(-50%);
  top: -12px;
  min-width: 18px;
  text-align: center;
}

.bubble.inactive-bubble {
  display: none;
  background: #9cb19f;
}

@media only screen and (min-width: 767.9px) {
  .slidecontainer {
    max-width: 100%;
  }
  input[type="range"] {
    width: 100%;
  }
}
