@charset "utf-8";
body {
    margin: 0;
    padding: 0;
    background-repeat: repeat-x;
    background-color: #1D1B00;
    color: rgba(44,2,0,1);
    font-size: 1.2em;
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
}
#bandeau {
	background-size: 100%;
	background-repeat: no-repeat;
}
#contenant {
	width: 90%;
	max-width: 1280px;
	margin:0 auto;
	
	color: rgba(44,2,0,1);
	background-color: #FFF;
}
#nomsite {
	color: #800000;
	font-size:48px;
	font-weight:bold;
	padding: 10px;
	line-height: 36px;
}
#slogan {
	font-size:18px;
	color:#333;
	line-height: 18px;
}
#telephonetop {
    
    display: block;
    float: right;
    text-align: right;
    padding: 5px;
    margin: 5px;
    background-color: hsla(0,0%,100%,0.4);
	border-radius: 5px;
}
#telephonetop a {
	text-decoration: none;
	color: #105A01;
    font-size: 25px;
    font-weight: bold;
   
    white-space: nowrap;
}
#telephonetop img {
	vertical-align: middle;
}
.nonsurtaxe {
	color: #666;
	font-size: 12px;
	font-weight:normal;
}
#colonnedroite .nonsurtaxe {
	text-align: center;
	margin-bottom: 10px;
}
#contenu {
	background-color: rgba(255,255,255,0.7);
	min-height:600px;

	width:100%;
	display:table;
}
#colonnegauche, #colonnecentre, #colonnedroite { 
	display:table-cell;
	vertical-align:top;
	
}
#colonnedroite {
    width: 280px;
   padding:10px;
    padding: 5px;
}
.erreur {
	color: #F00;
	font-weight: bold;
}
.ok {
	color: #00990C;
	font-weight: bold;
}
.menu {
	list-style:none;
	margin:0;
	padding:0;
}
.menu li {
	display:inline-block;
	margin-left:0.5em;
	margin-right:0.5em;
}
.menu a {
	text-decoration:none;
}
#menuprincipal {
    width: 100%;
    text-align: center;
    font-size: 1.3em;
    background-color: #FFFDDC;
}
#menuprincipal li{
	line-height:45px;
}
#menuprincipal li a{
	color:#333;
}
#pied {
	background-color: #222;
	padding:10px;
	margin-top:7px;
	width:100%;
	font-size:0.8em;
	display:table;
	color:#fff;
}
#adresse {
	display:table-cell;
}
#menupied {
	display:table-cell;
	
}
#menupied a{
color:#bbb;
}
h1 {
	color: #800000;
	margin: 7px 0 0 7px;
	font-size: 1.5em;
}
h2 {
	color: #666;
	font-size: 1.3em;
	margin: 0;
}
a {
	color:rgba(44,2,0,0.8);
}
.photoprofil {
	text-align: center;
	margin-bottom: 10px;
}
.photoprofil img{
	max-width: 95%;
}
.telephone {
	font-size: 1.2em;
	text-align: center;
	margin-top: 10px;
}
.telephone a{
    font-weight: bold;
    text-decoration: none;
    color: #E0551A;
    white-space: nowrap;
}
.localisation {
	 font-weight: bold;
	text-align: center;
}
.boutoncontact {
	padding: 5px 10px;
	background-color: #E0551A;
	text-align: center;
	display: block;
	margin-left: auto;
	margin-right: auto;
	border-radius: 4px;
	text-decoration: none;
	color: #FFF !important;
	margin-bottom:10px;
}
.popupcontenant {
	position: fixed;;
	z-index: 10;
	background-color: hsla(0,0%,100%,0.9);
	display: none;
	top:0;
	left:0;
	width: 100%;
	height: 100%;
}
.popupcontenant.affiche {
	display:block;
}
.popup {	
	position: fixed;
	margin-top: 50vh; /* poussé de la moitié de hauteur de viewport */
	margin-left: 50vw; /* poussé de la moitié de hauteur de viewport */
	transform: translate(-50%,-50%);
	
	border: 1px solid #DDD;
	padding: 10px;
	text-align: center;
	background-color: hsla(0,0%,100%,0.50);
}
.form-label {
    position:relative;
    display:block;
    clear:both;
/*     width:400px; */
  max-width:500px;
    margin:0 auto;
   
}

label {  
  -webkit-transform: translateY(50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(50%);
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  position: absolute;
  top: 5px;
  left: 1em;
  background:none;
  color: #b3b3b3;
  font-weight: normal;
  cursor: text;
  pointer-events: none;
  font-family: sans-serif;
}

input[type="text"], textarea {
    
   display:block;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  -webkit-transition: border-color;
  -moz-transition: border-color;
  transition: border-color;
  box-sizing: border-box;
  background-color: white;
  border-radius: 3px;
  border: 1px solid #DDD;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.06);
  font-family: sans-serif;
  font-size: 1em;
  margin-right: 0;

  padding: 0.5em 0.5em;

  width: 100%;
}

input:focus~label,
input:valid~label,
textarea:focus~label,
textarea:valid~label{
    top: -20px;
    font-size: .8em;
    padding: 0 .3em;
    background:#F9F9F9;
}

.section {
	display: table;

	width: 100%;
}
.colonne{
	display: table-cell;
}
.section .colonne{
	padding: 3px;
}
.section .colonne img{
	max-width: 95%;
}
.untiers {
	width: 33%;
}
.deuxtiers {
	width: 67%;
}
.moitie {
	width: 50%;
}
 @media screen and (max-width:1024px) { 
#colonnedroite {
    width: 220px;
	padding: 5px;
	 }
	#nomsite {
		font-size:36px;
		padding: 7px;
	 }
}
 @media screen and (max-width:800px) { 
  	#colonnecentre, #colonnedroite {
		display:block;
		width: auto;
	}
	 #telephonetop {
    font-size: 24px;
	 }
	h2 {
	
	font-size: 1.15em;
	
}
  } 
 @media screen and (max-width:640px) { 
	 #bandeau {
		 height: auto!important;
		 background-size: auto 100%;
	 }
	 #slogan{display:none;}
	 #telephonetop img, #telephonetop .nonsurtaxe{
		 display: none;
	 }
     #menuprincipal {
        font-size: 1.15em;
    }
    #menuprincipal li{
        line-height:35px;
    }
}
@media screen and (max-width:480px) { 
  	#nomsite {
		font-size: 26px;
		padding: 5px;
	}
	.section, .section .colonne{
		display: block;
	}
	.untiers {
		width: auto;
	}
	.deuxtiers {
		width: auto;
	}
	.moitie {
		width: auto;
	}
	 #telephonetop {
		 float: none;
		 display: inline-block;
		 text-align: center;
	}
  } 