.custom_select {
    position: relative;
    width: 120px;
}

.custom_select select {
    display: none; /* Hide original SELECT element */
}

.select-selected {
    background-color: DodgerBlue;
    display: flex;
    align-items: center;
}

/* Style the items (options), including the selected item */
.select-items > div, .select-selected {
    color: var(--bs-black);
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    /* white-space: nowrap; */
    font-size: 13px;
}
.select-items > div {
    padding: 8px 16px;
    border: 1px solid transparent;
    border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
}
.select-selected {
    padding: 10px 0px;
    color: var(--bs-black);
    background-color: var(--bs-white);
}

/* Style items (options) */
.select-items {
    position: absolute;
    background-color: var(--bs-white);
    top: calc(100% + 15px);
    right: 0;
    z-index: 99;
    width: 195px;
    border-radius: 8px;
}

/* Hide the items when the select box is closed */
.select-hide {
    display: none;
}

.select-items div:hover, .same-as-selected {
    background-color: rgba(0, 0, 0, 0.1);
}

.option-image {
    width: 15px;
    height: 15px;
    margin-right: 8px;
    vertical-align: middle;
}
.select-selected .option-image {
    display: none;
}


.dropbtn {
    width: 12px;
    height: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease-in-out;
    outline: none;
}
.dropbtn.show {
    transform: rotate(180deg);
}
.search_for_what .dropdown-toggle::after {
    display: none;
}
ul.what_custom_select {
    width: 280px;
    /*top: 40px !important;*/
    /*transform: translate(-744px, 310px) !important;*/
}
ul.what_custom_select_type {
    width: 190px;
    /*top: 23px !important;*/
    /*transform: translate(-444px, 310px) !important;*/
}
[class^="search_for"] {
    position: relative;
}
[class^="search_for"] :is(.form-control, select) {
    position: relative;
    height: 40px;
}
.search_inner_listing {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 8px;
    padding: 5px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}
.search_listing_img {
    width: 50px;
    height: 32px;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}
.search_listing_img img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}
.search_listing_info {
    width: calc(100% - 58px);
    transition: all 0.3s ease-in-out;
}
.search_listing_title {
    font-size: 14px;
    font-weight: 600;
    display: block;
    color: var(--bs-black);
}
.search_listing_content {
    font-size: 13px;
    color: var(--medium-gray);
    line-height: 16px;
    display: block;
}
.search_inner_listing:hover {
    background: rgba(0, 0, 0, 0.1);
    gap: 0px;
}
.search_inner_listing:hover .search_listing_img {
    width: 0px;
    opacity: 0;
}
.search_inner_listing:hover .search_listing_info {
    width: 100%;
}
