
  
  .range {
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
    left: 50%;
    margin-top: 10px;
    transform: translate(-50%, -50%);
    cursor: pointer;
  }

  .range::after {
    content: attr(data-value); /* This displays the value from the slider's data-value attribute */
    position: absolute;
    top: 5px; /* Adjust position to appear above the knob */
    left: calc(50% - 10px); /* Center the value */
    color: #6a1b9a; /* Same color as the knob */
    font-size: 12px;
    font-weight: bold;
  }
  
 /* input[type=range]::-webkit-slider-runnable-track {
    -webkit-appearance: none;
    background: rgba(59,173,227,1);
    background: -moz-linear-gradient(45deg, rgba(59,173,227,1) 0%, rgba(87,111,230,1) 25%, rgba(152,68,183,1) 51%, rgba(255,53,127,1) 100%);
    background: -webkit-gradient(left bottom, right top, color-stop(0%, rgba(59,173,227,1)), color-stop(25%, rgba(87,111,230,1)), color-stop(51%, rgba(152,68,183,1)), color-stop(100%, rgba(255,53,127,1)));
    background: -webkit-linear-gradient(45deg, rgba(59,173,227,1) 0%, rgba(87,111,230,1) 25%, rgba(152,68,183,1) 51%, rgba(255,53,127,1) 100%);
    background: -o-linear-gradient(45deg, rgba(59,173,227,1) 0%, rgba(87,111,230,1) 25%, rgba(152,68,183,1) 51%, rgba(255,53,127,1) 100%);
    background: -ms-linear-gradient(45deg, rgba(59,173,227,1) 0%, rgba(87,111,230,1) 25%, rgba(152,68,183,1) 51%, rgba(255,53,127,1) 100%);
    background: linear-gradient(45deg, rgba(59,173,227,1) 0%, rgba(87,111,230,1) 25%, rgba(152,68,183,1) 51%, rgba(255,53,127,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3bade3 ', endColorstr='#ff357f ', GradientType=1 );
    height: 6px;
  }*/

  input[type=range]::-webkit-slider-runnable-track {
    -webkit-appearance: none;
    background: #EECD25;
    background: -moz-linear-gradient(45deg, #F3E31D, #F2E01E, #EECD25,#EAB82D,#E1961D 100%);
    background: -webkit-gradient(left bottom, right top, color-stop(0%, #F3E31D), color-stop(25%, #F2E01E), color-stop(51%, #EECD25), color-stop(100%, #EAB82D), color-stop(100%, #E1961D));
    background: -webkit-linear-gradient(45deg, #F3E31D, #F2E01E, #EECD25,#EAB82D,#E1961D 100%);
    background: -o-linear-gradient(45deg, #F3E31D, #F2E01E, #EECD25,#EAB82D,#E1961D 100%);
    background: -ms-linear-gradient(45deg, #F3E31D, #F2E01E, #EECD25,#EAB82D,#E1961D 100%);
    background: linear-gradient(45deg, rgba#F3E31D, #F2E01E, #EECD25,#EAB82D,#E1961D 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#F3E31D ', endColorstr='#E1961D ', GradientType=1 );
    height: 6px;
  }

  
  input[type=range]:focus {
    outline: none;
  }
  
  input[type=range]::-moz-range-track {
    -moz-appearance: none;
    background: rgba(59,173,227,1);
    background: -moz-linear-gradient(45deg, rgba(59,173,227,1) 0%, rgba(87,111,230,1) 25%, rgba(152,68,183,1) 51%, rgba(255,53,127,1) 100%);
    background: -webkit-gradient(left bottom, right top, color-stop(0%, rgba(59,173,227,1)), color-stop(25%, rgba(87,111,230,1)), color-stop(51%, rgba(152,68,183,1)), color-stop(100%, rgba(255,53,127,1)));
    background: -webkit-linear-gradient(45deg, rgba(59,173,227,1) 0%, rgba(87,111,230,1) 25%, rgba(152,68,183,1) 51%, rgba(255,53,127,1) 100%);
    background: -o-linear-gradient(45deg, rgba(59,173,227,1) 0%, rgba(87,111,230,1) 25%, rgba(152,68,183,1) 51%, rgba(255,53,127,1) 100%);
    background: -ms-linear-gradient(45deg, rgba(59,173,227,1) 0%, rgba(87,111,230,1) 25%, rgba(152,68,183,1) 51%, rgba(255,53,127,1) 100%);
    background: linear-gradient(45deg, rgba(59,173,227,1) 0%, rgba(87,111,230,1) 25%, rgba(152,68,183,1) 51%, rgba(255,53,127,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3bade3 ', endColorstr='#ff357f ', GradientType=1 );
    height: 5px;
  }
  
  input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    border: 2px solid;
    border-radius: 50%;
    height: 40px;
    width: 40px;
    max-width: 80px;
    position: relative;
    bottom: 13px;
    background:linear-gradient(to right, #F3E31D, #F2E01E, #EECD25,#EAB82D,#E1961D);
    cursor: -webkit-grab;
  
    -webkit-transition: border 1000ms ease;
    transition: border 1000ms ease;
  }

  .range::-webkit-slider-thumb::after {
    content: attr(data-value);
    position: absolute;
    top:  5px; /* Positioning the value above the knob */
    left: 50%;
    transform: translateX(-50%);
    background-color: transparent;
    color: #6a1b9a; /* Purple color to match */
    font-size: 14px;
    font-weight: bold;
  }
  
  input[type=range]::-moz-range-thumb {
    -moz-appearance: none;
    border: 2px solid;
    border-radius: 50%;
    height: 40px;
    width: 40px;
    max-width: 80px;
    position: relative;
    bottom: 14px;
    background-color: #1d1c25;
    cursor: -moz-grab;
    -moz-transition: border 1000ms ease;
    transition: border 1000ms ease;
  }
  
  
  .range.gold::-webkit-slider-thumb {
    border-color: #E1961D;
 }
  
  .range.blue::-webkit-slider-thumb {
     border-color: rgb(59,173,227);
  }
  
  .range.ltpurple::-webkit-slider-thumb {
     border-color: rgb(87,111,230);
  }
  
  .range.purple::-webkit-slider-thumb {
     border-color: rgb(152,68,183);
  }
  
  .range.pink::-webkit-slider-thumb {
     border-color: rgb(255,53,127);
  }
  
  .range.blue::-moz-range-thumb {
     border-color: rgb(59,173,227);
  }
  
  .range.ltpurple::-moz-range-thumb {
     border-color: rgb(87,111,230);
  }
  
  .range.purple::-moz-range-thumb {
     border-color: rgb(152,68,183);
  }
  
  .range.pink::-moz-range-thumb {
     border-color: rgb(255,53,127);
  }
  
  input[type=range]::-webkit-slider-thumb:active {
    cursor: -webkit-grabbing;
  }
  
  input[type=range]::-moz-range-thumb:active {
    cursor: -moz-grabbing;
  }