/******************************************************
	
	Glassero Par Jeandé Marie-Aude : http://www.webdesignerparis.com
	One Page Responsive HTML Template
	
	Sections of stylesheet:
		$INDEX0 - FONTS AND RESET
		$INDEX1 - GENERAL
		$INDEX2 - HEADER COMMON
		$INDEX3 - MENU COMMON
		$INDEX4 - HEADER STANDARD
		$INDEX5 - HEADER STANDARD REDUIT
		$INDEX6 - HEADER MOBILE
		$INDEX7 - MAIN CONTENT
		$INDEX8 - PORTFOLIO
		$INDEX9 - THE TEAM
		$INDEX10 - CONTACT
		$INDEX11 - MEDIA QUERIES : TABLETS
		$INDEX12 - MEDIA QUERIES : SMARTPHONES
		
******************************************************/	







/******************************************************

	$INDEX0 - FONTS AND RESET
	
******************************************************/	



@import url(http://fonts.googleapis.com/css?family=Lato:300,400,100);
@import url(http://fonts.googleapis.com/css?family=Lobster+Two);

body, html { font-size: 100%; 	padding: 0; margin: 0;}

/* Reset */
*,
*:after,
*:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.clearfix:before,
.clearfix:after {
	content: " ";
	display: table;
}

.clearfix:after {
	clear: both;
}



/******************************************************

	$INDEX1 - GENERAL
	
******************************************************/	



body {
    font-family: 'Lato', Calibri, Arial, sans-serif;
	font-weight: 300;

    -moz-transition: background-color 1s ease-in;
    -webkit-transition: background-color 1s ease-in;
    -o-transition: background-color 1s ease-in;
    -ms-transition: background-color 1s ease-in;
    transition: background-color 1s ease-in;
}


::-webkit-input-placeholder {
    color:#888;
}
:-moz-placeholder {
    color:#888;
}
::-moz-placeholder {
    color:#888;
}
:-ms-input-placeholder {
    color:#888;
}

a {
	text-decoration: none;
	
}

a:hover {}

#container {
	position: relative;
	padding-bottom: 50%;
	
}

h1{
	font-family: 'Lobster Two', 'Lato', Calibri, Arial, sans-serif;
	font-weight: 300;
    font-size: 5em;
	text-align: center;
	margin: 0px 0px;
	color: #ff5378;
}

h2{
	font-family: 'Lobster Two', 'Lato', Calibri, Arial, sans-serif;
	font-weight: 300;
    font-size: 5em;
	text-align: center;
	margin: 0px 0px;
}

h3{
	font-family: 'Lobster Two', 'Lato', Calibri, Arial, sans-serif;
	font-weight: 300;
    font-size: 1.8em;
	text-align: left;
	margin: 0px 0px;
	border-bottom: 0px solid;
}

h4{
	font-family: 'Lobster Two', 'Lato', Calibri, Arial, sans-serif;
	font-weight: 300;
    font-size: 1.8em;
	text-align: center;
	margin: 0px 0px;
	border-bottom: 0px solid;
}
hr{
	border-top: 1px solid;
	border-bottom: 0px;
	margin: 20px auto 30px auto;
	width: 98%;
	
}

.display{
	display: block;
}

.hide{
	display: none;
}

.no-border{
	border: 0px;
}

p{
	font-weight: 300;
	font-size: 1.3em;
	display: inline-block;
}

/******************************************************

	$INDEX2 - HEADER COMMON
	
******************************************************/	




header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    overflow: hidden;
    -webkit-transition: height 0.3s;
    -moz-transition: height 0.3s;
    transition: height 0.3s;
}

header h1{
	font-family: 'Lobster Two', 'Lato', Calibri, Arial, sans-serif;
	font-weight: 300;
    margin: 0;
}

header h1, header nav a {
	-webkit-transition: all 0.2s;
	-moz-transition: all 0.2s;
	transition: all 0.2s;	
}







/******************************************************

	$INDEX3 - MENU COMMON
	
******************************************************/	




nav a{}

nav a.current, nav a:hover{}





	

/******************************************************

	$INDEX4 - HEADER STANDARD
	
******************************************************/	




