﻿.range_container {
    display: flex;
    flex-direction: column;
    width: 100%;
}
div.main-label {
    background: var(--filter-label-theme-color);
    width: fit-content;
    padding: 1px;
    padding-inline: 3px;
    color: black;
    font-weight: bold;
    height: fit-content;
    margin: auto auto auto 0;
    font-size: 1.2rem;
}

.range_container .sliders_control {
    position: relative;
    min-height: 20px;
}

.range_container .form_control {
    position: relative;
    display: flex;
    justify-content: space-between;
}

    .range_container#average-score-filter .form_control {
        transform: translateY(-10px);
    }

    .range_container .form_control_container {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-inline: 2px;
    }
.range_container .form_control_container__time {
    transform: translateX(-5px);
}

:root {
    --dual-slider-thumb-size: 15px;
}

.range_container input[type='range']::-webkit-slider-thumb {
    -webkit-appearance: none;
    pointer-events: all;
    width: var(--dual-slider-thumb-size);
    height: var(--dual-slider-thumb-size);
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #c6c6c6;
    cursor: pointer;
}

.range_container  input[type='range']::-moz-range-thumb {
    -webkit-appearance: none;
    pointer-events: all;
    width: var(--dual-slider-thumb-size);
    height: var(--dual-slider-thumb-size);
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #c6c6c6;
    cursor: pointer;
}

.range_container input[type='range']::-webkit-slider-thumb:hover {
    background: #f7f7f7;
}

.range_container  input[type='range']::-webkit-slider-thumb:active {
    box-shadow: inset 0 0 3px #387bbe, 0 0 9px #387bbe;
    -webkit-box-shadow: inset 0 0 3px #387bbe, 0 0 9px #387bbe;
}

.range_container input[type='number'] {
    width: 51px;
    margin: auto;
    height: 30px;
    font-size: 20px;
    border: none;
    outline: none;
    user-select: none;
}

.range_container input[type='number']::-webkit-inner-spin-button,
.range_container input[type='number']::-webkit-outer-spin-button {
    opacity: 1;
    transform: translateX(2px)
}

.range_container input[type='range'] {
    -webkit-appearance: none;
    appearance: none;
    height: 2px;
    width: 100%;
    position: absolute;
    background-color: #c6c6c6;
    pointer-events: none;
}

#fromSlider-average-score-filter {
    height: 0;
    z-index: 1;
}
