﻿.modal-dialog {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) !important;
    width: 100%;
}

.filters-content {
    display: flex;
    flex-direction: row;
    column-gap: 55px;
}

    .filters-content.marketplace {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        column-gap: 104px;
    }

.filter-column {
    display: inline-block;
    width: 155px;
    text-align: right;
    min-height: 32px;
    margin-bottom: 32px;
    cursor: pointer;
}

.filter-grid-2 {
    display: grid;
    direction: rtl;
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 55px;
}

.filter-grid-4 {
    display: grid;
    direction: rtl;
    width: 100%;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 55px;
}

.filter-column .filter-title {
    display: flex;
    flex-direction: row;
}

.filter-column .filter-name {
    font-size: 14px;
    font-weight: bold;
    color: #27292b;
    margin-bottom: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

    .filter-column .filter-name:has(+ .custom-tooltip) {
        max-width: 132px
    }

.filter-column .filter-row {
    display: flex;
    direction: rtl;
}

    .filter-column .filter-row .filterCount {
        color: #27292b;
        font-size: 14px;
        font-weight: 600;
        margin-right: 4px;
        margin-top: 1px;
    }

    .filter-column .filter-row .filter-txt {
        font-size: 16px;
        font-weight: 600;
        color: #007284;
        margin-bottom: 8px;
        display: block;
        text-decoration: underline;
        word-break: break-word;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }

    .filter-column .filter-row[data-encoded-href2] > .filter-txt {
        text-decoration: none;
        color: unset;
    }

.filter-column .more-filters {
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    font-size: 14px;
    color: #27292b;
    line-height: 18px;
    text-decoration: underline;
    cursor: pointer;
}

    .filter-column .more-filters[data-action=MoreFiltersArchive], .filter-column .more-filters[data-action=MoreFiltersMP] {
        font-weight: 700;
    }

.filter-column .more-filters-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    font-weight: bold;
}

    .filter-column .more-filters-row .more-filters-icon {
        content: '';
        background-color: #000;
        -webkit-mask: url(https://img.zap.co.il/imgs/zapmobile/svg/icon-filter.svg) no-repeat center;
        cursor: pointer;
        width: 24px;
        height: 24px;
    }

.filterRowSelected .FiltersNew .keyword,
.TagsContainer .keyword {
    margin-bottom: 14px;
    display: inline-flex;
    flex-direction: row;
}

.categories-page-filters .TagsContainer {
    display: flex;
    flex-wrap: wrap;
    text-align: right;
    direction: rtl;
    text-align: right;
    width: 100%;
    overflow-y: hidden;
    overflow-x: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    padding-top: 16px;
    gap: 7px;
    padding-bottom: 40px;
}

.categories-page-filters .mp-tags .TagsContainer {
    width: auto;
}
/*


.mp-filters {
    display: flex;
}
.mp-filters .filters-content.marketplace {
    display: flex;
}
.mp-filters .filter-grid-2{
    display:block;
}
    */

.mp-tags {
    display: flex;
    gap: 7px;
}

.TagsContainer .keyword {
    margin-bottom: 0px;
}

 .TagsContainer > .keyword:has([data-keyword]):first-of-type {
    display: inherit; /* מציג את הראשון */
}

.mp-tags.TagsContainer > .keyword:has([data-keyword]):not(:first-of-type) {
    display: none; /* מסתיר את כל האחרים */
}

.TagsContainer .keyword .child {
        height: auto;
        direction: rtl;
        display: flex;
        flex-direction: row;
        align-items: center;
        width: 100%;
        justify-content: space-between;
        gap: 13px;
        border-radius: 2px;
        cursor: pointer;
        margin: 0;
        padding: 5px 7px 5px 7px;
        background: #ecf4f6;
        font-size: 14px;
        border-radius: 2px;
    }
/*-----------------------*/
/*.mp-tags {*/
    /* display: flex
; */
    /* gap: 7px; */
    /*white-space: nowrap;
    overflow-wrap: break-word;
}
.categories-page-filters .mp-tags .TagsContainer {
    width: auto;
    display: inline-block;*/
    /* margin-left: 7px; */
    /*display: inline-block;
}
.TagsContainer .keyword {
    margin-bottom: 0px;
    margin-left: 7px;
}*/
/*-----------------------*/
.TagsContainer .keyword .child .RemoveTag, .TagsContainer .keyword .child .RemoveTagMP {
            margin-right: 13px;
            margin-top: -1px;
            position: relative;
            cursor: pointer;
            width: 8px;
            height: 8px;
        } .TagsContainer .keyword .child .RemoveTag span, .TagsContainer .keyword .child .RemoveTagMP span {
                display: inline-block;
                position: absolute;
                left: 50%;
                top: 50%;
            } .TagsContainer .keyword .child .RemoveTag span:before, .TagsContainer .keyword .child .RemoveTag span:after, .TagsContainer .keyword .child .RemoveTagMP span:before, .TagsContainer .keyword .child .RemoveTagMP span:after {
                    position: absolute;
                    left: 0px;
                    top: -4px;
                    content: " ";
                    height: 11px;
                    width: 1px;
                    background-color: #007284;
                } .TagsContainer .keyword .child .RemoveTag span:before, .TagsContainer .keyword .child .RemoveTagMP span:before {
                    transform: rotate(45deg);
                } .TagsContainer .keyword .child .RemoveTag span:after, .TagsContainer .keyword .child .RemoveTagMP span:after {
                    transform: rotate(-45deg);
                } .TagsContainer .keyword .child .TagTxt {
            color: #007284;
            font-size: 14px;
            line-height: 18px;
            text-align: right;
            text-decoration: none;
            font-weight: 600;
            margin-left: 13px;
        } .TagsContainer::-webkit-scrollbar {
    display: none;
} .filters-popup-header .filters-popup-title {
    display: grid;
    grid-template-columns: 1fr 3fr;
    align-items: center;
    padding-right: 54px;
    margin-bottom: 24px;
} .filters-popup-content input[type=checkbox] {
    display: none;
} .filters-popup-content input[type=checkbox] + label {
        outline: 1px solid #cfcfcf;
        border-radius: 4px;
        height: 16px;
        width: 16px;
        padding: 0;
        cursor: pointer;
        background-color: #fff;
        margin-left: 8px;
    } .filters-popup-content input[type=checkbox]:checked + label {
        background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAxhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkI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o8EJa20NrSsFFLaQnCgfj3kLLUH4jZyLA0ghJLa6AaFpFYcVBkaR+axoVEWh5BaZwGAvFrEi2PpFZCsgTit2gGgYKdGYvaKCD+Q83Ua02E5VS3FNnyd2gGL4YGezitLIUBGyyWHwbi7/QoHLBZTrcSCZflNC8GYZa/p7elMGAHxG+AuJOahjKuWLGCGHUKQPyAqhaPuL4TQIABAOcdkGGAe5DaAAAAAElFTkSuQmCC);
        background-size: 10.8px 10.78px;
        background-repeat: no-repeat;
        background-position: center;
    } .filters-popup-content.filter-column a.filter-row {
    margin-right: 13px;
    pointer-events: auto;
} .filters-popup-title .filters-sort-wapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 30px;
} .filters-popup-title .filters-sort-wapper ul.OrderBy {
        top: -20px;
        width: 165px;
    } .modal-footer .btn-zap {
    width: 238.13px;
    height: 46px;
    margin: 18px 28px;
} .filter-search {
    text-align: center;
    width: 240px;
    height: 40px;
} .ul.dropdown .dropdown-row {
    position: relative;
} .modal-header > .close {
    opacity: 1;
    padding: 0 0 0 10px;
} .modal-header > .close > span {
        font-size: 42px;
        font-weight: 200;
    } .modal-header.basic-modal-header {
    padding: 10px 0 5px 9px !important;
} ul.dropdown .dropdown-row {
    position: relative;
} .filters-popup-content {
    padding: 2px 42px 0 12px;
    display: grid;
    max-height: 318px;
    direction: rtl;
    width: 100%;
    grid-template-columns: repeat(4, 1fr);
} .modal-dialog .modal-content:has(.filters-popup-content) {
    max-height: 688px;
    min-height: 395px;
} .modal-body:has(.filters-popup-content) {
    padding: 0;
} .dropdownContainer {
    position: relative;
} #popupContent .dropdownContainer {
    left: 110px;
} .RangeContainer .ui-widget-content {
    background: #f3f6f6 !important;
    border: 1px solid #e5e6e5;
} span.ui-slider-handle.ui-corner-all.ui-state-default {
    box-shadow: none !important;
} span.ui-slider-handle.ui-corner-all.ui-state-default:focus-visible {
        outline: none;
    } .modal-footer:has(.filters-popup-content) {
    padding: 0;
} div#popupContent:has(.filters-popup-content) {
    display: grid;
    grid-template-rows: auto minmax(200px, auto) auto;
    background-color: #fff;
    border-radius: 0.3rem;
} .FiltersNewScrollContainer {
    overflow-y: auto;
    direction: ltr;
    display: flex;
    flex-direction: column;
} .SearchWrapper [type=text] {
    float: none;
} #popupContent .SearchWrapper .modelSearchBtnWrp {
    display: block;
    position: unset;
    float: none;
    margin: 0 4px;
} #popupContent .SearchWrapper {
    display: flex;
    border: 1px solid #E5E6E5;
}