.headerstandard {
    height: 130px;
}


		.headerstandard .headerstandard-inner {
			width: 90%;
			max-width: 69em;
			margin: 0 auto;
			padding: 0 1.875em;
		}


		 /* We just have one-lined elements, so we'll center the elements with the line-height set to the height of the header */
		.headerstandard h1,
		.headerstandard nav.menustandard a {
			line-height: 130px;
		}

		 .headerstandard h1 {
			font-size: 4em;
			float: left;
		}

		 .headerstandard nav.menustandard{
			display: inline-block;
			position: relative;
			float: right;
		}

		.headerstandard nav.menustandard a {
			margin: 0 0 0 8px;
			font-size: 1.3em;
			font-weight: 300;
			padding: 8px 10px;
			
			border-radius: 5px;
			-moz-border-radius: 5px;
			-webkit-border-radius: 5px;
		}


		
		


	
	

/******************************************************

	$INDEX5 - HEADER STANDARD REDUIT
	
******************************************************/	




.headerstandard.headerstandard-shrink {
    height: 90px;
}
 
.headerstandard.headerstandard-shrink h1,
.headerstandard.headerstandard-shrink nav.menustandard a {
    line-height: 90px;
}
 
.headerstandard.headerstandard-shrink h1 {
    font-size: 3em;
}








/******************************************************

	$INDEX6 - HEADER MOBILE
	
******************************************************/	




header.headermobile {
	position: fixed;
	top: 0px;
	display: block;
	width: 100%;
	height: auto;
	margin: 0px auto 20px auto;
	padding: 0px;
	z-index: 10000;
	display: none;
}

		header.headermobile h1 {
			font-weight: 300;
			text-align: center;
			font-size: 2em;
			margin-top: 10px;
		}

		header.headermobile button {
			position: absolute;
			float: left;
			display: block;
			width: 40px;
			height: 40px;
			border: none;
			cursor: pointer;
			margin: 10px 10px 0px 10px;
		}


				.menumobile a {
					display: block;
					text-transform: uppercase;
					font-size: 1.2em;
					font-weight: 300;
					width: 100%;
					text-align: center;
					
				}

				/* Orientation-dependent styles for the content of the menu */

				.menumobile {
					width: 240px;
					height: 100%;
					top: 0;
					z-index: 10000;
				}

				.menumobile a {
					padding: 1em;
				}





	
	
	
/******************************************************

	$INDEX7 - MAIN CONTENT
	
******************************************************/	



#main{
	-webkit-transition: background 2s ease;
	-moz-transition: background 2s ease;
	transition: background 2s ease;
}

html, body,
#container,
#main,
#main section {}

#main section{
    padding: 110px 4% 20px 4%;
	margin: 55% 0px;
}
#main section:first-child{
	margin-top: 0px;
    padding: 250px 20px 20px 20px;
}
#main section:last-child{
	margin-bottom: 100%;
}

.mobile{
	display: none;
}


#main .home h1, h2{
	font-weight: 300;
	text-align: center;
	height: auto;
}

#main .home h1{
	font-size: 5em;
	font-family: 'Lobster Two', 'Lato', Calibri, Arial, sans-serif;
	display: block;
	width: 100%;
	padding-top: 0px;
	line-height: 0.8em;
	height: 370px;
	margin: 0px auto;
	margin-top:-120px;
	background: transparent url('../img/logo.jpg') center center no-repeat;
}

#main .home h2{
    font-family: 'Lato', Calibri, Arial, sans-serif;
	font-size: 3em;
}
#main .home h3{
	font-size: 3em;
	font-family: 'Lobster Two', 'Lato', Calibri, Arial, sans-serif;
	display: block;
	width: 100%;
	text-align: center;
	height: auto;
}
.quote{
	background: rgba(7, 43, 50, 0.6) url('../img/quote.png') 15px 15px no-repeat;
	padding: 20px 20px 20px 80px;
}	



.scroll {
	position: fixed;
	bottom: 10px;
	right: 10%;
    height: 80px;
    width: 80px;
    cursor: pointer;
    background: url("../img/scroll.png") no-repeat scroll center top transparent;

		-webkit-transition: all .3s ease-out;
		-moz-transition: all .3s ease-out;
		-ms-transition: all .3s ease-out; 
		-o-transition:  all .3s ease-out;  
		transition: all .3s ease-out;
}

.scroll:hover{
	background: url("../img/scroll.png") bottom center no-repeat;
}


.col50{
	display: inline-block;
	width: 48%;
	margin-top: 1%;
	margin-bottom: 1%;
}
.left{ float: left; }
.right{ float: right; }

.col30{
	width: 30.3%;
}

.progress {
    height: 50px;

	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;

    margin-bottom: 10px;
}

.progress .bar {
    height: 50px;
	line-height: 50px;
	text-transform: uppercase;
	font-size: 1.5em;
	text-indent: 20px;
	text-align: left;
	border-radius: 3px 0px 0px 3px;
	-moz-border-radius: 3px 0px 0px 3p;
	-webkit-border-radius: 3px 0px 0px 3p;
}





