
/********************************************************************* GENERAL */

.yjb-hp_form_wrapper {
	background-color: white;
	position: relative;
	padding: 5px 3%;
	margin-top: 70px;
}

.yjb-hp_form_kwd_wrapper {
	display: inline-block;
	position: relative;
	padding-right: 7px;
	margin: 5px;
	width: 40%;
}

.yjb-hp_form_kwd_wrapper::after {
	display: block;
	position: absolute;
	right: 0;
	top: 3px;
	bottom: 3px;
	width: 2px;
	background-color: rgba(0, 0, 0, .1);
	content: "";
}

.yjb-hp_form_loc_wrapper {
	display: inline-block;
	width: 40%;
}

.yjb-hp_form_input {
	border: none;
	border-radius: 0;
	background-color: transparent;
	width: 100%;
}

.yjb-hp_form_input::placeholder {
	text-align: center;
	color: #d8d3d7;
	opacity: 1;
}

.yjb-hp_form_submit_wrapper {
	display: inline-block;
}

.yjb-hp_form_submit {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	width: 20%;
	background-color: var(--yjb_primary);
	border: none;
	clip-path: polygon(10px 0%, 100% 0%, 100% 100%, 0% 100%);
	-webkit-clip-path: polygon(10px 0%, 100% 0%, 100% 100%, 0% 100%);
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
}

.yjb-hp_form_loupe {
	height: 1.2em;
	width: 1.2em;
	background-image: url("./includes/loupe.svg");
	-webkit-background-size: 100%;
	background-size: 100%;
	background-repeat: no-repeat;
	display: inline-block;
}

.yjb-hp_form_loc {
	opacity: 0;
}

.yjb-hp_form_loc + .select2 .select2-selection--single {
	border: none;
}

.yjb-hp_form_loc_wrapper .select2-selection__rendered[title="localisation"] {
	color: #d8d3d7 !important;
	text-align: center;
	padding-right: 50px!important;
}

.yjb-hp_form_select2_dropdown {
	border: none !important;
	border-radius: 0 !important;
	cursor: pointer;
	border: none;
}

.yjb-hp_form_select2_dropdown .select2-results__option--highlighted {
	background-color: var(--yjb_decoration) !important;
	color: black !important;
}

.yjb-hp_form_select2_box .select2-search__field::placeholder {
	color: #bcbcbc;
}

.yjb-hp_form_select2_box .select2-search__field {
	padding: 10px 20px !important;
	margin: 0 !important;
}

.yjb-hp_form_loc_wrapper .select2-selection__arrow b {
	display: none;
}

.yjb-hp_form_loc_wrapper .select2-selection__arrow::after {
	position: absolute;
	content: '';
	height: 12px;
	width: 12px;
	border-bottom: 3px solid var(--yjb_decoration);
	border-right: 3px solid var(--yjb_decoration);
	transform: translateY(-70%) rotate(45deg);
	top: 50%;
	right: 30px;
	z-index: 1;
}

.yjb-hp_form_loc_wrapper .select2-selection__arrow::before {
	position: absolute;
	content: '';
	height: 20px;
	width: 20px;
	cursor: pointer;
	z-index: 2;
	transform: translateY(calc(-70% + 4px));
	top: 50%;
	right: 26px;
}

.yjb-empty_text_input_fn {
	position: relative;
}

.yjb-empty_text_input_btn {
	position: absolute;
	right: 10%;
	top: 50%;
	transform: translateY(-50%);
	padding: 0;
	background: #cecece;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	height: 1.4em;
	width: 1.4em;
}

.yjb-empty_text_input_btn::before {
	content: '';
	display: block;
	position: absolute;
	height: 0.8em;
	left: 50%;
	top: 50%;
	width: 2px;
	background: white;
	transform: translate(-50%, -50%) rotate(45deg);
}

.yjb-empty_text_input_btn::after {
	content: '';
	display: block;
	position: absolute;
	height: 0.8em;
	left: 50%;
	top: 50%;
	width: 2px;
	background: white;
	transform: translate(-50%, -50%) rotate(-45deg);
}

@media only screen and (max-width : 767px) {
	.yjb-hp_form_kwd_wrapper, .yjb-hp_form_loc_wrapper {
		width: 80%;
		padding: 10px 5px;
		margin: 0;
	}
	
	.yjb-hp_form_kwd_wrapper::after {
		height: 1px;
		width: 90%;
		bottom: auto;
		top: 48px;
		left: 10px;
		right: auto;
	}
	
	.yjb-hp_form_wrapper {
		padding-top: 0;
		padding-bottom: 0;
	}

}




