/******************************************************
	
	inspiré de Glassero Par Patrick Roux
	
	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(https://fonts.googleapis.com/css?family=Carter+One&effect=3d-float);

@font-face {
    font-family: 'amaranthregular';
    src: url('../fonts/amaranth-v11-latin-regular.eot');
    src: url('../fonts/amaranth-v11-latin-regular.eot?#iefix') format('embedded-opentype'),
         url('../fonts/amaranth-v11-latin-regular.woff2') format('woff2'),
         url('../fonts/amaranth-v11-latin-regular.woff') format('woff'),
         url('../fonts/amaranth-v11-latin-regular.ttf') format('truetype'),
         url('../fonts/amaranth-v11-latin-regular.svg#amaranthregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

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

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

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

.clearfix:after {
	clear: both;
}

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

body {
    font-family: 'amaranthregular';
	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', 'Carter One', Calibri, Arial, sans-serif;
	font-weight: 300;
    font-size: 5em;
	text-align: center;
	margin: 0px 0px;
}

h2{
	font-family: 'Carter One', Calibri, Arial, sans-serif;
	font-weight: 300;
    font-size: 3em;
	text-align: center;
	margin: 0px 0px;
}

#main .home h2{
	font-size: 4em;
	font-family: 'Lobster Two', 'Carter One', Calibri, Arial, sans-serif;
	display: block;
	padding-top: 150px;
	line-height: 0.8em;
	height: 450px;
	margin: 20px auto;
}

h3{
	font-family: 'Lobster Two', 'Carter One', Calibri, Arial, sans-serif;
	font-weight: 300;
    font-size: 1.8em;
	text-align: left;
	margin: 0px 0px;
	border-bottom: 3px solid;
}
h4{
	font-family: 'Lobster Two', 'Carter One', Calibri, Arial, sans-serif;
	font-weight: 300;
    font-size: 1.2em;
	text-align: left;
	margin: 0px 0px;
	border-bottom: 3px 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; */ 
}

li{
	font-size: 1.1em;
	/* 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', 'Carter One', 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: 230px;
}

        .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: 230px;
		}

		 .headerstandard h1 {
			letter-spacing: 4px;
			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;
}

#main .home h1{
	font-size: 5em;
	font-family: 'Lobster Two', 'Carter One', Calibri, Arial, sans-serif;
	display: block;
	width: 100%;
	padding-top: 245px;
	line-height: 0.8em;
	height: 450px;
	margin: 20px auto;
}

#main .home h2{
    font-family: 'Carter One', Calibri, Arial, sans-serif;
	font-size: 3em;
}

.quote{
	background: rgba(7, 43, 50, 0.6) url('../images/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("../images/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("../images/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 3px;
	-webkit-border-radius: 3px 0px 0px 3px;
}

/******************************************************
	$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;
}
		
.grid {
	padding: 0px 0px 100px 0px;
	max-width: 1300px;
	margin: 0 auto;
	list-style: none;
}

.grid li {
	display: inline-block;
	width: 270px;
	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: right;
}

.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: 20px;
	right: 20px;
}

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

	$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('../images/facebook.png') center center no-repeat;
				}
				#team li figcaption.contactme span.twitter{
					background: url('../images/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', 'Carter One', Calibri, Arial, sans-serif;
					font-size: 1.3em;
					line-height: 30px;
				}
				#team li figcaption.member span.role{
					font-family: 'Carter One', 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: 'Carter One', 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', 'Carter One', 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 {}

/******************************************************
	$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: 2.5em;
	}
	#main hr{
		margin-top: 10px;
		margin-bottom: 10px;
	}
		
	#main .home h1{
		font-size: 4em;
		padding-top: 190px;
		line-height: 0.8em;
		height: 350px;
		margin: 20px auto;
		/* background: transparent url('../images/logo-medium.png') center center no-repeat; */
	}
	#main .home h2{
		padding-top: 70px;
		font-family: 'Carter One', Calibri, Arial, sans-serif;
		font-size: 2.5em;
	}
	#main h3{
		font-size: 1.5em;
	}
	#main h4{
		font-size: 1.1em;
	}
    
	.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;
    }
    header.headermobile h1 {
        background-color: #eeeeee;
    }
	#releaseMenu {
        background-color: #dddddd;
    }
    
	.menumobile{
		display: none;
		width: 100%;
	}
	
    nav a { background-color: #eeeeee; }
    
	#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: 2.5em;
		padding-top: 0px;
		margin-top: 0px;
        color:red;
	}
	#main .home h2{
		font-size: 2.5em;
		padding-top: 140px;
		line-height: 0.8em;
		height: 250px;
		margin: 20px auto;
	}
	#main h3{
		font-size: 1.5em;
        color:blue;
	}
	#main h4{
		font-size: 1.1em;
	}
	
	#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('../images/scroll-small.png');
		background-position: 0px 0px;
		z-index: 99999;
	} 
	.scroll:hover {
		background-image: url('../images/scroll-small.png');
		background-position: 0px -20px;
	}
}