/******************************************************

	$INDEX8 - PORTFOLIO
	
******************************************************/	

#filter a {
	margin: 0px;
	font-size: 1.2em;
	line-height: 2em;
	font-weight: 300;
	padding: 3px 5px;
	cursor: pointer;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

/**** Isotope filtering ****/

.isotope-item {
  z-index: 2;
}

.isotope-hidden.isotope-item {
  pointer-events: none;
  z-index: 1;
}

.isotope,
.isotope .isotope-item {
  -webkit-transition-duration: 0.8s;
     -moz-transition-duration: 0.8s;
      -ms-transition-duration: 0.8s;
       -o-transition-duration: 0.8s;
          transition-duration: 0.8s;
}

.isotope {
  -webkit-transition-property: height, width;
     -moz-transition-property: height, width;
      -ms-transition-property: height, width;
       -o-transition-property: height, width;
          transition-property: height, width;
}

.isotope .isotope-item {
  -webkit-transition-property: -webkit-transform, opacity;
     -moz-transition-property:    -moz-transform, opacity;
      -ms-transition-property:     -ms-transform, opacity;
       -o-transition-property:      -o-transform, opacity;
          transition-property:         transform, opacity;
}


		
.grid {
	padding: 0px 0px 100px 0px;
	max-width: 1300px;
	margin: 0 auto;
	list-style: none;
}

.grid li {
	display: inline-block;
	width: 310px;
	margin: 0;
	padding: 10px;
	margin: 0px auto;
	position: relative;
}

.grid figure {
	margin: 0;
	position: relative;
}

.grid figure img {
	max-width: 100%;
	display: block;
	position: relative;
}

.grid figcaption {
	position: absolute;
	top: 0;
	left: 0;
	padding: 20px;
}

.grid figcaption  span{
	float: left;
}

.grid figcaption h3 {
	margin: 0;
	padding: 0;
}

.grid figcaption a {
	text-align: center;
	padding: 3px 5px;
	display: inline-block;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
}

/*.grid figure img {
	z-index: 10;
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
}

.grid figure:hover img,
.grid figure.cs-hover img {
	margin-left: -27%;
	-webkit-transform: scale(0.3);
	-moz-transform: scale(0.3);
	-ms-transform: scale(0.3);
	transform: scale(0.3);
}*/

.grid figcaption {
	height: 100%;
	width: 100%;
	opacity: 0;
	-webkit-transform: scale(0.7);
	-moz-transform: scale(0.7);
	-ms-transform: scale(0.7);
	transform: scale(0.7);
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition: -webkit-transform 0.4s, opacity 0.4s;
	-moz-transition: -moz-transform 0.4s, opacity 0.4s;
	transition: transform 0.4s, opacity 0.4s;
}

.grid figure:hover figcaption,
.grid figure.cs-hover figcaption {
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
	opacity: 1;
}

.grid figure a {
	position: absolute;
	bottom: 10px;
	right: 100px;
}


/******************************************************

	$INDEX9 - THE TEAM
	
******************************************************/	


#team{
	width: 100%;
	text-align: center;
}

	#team li{
		margin: 20px 40px 20px 0px;
		padding: 0px;
		display: inline-block;
		width: 220px;
		height: 230px;
		text-align: center;
	}


		
		#team li figure{
			margin: 0px;
			padding: 0px;
		}
			#team li figcaption{
				margin: 0px;
				padding: 0px;
				
				-moz-transition: all 0.3s ease-in-out;
				-webkit-transition: all 0.3s ease-in-out;
				-o-transition: all 0.3s ease-in-out;
				-ms-transition: all 0.3s ease-in-out;
				transition: all 0.3s ease-in-out;
			}
			
			#team li figcaption span{
				margin: 0px;
				padding: 0px;
			}
			
			#team li figcaption.image{
				display: inline-block;
				width: 220px;
				height: 180px;
				text-align: center;
				display: block;
				float: left;
			}
				
				#team li figcaption.image img{
					margin: 0px;
					padding: 0px;
					height: 180px;
				}
		
			#team li figcaption.contactme{
				display: inline-block;
				width: 0px;
				height: 180px;
				float: right;
			}
			#team li:hover figcaption.image{
				width: 180px;
			}
			
			#team li figcaption.contactme{
				width: 0px;
			}
				#team li figcaption.contactme span{
					display: block;
					width: 0px;
					height: 90px;
					-moz-transition: all 0.3s ease-in-out;
					-webkit-transition: all 0.3s ease-in-out;
					-o-transition: all 0.3s ease-in-out;
					-ms-transition: all 0.3s ease-in-out;
					transition: all 0.3s ease-in-out;
				}
				
				#team li figcaption.contactme span.facebook{
					background: url('../img/facebook.png') center center no-repeat;
				}
				#team li figcaption.contactme span.twitter{
					background: url('../img/twitter.png') center center no-repeat;
				}
				
				#team li figcaption.contactme span:hover{ }
				
			#team li:hover figcaption.contactme{
				width: 40px;
			}
			#team li:hover figcaption.contactme span{
				width: 40px;
			}

			#team li figcaption.member{
				text-align: center;
				display: block;
				width: 100%;
				height: 50px;
				top: 0px;
				float: left;
			}
				#team li figcaption.member span{
					display: block;
					width: 100%;
				}
				#team li figcaption.member span.name{
					font-family: 'Lobster Two', 'Lato', Calibri, Arial, sans-serif;
					font-size: 1.3em;
					line-height: 30px;
				}
				#team li figcaption.member span.role{
					font-family: 'Lato', Calibri, Arial, sans-serif;
					font-size: 0.8em;
					line-height: 20px;
				}











