/*----------PLAT.PHP----------*/
/* Filtrage de tout les plats dans le tableau d'acceuil */
.filtrage
{
	display: flex;
	justify-content: center;
	align-items: center;
}

.filtre_plat , .recherche_plat
{
	margin: 0 15px 0 15px;
}

.filtre_plat select
{
	height: 40px;
	font-size: 1.05em;
	padding: 0 5px 0 5px;
	border-radius: 5px;
}

.recherche_plat input
{
	width: 420px;
	height: 45px;
	font-size: 1.05em;
	padding: 0 10px 0 10px;
	border-radius: 30px;
}


/*----------PLATS_DETAIL.PHP----------*/
/* Mise en page */
.form_plat
{
	display: flex;
	flex-wrap: wrap;
}

.grande_partie_ecran
{
	flex: 2;
	min-width: 1030px;
}

.petite_partie_ecran
{
	flex: 1;
	min-width: 530px;
}

.infos_sup , .recette , .alergenes
{
	margin: 15px;
}


/* Infos générales */
.infos_generales
{
	display: flex;
	flex-direction: column;
	padding: 15px;
}

.infos_generales div
{
	margin: 3px 0 3px 0;
}

.infos_generales label
{
	display: inline-block;
	width: 140px;
}

.infos_generales input[type="text"]
{
	width: 200px;
	height: 25px;
	padding: 0 5px 0 5px;
	border: 1px #A0A0A0 solid;
	border-radius: 5px;
}

.infos_generales select
{
	height: 25px;
	padding: 0 5px 0 5px;
	border: 1px #A0A0A0 solid;
	border-radius: 5px;
}

.input_text
{
	min-width: 800px;
}

.categorie
{
	order: 4;
}

.besoin_four
{
	order: 5;
}

.besoin_four
{
	width: 150px;
	background-color: #A6CA3F;
	color: black;
	display: flex;
	flex-wrap: nowrap;
	box-shadow: 0.5px 0.5px 2px black;
	border-radius: 5px;
	padding: 3px;
	order: 5;
	transform: scale(1);
	transition: transform 150ms , background 200ms;
}

.besoin_four label
{
	font-weight: normal;
	cursor: pointer;
}

.besoin_four:hover
{
	transform: scale(1.1);
	background-color: #E9B638;
}

.besoin_four:active
{
	background-color: #FFC740;
}


/* Autres infos */
.infos_sup , .infos_utilisateur
{
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
}

.infos_utilisateur .case_remplie
{
	width: 200px;
	height: 25px;
	padding: 0 5px 0 5px;
	border: 1px #A0A0A0 solid;
	border-radius: 5px;
}

.case_signalement
{
	width: 200px;
	padding: 0 5px 0 5px;
	border: 1px #A0A0A0 solid;
	border-radius: 5px;
}

.infos_utilisateur
{
	background-color: #ADC270;
	margin: 0;
	padding: 15px;
	border-radius: 0px 0px 8px 8px;
}

.filtre_saison
{
	display: flex;
	justify-content: flex-start;
	align-items: center;
	flex-wrap: nowrap;
	margin-bottom: 5px;
}

.options
{
	display: flex;
	justify-content: flex-start;
	align-items: center;
	flex-wrap: nowrap;
	margin: 5px;
}


