@charset "utf-8";
/* CSS Document */

h1 {
	font-size: 160%;
	font-weight: bold;
	border-top-width: 3px;
	border-bottom-width: 3px;
	border-top-style: solid;
	border-bottom-style: solid;
	border-top-color: #21307d;
	border-bottom-color: #21307d;
	line-height: 30px;
	color: #404973;
	text-indent: 10px;
	padding-top: 8px;
	padding-bottom: 8px;
	margin-top: 20px;
	margin-bottom: 20px;
	background-color: #F5F4F7;
}
h1:before {
	content: " :: ";
}
#texte-contact {
	margin-top: 5%;
	margin-bottom: 5%;
}
#texte-contact h2 {
	color: #1B2654;
	margin-top: 5px;
	margin-bottom: 5px;
}
#leformulaire {
	background-image: url(../images/fond-commun.jpg);
	background-repeat: no-repeat;
	background-position: left top;
	max-width: 700px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	padding-top: 50px;
	padding-right: 50px;
	padding-bottom: 50px;
	padding-left: 100px;
}
.form-style {
	max-width: 500px;
	margin: 50px auto;
	border-radius: 2px;
	padding: 10px;
}
.form-style ul{
    list-style:none;
    padding:0;
    margin:0;   
}
.form-style li{
    display: block;
    padding: 9px;
    border:1px solid #DDDDDD;
    margin-bottom: 30px;
    border-radius: 3px;
}
.form-style li:last-child{
    border:none;
    margin-bottom: 0px;
    text-align: center;
}
.form-style li > label{
	display: block;
	float: left;
	margin-top: -38px;
	height: 30px;
	color: #495573;
	background-color: #DEDFE2;
	font-size: 110%;
	overflow: hidden;
	width: 80%;
	padding-top: 2px;
	padding-right: 5px;
	padding-bottom: 10px;
	padding-left: 5px;
}
.form-style input[type="text"],
.form-style input[type="date"],
.form-style input[type="datetime"],
.form-style input[type="email"],
.form-style input[type="number"],
.form-style input[type="search"],
.form-style input[type="time"],
.form-style input[type="url"],
.form-style input[type="password"],
.form-style textarea,
.form-style select 
{
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	width: 100%;
	display: block;
	outline: none;
	border: 1px solid #999999;
	height: 30px;
	line-height: 30px;
	font-size: 90%;
	padding: 0;
	margin-bottom: 5px;
	text-indent: 10px;
}
.form-style input[type="text"]:focus,
.form-style input[type="date"]:focus,
.form-style input[type="datetime"]:focus,
.form-style input[type="email"]:focus,
.form-style input[type="number"]:focus,
.form-style input[type="search"]:focus,
.form-style input[type="time"]:focus,
.form-style input[type="url"]:focus,
.form-style input[type="password"]:focus,
.form-style textarea:focus,
.form-style select:focus 
{
	border: 1px solid #7862c8;
}
.form-style li > span{
	background-color: #7284c4;
	display: block;
	padding: 3px;
	margin: 0 -9px -9px -9px;
	text-align: center;
	color: #FFF;
	font-size: 90%;
}
.form-style textarea{
    resize:none;
	height: 90px;
}
.form-style input[type="submit"],
.form-style input[type="button"]{
	border-radius: 3px;
	color: #FFF;
	font-weight: bold;
	background-color: #7862c8;
	border-bottom-width: 3px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: solid;
	border-left-style: none;
	border-bottom-color: #FFFF33;
	padding-top: 10px;
	padding-right: 30px;
	padding-bottom: 10px;
	padding-left: 30px;
}
.form-style input[type="submit"]:hover,
.form-style input[type="button"]:hover{
    background: #6B9FFF;
    color:#fff;
}
@media screen and (max-width: 320px) {
	#titre {
		display: none;
	}
	h1 {
		font-size: 100%;
	}
	#leformulaire {
		background-image: none;
		padding-top: 20px;
		padding-right: 20px;
		padding-bottom: 20px;
		padding-left: 20px;
	}
	.form-style li > label{
		font-size: 90%;
		padding-bottom: 4px;
	}
	.form-style li > span{
		font-size: 70%;
	}
	#texte-contact {
		font-size: 90%;
		margin-right: 15%;
		margin-left: 15%;
	}
}
@media screen and (min-width: 321px) and (max-width: 639px) {
	#titre {
		display: none;
	}
	h1 {
		font-size: 120%;
	}
	#leformulaire {
		background-image: none;
		padding-top: 20px;
		padding-right: 20px;
		padding-bottom: 20px;
		padding-left: 20px;
	}
	.form-style li > label{
		font-size: 100%;
		padding-bottom: 6px;
	}
	.form-style li > span{
		font-size: 80%;
	}
	#texte-contact {
		font-size: 100%;
		margin-right: 20%;
		margin-left: 15%;
	}
}
@media screen and (min-width: 640px) and (max-width: 1023px) {
	#titre {
		width: 8em;
		height: 7em;
	}
	h1 {
		font-size: 140%;
	}	
	#texte-contact {
		font-size: 110%;
		margin-right: 32%;
		margin-left: 12%;
	}
}
@media screen and (min-width: 1024px) {
	#titre {
		width: 9em;
		height: 8em;
	}
	h1 {
		font-size: 160%;
	}	
	#texte-contact {
		font-size: 120%;
		margin-right: 35%;
		margin-left: 15%;
	}
}
