/* Formulaires */
.champ_obligatoire, .champ_obligatoire:hover {
	background-color: #FFD0D0;
}

.champ_obligatoire label {
	color: #FF0000;
}

.champ_obligatoire input, .champ_obligatoire select, .champ_obligatoire textarea {
	border: 2px solid #FF0000;
}

.champ_obligatoire .cke {
	border: 2px solid #FF0000;
}

.ligne_formulaire {
	padding: 8px;
	margin-bottom: 5px;
	border-bottom: 1px solid #CCCCCC;
	display: flow-root;
}

.ligne_formulaire:hover {
	background-color: rgba(215, 221, 242, 0.1);
}

.ligne_formulaire label {
	font-weight: bold;
	display: block;
	margin-bottom: 10px;
}

.ligne_formulaire label, .ligne_formulaire label ul li {
	color: #6A95C7;
}

.ligne_formulaire textarea {
	width: 97%;
	height: 300px;
}

.textarea_description {
	height: 100px !important;
}

.ligne_formulaire img {
	vertical-align: middle;
}

.ligne_formulaire li {
	margin-top: 10px;
	list-style-type: none;
	color: #08661E;
	font-weight: bold;
}

.ligne_formulaire ul ul li {
	color: #000000;
	font-weight: normal;
}

.texte_label {
	color: #005278;
	font-size: 15px;
	padding: 8px 0;
}

input, textarea, select {
	background-color: #e3edf2;
	border: 1px solid #38687e;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2) inset;
	font-size: 12px;
	padding: 5px;
	width: 70%;
}

input {
	vertical-align: middle;
}

@media only screen and (max-width: 680px), only screen and (max-device-width: 680px) {
	input, textarea, select {
		width: 90%;
	}
}

input[type=radio], input[type=checkbox] {
	width: 20px;
	vertical-align: middle;
}

.bouton_envoi {
	background-color: #E3EDF2;
	border: 2px solid;
	color: #38687E;
	font-weight: bold;
	height: 30px;
	margin-top: 10px;
	width: 250px;
	border-radius: 10px;
}

.bouton_envoi:hover {
	border: 2px solid;
}

.bouton_envoi:hover {
	color: #024F23;
	cursor: pointer;
	background-color: #B0CDDB; 
}

@media only screen and (max-width: 700px), only screen and (max-device-width: 700px) {
	.bouton_envoi {
		width: 200px;
	}

	form input[type=submit] {
		max-width: 90%;
	}
}

/* Formulaires */
.contenu form {
	margin: 0 auto;
}

.form_de_connexion form {
	margin: 0;
	width: 450px;
}

.form_de_connexion .grid-6 a {
	margin: -280px 0 100px 500px;
}

@media only screen and (max-width: 860px),
only screen and (max-device-width: 860px) {
	.form_de_connexion form {
		width: 100%;
	}

	.form_de_connexion .grid-6 a {
		margin: 0 auto;
	}
}

input[name=expire_cookie],
input[type=number] {
	width: 80px;
}

input[name=userNpa] {
	width: 70%;
}

.input_date {
	max-width: 70px;
}

.affichage_entete_search input[name=search] {
	width: 200px;
}

.bouton_envoi_confirm,
.bouton_envoi_confirm input {
	width: 500px;
}

.bouton_envoi_confirm input {
	border-color: #FF0000;
	color:#FF0000;
	height: auto;
	min-height: 80px;
	font-size: 150%;
	white-space: normal;
}

@media only screen and (max-width: 720px), only screen and (max-device-width: 720px) {
	.bouton_envoi_confirm,
	.bouton_envoi_confirm input {
		width: 350px;
	}

	.bouton_envoi_confirm input {
		height: 50px;
		font-size: 100%;
	}
}

.la_priorite {
	font-weight: bold;
	font-size: 150%;
	display: block;
	margin-top: 10px;
}

input[value="Enregistrer"] {
	max-width: 120px;
}

input[value="Enregistrer"]:hover {
	cursor: pointer;
}

/*************************************
Debut - Personnalisation des checkbox
*************************************/
label.container_checkbox iconify-icon {
	font-size: 150%;
}

label.container_checkbox {
	color: #000000;
	font-weight: normal;
}

.container_checkbox {
	display: block;
	position: relative;
	padding-left: 30px;
	margin-top: 20px;
	margin-bottom: 12px;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	float: left;
	width: 28%;
}

@media only screen and (max-width: 890px), only screen and (max-device-width: 890px) {
	.container_checkbox {
		width: 38%;
	}
}

@media only screen and (max-width: 550px), only screen and (max-device-width: 550px) {
	.container_checkbox {
		width: 90%;
	}
}

/* Hide the browser's default checkbox */
.container_checkbox input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}

/* Create a custom checkbox */
.checkmark {
	position: absolute;
	top: 0;
	left: 0;
	height: 20px;
	width: 20px;
	background-color: #D6D6D6;
	border: solid 1px #C1C1C1;
	border-radius: 5px;
}

/* On mouse-over, add a grey background color */
.container_checkbox:hover input ~ .checkmark {
	background-color: #C1C1C1;
}

/* 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: 6px;
	top: 2px;
	width: 5px;
	height: 10px;
	border: solid white;
	border-width: 0 3px 3px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}
/***********************************
Fin - Personnalisation des checkbox
***********************************/

