/** CSS is minor one, based on the brilliant work
 * https://css-tricks.com/styling-cross-browser-compatible-range-inputs-css/
 */
input[type=range] {
    -webkit-appearance: none;
    margin: 0;
    width: 40%;
    display: inline-block;
    background: transparent;
}
input[type=range]:hover {
 background: #123;   
}
input[type=range]:focus {
    outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
    border-radius: 18px;
    width: 100%;
    height: 34px;
    cursor: pointer;
    animate: 2s;
    /*box-shadow: 1px 1px 1px #ddd, 0px 0px 1px #0d0d0d;*/
    background: #125690;
}
input[type=range]::-webkit-slider-thumb {
    background-color: #428bca;
}
input[type=range]::-webkit-slider-thumb {
    /*box-shadow: 1px 1px 1px #555, 0px 0px 1px #9c0;*/
    /*border: 1px solid #428bca;*/
    height: 34px;
    width: 32px;
    border-radius: 18px;
    background: #428bca;
    cursor: pointer;
    -webkit-appearance: none;
    margin: 0;
}
input[type=range]:focus::-webkit-slider-runnable-track {
    background: #96ceed;
}
input[type=range]::-moz-range-track {
    width: 100%;
    height: 8.4px;
    cursor: pointer;
    animate: 0.2s;
    /*box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;*/
    background: #3071a9;
    border-radius: 1.3px;
    border: 0.2px solid #010101;
}
input[type=range]::-moz-range-thumb {
    /*box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;*/
    border: 1px solid #000000;
    height: 46px;
    width: 26px;
    border-radius: 0px;
    background: #ffffff;
    cursor: pointer;
}
input[type=range]::-ms-thumb {
    /*box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;*/
    border: 1px solid #000000;
    height: 46px;
    width: 26px;
    border-radius: 0px;
    background: #ffffff;
    cursor: pointer;
}
input[type=range]::-ms-track {
    width: 100%;
    height: 8.4px;
    cursor: pointer;
    animate: 0.2s;
    background: transparent;
    border-color: transparent;
    border-width: 16px 0;
    color: transparent;
}
input[type=range]::-ms-fill-lower {
    background: #2a6495;
    border: 0.2px solid #010101;
    border-radius: 2.6px;
    /*box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;*/
}
input[type=range]::-ms-fill-upper {
    background: #3071a9;
    border: 0.2px solid #010101;
    border-radius: 2.6px;
    /*box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;*/
}
input[type=range]:focus::-ms-fill-lower {
    background: #3071a9;
}
input[type=range]:focus::-ms-fill-upper {
    background: #367ebd;
}

/* Volume Output */
output { 
    position: absolute;
  background: #fff;
  width: 2em; 
  height: 1.5em; 
  font-size: 0.8em;
  font-weight: bold;
  color: #62abea;
  line-height: 0.3;
  text-align: center; 
  border-radius: 1em; 
  display: inline-block; 
  border: 1px none #999;
  left: -5.8em;
  top: 0.8em;
  opacity: 0.7;
  cursor: pointer;
}