#prev_filter_wrp {
    margin-top: 40px;
    padding-bottom: 40px;
}
.prev_filter_cats{
    display: flex;
    margin-bottom: 20px;
}
.prev_filter_cats ul li{
    list-style: none;
    display: inline-block;
    margin: 0 24px 12px 0;
}
.prev_filter_cats ul li:last-child{
    margin-right: 0;
}
.prev_filter_cats ul li a{
    font-weight: 500;
    font-size: 18px;
    line-height: 100%;
    color: var(--main-txt);
    opacity: 0.3;
    text-decoration: none;
    transition: 0.3s;
    border-bottom: 1px solid transparent;
}
.prev_filter_cats ul li a:hover{
    opacity: 1;
}
.prev_filter_cats ul li a.active{
    opacity: 1;
    border-bottom: 1px solid var(--main-txt);
}
.prev-tabs ul {
    margin: 0;
    padding: 0;
}

.prev-tabs ul li {
    list-style: none;
    display: inline-block;
    /*display: block;*/
    /*width: fit-content;*/
}

.prev-tabs ul li a.active {
    color: #fff !important;
    background: #161D3E !important;
}

.prev-tabs ul li a {
    padding: 16px;
    background: #EDEDED;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--main-txt);
    transition: .3s;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    text-decoration: none;
    margin-right: 8px;
    margin-bottom: 8px;
}

.prev-tabs ul li a:hover {
    color: var(--main-txt);
    background: #DADADA;
}

.prev-tabs ul li a:active {
    /*color:#fff;*/
    /*background: #161D3E;*/
}

.prev_filter_wrapper {
    background-color: #fafafa;
    border-radius: 16px;
}

.prev-filter-title {
    display: flex;
    align-items: center;
    background: #F7EEDA;
    padding: 0 20px;
    border-radius: 16px 16px 0 0;
    margin-bottom: 32px;
}

.prev-filter-title_title {
    font-weight: 500;
    font-size: 20px;
    line-height: 100%;
}

.prev-filter-title_img {
    margin-right: 20px;
}

.prev-filter-title_img img {
    max-width: 148px;
}

.bx-filter-parameters-box {
    /*max-width: 159px;*/
    width: calc(100% / 5);
    /*margin-right: auto;*/
}

@media (max-width: 1024px) {
    .bx-filter-parameters-box {
        width: 100%;
        max-width: 100%;
    }
}

.smart-filter-block {
    display: none;
    box-sizing: content-box;
    transition: padding .3s ease;
    /* max-height: 130px;
    overflow: auto; */
}

.smart-filter-button-box .smart-filter-block,
.smart-filter-parameters-box.bx-active .smart-filter-block {
    display: block;
}

.smart-filter-parameters-box.bx-active .smart-filter-block i.bx-ft-sub {
    display: block;
    padding-bottom: 5px;
    font-style: normal;
    font-size: 14px;
}

.smart-filter-form-group {
    width: 45%;
}


.smart-filter-form-control {
    background: #FFFFFF;
    opacity: .8;
    border: 1px solid #D4D8EA;
    width: 100%;
    font-size: 12px;
    line-height: 15px;
    color: #3D4158;
    text-align: center;
    padding: 9px 10px;
}

.smart-filter-form-control:focus {
    border: 1px solid var(--main_color);
}

.bx-filter-parameters-box-title {
    position: relative;
}

.checkbox.bx-filter-input-checkbox {
    margin-bottom: 11px;
    padding-right: 6px;
}

.bx-filter .bx-filter-param-text {
    font-size: 12px;
}

#prev_filter_filter .bx-filter .bx-filter-param-text {
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
}

.bx-filter-parameters-box-hint {
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    color: var(--main-txt);
}

.bx-filter-input-checkbox input {
    display: none;
}

.smart-filter-slider-track-container {
    overflow: hidden;
    padding: 25px 15px;
    position: relative;
    z-index: 0;
}

