﻿/** GENERAL (page des projets) **/
.clear {
	clear: both;
}

*{
	margin: 0 auto;
}

body {
	width: 60%;
	background-color: white;
	color: #32459b;
	font-family: Arial, sans-serif;
	/*background-image: url(../img/Pre_St_Gervais/facade_rue.jpg);
	background-repeat: no-repeat;
	background-position: 0% 100%;
	background-size: 20%;*/
}


/** HEADER **/
header{
	padding-top: 20px;
	width: 35%;
	margin-left: 0;
}
header img{
	width: 25%;
}

header h1 {
	margin-left: 0;
	font-size: 28px;
}

header a {
	text-decoration: none;
	color: #32459b;
	font-size: 14px;
}


/** NAV **/
nav {
	float: left;
	width: 100%;
	/*text-align: center;*/
	border-bottom: 1px dotted #32459b;
}

#sticky {
	position: fixed;
	top: 35%;
	left: 1%;
	border: none;
	width: 18%;
	visibility: hidden;
	opacity: 0;
	transition: visibility 0s linear 1s, opacity 0.5s ease-in-out;
}

ul {
	list-style: none;
	cursor: pointer;
	width: 100%;
	margin-left: 0;
}

#sticky ul {
	width: 100%;
}

li {
	padding-bottom: 5px;
	padding-top: 5px;
	display: inline-block;
}

.niveau1 {
	padding: 0;
}

.niveau1 a {
	text-decoration: none;
	color: #32459b;
	font-weight: 200;
	font-size: 14px;
}

.niveau1 li {
	/*padding-right: 2%;*/
}

.actif a {
	color: #59a4f9;
}

.niveau2 {
	display: none;
	position: absolute;
	padding-top: 5px;
	padding-left: 0;
	
}

#sticky .niveau2 {
	margin-left: -20%;
	/*text-align: center;*/
}

.niveau2 li {
	display: inline-block;
}

#sticky .niveau2 li {
	display: block;
}

.niveau2 a {
	font-size: 14px;
}

.btn_projets:hover .niveau2 {
	display: block;
}

/** SECTION **/
#gallerie {
	margin-top: 30px;
	width: 100%;
}

h2 {
 font-size: 16px;
 padding-bottom: 5px;
 color: #32459b;
 margin-bottom: 10px;
 border-bottom: 1px dotted #32459b;
 font-weight: 200;
}

#gallerie ul {
	width: 100%;
	padding-left:0;
}

.projets {
	width : 100%;
}

.item {
	width: 32.9%;
	padding-top: 0;
	padding-bottom: 30px;
}

.item a {
	color: white;
}

.item img {
	width: 100%;
	filter: grayscale(100%);
	-webkit-filter: grayscale(100%);
	filter: gray; /** IE **/
	max-height: 400px;
}

.item img:hover {
	filter: grayscale(0%);
	-webkit-filter: grayscale(0%);
	filter: none;
}

#gallerie h3{
	font-size: 13px;
	height:30px;
}

#gallerie p {
	font-size: 13px;
}

/** FOOTER **/
footer {
	text-align: center;
	border-top: 1px dotted #32459b;
	border-bottom: 1px dotted #32459b;
	margin: 20px 0;
}

footer p{
	padding: 20px 0;
	font-size: 12px;
}

footer a {
	color : #32459b;
	text-decoration: none;
}

footer img {
	width : 20px;
	position: fixed;
	bottom : 40px;
	right : 20%;
}

#fleche_haut {
	visibility: hidden;
}


/** PAGE INDEX **/

#accueil {
	text-align: center;
	padding-top: 200px;
}

#accueil q {
		color: #59a4f9;
}

#les_carres{
	width: 100%;
	margin-top: 20px;
	
}

.carre {		 
	float : left;
	width : 31.3%;
	margin-right: 1.9%;
}

.carre p{
	position: absolute;
	top: 325px;
	color: white;	
}

.carre a {
	font-size: 20px;
	text-decoration: none;
	text-shadow : black 1.5px 1.5px;
}

.carre img {
	width: 100%;
	filter: grayscale(100%);
	-webkit-filter: grayscale(100%);
	filter: gray; /** IE **/
}

.carre:hover img{
	filter: grayscale(0%);
	-webkit-filter: grayscale(0%);
	filter: none;
}

/** PAGE DETAILS **/

#details_projet {
	width: 100%;
	padding-top: 20px;
}


#navigation {
	position : absolute;
	top: 165px;
	left: 77%;
}

#navigation img{
	width: 6%;
}

#navigation a {
	color : #32459b;
	text-decoration: none;
}
.images {
	width : 50%;
	padding-top: 20px;
	float: left;
}

.images img {
	width : 100%;
	max-height:800px;
	float: left;
	margin-bottom: 5px;
}

