body, html, #page {
  height: 100%;
  margin: 0;
  font: 400 15px/1.8 "Lato", Arial, Helvetica,sans-serif;
  background-color: white;
  color: #4B505F;
}

em{
	font-style:normal;
}
@media screen and (min-width: 960px) {
 #header {
	top: 0;
	border-width: 0px;
	width: 100%;
	background-color: #4B505F;
	color: #f5f5be;
	position: fixed;
	z-index: 5;
}
  nav{
    position:absolute;
    bottom:0px;
    left: 100px;
	width: 920px;
    margin: 0px;
    padding: 0px;
    bottom:0px;
  }
  nav ul{
    width: 920px;
    padding: 0px;
    margin: 0px;
    list-style: none;
  }
  nav ul li{
    display: inline-block;
    height:40px;
    background-color:#4B505F;
    padding-left: 10px;
    padding-right: 10px;
    border-right: 2px solid #ffaa00;  
    border-left: 2px solid #ffaa00; 
    border-top: 2px solid #ffaa00; 
    border-bottom: 1px solid #ffaa00; 
    -webkit-border-radius: 15px 15px 0px 0px;
    -moz-border-radius: 15px 15px 0px 0px;
    border-radius: 15px 15px 0px 0px;
  }

  nav ul li a{
    font-weight: bold;
    text-decoration: none;
    color: #f5f5be;
  }
  nav ul li a:hover{
    color: #32ff6e;
    font-size:1.2em;
  }
  
  #logo_micro{
	top:50%;
	padding:5px;
	align:left;
	}
	
	#formulaire {
		position: absolute;
		width:920px;
		left: 50% ;
		margin-left: -460px;
		background-color:#4B505F;
		color:#f5f5be;
		padding:10px;
	}

	#formulaire input[type=text], #formulaire textarea, #formulaire select,
		#formulaire img {
		font-size: 1em;
		-webkit-border-radius: 15px;
		-moz-border-radius: 15px;
		border-radius: 15px;
		-webkit-border-top-left-radius: 0px;
		-moz-border-top-left-radius: 0px;
		border-top-left-radius: 0px;
		-webkit-border-bottom-left-radius: 0px;
		-moz-border-bottom-left-radius: 0px;
		border-bottom-left-radius: 0px;
		border: 2px solid #ffaa00;
		margin:2px;
		padding-left:3px;
		padding-right:2px;
	}

	#formulaire input[type=submit] {
		margin-top: 10px;
		padding: 2px 20px;
		color: #fff;
		cursor: pointer;
		font-size: 1em;
		font-weight: 400;
		text-decoration: none;
		text-transform: uppercase;
		background: #09b32f;
		background: -webkit
			-gradient(linear, left top, left bottom, from ( #FFAA00), to(#A66F00));
		background: -webkit-linear-gradient(top, #FFAA00, #A66F00);
		background: -moz-linear-gradient(top, #FFAA00, #A66F00);
		background: -o-linear-gradient( 
		top, #FFAA00, #A66F00);
		background: linear-gradient(top, #FFAA00, #A66F00);
		border: 1px solid #A66F00;
		-moz-border-radius: 15px;
		-webkit-border-radius: 15px;
		border-radius: 15px;
	}
	
	#submit{
		clear:right;
		position: relative;
		width:920px;
		left: 50% ;
		margin-left: -460px;
	}

	.contact_legend{
		text-align: right;
		width:48%;
		float:left;
	}

	.contact_legend p{
		padding-left:5px;
		padding-right:3px;
		margin:2px;
		font-size: 1em;
		-webkit-border-radius: 15px;
		-moz-border-radius: 15px;
		border-radius: 15px;
		-webkit-border-top-right-radius: 0px;
		-moz-border-top-right-radius: 0px;
		border-top-right-radius: 0px;
		-webkit-border-bottom-right-radius: 0px;
		-moz-border-bottom-right-radius: 0px;
		border-bottom-right-radius: 0px;
		border: 2px solid #ffaa00;
	}
	.contact_field{
		text-align: left;
		width:52%;
		float:right;
	}

	.mail, .objet, .verif{
	height: 30px;
	padding:2px;
	}
	
	.securite {
		height:35px;
		padding:2px;
	}
	
	.clear {
		clear:both;
	}

	#field_mail, #field_objet,#field_verif{
	height: 30px;
	}
		
	#field_securite{
	background-color:#00FF00;
	height: 35px;
	}
	
	.msg, #field_msg{
	height: 11em;
	}
	
}


