@font-face
{
	font-family: 'PoliceDeTitre';
	src : url('../fonts/AlexBrush-Regular.ttf') format('truetype');	/* ce format est "compatible" sur tous les navigateurs, inutile donc de charger d'autres formats */
}

h1, h2, h3 {font-family: PoliceDeTitre, verdana, times new roman, arial ;}

a
{
	text-decoration: none;
	color: inherit;
}

body
{
	margin: auto;
	width: 90%;
	max-width: 1024px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

#retourAccueil
{
	display: block;
	margin: auto;
	margin-top: 12px;
	width: 150px;
	border: 1px solid #AAA;
	border-radius: 12px;
	background: linear-gradient(to top, #DEDEDE, #FFF);
	text-align: center;
	padding: 2px;
}
#retourAccueil:hover { box-shadow: 0px 2px 4px #333; }
#retourAccueil:active 
{
	box-shadow: none;
	background: linear-gradient(to bottom, #DEDEDE, #FFF); 
}

#retourAccueil img
{
	float: left;
	width: 10%;
	margin-top: 2px;
	margin-left: 2px;
}

#enTete
{
	width: 100%;
	margin-top: 0px;
	padding-top: 0px;
	padding-bottom: 0px;
	background: linear-gradient(#FFF, #DDD);
	border-top-color: #DDD;
	border-radius: 0px 0px 10px 10px;
}

#enTete h1
{
	font-size : 3.8em;
	color : #99381D;
	text-align: center;
	text-shadow: 0px 3px 3px rgb(135, 135, 135);	
	margin-bottom: 	9px;
	margin-top: 0px;
}

#formulaire
{
	width: 100%;
	margin-top: 8px;
	display: flex;
	justify-content: space-between;
}

.blocFormulaire:nth-child(2) {order: 1;}
.blocFormulaire:nth-child(1) {order: 2;}
.blocFormulaire:nth-child(3) {order: 3;}

#formulaire img {border-radius: 10px;}

form
{
	min-width: 60%;
	margin-left: 8px;
	margin-right: 8px;
	border: solid thin black;
	border-radius: 10px;
	padding: 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

#intro
{
	align-self: flex-start;
	margin-top: 0px;
	margin-bottom: 8px;
	color: #222;
}

fieldset
{
	width: 97%;
	border: solid thin black;
	border-radius: 10px;
	margin-top: 10px;
	padding-bottom: 0px;
}

legend 
{
	font-weight: bold;
}

#coordonnees p, #tableau p, #optionTableau
{
	display: flex;	
	justify-content: flex-start;	
	margin: 8px;
}

#coordonnees label, #tableau label, #titreOption
{
	width: 	30%;
	min-width: 100px;
}

label + input, #adresse, #choixTableau, #retraitEnvoi
{
	
	width: 70%;
	max-width: 250px;
	margin: auto;
}

#choixMultiple {display: flex;}

.g-recaptcha {margin-top: 8px;}

input, textarea, select {border-radius: 12px;padding: 2px 8px 2px 8px;}

input[type=submit]
{
	display: block;
	margin-top: 4px;
	margin-bottom: 0px;
	padding: 2px;
	width: 80px;
	border: solid thin #AAA;
	background: linear-gradient(to top, #DEDEDE, #FFF);
	text-align: center;
}
input[type=submit]:hover { box-shadow: 0px 2px 4px #333; }
input[type=submit]:active 
{
	box-shadow: none;
	background: linear-gradient(to bottom, #DEDEDE, #FFF); 
}

footer
{
	/*padding: 4px;*/
	margin-top: 4px;
	padding: 0px 2px 0px 2px;
	font-size: 0.8em;
}

@media all and (max-width: 1024px)
{
	body {width: 99%;}
}

@media all and (max-width: 800px)
{
	#enTete h1
	{
		font-size: 2.7em;
		margin-bottom: 0px;
	}

	#formulaire img {display: none;}

	form
	{
		width: 100%;
		margin: auto;
		margin: 4px;
		padding-left: 6px;
		padding-right: 6px;
	}

	form  p {margin-bottom: 4px;}

	#formulaire {margin-top: 0px;}

	fieldset
	{
		padding: 4px;
		margin-left: 0px;
		margin-right: 0px;
	}
}

@media all and (max-width: 340px)
{
	#choixTableau {max-width: 50%;}

	#enTete h1 {font-size: 2.4em;}
	
	#retourAccueil {width: 140px;}

	#fraisPort {display: block;}
}

