.csp-range-wrapper {
    width: 100%;
    margin: 50px 0 0;
    position: relative;
}

.csp-range-slider {
    width: 100%;
    height: 25px;
    background: transparent;
    outline: none;
    /* @alternate */ -webkit-appearance: none;
    appearance: none;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

.csp-range-wrapper::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 0;
    right: 0;
    height: 4px;
    background: #d5d5d5;
    border-radius: 2px;
    z-index: 1;
}

.csp-range-slider::-webkit-slider-track {
    background: transparent;
    height: 4px;
    border-radius: 2px;
    position: relative;
}

.csp-range-slider::-moz-range-track {
    background: transparent;
    height: 4px;
    border-radius: 2px;
    border: none;
}

.csp-range-slider::-webkit-slider-thumb {
    /* @alternate */ -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border: 3px solid rgba(0, 135, 73, 0.95);
    cursor: pointer;
    border-radius: 50%;
    margin-top: -8px;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 3;
}

.csp-range-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #ffffff;
    border: 3px solid rgba(0, 135, 73, 0.95);
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
    border: none;
}

.csp-range-value {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 135, 73, 0.95);
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
    z-index: 4;
}

.csp-range-value::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: rgba(0, 135, 73, 0.95);
}

.csp-range-min,
.csp-range-max {
    position: absolute;
    top: -30px;
    background: rgba(0, 135, 73, 0.95);
    color: #ffffff;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: bold;
}

.csp-range-min {
    left: 0;
}

.csp-range-max {
    right: 0;
}


.color-blindness .csp-range-wrapper::before {
    background: #ccc;
}

.color-blindness .csp-range-filled {
    background: #000 !important;
}

.color-blindness .csp-range-slider::-webkit-slider-thumb {
    background: #fff;
    border-color: #000;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.3);
}

.color-blindness .csp-range-slider::-moz-range-thumb {
    background: #fff;
    border-color: #000;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.3);
}

.color-blindness .csp-range-value {
    background: #000;     color: #fff;     border: 2px solid #fff; }

.color-blindness .csp-range-value::after {
    border-top-color: #000; }

.color-blindness .csp-range-min,
.color-blindness .csp-range-max {
    background: #000;     color: #fff;     border: 1px solid #fff; }