/* Tableau de la liste des ingredients */
.contenu_ingredient
{
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.images_carroussel img
{
	max-height: 300px;
	max-width: 300px;
	box-shadow: none;
	transition: transform 300ms , box-shadow 500ms;
}

.images_carroussel img:hover
{
	z-index: 2;
	transform: translateX(-100px) scale(1.8);
	box-shadow: 0px 0px 8px #A0A0A0;
}

.tableau_ingredients td
{
	padding: 3px;
}

.tableau_ingredients td:nth-child(2)
{
	width: 230px;
}

.tableau_ingredients input , .ajout_ingredient input
{
	width: 60px;
	height: 25px;
}

.ajout_ingredient select
{
	width: 230px;
	height: 30px;
}

.ajout_ingredient
{
	display: flex;
	justify-content: flex-start;
	align-items: center;
	flex-direction: row;
	flex-wrap: nowrap;
	margin: 6px;
}

.ajout_ingredient button , .ajout_ingredient input , .ajout_ingredient select
{
	margin-right: 8px;
}


/* Case des instructions */
.centre_instructions
{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 15px 25px 15px 25px;
}

.centre_instructions textarea
{
	margin: 0;
	padding: 10px;
}


/* Temps de prépa et de cuisson */
.tableau_temps
{
	margin: 5px 0 5px 0;
}

.tableau_temps td:nth-child(1)
{
	width: 170px;
}

.tableau_temps input
{
	width: 95px;
	height: 22px;
	padding: 2px  7px 2px 7px;
	border-radius: 15px;
}


/* Tableau camps */
.camps
{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.camps td a
{
	display: inline;
	text-align: left;
	flex-wrap: nowrap;
	max-width: 330px;
}


/*----------INGREDIENTS.PHP----------*/
/* Mise en page */
.infos_ingredient
{
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}

.infos_generales_ingredient
{
	min-width: 610px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding: 5px 15px 5px 15px;
	flex: 2;
}

.infos_generales_ingredient label
{
	display: inline-block;
	width: 190px;
}

.infos_generales_ingredient div
{
	margin: 3px 0 3px 0;
}

.infos_generales_ingredient input[type="text"] , .infos_utilisateur_ingredient input
{
	width: 180px;
	height: 25px;
	padding: 0 5px 0 5px;
	border: 1px #A0A0A0 solid;
	border-radius: 5px;
}

.conv_piece_kg
{
	width: 150px;
	height: 25px;
	padding: 0 5px 0 5px;
	border: 1px #A0A0A0 solid;
	border-radius: 5px;
}

.infos_generales_ingredient select
{
	width: 160px;
	height: 25px;
	padding: 0 5px 0 5px;
	border: 1px #A0A0A0 solid;
	border-radius: 5px;
}

.infos_generales_ingredient .nom_ingredient
{
	min-width: 400px;
}

.infos_generales_ingredient .checkbox 
{
	margin: 10px 0 5px 0;
}


/* Infos utilisateur */
.infos_utilisateur_ingredient
{
	min-width: 450px;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	background-color: #C0D389;
	padding: 60px 15px 60px 15px;
	border-radius: 0px 8px 8px 0px;
	flex: 1;
}


/* Infos recettes */
.nombre_de_plat_0
{
	height: 80px;
	background-color: #EFEA8F;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 15px;
	box-shadow: 0px 0px 4px #A0A0A0;
}

.nombre_de_plat
{
	margin-bottom: 15px;
	font-size: 1.1em;
	font-weight: bold;
}


/*----------STATS.PHP----------*/
/* Mise en page des tableau */
.tableau_stat 
{
	border-collapse: collapse;
	margin: 30px;
}

.tableau_stat td, .tableau_stat th
{
	border: 1px black solid;
	padding: 5px;
	background-color: #D7F091;
}

.tableau_stat tr
{
	height: 30px;
}

.tableau_stat th
{
	background-color: #A6CA3F;
}

.page_stat
{
	display: flex;
	justify-content: center;
	align-items: flex-start;
	flex-wrap: wrap;
}


/*----------AIDE.PHP----------*/
.page_aide
{
	display: flex;
	justify-content: flex-start;
	align-content: flex-start;
	flex-direction: column;
	padding: 15px 30px 15px 30px;
}

.page_aide .liste_importante
{
	width: 70%;
	background-image: linear-gradient(to right, #ABBC7A, #C0D389 10%, #C0D389 70%, #ABBC7A);
	border: 1px #696969 solid;
	border-radius: 5px;
	box-shadow: 1px 1px 5px #696969;
	padding: 15px 30px 15px 30px;
}

.page_aide .cadre_important
{
	display: flex;
	flex-direction: column;
	background-image: linear-gradient(to right, #F0C458, #FFD87A 30%, #FFD87A 70%, #F0C458);
	border: 1px #696969 solid;
	border-radius: 8px;
	box-shadow: 3px 3px 8px #696969;
	margin: 5px 4% 5px 4%;
	padding: 10px 20px 10px 20px;
}

.page_aide .cadre_boutons
{
	display: flex;
	flex-direction: column;
	background-image: linear-gradient(to right, #C0D389, #D7F091 30%, #D7F091 70%, #C0D389);
	border: 1px #696969 solid;
	border-radius: 8px;
	box-shadow: 3px 3px 8px #696969;
	margin: 5px 4% 5px 4%;
	padding: 10px 20px 10px 20px;
}

.page_aide .petit_bouton img
{
	position: relative;
	top: 2px;
}

.page_aide h3
{
	text-align: center;
	text-decoration: underline;
}

.page_aide .explications_sup
{
	font-weight: bold;
	margin: 30px;
}

.page_aide .petit_bouton
{
	margin: 0 5px 0 5px;
	display: inline-block;
}

.page_aide li
{
	margin: 10px;
}

.page_aide span
{
	text-decoration: underline;
	font-weight: bold;
	font-style: italic;
}

.page_aide .telecharger_notice
{
	font-weight: bold;
	margin-top: 50px;
	text-align: right;
}