/******************************************************

	$INDEX10 - CONTACT
	
******************************************************/	





#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form input[type="tel"],
#contact-form input[type="url"],
#contact-form textarea {
	font-family: 'Lato', Calibri, Arial, sans-serif;
    width:100%;
    border: 0px;
    margin:0px 0px 10px 0px;
    padding:10px;
	
		border-radius:3px;
		-moz-border-radius:3px;
		-webkit-border-radius:3px;
}
#contact-form button[type="submit"] {
	font-family: 'Lobster Two', 'Lato', Calibri, Arial, sans-serif;
	font-size: 1.5em;
    cursor:pointer;
    width:100%;
    border:none;
    margin:0 0 5px;
    padding:10px;
    border-radius:5px;
}
#contact-form button[type="submit"]:hover {}

#contact-form input[type="submit"] {
	font-family: 'Lobster Two', 'Lato', Calibri, Arial, sans-serif;
	font-size: 1.5em;
    cursor:pointer;
    width:100%;
    border:none;
    margin:0 0 5px;
    padding:10px;
    border-radius:5px;
}
#contact-form input[type="submit"]:hover {}









/******************************************************

	$INDEX11 - MEDIA QUERIES : TABLETS
	
******************************************************/	




/* TABLETS */
@media screen and (max-width: 1020px ) {
     
    .headerstandard .headerstandard-inner {
        width: 100%;
    }
 
    .headerstandard h1,
    .headerstandard nav.menustandard{ 	
        display: block;
        margin: 0 auto;
        text-align: center;
        float: none;
    }
 
    .headerstandard h1,
    .headerstandard nav.menustandard a {
        line-height: 115px;
    }
 
    .headerstandard nav.menustandard a {
        margin: 0 10px;
    }

	.headerstandard.headerstandard-shrink {
		height: 130px;
	}  
	
    .headerstandard.headerstandard-shrink h1,
    .headerstandard.headerstandard-shrink nav a {
        line-height: 45px;
    }
 
    .headerstandard.headerstandard-shrink h1 {
        font-size: 3em;	
		background: none;
		text-indent: 0px;
    }
 
    .headerstandard.headerstandard-shrink nav a {
        font-size: 1.2em;
    }




	
	#main section{
		padding: 150px 20px 20px 20px;
	}
	#main section:first-child{
		padding: 250px 20px 20px 20px;
	}
		
		
	
	#main h1{
		font-size: 4em;
		padding-top: 0px;
		margin-top: 0px;
	}
	#main h2{
		font-size: 1.4em;
	}
	#main hr{
		margin-top: 10px;
		margin-bottom: 10px;
	}
			
		
	#main .home h1{
		font-size: 4em;
		padding-top: 0px;
		line-height: 0.8em;
		height: 0px;
		margin: 20px auto;
		background: transparent url('../images/logo-medium.png') center center no-repeat;
	}
	
	#main .home h2{
		margin-top: -70px;
		font-family: 'Lato', Calibri, Arial, sans-serif;
		font-size: 2.5em;
	}
	.scroll {
		position: fixed;
		bottom: 10px;
		right: 0px;
	}
	 
	.col50{
		display: inline-block;
		width: 100%;
		margin-top: 1%;
		margin-bottom: 1%;
	}
	.left{ float: none; }
	.right{ float: none; }

	.col30{
		width: 100%;
	}

	.progress .bar {
		text-transform: none;
		font-size: 1.1em;
	}

}






