﻿
/* Reset styles */
input[type=range].custom-range {
    -webkit-appearance: none;
    appearance: none;
    width: 66px;
    height: 20px;
    background: transparent;
    cursor: pointer;
}

/* Chrome/Safari track */
input[type=range].custom-range::-webkit-slider-runnable-track {
    height: 4px;
    background: #ccc; /* full bar color */
    border-radius: 2px;
    border: none;
}

/* Chrome/Safari thumb */
input[type=range].custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #333;
    border: 2px solid #fff;
    margin-top: -6px; /* aligns thumb with track */
    box-shadow: 0 0 2px rgba(0,0,0,0.5);
}

/* Firefox track */
input[type=range].custom-range::-moz-range-track {
    height: 4px;
    background: #ccc;
    border-radius: 2px;
}

/* Firefox thumb */
input[type=range].custom-range::-moz-range-thumb {
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #333;
    border: 2px solid #fff;
    box-shadow: 0 0 2px rgba(0,0,0,0.5);
}

/* Remove filled-in range for Firefox */
input[type=range].custom-range::-moz-range-progress {
    background: transparent;
}

/* Edge/IE track */
input[type=range].custom-range::-ms-track {
    height: 4px;
    background: transparent;
    border-color: transparent;
    color: transparent;
}

/* Edge fill */
input[type=range].custom-range::-ms-fill-lower {
    background: transparent;
}

input[type=range].custom-range::-ms-fill-upper {
    background: #ccc;
}

/* Edge thumb */
input[type=range].custom-range::-ms-thumb {
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #333;
    border: 2px solid #fff;
}

