.range-area {
    height: 12px;
    padding: 5px 0;
    cursor: pointer;
    margin: 0 10px 1em 10px;
}
.range-area.range-with-labels:not(.range-label-handles) {
    margin-top: 24px;
}
.range-area.range-with-hints {
    margin-bottom: 24px;
}
.range-area.dragging, .range-area.dragging .handle {
    cursor: -webkit-grabbing !important;
    cursor: grabbing !important;
}

.range-rail {
    height: 15px;
    background-color: #FAFAFA;
    border: 1px solid #DDDDDD;
    position: relative;
}

.range-handle {
    position: absolute;
    box-sizing: border-box;
    bottom: -5px;
    width: 36px; height: 36px;
    margin-left: -18px;
    cursor: -webkit-grab;
    cursor: grab;
    z-index: 2;
    padding-top: 24px;
    text-align: center;
}
.range-handle:after {
    content: "";
    display: block;
    border-radius: 6px;
    background-color: #008aff;
    width: 12px; height: 12px;
    margin: 0 auto;
}

.range-label {
    position: absolute;
    top: 0; left: 18px;
    transform: translateX(-50%);
    /*display: inline-block;*/
    padding: 5px 8px;
    background-color: #E8E8E8;
    border-radius: 2px;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 2px;
}

.range-label-handles .range-handle {
    padding-top: 0;
    height: 22px;
    bottom: -4px;
}
.range-label-handles .range-handle:after {
    display: none;
}
.range-label-handles .range-label {
    background-color: #008aff;
    color: white;
}

.range-bar {
    position: absolute;
    top: 0;
    height: 2px;
    background-color: #008aff;
    z-index: 1;
}

.range-snapper {
    position: absolute;
    top: -2px;
    width: 2px; height: 6px;
    background-color: #DCDCDC;
    z-index: 0;
}

.range-hint {
    position: absolute;
    top: 10px;
    transform: translateX(-50%);
    font-size: 12px;
    color: #c0c0c0;
    white-space: nowrap;
}

.range-wrap {
    display: flex;
    padding: 1em 0;
}
.range-wrap:last-child {
    margin-bottom: 1em;
}
.range-wrap label {
    width: 25%;
    padding-top: 16px;
}
.range-wrap .range-area {
    width: 75%;
}
