/* General */
#suggestion-box {
    position: absolute;
    background-color: #fff;
    height: auto;
    width: 100%;
    border: 1px solid #d8d6d9;
    border-top: 0;
    z-index: 4;
    text-align: left;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}
#suggestion-box:empty {
   border: none;
   box-shadow: none;
}
#suggestion-box .ellipsis {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    margin-bottom: 5px;
}
#suggestion-box .title {
    margin: 0px;
    padding: 10px;
    background-color: #f8f6f6;
    font-weight: normal;
}

/* Suggested items */
#suggestion-box .items a {
    display: block;
    margin-bottom: -1px;
    text-decoration: none;
    overflow: auto;
    padding: 10px;
}
#suggestion-box .items a:hover {
    background-color: #f9f9f9;
}
#suggestion-box .items a .item-title {
    text-decoration: underline;
}
#suggestion-box .items .listing-card .listing-detail.no-image {
    margin-left: 0;
}
#suggestion-box .items a .listing-attributes {
    padding: 3px 0px;
}
#suggestion-box .items a .listing-attributes .break {
    margin: 3px 0px 0px 0px;
    display: block;
}
#suggestion-box .items a p {
    margin: 0;
    font-size: 12px;
    color: #333;
}
#content-render .listing-card .listing-thumb {
    float: left;
}
#content-render .listing-card .listing-thumb img {
    height: 85px;
    width: 100%;
}
#content-render .listing-card .listing-detail {
    width: auto;
    margin-left: 105px;
}
#content-render .listing-card .listing-attributes {
    padding: 3px 0px;
    font-size: 0.78em;
    color: #777;
    line-height: 1em;
}

/* Search tags */
#suggestion-box .searches a {
    display: block;
    border-bottom: 1px solid #f0eff0;
    color: #A5A5A5;
    cursor: pointer;
    padding: 10px;
    font-size: 14px;
}
#suggestion-box .searches a:hover {
    background-color: #f9f9f9;
}
#suggestion-box .searches i {
    margin-right: 10px;
}

/* Dropdown content */
.dropdown-content-rgn {
    display: block;
    position: absolute;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    z-index: 1;
	color: grey;
    padding: 10px;
    max-height: 150px;
    overflow-y: auto;
    width: 100%; /* Ensure the width is 100% */
    overflow-x: hidden; /* Prevent horizontal scrolling */
	border: 1px solid #ccc;
}

/* Label inside dropdown */
.dropdown-content-rgn label {
    display: inline-flex;      /* Flexbox for better alignment */
    align-items: center;       /* Vertically align the checkbox and text */
    width: 100%;               /* Ensure label takes full width */
    margin-bottom: 8px;        /* Space between labels */
    padding: 0;                /* Remove unnecessary padding */
    line-height: 1.5;          /* Ensures consistent line height for checkbox and text */
	color: black;
	font-weight: normal !important;
}

/* Normal styled checkbox */
.dropdown-content-rgn label input[type="checkbox"] {
    margin-right: 10px;        /* Space between checkbox and label text */
    vertical-align: middle;    /* Ensure checkbox aligns vertically with text */
    margin-top: 0;             /* Remove margin at the top */
    margin-bottom: 0;          /* Remove margin at the bottom */
    appearance: checkbox;      /* Reset any custom appearance applied to checkboxes */
    -webkit-appearance: checkbox; /* Ensure it works in WebKit browsers */
    -moz-appearance: checkbox; /* Ensure it works in Firefox */
}

/* Ensure search input takes full width */
.search-input-multi-rgn {
    width: 100%;
    box-sizing: border-box;
    padding: 8px;
    margin-bottom: 8px;
    display: block;
}

/* Container for selected items */
.selected-items-rgn {
    margin-bottom: 10px;
    display: block;
    white-space: normal;
}

/* Style for each selected item */
.selected-item-rgn {
    background-color: #f0f0f0;
    padding: 5px;
    border-radius: 3px;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
}

/* Button style in selected item */
.selected-item-rgn button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    vertical-align: middle;
    padding: 0;
}
