.range {
    position: relative;
}

.range::before, .range::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #ffffff;
    border-radius: 50%;
    top: 23px;
    z-index: -1;
}

.range__line {
    width: calc(100% - 50px);
    height: 2px;
    background-color: #ffffff;
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translate(-50%);
    z-index: -1;
}

.range::before {
    left: 23px;
}

.range::after {
    right: 23px;
}

input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    margin: 26px 0;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 0px;
    cursor: pointer;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
    background: #ffffff;
    border-radius: 0px;
    border: 0px solid rgba(0, 0, 0, 0);
}

input[type=range]::-webkit-slider-thumb {
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
    border: 1px solid #ffffff;
    height: 52px;
    width: 52px;
    border-radius: 52px;
    background: rgba(255, 255, 255, 0);
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -26px;
}

input[type=range]:focus::-webkit-slider-runnable-track {
    background: #ffffff;
}

input[type=range]::-moz-range-track {
    width: 100%;
    height: 0px;
    cursor: pointer;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
    background: #ffffff;
    border-radius: 0px;
    border: 0px solid rgba(0, 0, 0, 0);
}

input[type=range]::-moz-range-thumb {
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
    border: 1px solid #ffffff;
    height: 52px;
    width: 52px;
    border-radius: 52px;
    background: rgba(255, 255, 255, 0);
    cursor: pointer;
}

input[type=range]::-ms-track {
    width: 100%;
    height: 0px;
    cursor: pointer;
    background: transparent;
    border-color: transparent;
    color: transparent;
}

input[type=range]::-ms-fill-lower {
    background: #ededed;
    border: 0px solid rgba(0, 0, 0, 0);
    border-radius: 0px;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
}

input[type=range]::-ms-fill-upper {
    background: #ffffff;
    border: 0px solid rgba(0, 0, 0, 0);
    border-radius: 0px;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
}

input[type=range]::-ms-thumb {
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
    border: 1px solid #ffffff;
    height: 52px;
    width: 52px;
    border-radius: 52px;
    background: rgba(255, 255, 255, 0);
    cursor: pointer;
    height: 0px;
}

input[type=range]:focus::-ms-fill-lower {
    background: #ffffff;
}

input[type=range]:focus::-ms-fill-upper {
    background: #ffffff;
}

@media (max-height: 500px), (max-width: 767px) {
    input[type=range] {
        margin: 13px 0;
    }
    input[type=range]::-webkit-slider-thumb {
        width: 28px;
        height: 28px;
        margin-top: -3px;
    }
    .range__line {
        width: calc(100% - 26px);
        height: 2px;
        background-color: #ffffff;
        position: absolute;
        top: 23px;
        left: 50%;
        transform: translate(-50%);
    }
    .range::before, .range::after {
        top: 21px;
    }
    .range::before {
        left: 12px;
    }
    .range::after {
        right: 12px;
    }
}