		div#wrapper {
			width: 400px;
		}

		div#header {
			/* background-image: url(media-queries-phone.jpg);*/
			height: 93px;
			position: relative;
		}

		div#header h1 {
			font-size: 140%;
		}

		#content {
			float: none;
			width: 100%;
		}

		#navigation {
			float:none;
			width: auto;
		}
		
.rightAlign {
  text-align: right;
}


body {
font-family: Arial, Georgia, Verdana, Helvetica, Times, Times New Roman, Courier New;
background-color:#5F9EA0;background-image: url("images/logo.jpg");
padding: 1em;
}

.bg {
  /* The image used */
  

  /* Full height */
  height: 100%;

  /* Center and scale the image nicely */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

div#all {
  background-color:#FFFFFF;
  width:1000px;
  margin: 0 auto;
border-radius: 5px;
box-shadow: 0 0 15px 2px #666;
}

div#entete{
text-align: left;
padding: 4em 3em;
display: block;
}
img#banner {
width: 100%;
}

div#navig{
		text-align:center;
		margin: 0px 0px 0px 0px; /* top right bottom left */
		padding: 0px 0px 0px 0px; /* top right bottom left */
		width: 100%;
		height:40px;
		background:black;
		color: white;
}

h1#title0 {
	font-size: 240%;
	text-align: left;
	color: #5F9EA0;
	padding: 0em;
	margin:0em;
}
h2#title1 {
	text-align: left;
	font-size: 100%;
	font-weight: normal;
	color: #5F9EA0;
	padding: 0em;
	margin:0em;
}
h1#titleP {
	padding-top: 1em;
	font-size: 150%;
	text-align: left;
	color: #5F9EA0;
}


div#content {
  width: 60%;
  float: left;
  padding-left: 80px;
  padding-right: 50px;
  background-color:#FFFFFF;
  color: #222222; 
  line-height: 1.5;
  /* float: left; */
}


div#links {
width: 25%;
background-color: white;
color: grey;
float: right;
padding-left: 10px;
padding-right: 10px;
}

#links div{
clear: both;
}


#links h1, h2 {
text-align: left;
font-weight: 200;
font-size: small;
margin-top: 2em;
letter-spacing: 2px;
color: #666;
text-transform: uppercase;
}


div#links  a:hover {
color:#fff; background:#000;
}

img#languages{border:0;}

div#footer2 {font-size:80%;font-variant: small-caps;clear: both;border-top-style: solid;
border-top-width: 1px;
}
div#footer2 > div{background-color: white;
color:black;
 float:left;width:160px;min-height:150px;margin-left:13px;margin-bottom:5px}
/* div#footer2>div:first-child{margin-left:0} */


div#footer  {
background-color: white;
color:black;
clear: both;
text-align: center;
border-top-style: solid;
border-top-width: 1px;
}
div#footer  * {
text-align: center;
}

div#resultat {
background-color: white;
color:black;
clear: both;
text-align: center;
}




div#middle {
/* clear:left; */
background-color: white;
}

div#main_nav {
width:1000px;
text-align: center;
margin-top: -5px;
}
	#main_nav ul {
		background: black;
		/* float: left; */
		-webkit-transition: .5s;
		transition: .5s;
		margin:0 auto;
		padding: 0px 0px 0px 0px;
	}
	
	#main_nav li {
		/* float: left; */
		position: relative;
		width: 100%; /* avant 200 */
		list-style: none;
		-webkit-transition: .5s;
		transition: .5s;
	}
	
	#main_nav a {
		display: block;
		text-decoration: none;
		padding: 10px 15px;
		color: #ffffff;
	}
	#main_nav li a:hover, li li  a:hover{
		color: #000000;
	}
	
	#main_nav ul ul{
		position: absolute;
		left: 0;
		top: 100%;
		visibility: hidden;
		opacity: 0;
		padding-left: 0px;
	}
	#main_nav ul ul li a{	color:black;}
	
	#main_nav ul ul ul {
		left: 100%;
		top: 0;
		color:black;
	}
	
	#main_nav li:hover, #main_nav li:hover li {
		background: #ddd;
		color: #000000;
	}
	
	#main_nav li li:hover, #main_nav li li:hover li {
		background: #ccc;
		color: #000000;
	}
	
	#main_nav li li li:hover {
		background: #bbb;
		color: #000000;
	}
	
	#main_nav li:hover > ul {
		visibility: visible;
		opacity: 1;
		color: #000000;
	}

a.navig {
	background-color: red;
	color: white;
	text-decoration:none; 
	padding-left: 1em; padding-right: 1em;
}

a[href $='.pdf'] { 
   padding-right: 1em;
   background: transparent url(/_img/icon_pdf.gif) no-repeat center right;
}

span.mot {
	font-weight: bold;
}
label {
	font-size: small;
}

div.formulaire {
  width: 80%;
  border: 1px solid #287CB1; 
  padding: 5px;   
  margin: 0px auto;
}

tr.gris {
background-color: #F0F8FF;;
}

div.ligne {
 	clear: both;
	padding-top: 5px;
 }

div.ligne span.label {
 	float: left;
 	width: 30%;
 	text-align: right;
	white-space: nowrap;
 }

div.ligne span.champs {
	float: right;
 	width: 70%;
 	/*text-align: left;*/
 }


input, textarea, select {
  background-color:#F0F8FF;
  color:#00008B;
  font-family:  Verdana, Arial, Helvetica, sans-serif;
  font-size: 1em; 
  font-weight: bold;

}
label{
    display: inline-block;
    float: left;
    clear: left;
    width: 40%;
     font-size: 1em; 
    text-align: left;
}
input {
  display: inline-block;
  float: left;
}

span.complement {
	display: block;
	font-style: italic;
	font-size: smaller;
}
span.complementl{
	display: inline;
	font-style: italic;
	font-size: smaller;
}
.important {
font-weight: bold;
color: black;
}
#resultat table, #menuDroit  {

}
div#menuDroit h1, h2, p, form {
	text-align: left;
}

div#menuDroit table {
	text-align: center;
}
#menuDroit table {
	margin-left:auto; 
     margin-right:auto;
}


table, td, th {
 border-left: 1px solid gray;
 border-bottom: 1px solid gray;
}
th {
 border-top: 1px solid gray;
}
/*
.panier {
background-color: #90EE90;
color: black;
position: fixed;
right: -300px;
top: 10px;
transition: all 0.2s ease-in 0s; 
z-index: 9999;
cursor: pointer;
visibility: hidden;
  margin: 5px auto;
border-radius: 5px;
}

.panier:hover {
right: -1px; 
}
*/
		
		
		

/* Force table to not be like tables anymore */
	table, thead, tbody, th, td, tr { 
		display: block; 
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	tr { border: 1px solid #ccc; }
	
	td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 50%; 
	}
	
	td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}
	
	/*
	Label the data
	*/
	td:nth-of-type(1):before { content: "Produit"; }
	td:nth-of-type(2):before { content: "Prix unitaire"; }
	td:nth-of-type(3):before { content: "Qté à ajouter"; }
	td:nth-of-type(4):before { content: "Remarque"; }
	td:nth-of-type(5):before { content: " "; }