/***********************************
Début - Boutons radios
***********************************/
input[type="radio"] {
	opacity: 0;
	position: absolute;
}

input[type="radio"] + label {
	color: black;
	cursor: pointer;
}

input[type="radio"] + label span {
	padding: 0 8px;
	cursor: pointer;
	background-color: #FFFFFF;
	border: 1px solid #CAC7C7;
	float: left;
}

input[type="radio"]:checked + label span{
	background-color: #359884;
	border-color: #1D5D50;
	color: white;
}

.groupe_radio .texte_priorite {
	margin: 0 5px;
}

.groupe_radio {
	display: inline-flex;
	line-height: 30px;
}
/***********************************
Fin - Boutons radios
***********************************/

.afficher_erreur_formulaire {
	border: 1px solid;
	color: #FF0000;
	font-weight: bold;
	padding: 20px;
	margin: 20px 0;
}

.avec_select_date_trois_cases select {
	max-width: 110px;
}

.bouton_envoi_simu {
	margin: 30px auto 0 auto;
	text-align: center;
	display: flex;
	justify-content: center;
	font-size: 200%;
	padding: 10px 20px;
	border-radius: 10px;
	border: 1px solid #3A67B7;
}

.bouton_envoi_simu:hover {
	cursor: pointer;
}

/*************************************
Debut - Personnalisation des checkbox
*************************************/
	label.container_checkbox iconify-icon {
		font-size: 150%;
	}

	label.container_checkbox {
		color: #000000;
		font-weight: normal;
		/* width: 44%; */
	}

	.container_checkbox {
		display: block;
		position: relative;
		padding-left: 30px;
		margin-top: 20px;
		margin-bottom: 12px;
		cursor: pointer;
		-webkit-user-select: none;
		-moz-user-select: none;
		-ms-user-select: none;
		user-select: none;
		float: left;
		width: 99%;
	}

	@media only screen and (max-width: 890px), only screen and (max-device-width: 890px) {
		.container_checkbox {
			width: 38%;
		}
	}

	@media only screen and (max-width: 550px), only screen and (max-device-width: 550px) {
		.container_checkbox {
			width: 90%;
		}
	}

	/* Hide the browser's default checkbox */
	.container_checkbox input {
		position: absolute;
		opacity: 0;
		cursor: pointer;
		height: 0;
		width: 0;
	}

	/* Create a custom checkbox */
	.checkmark {
		position: absolute;
		top: 1px;
		left: 0;
		height: 20px;
		width: 20px;
		background-color: #D6D6D6;
		border: solid 1px #C1C1C1;
	}

	/* On mouse-over, add a grey background color */
	.container_checkbox:hover input ~ .checkmark {
		background-color: #C1C1C1;
	}

	/* 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: 6px;
		top: 2px;
		width: 5px;
		height: 10px;
		border: solid white;
		border-width: 0 3px 3px 0;
		-webkit-transform: rotate(45deg);
		-ms-transform: rotate(45deg);
		transform: rotate(45deg);
	}

	/*.container_checkbox:nth-child(even) {
		color: #959595;
	}*/

	/*******************************************
	Début - Personnalisation checkbox glissante
	*******************************************/
		.checkbox_label {
			display: inline-block;
			width: 100px;
			height: 40px;
			cursor: pointer;
			position: relative;
		}

		/* Cacher le bouton checkbox */
		.btn_checkbox {
			display: none;
		}

		/* mettre tous les éléments "span" frères du bouton checkbox en inline-block pour pouvoir les aligner et changer leurs dimensions */
		.btn_checkbox~span {
			display: inline-block;
			width: 100px;
			height: 40px;
			border-radius: 20px;
			vertical-align: middle;
			opacity: 0.7;
			font-size: 24px;
			line-height: 40px;
			font-weight: bold;
			/* positionner tous les span par rapport à leurs parent "label" */
			position: absolute;
			top: 0;
			left: 0;
		}

		.btn_checkbox_150~span {
			width: 150px;
		}

		/* Style initial du span Non */
		#negative_checkbox {
			background: #FF897D;
			color: #E82512;
			text-align: right;
			padding-right: 7px;
			padding-bottom: 2px;
			transition: all 0.5s ease;
		}

		/* Style initial du span "OUI", avec "opacity=0" pour le rendre invisible */
		#affirmative_checkbox {
			background: #6ABC8D;
			color: #2C7D4F;
			text-align: left;
			padding-left: 7px;
			padding-bottom: 2px;
			opacity: 0;
			transition: all 0.5s ease;
		}

		/* style du petit span rond */
		#round_checkbox {
			width: 41px;
			height: 41px;
			top: auto;
			border-radius: 100px;
			background: #FFFFFF;
			box-shadow: 1px 1px 1px rgba(0,0,0,0.2);
			opacity: 0.7;
			transition: all 0.5s ease;
		}

		/* Après changement de l’état du checkbox en "checked" par le clic de l'utilisateur, on déplace le span rond et on affiche le span "OUI" */
		.btn_checkbox:checked ~ #round_checkbox {
			left: 65px;
		}

		.btn_checkbox_150:checked ~ #round_checkbox {
			left: 115px;
		}

		.btn_checkbox:checked~#affirmative_checkbox {
			opacity: 1;
		}
	/*******************************************
	Fin - Personnalisation checkbox glissante
	*******************************************/
/***********************************
Fin - Personnalisation des checkbox
***********************************/