

.item-search_title {
	grid-area: search_title;
}

.item-search_location {
	grid-area: search_location;
}

.item-search_filter {
	grid-area: search_filter;
}

.item-search_services {
	grid-area: search_services;
}

.item-search_specialties {
	grid-area: search_specialties;
}

.item-search_customcheckbox {
	grid-area: search_customcheckbox;
}

.item-search_tacos {
	grid-area: search_tacos;
}

.item-search_burger {
	grid-area: search_burger;
}

.item-search_days {
	grid-area: search_days;
}

.item-search_openinghours {
	grid-area: search_openinghours;
}

.item-search_dualrange {
	grid-area: search_dualrange;
}

.grid-container.search-container {
	display: grid;
	
	grid-template-columns: repeat(8, 1fr);
	grid-template-areas:
		'search_burger search_burger search_title search_title search_title search_title search_tacos search_tacos'
		'search_burger search_burger search_location search_location search_location search_location search_tacos search_tacos'
		'search_burger search_burger . search_filter search_filter . search_tacos search_tacos'
		'search_burger search_burger search_services search_services search_specialties search_specialties search_tacos search_tacos' 
		'search_burger search_burger search_days search_days search_customcheckbox search_customcheckbox search_tacos search_tacos'
		'search_burger search_burger search_openinghours search_openinghours . . search_tacos search_tacos'
		'search_burger search_burger search_dualrange search_dualrange search_dualrange search_dualrange search_tacos search_tacos';
		
		
	gap: 15px 15px;
	/*background-color: #2196F3;*/
	
	padding: 20px 20px 0px 20px;
}

.item-search_services,
.item-search_specialties,
.item-search_days,
.item-search_openinghours,
.item-search_dualrange,
.item-search_customcheckbox {
	max-height: 0; /* Commence avec un max-height de 0 pour ne pas prendre d'espace */
	opacity: 0; /* Rend les éléments entièrement transparents */
	transform: translateY(20px); /* Déplace les éléments vers le bas */
	transition: opacity 0.8s, transform 0.8s, max-height 0.8s, visibility 0.8s; /* Anime la transparence et le déplacement */
	visibility: hidden; /* Commence caché et non-interactif */
}



.rangeslider-wrapper { margin: 0; }



.inputsearchbutton input[type=text] {
	padding: 10px;
	font-size: 17px;
	border: 1px solid grey;
	float: left;
	width: 80%;
	background: #f1f1f1;
}

.inputsearchbutton button {
	float: left;
	width: 20%;
	padding: 10px;
	background: #2196F3;
	color: white;
	font-size: 17px;
	border: 1px solid grey;
	border-left: none;
	cursor: pointer;
}

.inputsearchbutton button:hover {
	background: #0b7dda;
}

.inputsearchbutton::after {
	content: "";
	clear: both;
	display: table;
}

.inputsearchbuttoninstruction {
	color: #2196F3; text-align: right;
}



.switch {
	position: relative;
	display: inline-block;
	width: 60px;
	height: 34px;
}

.switch input { 
	opacity: 0;
	width: 0;
	height: 0;
}

.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: .4s;
	transition: .4s;
}

.slider:before {
	position: absolute;
	content: "";
	height: 26px;
	width: 26px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
}

input:checked + .slider {
	background-color: #2196F3;
}

input:focus + .slider {
	box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
	-webkit-transform: translateX(26px);
	-ms-transform: translateX(26px);
	transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
	border-radius: 34px;
}

.slider.round:before {
	border-radius: 50%;
}



.search_filter {
	margin-top: 5px;
}

.search_filter i.fa {
	font-size: 20px;
	color: #666;
}



/* The container_checkbox */
.container_checkbox {
	display: block;
	position: relative;
	padding-left: 35px;
	margin-bottom: 6px;
	cursor: pointer;
	font-size: 15px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/* Hide the browser's default checkbox */
.container_checkbox input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}

/* Create a custom checkbox */
.container_checkbox .checkmark {
	position: absolute;
	top: 0;
	left: 0;
	height: 20px;
	width: 20px;
	background-color: #eee;
	border-radius: 0;
}

/* On mouse-over, add a grey background color */
.container_checkbox:hover input ~ .checkmark {
	background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.container_checkbox input:checked ~ .checkmark {
	background-color: #2196F3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
	content: "";
	position: absolute;
	display: none;
}

/* Show the checkmark when checked */
.container_checkbox input:checked ~ .checkmark:after {
	display: block;
}

/* Style the checkmark/indicator */
.container_checkbox .checkmark:after {
	left: 8px;
	top: 4px;
	width: 5px;
	height: 10px;
	border: solid white;
	border-width: 0 3px 3px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

/* RADIO */

.checkcontainer {
	margin-bottom: 6px;
	font-size: 15px;
}

.checkcontainer.radio-container .checkmark {
	width: 20px;
	height: 20px;
}

.checkcontainer.radio-container .checkmark:after {
	top: 5px;
	left: 5px;
	width: 10px;
	height: 10px;
}



.item-search_openinghours .switch {
	width: 51px;
	height: 25px;
}

.item-search_openinghours .switch .slider:before {
	height: 17px;
	width: 17px;
}



/* Permet à ".chosen-drop" de se positionner au-dessus de ".chosen-choices" */
.item-search_services,
.item-search_specialties,
.item-search_days	
{
	opacity: 1 !important;
	transform: none !important;
}