.images .img_gauche {
	width: 49.5%;
	max-height: 500px;
}

.images .img_droite {
	width: 49.5%;
	max-height: 500px;
	padding-left: 1%;
}



.texte_projet {
	padding-left: 2%;
	width: 48%;
	font-size: 14px;
	float: right;
	padding-top: 20px;
}

.texte_projet h2{
	font-weight: bold;
}

.texte_projet p{
	padding-bottom: 20px;
}

#spec {
	border-bottom: 1px dotted #32459b;
}

/** PAGE AGENCE **/

#presentation {
	width: 100%;
	min-height: 400px;
	margin-top: 30px;
	float: left;
}

#presentation p {
	width : 73%;
	margin-left: 4%;
	display:inline-block;
	text-align: left;
	font-size: 13px;
}

.img_pres {
	width: 23%;
	float: left;
	padding-top: 20px;
}

.img_pres img {
	width: 100%;
	padding-bottom: 10px;
}
#presentation a{
	color: #32459b;
	text-decoration: none;
}
/** PAGE CONTACT **/

#contenu {
	width: 100%;
	min-height: 400px;
	padding-top: 30px;
}

.formulaire {
	width: 40%;
	float: left;
}

.formulaire label, .formulaire input, .formulaire textarea {
	display: block;
	margin: 0;
	margin-bottom: 10px;
	width: 100%;
	padding: 8px;  /* MODIF 20233 : VALEUR INITIALE : 0 */
}

.formulaire label { margin-bottom: 0px;}     /* MODIF 20233 : REGLE AJOUTEE */
.formulaire textarea { margin-bottom: 20px;}   /* MODIF 20233 : REGLE AJOUTEE */
p.prefooter{line-height:1.4em;}     /* MODIF 20233 : REGLE AJOUTEE */

#envoyer {
	width: 30%;
	background-color: #5f84f2;
	color: white;
	border: none;
}

input, textarea {
	border-radius: 2px;
	border: 1px solid grey;
}

.carte {
	width: 55%;
	float: right;
	margin-left: 4%;
	/*border: 1px solid grey;*/
}
 #contenu p {
 text-align: center;
 padding-top: 20px;
 }


/** PAGE MENTIONS **/
#mentions {
	padding-top: 20px;
	font-size: 16px;
	padding-bottom: 20px;
}

/** RESPONSIVE **/

 @media screen and (max-width: 1200px) {
	.item {
		width : 49.5%;
	}

	footer p{
		font-weight: normal;
		font-size : 12px;
	}

	ul {
		width: 100%;
 	}

	#sticky li{
  		display: block;
  	}
  	#sticky a{
		font-size: 14px;
  	}
  	#sticky h1 {
 		font-size: 16px;
  	}

  	#sticky .niveau2 {
		position:relative;
		margin-left: -8%;
	}

  	iframe {
  		max-height: 450px;
  	}

  	.img_pres {
  		width: 30%;
  	}

  	#presentation p {
  		width: 63%
  	}

  	.decal {
		padding-top: 17px;
	}
}
 


 @media screen and (max-width: 800px) {

 	.item {
 		width :100%;
 	}

 	.item img {
 		max-height: 400px;

 	}

 	#sticky h1{
 		font-size: 16px;
 		margin-left: 0;
 		width: 15%;
 	}

 	#sticky ul {
		width: 20%;
	}

	.niveau2 {
 		
 	}

 	#accueil {
 		padding-top: 50px;
 	}

 	.carre {		 
		width : 100%;
		margin-bottom: 100px;
		height: 220px;
	}

	.carre p{
		position: relative;
		margin-top: -450px;
	}

 	.formulaire, .carte {
  		width: 100%;
  	}

  	.img_pres {
  		width: 100%;
  	}

  	.img_pres img {
  		width: 30.3%;
  		padding-right: 1%
  	}

  	.images {
  		width: 100%;
  	}

  	.texte_projet {
  		width: 100%;
  		padding-left: 0;
  	}

  	#presentation p {
  		width: 100%;
  		margin-left: 0;
  	}

  	#presentation strong {
  		margin-left: 0;
  	}

  	#envoyer {
  		width: 100%;
  	}
 }
 @media screen and (max-width: 650px) {
 	

 	.btn_projets:hover .niveau2 {
 		display: none;
 	}

 	.carre {		 
		width : 100%;
		margin-bottom: 50px;
		height: 230px;
	}
	#sticky {
		top:20%;
	}


 }

 @media screen and (max-width: 500px) {
 	#sticky {
 		display: none;
 	}

 	.carre {		 
		width : 100%;
		margin-bottom: 20px;
		height: 200px;
	}

 	#contenu p {
 		font-size: 12px;
 	}
 }