﻿/* Start toggle__filters */
.toggle__filters {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 12px 40px;
    margin: 0;
    border: 0;
    background-color: #272E36;
    border-radius: 200px;
    font-size: 16px;
    text-align: center;
    letter-spacing: 0.01em;
    color: #fff;
    outline: none;
    cursor: pointer;
}

.toggle__filters:after {
    content: '';
    display: block;
    width: 14px;
    height: 14px;
    background-position: center center;
    background-image: url(../image/filters-icon.svg);
    -webkit-margin-start: 8px;
    margin-inline-start: 8px;
}
/* End toggle__filters */

/* Start filters__item */
.filters__item {
    display: none;
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid #e9e9ea;
}

.filters__item.show {
    display: block;
}

.filters__item-title {
    font-size: 16px;
    margin: 0;
}

.filters__item-range {
    position: relative;
    margin: 30px 0;
}

.filters__item-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.filters__item-input {
    width: 48%;
    padding: 8px 12px 8px 16px;
    background-color: #f3f5f6;
    border-radius: 8px;
}

.filters__item-input span {
    font-size: 13px;
    color: #8f9296;
}

.filters__item-input input {
    padding: 0;
    margin: 0;
    background: none;
    height: 24px;
    width: 100%;
    font-size: 16px;
    line-height: 24px;
    color: #1f252d;
}

.filters__item-input input:focus {
    background: inherit;
}

.filters__item-input input::placeholder,
.filters__item-input input:-ms-input-placeholder,
.filters__item-input input::-moz-placeholder,
.filters__item-input input::-webkit-input-placeholder {
    font-size: inherit;
    line-height: inherit;
    font-family: inherit;
    color: #b8b8b9;
}

.filters__item .noUi-target {
    padding: 0 12px;
    height: 4px;
    background: #e9e9ea;
    border-radius: 2px;
    border: 0;
    box-shadow: none;
}

.filters__item .noUi-connect {
    background-color: #8f9296;
}

.filters__item .noUi-horizontal .noUi-handle {
    top: -10px;
    right: -12px;
    width: 24px;
    height: 24px;
    border-radius: 24px;
    background-color: #1f252d;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 0;
    -webkit-transition: background-color .3s ease;
    -o-transition: background-color .3s ease;
    transition: background-color .3s ease;
    cursor: pointer;
}

.filters__item .noUi-horizontal .noUi-handle::before,
.filters__item .noUi-horizontal .noUi-handle::after {
    display: none;
}
/* End filters__item */

/* RTL start */
.rtl .filters__item .noUi-horizontal .noUi-handle {
    right: auto;
    left: -12px;
}
.rtl .filters__item-input input {
    direction: ltr;
    font-family: Inter, Roboto, Helvetica, Arial, sans-serif;
}
/* RTL end */

@media (hover: hover) and (pointer: fine) {
    .filters__item .irs--round .irs-handle:hover {
        background-color: #8f9296;
        -webkit-box-shadow: none;
        box-shadow: none;
        border: 0;
        opacity: 1;
    }
}

@media only screen and (max-width: 576px) {
    .toggle__filters {
        display: none;
    }
}
