CSS for noUiSlider Tooltips and Scales / Pips in Slider Facet

/* Extra CSS needed for noUiSlider Tooltips and Scales / Pips in Slider Facet */
/* https://facetwp.com/help-center/facets/facet-types/slider/#customizing-the-slider */


/* noUiSlider Tooltips */

.noUi-tooltip {
    position: absolute;
    display: block;
    padding: 5px;
    text-align: center;
    white-space: nowrap;
    color: #000;
    border: 1px solid #d9d9d9;
    border-radius: 3px;
    background: #fff;
}

.noUi-horizontal .noUi-tooltip {
    bottom: 120%;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
}

.noUi-horizontal .noUi-origin > .noUi-tooltip {
    bottom: 10px;
    left: auto;
    -webkit-transform: translate(50%, 0);
    transform: translate(50%, 0);
}

/* noUiSlider Pips */

/* Base */
.noUi-pips,
.noUi-pips * {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.noUi-pips {
    position: absolute;
    color: #999;
}

/* Values */
.noUi-value {
    position: absolute;
    text-align: center;
    white-space: nowrap;
}

.noUi-value-sub {
    font-size: 10px;
    color: #ccc;
}

/* Markings */
.noUi-marker {
    position: absolute;
    background: #ccc;
}

.noUi-marker-sub {
    background: #aaa;
}

.noUi-marker-large {
    background: #aaa;
}

/* Horizontal layout */
.noUi-pips-horizontal {
    top: 100%;
    left: 0;
    width: 100%;
    height: 80px;
    padding: 10px 0;
}

.noUi-value-horizontal {
    -webkit-transform: translate(-50%, 50%);
    transform: translate(-50%, 50%);
}

.noUi-rtl .noUi-value-horizontal {
    -webkit-transform: translate(50%, 50%);
    transform: translate(50%, 50%);
}

.noUi-marker-horizontal.noUi-marker {
    width: 2px;
    height: 5px;
    margin-left: -1px;
}

.noUi-marker-horizontal.noUi-marker-sub {
    height: 10px;
}

.noUi-marker-horizontal.noUi-marker-large {
    height: 15px;
}