input[type=range].range {
    width: 100%;
    margin: 15px 0;
    background-color: transparent;
    -webkit-appearance: none;
}
input[type=range].range:focus {
    outline: none;
}
input[type=range].range::-webkit-slider-runnable-track {
    background: var(--turquoise);
    border: 0;
    border-radius: 10px;
    width: 100%;
    height: 10px;
    cursor: pointer;
}
input[type=range].range::-webkit-slider-thumb {
    margin-top: -15px;
    width: 40px;
    height: 40px;
    background: var(--mimosa);
    border: 0;
    border-radius: 50px;
    cursor: pointer;
    -webkit-appearance: none;
    box-shadow: 0 0 15px #00000032;
}
input[type=range].range:focus::-webkit-slider-runnable-track {
    background: var(--turquoise);
}
input[type=range].range::-moz-range-track {
    background: var(--turquoise);
    border: 0;
    border-radius: 10px;
    width: 100%;
    height: 10px;
    cursor: pointer;
}
input[type=range].range::-moz-range-thumb {
    width: 40px;
    height: 40px;
    background: var(--mimosa);
    border: 0;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 0 15px #00000032;
}
input[type=range].range::-ms-track {
    background: transparent;
    border-color: transparent;
    border-width: 30px 0;
    color: transparent;
    width: 100%;
    height: 10px;
    cursor: pointer;
}
input[type=range].range::-ms-fill-lower {
    background: var(--turquoise);
    border: 0;
    border-radius: 20px;
}
input[type=range].range::-ms-fill-upper {
    background: var(--turquoise);
    border: 0;
    border-radius: 20px;
}
input[type=range].range::-ms-thumb {
    width: 40px;
    height: 40px;
    background: var(--mimosa);
    border: 0;
    border-radius: 50px;
    cursor: pointer;
    margin-top: 0px;
    box-shadow: 0 0 15px #00000032;
    /*Needed to keep the Edge thumb centred*/
}
input[type=range].range:focus::-ms-fill-lower {
    background: var(--turquoise);
}
input[type=range].range:focus::-ms-fill-upper {
    background: var(--turquoise);
}
/*TODO: Use one of the selectors from https://stackoverflow.com/a/20541859/7077589 and figure out
how to remove the virtical space around the range input in IE*/
@supports (-ms-ime-align:auto) {
    /* Pre-Chromium Edge only styles, selector taken from hhttps://stackoverflow.com/a/32202953/7077589 */
    input[type=range].range {
        margin: 0;
        /*Edge starts the margin from the thumb, not the track as other browsers do*/
    }
}
