/* inspired from http://brennaobrien.com/blog/2014/05/style-input-type-range-in-every-browser.html */

/* Firefox */
input[type=range]::-moz-range-track {
    height: 5px;
    background:#ddd; border:none; border-radius:3px;
}
input[type=range]::-moz-range-thumb {
    height:16px; width:16px;
    background:goldenrod; border:none; border-radius:50%;
}
input[type=range]::-moz-focus-outer { border:0; } /* hide outline */
input[type=range]:focus::-moz-range-track { background: #ccc; }

/* Chrome */
input[type=range]{ -webkit-appearance: none; }
input[type=range]::-webkit-slider-runnable-track {
    height: 5px;
    background:#ddd; border:none; border-radius: 3px;
}
input[type=range]::-webkit-slider-thumb {
    height:16px; width:16px;
    background:goldenrod; border:none; border-radius:50%;
    -webkit-appearance: none; margin-top: -5px;
}
input[type=range]:focus { outline: none; } /* hide outline */
input[type=range]:focus::-webkit-slider-runnable-track { background: #ccc; }

/* Internet Explorer */
/* TODO */
input[type=range]::-ms-track {
    width: 300px;
    height: 5px;
    
    /*remove bg colour from the track, we'll use ms-fill-lower and ms-fill-upper instead */
    background: transparent;
    
    /*leave room for the larger thumb to overflow with a transparent border */
    border-color: transparent;
    border-width: 6px 0;
    /*remove default tick marks*/
    color: transparent;
}
input[type=range]::-ms-fill-lower {
    background: #777;
    border-radius: 10px;
}
input[type=range]::-ms-fill-upper {
    background: #ddd;
    border-radius: 10px;
}
input[type=range]::-ms-thumb {
    border: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: goldenrod;
}
input[type=range]:focus::-ms-fill-lower {
    background: #888;
}
input[type=range]:focus::-ms-fill-upper {
    background: #ccc;
}

