I have a HTML5 video player with a track bar at the bottom styled in CSS. I would like to use jQuery to change the style of the track bar.
With jQuery I can style the background of the track bar using:
$('#video-controls').css("background", "rgb(0,110,135)");
As the video track bar is in a division with an id called 'video-controls'.
However this leaves the slider button itself the original colour (green).
In CSS the slider is defined as follows:
input[type=range].slider::-moz-range-thumb 
{
  box-shadow: 0.8px 0.8px 1.9px rgba(0, 0, 62, 0.67), 0px 0px 0.8px rgba(0, 0, 88, 0.67);
  border: 1.9px solid rgba(0, 30, 0, 0.57);
  height: 16px;
  width: 32px;
  border-radius: 4px;
  background: #a4b93f;
  cursor: pointer;
}
I have tried
$("input[type=range].slider::-moz-range-thumb").css("background", "rgb(0,110,135)");
But it doesn't do anything. How do I change the background css property?

 
     
     
     
    