.smart-filter-slider-track {
    position: relative;
    height: 2px;
    background: #e7e7e7;
    z-index: 0;
}

.smart-filter-slider-ruler {
    position: absolute;
    top: -6px;
    width: 1px;
    height: 17px;
    background: #a2bfc7;
}

.smart-filter-slider-ruler.p1 {
    left: -1px;
}

.smart-filter-slider-ruler.p2 {
    left: 25%;
}

.smart-filter-slider-ruler.p3 {
    left: 50%;
}

.smart-filter-slider-ruler.p4 {
    left: 75%;
}

.smart-filter-slider-ruler.p5 {
    right: -1px;
}

.smart-filter-slider-ruler span {
    position: absolute;
    top: -16px;
    left: 50%;
    display: block;
    margin-left: -50px;
    width: 100px;
    color: #000;
    text-align: center;
    font-size: 11px;
}

.smart-filter-slider-ruler.p2 span,
.smart-filter-slider-ruler.p3 span,
.smart-filter-slider-ruler.p4 span {
    color: #6b8086;
}

.smart-filter-slider-range {
    z-index: 65;
}

.smart-filter-slider-range,
.smart-filter-slider-price-bar,
.smart-filter-slider-price-bar-vd,
.smart-filter-slider-price-bar-vn,
.smart-filter-slider-price-bar-v {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 0;
}

.smart-filter-slider-price-bar {
    z-index: 100;
}

.smart-filter-slider-price-bar-vd {
    z-index: 0;
    background: #606DA6;
}

.smart-filter-slider-price-bar-vn {
    z-index: 0;
}

.smart-filter-slider-price-bar-v {
    z-index: 0;
}

.smart-filter-slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 15px;
    height: 15px;
    background-color: #fff;
    border: 2px solid #606DA6;
    border-radius: 50%;
}

.smart-filter-slider-handle:hover {
    cursor: grab;
    -webkit-cursor: grab;
    -ms-cursor: grab;
    -o-cursor: grab;
}

.smart-filter-slider-handle:active {
    cursor: grabbing;
    -webkit-cursor: grabbing;
    -ms-cursor: grabbing;
    -o-cursor: grabbing;
}

.smart-filter-slider-handle.left {
    left: 0;
    margin-left: -15px;
}

.smart-filter-slider-handle.right {
    right: 0;
    margin-right: -15px;

}

/*endregion*/

/* region Select */
.smart-filter-input-group-dropdown {
    display: block;
    height: 31px;
    border: 1px solid #ccd5db;
    max-width: 265px;
    border-radius: 3px;
}

.smart-filter-input-group-dropdown.bx-active,
.smart-filter-input-group-dropdown:focus {
    border-color: var(--primary);
}

.smart-filter-dropdown-block {
    position: relative;
    display: block;
    margin: 0;
    padding: 0 29px 0 10px;
    width: 100%;
    height: 29px;
    border: none;
    border-radius: 2px;
    background: #fff;
}