@media screen and (max-width: 959px) {
  header#global{
    width: 100%;
    margin-top: 10px;
    background-color: #4B505F;
	color: #f5f5be;
	z-index: 5;
  }
  nav{
    margin: 0px;
    padding: 10px;
    background-color: #4B505F;
	color: #f5f5be;
	z-index: 5;
	text-align: center;
  }
  nav ul{
    width: 100%;
    padding: 0px;
    margin: 0px;
    list-style: none;
  }
  nav ul li{
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
	border-right: 2px solid #ffaa00;  
    border-left: 2px solid #ffaa00; 
    border-top: 1px solid #ffaa00; 
    border-bottom: 1px solid #ffaa00; 

  }
  nav ul li:last-child{

    border-bottom: 2px solid #ffaa00;
	-webkit-border-radius: 0px 0px 15px 15px;
    -moz-border-radius: 0px 0px 15px 15px;
    border-radius: 0px 0px 15px 15px;
  }
    nav ul li:first-child{
	border-top: 2px solid #ffaa00; 
    -webkit-border-radius: 15px 15px 0px 0px;
    -moz-border-radius: 15px 15px 0px 0px;
    border-radius: 15px 15px 0px 0px;
  }
  nav ul li a{
    font-weight: bold;
    text-decoration: none;
    color: #f5f5be;
  }
  nav ul li a:hover{
    color: #32ff6e;
	font-size:1.2em;
  }
  
  #logo_micro{
	position:absolute;
	top:10px;
	margin-left:20px;
	padding:0px;
	align:left;
   }

	#formulaire {
		position: relative;
		width:100%;
		background-color:#4B505F;
		color:#f5f5be;
		padding:10px;
	}

	#formulaire input[type=text], #formulaire textarea, #formulaire select,
		#formulaire img {
		font-size: 1em;
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		border-radius: 5px;
		border: 2px solid #ffaa00;
		margin:2px;
		padding-left:3px;
		padding-right:5px;
	}

		#formulaire input  {
		color:blue;
	}
	
	#formulaire input[type=submit] {
		margin-top: 10px;
		padding: 2px 20px;
		color: #fff;
		cursor: pointer;
		font-size: 1em;
		font-weight: 400;
		text-decoration: none;
		text-transform: uppercase;
		background: #09b32f;
		background: -webkit
			-gradient(linear, left top, left bottom, from ( #FFAA00), to(#A66F00));
		background: -webkit-linear-gradient(top, #FFAA00, #A66F00);
		background: -moz-linear-gradient(top, #FFAA00, #A66F00);
		background: -o-linear-gradient( 
		top, #FFAA00, #A66F00);
		background: linear-gradient(top, #FFAA00, #A66F00);
		border: 1px solid #A66F00;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
		border-radius: 5px;
	}

	#submit{
		position: relative;
	}

	.contact_legend{
		visibility: hidden;  /*Make this part invisible */
		display:none;
	}

	.mail, .objet, .securite, .verif{
	height: 30px;
	padding:0px;
	}

	#field_mail, #field_objet,#field_securite, #field_verif{
	height: 32px;
	}
	
	#field_securite{
	background-color:#00FF00;
	height:35px;
	}
	
	.msg, #field_msg{
	height: 11em;
	}

 
}

.bgimg-1, .bgimg-2, .bgimg-3, .bgimg-4, .bgimg-5 {
  position: relative;
  opacity: 1;  /* creates a smog effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;  /* take the full size as background */
}
.bgimg-1 {
  background-image: url("../images/img_bckgr1.jpg");
  min-height: 99%;  /* define the height of the image, in this case it will take the full screen */
}

.bgimg-2 {
  background-image: url("../images/img_bckgr2.jpg");
  min-height: 400px;			/* height of intermediate pics */
}

.bgimg-3 {
  background-image: url("../images/img_bckgr3.jpg");
  min-height: 400px;
}

.bgimg-4 {
  background-image: url("../images/img_bckgr4.jpg");
  min-height: 400px;
}

.bgimg-5 {
  background-image: url("../images/img_bckgr5.jpg");
  height: 700px;  /* to ensure full visibility of the contact form */
  min-height: 100%;  /* full screen if big enough */
}

.caption {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  text-align: center;
  color: #000;
}

.caption span.border {
  background-color: #4B505F;
  color: #f5f5be;
  padding: 18px;
  font-size: 25px;
  letter-spacing: 10px;  /* defines a amount of space between each letter */
}

.contact_screen {
  position: absolute;
  left: 0;
  top: 30%;
  width: 100%;
  text-align: center;
  color: #000;
}

.contact_screen span.border {
  background-color: #4B505F;
  color: #f5f5be;
  padding: 18px;
  font-size: 25px;
  letter-spacing: 10px;  /* defines a amount of space between each letter */
}
#logo_400{
position: absolute;
top: 10%;
left:50%;
margin-left: -200px;
align:center;
}

.comments{
	color: #4B505F;
	background-color:white;
	text-align:center;
	padding:50px 80px;
	font-size: 20px;
}
.intro{
	color: #4B505F;
	position:absolute;
	width:100%;
	bottom:0;
	background-color:white;
	text-align:center;
	padding:50px 0px 50px 0px;
	font-size: 20px;
}

.confidentiel{
	background-image: url("../images/img_bckgr2.jpg");
	background-attachment: fixed;
  	background-position: center;
  	background-repeat: no-repeat;
  	background-size: cover;  /* take the full size as background */
}

#RegleDeConf{
	color: #4B505F;
	background-color:white;
	text-align:center;
	padding:50px 80px;
	font-size: 20px;
	opacity:0.6;
}

h3 {
  letter-spacing: 5px;
  text-transform: uppercase;
  font: 20px "Lato", sans-serif;
  color: #111;
}

#pied {
	font-size: 0.8em;
	color: #f5f5be;
	background-color: #4B505F;
	position: fixed;
	bottom: 0;
	z-index: 5;
	text-align: left;
	border-width: 0px;
	width: 100%;
	line-height: 32px;
}

.left{
	margin-left: 10px;
}

#scroll-button {
	float:right;
}

#scroll-button img {
	padding-right:10px;
	padding-top:8px;
}
