﻿.colour_picker_indicator {
    position: absolute;
    width: 20px;
    height: 20px;
    background: url('../images/design/indicator_colour_picker.svg') no-repeat center;
    background-size: contain;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    z-index: 10;
    border-radius: 100%;
}

.rainbow_slider {
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    background: linear-gradient(to right, #FF0000, #FFFF00 17%, #00FF00 34%, #00FFFF 51%, #0000FF 68%, #FF00FF 85%, #FF0000 100%);
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
    border-radius: 18px;
    padding: 0;
}

.alpha_slider {
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    outline: none;
    padding: 0;
    border-radius: 18px;
    background-color: black;
    background-image: url('../images/design/spectrum_transparent_bar.svg'), url('../images/design/Transparency Bar bg.png');
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    opacity: 1;
}

    .rainbow_slider:hover,
    .alpha_slider:hover {
        opacity: 1;
    }

/* Rainbow Slider - regular shadow */
    .rainbow_slider::-webkit-slider-thumb,
    .alpha_slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 20px;
        height: 20px;
        background: url('../images/design/indicator_colour_picker.svg') no-repeat center;
        background-size: contain;
        cursor: pointer;
        box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5); /* Shadow on bottom-right */
        border-radius: 100%;
    }

    .rainbow_slider::-moz-range-thumb,
    .alpha_slider::-moz-range-thumb {
        width: 20px;
        height: 20px;
        background: url('../images/design/indicator_colour_picker.svg') no-repeat center;
        background-size: contain;
        cursor: pointer;
        box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5); /* Shadow on bottom-right */
        border-radius: 100%;
    }

    .rainbow_slider::-ms-thumb,
    .alpha_slider::-ms-thumb {
        width: 20px;
        height: 20px;
        background: url('../images/design/indicator_colour_picker.svg') no-repeat center;
        background-size: contain;
        cursor: pointer;
        box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5); /* Shadow on bottom-right */
        border-radius: 100%;
    }