.smart-filter-dropdown-text {
    overflow: hidden;
    max-width: 100%;
    height: 29px;
    vertical-align: middle;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 29px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.smart-filter-dropdown-popup ul {
    max-height: 150px;
    overflow: auto;
}

.smart-filter-input-group-checkbox-list {
    max-height: 312px;
}

.smart-filter-parameters-box-padding {
    max-height: 150px;
    overflow: auto;
}

.smart-filter-parameters-box-padding::-webkit-scrollbar {
    width: 0px;
}

.smart-filter-parameters-box-padding:hover::-webkit-scrollbar {
    width: 4px;
}

.smart-filter-parameters-box-padding::-webkit-scrollbar-track {
    background: #e8e8e8;
}

.smart-filter-parameters-box-padding::-webkit-scrollbar-thumb {
    background: var(--main_color);
}

.smart-filter-dropdown-text.fix {
    min-width: 120px;
}

.smart-filter-dropdown-text label {
    cursor: pointer;
}

.smart-filter-dropdown-arrow {
    position: absolute;
    top: 0;
    right: 0;
    width: 29px;
    height: 29px;
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAECAYAAABCxiV9AAAAG0lEQVQY02OYOXPmf1yYAQRwSsAATglkBch8ADy7LKHqFrgoAAAAAElFTkSuQmCC') no-repeat center;
    cursor: pointer;
}

.smart-filter-input-group-dropdown-flex {
    display: flex;
    align-items: center;
}

.smart-filter-input-group-dropdown-flex .smart-filter-checkbox-btn-image {
    margin-right: 5px;
}


.bx-filter .bx-filter-input-checkbox input[type="checkbox"]:checked + label.bx-filter-param-label .check {
    border-color: var(--add_color);
}

.bx-filter .bx-filter-input-checkbox input[type="checkbox"]:checked + label.bx-filter-param-label .check svg path {
    fill: transparent;
}

.bx-filter .bx-filter-input-checkbox input[type="checkbox"]:checked + label.bx-filter-param-label .check svg polyline {
    stroke-dashoffset: 0;
}

.bx-filter .bx-filter-input-checkbox .check svg {
    position: absolute;
    top: -2px;
    left: -2px;
}

.bx-filter .bx-filter-input-checkbox .check {
    position: relative;
    top: 5px;
    float: left;
    margin-right: 8px;

    min-width: 16px;
    min-height: 16px;

    max-width: 16px;
    max-height: 16px;

    width: 16px;
    height: 16px;

    border: 2px solid var(--main_color);
    background-color: #fff;
}

.bx-filter .bx-filter-input-checkbox .check svg path {
    fill: none;
    stroke: var(--add_color);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 71px;
    stroke-dashoffset: 71px;
    transition: all 0.6s ease;
}

.bx-filter .bx-filter-input-checkbox .check svg polyline {
    fill: none;
    stroke: var(--main_color);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 18px;
    stroke-dashoffset: 18px;
    transition: all 0.3s ease;
}

.bx-filter .bx-filter-param-label {
    display: flex;
    flex-direction: row;
}

.smartfilter .row {
    margin-left: 0px !important;
    margin-right: 0px !important;
    touch-action: pan-y;
    padding-right: 5%;
}

.bx-filter-parameters-box-container.with_btn {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    padding: 0;
    margin-top: 24px;
}

.bx-filter-parameters-box-container.with_btn .btn-primary {
    background: #F13333;
}

.bx-filter-parameters-box-container.with_btn .btn-primary .btn-filter-send {
    /*padding: 12px 40px;*/
    /*line-height: 1;*/
    width:100%;
    height: 100%;
    cursor: pointer;
    padding: 0;
    outline: none;
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
}
.bx-filter-parameters-box-container.with_btn .btn-primary:hover{
    cursor: pointer;
    background: #D22727;
}
.bx-filter-parameters-box-container.with_btn .btn-primary:active{
    background: #A71C1C;
}

.prev_filter_content {
    padding: 0 32px 32px;
}

.prev-tabs {
    padding: 0 0 26px;
    border-bottom: 1px solid #DFE1E6;
}

@media (max-width: 1024px) {
    .prev_filter_wrapper {
        padding: 27px 0;
        padding-top: 0px;
    }

    .bx-filter-parameters-box:not(:last-child) .bx-filter-parameters-box-title:before {
        content: none;
    }

    .bx-filter-parameters-box {
        margin-right: 0px;
    }
}

#prev_filter_wrp .bx-filter {
    padding-top: 32px;
}

.prev_filter_wrapper .smartfilter > .row {
    /*padding: 0 40px;*/
    display: flex;
}

.bx-filter-param-label {
    position: relative;
}

.prev_filter_wrapper .smartfilter .checkbox.bx-filter-input-checkbox .form-check-input + .bx-filter-param-label:before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background-color: #fff;
    border: 1px solid #DFE1E5;
    border-radius: 3px;
    color: #fff;
    font-family: FontAwesome;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
    left: 0;
    bottom: 1px;
    transition: 0.2s border;
}

