.autocomplete-container {
    position: relative;
}

.autocomplete-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #9d9d9c;
    border-top: none;
    border-radius: 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    font-size: 12px;
}

.autocomplete-item {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #9d9d9c;
}

.autocomplete-item:hover,
.autocomplete-item.active {
    color: white;
    background-color: black;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.suggestion-type {
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: bold;
}

.suggestion-main {
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggestion-detail {
    font-size: 0.875rem;
    color: #6c757d;
}

.clear-button {
    position: absolute;
    padding: 0;
    right: 8px;
    top: 8px;
    background: none;
    border: none;
    color: #9d9d9c;
    cursor: pointer;
    display: none;
    z-index: 1001;
}

.clear-button:hover {
    color: black;
}

.clear-button span {
    font-size: 16px;
}

.autocomplete-item.no-results {
    color:red;
    cursor: default;
}


#intMapSearchField {
	margin-bottom: 6px;
}

#intMapSearch, #TPOSearch, #TPDSearch {
	border-color: #9d9d9c;
	border-left-width: 0px;
	border-top-right-radius: 8px;
	border-bottom-right-radius: 8px;
	padding-left: 8px;
	padding-right: 32px !important;
	height: 32px;
}

#intMapSearchSuggestions.no-results {
    border: 1px solid red;
}

.autocomplete-item.no-results:hover {
    background-color: #f8f9fa;
}

.search-warning {
    height: 24px;
    margin-right: 16px;
}

@media (min-width: 576px){


	#intMapSearchField {
		margin-bottom: 12px;
	}

	#intMapSearch, #TPOSearch, #TPDSearch {
		/* border-top-right-radius: 12px;
		border-bottom-right-radius: 12px; */
		height: 40px;
		padding-right: 40px !important;
	}

    .clear-button {
        font-size: 24px;
        right: 10px;
        top: 6px;
    }

    .clear-button span {
        font-size: 24px;
    }

    .autocomplete-suggestions {
        font-size: 14px;
    }

    .autocomplete-item {
        padding: 8px 12px;
    }
}