form {
  /* Just to center the form on the page */
  margin: 285px auto;
  width: 335px;
  background:#efedee;
  box-shadow: 0px 0px 15px 4px rgba(51, 51, 51, 0.15);
  -moz-box-shadow: 0px 0px 15px 4px rgba(51, 51, 51, 0.15);
  -webkit-box-shadow: 0px 0px 15px 4px rgba(51, 51, 51, 0.15);

  /* To see the limits of the form */
  padding: 1em;
  border: 1px solid #CCC;
  border-radius: 1em;
}

@media (max-width:599px) {
	
	form { margin-top: 200px; }}

@media (max-width:413px) {
	
	form {width:250px;}}
	
@media ( max-height:800px ) {
	
	form{
	margin:185px auto;}}

#formulaire-container {
  display:none;
  height: 1100px;
  width: 100%;
  position: absolute;
  background: url(../images/fond-nb.jpg) no-repeat center fixed;
}

label {
  /* To make sure that all label have the same size and are properly align */
  display: inline-block;
  width: 90px;
  text-align: left;
  color: #8c1513;
  margin: 10px 0 10px 0
}

input, textarea {
  /* To make sure that all text field have the same font settings
     By default, textarea are set with a monospace font */
  font: 1em sans-serif;
  background: #efedee;

  /* To give the same size to all text field */
  width: 300px;
  -moz-box-sizing: border-box;
       box-sizing: border-box;

  /* To harmonize the look & feel of text field border */
  border: 1px solid #999;
}

@media(max-width:413px) {
	input, textarea {
	width:210px;}}

input:focus, textarea:focus {
  /* To give a little highligh on active elements */
  border-color: #000;
}

textarea {
  /* To properly align multiline text field with their label */
  vertical-align: top;
  /* To give enough room to type some text */
  height: 10em;
  /* To allow users to resize any textarea vertically
     It works only on Chrome, Firefox and Safari */
  resize: vertical;
}

.button {
  /* To position the buttons to the same position of the text fields */
  padding: 10px 0px 0px 140px;} /* same size as the label elements */

@media (max-width:413px) {
	.button {
  /* To position the buttons to the same position of the text fields */
  padding: 20px 0 5px 56px;} /* same size as the label elements */}

button {
  /* This extra magin represent the same space as the space between
     the labels and their text fields */
  margin-left: 0.5em;}
  
@media (max-width:413px) {
	button {
  /* To position the buttons to the same position of the text fields */
  margin-left:0;} /* same size as the label elements */}



#msg{
	
	height:200px;
}

fieldset{
	border: none;
	margin: auto;
	padding: 0;
}

legend{
	border:none;
	color:#8c1513;
}