.ydu_search_motor {
	margin: 50px 0;
	border: 1px solid #22274f;
	border-radius: 10px;
	position: relative;
}

.ydu_search_motor_tabs_header {
	display: flex;
	justify-content: space-between;
}

.ydu_search_motor_tab_header {
	flex: 1;
	text-align: center;
	background-color: #22274f;
	color: white;
	text-transform: uppercase;
	padding: 10px 0;
	font-size: 0.9em;
	cursor: pointer;
}

.ydu_search_motor_tab_header.active {
	color: #22274f;
	background-color: white;
}

.ydu_search_motor_tab_header[data-tab="location"] {
	border-top-left-radius: 10px;
}

.ydu_search_motor_tab_header[data-tab="neuf"] {
	border-top-right-radius: 10px;
}

.ydu_search_motor_tab_header[data-tab="For rent"] {
	border-top-left-radius: 10px;
}

.ydu_search_motor_content {
	padding: 35px 50px;
}

.ydu_search_motor_content_selects {
	display: flex;
	justify-content: space-around;
	gap: 30px;
	flex-wrap: wrap;
	width: 100%;
}

.ydu_search_motor_content_select {
	flex: 1;
	position: relative;
	font-size: 0.9em;
	border: 1px solid #aaaaaa;
	color: #aaaaaa;
	font-family: Helvetica,Arial,sans-serif;
	font-weight: 100;
	cursor: pointer;
}

.ydu_search_motor_content_select_choices {
	position: absolute;
	top: 100%;
	width: calc(100% + 2px);
	background-color: white;
	border: 1px solid #aaa;
	left: -1px;
	z-index: 1000;
	color: #22274f;
	font-size: 0.9em;
	display: none;
}

.ydu_city_autocomplete {
	width: 100%;
	padding: 0;
	border: none;
	font-family: Helvetica,Arial,sans-serif;
	font-weight: 100;
	color: #aaaaaa;
	box-sizing: border-box;
	background-color: transparent;
}

.ydu_city_autocomplete::placeholder {
	color: #aaaaaa;
	opacity: 1;
	font-family: Helvetica,Arial,sans-serif;
	font-weight: 100;
}

.ydu_city_autocomplete:focus {
	outline: none;
}

.ydu_search_motor_content_select_choices > div {
	padding: 5px 15px;
	display: flex;
	gap: 3px;
	align-items: center;
}

.ydu_search_motor_content_select_choices > div:hover {
	background-color: rgb(49,119,185);
}

.ydu_search_motor_content_select_choice {
	justify-content: center;
	display: flex;
	align-items: center;
	padding: 7px 20px 7px 10px;
	position: relative;
	height: 40px;
}

.ydu_search_motor_content_select_choice span {
	margin-right: 2px;
	white-space: nowrap;
	position: absolute !important;
	width: calc(100% - 40px);
	overflow: hidden;
}

.ydu_search_motor_content_select_choice svg {
	position: absolute;
	right: 5px;
}

.ydu_search_motor_content_select_choices input {
	margin: 0 2px 0 0;
}

.ydu_search_motor_content_select_choices label {
	width: 100%;
	display: block;
	cursor: pointer;
	font-weight: 400;
	margin: 0;
}

.ydu_search_motor_loader {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #22274fcc;
}

.ydu_search_motor_loader::after {
	content: '';
	box-sizing: border-box;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 20px;
	height: 20px;
	margin-top: -10px;
	margin-left: -10px;
	border-radius: 50%;
	border: 2px solid #ccc;
	border-top-color: #22274f;
	animation: spinner .6s linear infinite;
}

@keyframes spinner {
	to {transform: rotate(360deg);}
}

.ydu_search_motor_content_inputs {
	display: flex;
	justify-content: space-around;
	gap: 30px;
	flex-wrap: wrap;
}

.ydu_search_motor_content_input {
	flex: 1;
	position: relative;
}

.ydu_search_motor form {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.ydu_search_motor_content_input input[type="submit"] {
	background-color: #22274f;
	color: white;
	width: 100%;
	font-size: 0.9em;
	font-weight: 100;
	text-transform: uppercase;
	height: 100%;
}

.ydu_search_motor_content_input input[type="number"] {
	border: none;
	border-bottom: 2px solid #22274f;
	padding-left: 0;
	padding-right: 0;
	font-size: 0.9em;
}

.ydu_search_motor_content_input_surface_min::after {
	position: absolute;
	content: 'm²';
	right: 30px;
	top: 50%;
	transform: translatey(-50%);
}

.ydu_search_motor_content_input_price_max::after {
	position: absolute;
	content: '€';
	right: 30px;
	top: 50%;
	transform: translatey(-50%);
}

.ydu_search_motor_content_select_choices {
	max-height: 225px;
	overflow-y: auto;
}

.wpbf-grid .ydu_search_motor {
	width: 100% !important;
	height: max-content !important;
	padding: 0;
	margin: 0 0 20px 0;
}

.blog .ydu_search_motor {
    width: 33.333333% !important;
}

.wpbf-grid .ydu_search_motor .ydu_search_motor_content_select {
	min-width: 31%;
}

.wpbf-grid .ydu_search_motor_content_select, .wpbf-grid .ydu_search_motor_content_input {
	min-width: 31%;
}

.wpbf-grid .ydu_search_motor_content {
	padding: 30px;
}

@media only screen and (max-width : 992px) {
	.ydu_search_motor_content_select {
		min-width: 47%;
	}

	.wpbf-grid .ydu_search_motor {
		width: 100% !important;
		margin-left: 25px !important;
	}
}


@media only screen and (max-width : 767px) {
	.ydu_search_motor_content_select, .ydu_search_motor_content_input {
		min-width: 100%;
	}

	.ydu_search_motor_content {
		padding: 30px;
	}
}
