/*
Advanced Search CSS
*/
#map {
	background-color: lightgray;
}

.ui-autocomplete {
	background-color: #ffffff;
	padding: 1rem 0;
	max-height: 250px;
	overflow-y: auto;
	border: 1px solid #f4f4f4;
}

.ui-autocomplete .ui-autocomplete-category {
	padding: 0.5rem 1.5rem 0;
	font-size: 13px;
}

.ui-autocomplete .ui-autocomplete-category:not(:first-of-type) {
	padding-top: 1rem;
}

.ui-autocomplete .ui-menu-item {
	padding: 0;
}

.ui-autocomplete .ui-menu-item-wrapper {
	padding: 0.5rem 1.5rem;
}

.ui-menu .ui-state-focus, .ui-menu .ui-state-active {
	margin: 0;
	background-color: #F4F4F4;
}
#property-search-form .no-gutter, #property-search-form.no-gutter {
  margin-right: 0;
  margin-left: 0;
}

#property-search-form .no-gutter > [class*="col-"], #property-search-form.no-gutter > [class*="col-"] {
  padding-right: 0;
  padding-left: 0;
}

.visually-hidden {
	display: none;
}

#advanced-search-wrapper.collapse:not(.in){
	display: none;
}

#property-search-form {
	display: flex;
	flex-wrap: wrap;
}

#property-search-form .col-md-auto {
	flex: 0 0 auto;
	width: auto;
}

#property-search-form .flex-grow-1 {
	flex-grow: 1;
}

#property-search-form .bootstrap-select {
	width: 100% !important;
}

#property-search-form .bootstrap-select .btn[data-id="department"], select#department {
	width: 170px;
}

#property-search-form .bootstrap-select .btn[data-id="type"], select#type {
	width: 90px;
}

.#property-search-form .listings-search {
  	position: relative;
}

#property-search-form .advanced-search {
  	position: absolute;
  	top: 0;
  	right: 25px;
  	border: 0;
  	background-color: transparent;
}

#property-search-form .advanced-search::after {
  	content: '\f077';
  	font-family: 'Font Awesome 5 Pro';
  	padding-left: 15px;
  	font-size: 11px;
}

#property-search-form .advanced-search.collapsed::after {
  	content: '\f078';
  	font-family: 'Font Awesome 5 Pro';
  	padding-left: 15px;
  	font-size: 11px;
}

#property-search-form select, #property-search-form input:not([type='checkbox']), #property-search-form button {
  	height: 53px;
  	border-radius: 0;
}	

#property-search-form .bootstrap-select .dropdown-toggle .filter-option {
	line-height: 53px;
	height: 100%;
	padding: 0 15px;
}

#property-search-form #advanced-search-wrapper {
  	margin-top: 15px;
}

#property-search-form .form-check {
  	display: block;
  	min-height: 1.5rem;
  	padding-left: 1.5em;
  	margin-bottom: .125rem;
}

#property-search-form .form-check-inline {
  	display: inline-block;
  	margin-right: 1rem;
}

#property-search-form .form-check .form-check-input {
  float: left;
  margin-left: -1.5em;
}

@media screen and (max-width:968px){
	#property-search-form .bootstrap-select .btn[data-id="department"], select#department, #property-search-form .bootstrap-select .btn[data-id="type"], select#type {
		width: 100%;
	}

	#property-search-form #keyword {
		margin-top: 15px;
		margin-bottom: 15px;
	}

	#property-search-form {
		display: block;
	}

	#property-search-form .advanced-search {
		position: relative;
		right: 0;
		float: right;
		font-size: 12px;
		padding: 0;
		height: auto;
	}

	#property-search-form #search {
		width: 100%;
		margin-top: 15px;
	}

	#property-search-form .col-md-auto {
		width: inherit;
	}

	#property-search-form .col-xs-6 {
		width: 50%;
	}

	#property-search-form .col-xs-12 {
		width: 100%;
	}
}