/******************************************************

	$INDEX12 - MEDIA QUERIES : SMARTPHONES
	
******************************************************/	






/* SMARTPHONES */
@media screen and (max-width: 767px ) {
    .headerstandard {
        display: none;
    }
	
	
    header.headermobile  {
        display: block;
    }
	
	.menumobile{
		display: none;
		width: 100%;
	}
	
	#main section, #main section:first-child{
		padding: 80px 20px 20px 20px;
	}

	#main section{
		margin: 150px 0px;
			display: block;
	}
	#main section:first-child{
		margin-top: 0px;
		padding: 50px 20px 20px 20px;
	}
	#main section:last-child{
		margin-bottom: 100%;
	}		
	
	#main h1{
		font-size: 2.5em;
		padding-top: 0px;
		margin-top: 0px;
	}
	#main h2{
		font-size: 1.1em;
	}
	
	
	#main .home h1{
		width: 80%;
		font-size: 2.8em;
		padding-top: 30px;
		line-height: 0.8em;
		height: 10px;
		margin: 20px auto;
		/*background: transparent url('../img/logo.png') center center no-repeat;*/
	}
	
	#main .home h2 img {
		float: left;
		display: block;
		margin-top: 0px;
		max-width: 100%;
		margin: 0;
		height: auto;
		text-align: center;
		box-sizing: border-box;
		
	}

	#main .home h2{
		margin-top: -50px;
		font-family: 'Lato', Calibri, Arial, sans-serif;
		font-size: 1.7em;
	}
	
	#filter{
		text-align: center;
	}
	#filter a{
		font-size: 1em;
	}
 
	.scroll {
		position: fixed;
		top: 20px;
		right: 10px;
		float: right;
		height: 20px;
		width: 20px;
		background-image: url('../img/scroll-small.png');
		background-position: 0px 0px;
		z-index: 99999;
	} 
	.scroll:hover {
		background-image: url('../img/scroll-small.png');
		background-position: 0px -20px;
	}
}


#description{
	float: right;
	padding:0px;
	width:190px;
	text-align:left;
}
.titre{
	font-family:anton;
	color:#ff4a62;
	font-size: 18px;
	line-height:20px;
}
.txt{
	font-family:arial;
	color:#646464;
	font-size:12px;
	line-height:16px;
}
/* SLIDE */

@keyframes slidy {
0% { left: 0%; }
20% { left: 0%; }
25% { left: -100%; }
45% { left: -100%; }
50% { left: -200%; }
70% { left: -200%; }
75% { left: -300%; }
95% { left: -300%; }
100% { left: -400%; }
}

div#slider { overflow: hidden; }
div#slider figure img { width: 20%; float: left; }
div#slider figure { 
  position: relative;
  width: 500%;
  margin: 0;
  left: 0;
  text-align: left;
  font-size: 0;
  animation: 30s slidy infinite; 
}

/* CSS POPUP */
.cf:before,
.cf:after {
  content:"";
  display:table;
}
.cf:after {
  clear:both;
}
.gauche {
  float:left;
}
 
.oModal {
  position: fixed;
  z-index: 99999;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.8);
  opacity:0;
  -webkit-transition: opacity 400ms ease-in;
  -moz-transition: opacity 400ms ease-in;
  transition: opacity 400ms ease-in;
  pointer-events: none;
}
 
.oModal:target {
  opacity:1;
  pointer-events: auto;
}
 
.oModal:target > div {
  margin: 10% auto;
  transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
}
 
.oModal > div {
color: black;
max-height: 70%;
max-width: 90%;
position: relative;
margin: 1% auto;

padding: 8px 8px 8px 8px;
border-radius: 5px;
background: #eee;
transition: all 0.4s ease-in-out;
-moz-transition: all 0.4s ease-in-out;
-webkit-transition: all 0.4s ease-in-out;
}
 
.oModal > div header,.oModal > div footer {
  border-bottom: 1px solid #e7e7e7;
  border-radius: 5px 5px 0 0;
}
.oModal .footer {
  border:none;
  border-top: 1px solid #e7e7e7;
  border-radius: 0 0 5px 5px;
}
 
.oModal > div h2 {
  margin:0;
}
 
.oModal > div .btn {
  float:right;
}
 
.oModal > div > header, .oModal > div > footer {
  padding:20px;

}
.oModal > div > span > p {
  color: #333;
  float: left;
  margin-left: 3%;
  font-size: 1em;
  margin-bottom: 0;
}