.ui-autocomplete .ui-menu-item .ui-menu-item-wrapper:hover {
    background-color: #880016 !important;
    color: white !important;
    border: 1px solid #880016 !important;
}

.ui-autocomplete .ui-menu-item .ui-menu-item-wrapper:not(:focus),
#propertyType option:not(:focus) {
    background-color: #fcfcfc;
    color: rgb(3, 0, 0);
    border: 1px solid white !important;
}

/* Basic styling for the custom dropdown */
.select-wrap {
    position: relative;
    display: inline-block;
}

.select-wrap select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    padding: 8px 24px 8px 8px; /* Adjust padding to make room for the icon */
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: white; /* Add a background color to cover the default arrow */
}

.select-wrap::after {
    content: "\25BC"; /* Unicode character for down arrow */
    font-size: 14px;
    color: #333; /* Adjust color as needed */
    position: absolute;
    top: 50%;
    /*right: 8px;*/
    transform: translateY(-50%);
    pointer-events: none;
}

.box {
    width: 550px;
    position: absolute;
    background: #ffffff;
    top: 48px;
    height: 250px;
    /* left: -24px; */
    z-index: 6;
    box-shadow: 0px 2px 3px #a5a5a5;
    border-radius: 0px 0px 5px 5px;
    display: none;
}
.checked {
    color: orange;
}
.items {
    display: none;
    margin: 10px;
    text-wrap: pretty;
}
.property-type-in-list {
    display: flex !important;
    flex-direction: column;
}
.item-btn-sub {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.flat-items {
    margin: 10px;
    text-wrap: pretty;
}
.box label {
    display: inline;
}
.box label {
    font-weight: 400 !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
}

.max-price-items {
    display: none;
}

.open-box,
.dropdown-item,
.min-price,
.max-price {
    cursor: pointer;
}

.icon-rotate {
    transform: rotate(180deg);
}

span.item-btn,
.main-btn,
.min-btn,
.max-btn {
    padding: 5px 15px;
    border-radius: 15px;
    outline: none;
    text-align: center;
    border: 1px solid #999797 !important;
    margin-right: 3px;
    line-height: 3;
    display: ruby;
    cursor: pointer;
    color: #999797;
}

.range-select {
    padding: 10px;
    display: flex;
    max-height: 250px;
    overflow-y: scroll;
    overflow-x: hidden;
}
.range-select-property-type {
    /*   padding: 10px;
    display: flex;
    max-height:350px;
    overflow-y: scroll;
    overflow-x: hidden;*/
    max-height: 500px;
    overflow-y: scroll;
}

.min-price:hover,
.max-price:hover {
    color: #880016;
}

input[type="radio"]:checked,
input:checked + label span,
.selected-item {
    background-color: rgb(255 186 197 / 99%);
    border: 1px solid #ffbac5fc;
    color: black;
    font-weight: 600;
}
.box input[type="checkbox"],
.box input[type="radio"] {
    display: none;
}
.categroy-title {
    color: black;
}
.icon.fa-circle-check {
    display: none;
}
.icon.fa-plus {
    font-size: 14px;
}

/* When the radio button is checked, change the icon */
input:checked + label span .icon.fa-plus {
    display: none; /* Hide fa-plus */
}

input:checked + label span .icon.fa-circle-check {
    display: inline; /* Show fa-check */
}

/* Ensure FontAwesome is loaded */
/*@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');*/
select.from-group {
    padding: 3px;
    border-radius: 13px;
    border: 1px solid #999797;
    color: #999797;
    outline: none;
    background: #fff;
}

select.priceRange option {
    color: black;
}
#PriceResetButton,
#resetButton {
    right: 28px;
    display: none;
}

/*property type popup box */
.property-type-popup {
    width: 100%;
    overflow: hidden;
    background: #00000040;
    position: fixed;
    top: 0;
    z-index: 11111;
    display: none;
}
.property-type-popup-body {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
}
.property-type-box {
    width: 900px;
    background: #ffffff;
    top: 48px;
    height: auto !important;
    min-height: 350px;
    z-index: 6;
    box-shadow: 0px 0px 10px #a5a5a5;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: unset;
}
.property-type-popup-footer {
    display: flex;
    justify-content: end;
    gap: 10px;
    padding: 0px 40px 9px;
}
.show-pop-up {
    cursor: pointer;
}
.property-type-popup-footer p {
    background: transparent;
    border: 1px solid #ccc;
    padding: 2px 22px;
    color: #880016;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.8s;
}
#save-btn {
    color: #fff;
    background: #880016;
    border: 1px solid #880016;
}
.property-type-popup-footer p:hover {
    background: #0000000f;
}
.property-type .dropdown-item-property {
    border-radius: 5px;
    text-align: center;
    padding: 0.69rem 1rem;
}
.property-type .active-dropdown-item {
    color: #880016 !important;
    background: #0000000f;
}
.property-type {
    column-gap: 10px;
}
.agent .user_type:hover {
    color: #fff !important;
}
.property-type-popup-body .items label {
    margin-bottom: 0 !important;
}

.range-select-property-type {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

#social-meida-li {
    width: 30px;
    height: 30px;
}
.dropdown-toggle::after {
    display: inline-block;
    width: 0;
    height: 0;
    position: absolute;
    top: 45%;
    right: 15;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}
.dropdown-toggle {
    text-align: left;
}

.size-select-search {
    height: 32px;
    padding: 5px 10px;
}