.prev_filter_wrapper .smartfilter .checkbox.bx-filter-input-checkbox .form-check-input + .bx-filter-param-label:hover::before{
    border: 1px solid #9C9DA0;
}

.prev_filter_wrapper .smartfilter .checkbox.bx-filter-input-checkbox .bx-filter-param-label {
    padding-left: 26px;
}

.prev_filter_wrapper .smartfilter .checkbox.bx-filter-input-checkbox .form-check-input:checked + .bx-filter-param-label:before {
    background-color: #F13333;
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.6668 1.5L4.25016 7.91667L1.3335 5' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
    border-color: transparent;
    background-size: 85% 85%;
    background-repeat: no-repeat;
    background-position: center;
}

.prev_filter_wrapper .bx-filter-parameters-box-container .btn-outline-primary {
    margin-left: 8px;
    background: #EDEDED;
}
.prev_filter_wrapper .bx-filter-parameters-box-container .btn-outline-primary:hover {
    background: #DADADA;
}
.prev_filter_wrapper .bx-filter-parameters-box-container .btn-outline-primary:active {
    background: #BEBEBE;
}

.prev_filter_wrapper .bx-filter-parameters-box-container a,
.prev_filter_wrapper .bx-filter-parameters-box-container a + div {
    width: 220px;
    height: 50px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--main-txt);
}

.prev_filter_wrapper .bx-filter-parameters-box-container .btn-outline-primary.btn-outline-primary-mainPage {
    /*position: relative;*/
    /*z-index: 2;*/
    /*overflow: hidden;*/


}

.prev_filter_wrapper .bx-filter-parameters-box-container .btn-outline-primary.btn-outline-primary-mainPage:hover {

}

.prev_filter_wrapper .bx-filter-parameters-box-container .btn-outline-primary:before {
    display: none;
}

.prev_filter_wrapper .bx-filter-parameters-box-container .btn-outline-primary.btn-outline-primary-mainPage:active {
    background-color: var(--main_color_active);
    border-color: var(--main_color_active) !important;
}

.prev_filter_wrapper .bx-filter-parameters-box-container .btn-outline-primary.btn-outline-primary-mainPage:focus {
    border-color: var(--main_color_active) !important;
}

.prev_filter_wrapper .bx-filter-parameters-box-container .btn-outline-primary.btn-outline-primary-mainPage:active:after {
    transform: translateY(0%);
    background: var(--main_color_active);
}

@media (max-width: 768px) {
    .prev_filter_wrapper {
        margin-top: 20px;
    }

    .prev-filter-title {
        padding: 0 15px;
    }

    .prev-filter-title_img img {
        width: 105px;
    }

    .prev-filter-title_title {
        font-size: 16px;
    }

    .bx-filter-parameters-box-container.with_btn {
        padding: 27px 20px;
    }

    .prev-tabs {
        padding: 16px 10px;
    }

    .prev-tabs ul li a {
        padding: 6px 15px;
    }

    .prev_filter_wrapper .smartfilter > .row {
        padding: 0 15px;
    }
}

@media (max-width: 1366px) {
    .bx-filter-parameters-box {
        width: calc(100% / 4);
    }
}

@media (max-width: 576px) {
    .smartfilter .row {
        padding-right: 0%;
        display: block;
    }

    .prev_filter_wrapper {
        padding: 0;
    }

    .smart-filter-slider-handle {
        width: 20px;
        height: 20px;
    }

    .prev_filter_wrapper .bx-filter-parameters-box-container .btn-outline-primary.btn-outline-primary-mainPage {
        max-width: unset;
        width: 50%;
    }

    .prev_filter_wrapper .bx-filter-parameters-box-container.with_btn .btn-primary {
        max-width: unset;
        width: 50%;
    }
}
