/**
 * search.css est inclus dans les fichiers :
 * - layout.php
 */

#bandeau_recherche {
	background-color: #e7eef7;
	border-color: black;
	border-style: solid;
	border-width: 0 0 2px 0;
	height: 18%;
	position: relative;
	width: 100%;
}

.bandeau_recherche_shown {
	top: 0px;
	transition: 0.3s;
}

.bandeau_recherche_hidden {
	top: -150px;
	transition: 0.3s;
}

.div_checkbox_recherche {
	height: 75%;
}

.checkbox_container_recherche {
	cursor: pointer;
	display: block;
	font-size: 14px;
	padding-left: 18px;
	position: relative;
	user-select: none;
}

/* Cache la case à cocher par défaut du navigateur */
.checkbox_container_recherche input {
	cursor: pointer;
	height: 0;
	opacity: 0;
	position: absolute;
	width: 0;
}

/* Crée une case à cocher customisée */
.checkmark_recherche {
	background-color: white;
	border-color: black;
	border-radius: 2px;
	border-style: solid;
	border-width: 2px;
	height: 15px;
	left: 0;
	position: absolute;
	top: 2px;
	width: 15px;
}

/* Quand la case à cocher est cochée, ajoute un fond bleu (blanc?) */
.checkbox_container_recherche input:checked~.checkmark_recherche {
	background-color: #efffee;
}

/* Crée la coche/l'indicateur (cachée quand pas cochée) */
.checkmark_recherche:after {
	content: "";
	display: none;
	position: absolute;
}

/* Affiche la coche quand cochée */
.checkbox_container_recherche input:checked~.checkmark_recherche:after {
	display: block;
}

/* Stylise la coche/l'indicateur */
.checkbox_container_recherche .checkmark_recherche:after {
	border: solid black;
	border-width: 0 3px 3px 0;
	height: 10px;
	left: 3px;
	transform: rotate(45deg);
	width: 6px;
}

.bloc_donnees_recherche {
	border-radius: 8px;
	margin-bottom: 10px;
	margin-top: 5px;
	padding: 10px;
	position: relative;
}

.bloc_donnees_recherche h5 {
	font-size: 1vw;
	font-weight: 600;
	margin: 0;
}

.donnees_affiche {
	background-color: #b3d9e8;
	box-shadow: rgba(3, 130, 230, 0.3) 0px 0px 0px 3px;
	transition: 0.2s;
}

.donnees_affiche:hover {
	background-color: #e7eef7;
	box-shadow: none;
	cursor: pointer;
	transition: 0.2s;
}

.donnees_affiche:active {
	background-color: #e7eef7;
	box-shadow: none;
}

.donnees_bloque {
	background-color: lightgray;
	box-shadow: lightgray 0px 0px 0px 3px;
}

.donnees_bloque:hover {
	cursor: not-allowed;
}

.col-5 {
	width: 46% !important;
}

#tout_recherche {
	margin-top: 5px;
	overflow-y: hidden;
}

#tout_recherche_scroll {
	height: 93%;
	overflow-x: hidden;
	overflow-y: scroll;
	position: absolute;
	width: 100%;
}

.cadenas_recherche {
	border-radius: 8px 0 2px 0;
	height: 32px;
	position: absolute;
	transform: translate(-12px, -12px);
	width: 32px;
}

.cadenas_img_recherche {
	position: absolute;
}

@media (min-width: 1350px) and (max-width: 1600px) {}

@media (min-width: 1000px) and (max-width: 1350px) {

	.checkbox_container_recherche {
		font-size: 11.5px;
	}

	.checkmark_recherche {
		border-width: 1px;
		height: 13px;
		left: 0;
		top: 2px;
		width: 13px;
	}
}

@media (max-width: 1000px) {

	.checkbox_container_recherche {
		font-size: 10px;
	}

	.checkmark_recherche {
		border-width: 1px;
		height: 11px;
		left: 0;
		top: 3px;
		width: 11px;
	}

	.checkbox_container_recherche .checkmark_recherche:after {
		border-width: 0 2px 2px 0;
		height: 7px;
		left: 3px;
		top: 1px;
		width: 4px;
	}

	.checkbox_recherche:first-child {
		margin: 0;
	}

	.checkbox_recherche:nth-child(2n) {
		margin: 0;
	}

	.checkbox_recherche:nth-child(3n) {
		margin: 0;
	}
}