/*
Theme Name: Gregoire v2
Version: 1.1
Author: George Tsimenis
Author URI: http://tsimenis.com
Description: This is a modified theme by a previous version of a different developer
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gregoire
*/



/*  WEBFONT
------------------------ */

/* 
@font-face {
    font-family: minionpro-regular;
    src: url('fonts/minionpro-regular-webfont.woff');
    font-weight: normal;
}
@font-face {
    font-family: minionpro-semibold;
    src: url('fonts/minionpro-semibold-webfont.woff');
    font-weight: normal;
}
 */




/*  GENERAL
------------------------ */

* {
	box-sizing: border-box;
}

html{
	height: 100%;
}
body {
	font-family:minionpro-regular, Times;
	font-size: 100%;
	font-weight:normal;
	line-height: 1.4;
	padding:0;
	margin:0;
	height: 100%;
}
h1, h2, h3, h4 {
	font-family:minionpro-semibold, Times;
	font-weight: normal;
	font-size: 1em;
	color: #000;
	/* margin: 0; */
}
a {
	/*text-decoration: none;*/
	text-decoration: underline;
	color: #000;
}
a:hover {
	/*color: #000;*/
	color: rgba(0,0,0,0.6);
}
ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
}
.clear {
	clear:both;
}
.hidden {
	display: none;
}
.align-left {
	float:left;
}
.align-right {
	float:right;
}
.container {
	margin: 0 10px;
}


/*  SLIDESHOW
------------------------ */
.slideshow {
	position: relative;
	overflow: hidden;
}
.slideshow .slide {
	position: absolute;
	overflow: hidden;
	position: absolute;
	left:100%;
	top:0;
	width: 100%;
	height: 100%;
}
.slideshow .slide-img {
	width:100%;
	height: 100%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}
.slideshow img {
	height: 100%;
	width: auto;
}

/*  INTRO
------------------------ */
header  {
	width: 100%;
	height:100%;
	overflow: hidden;
	position: fixed;
}
header .slideshow {
	width: 100%;
	height: 100%;
}
header .slideshow .slide-img {
	background-size: cover;
}
header .slideshow .slide:last-child {
	left:0;
}
header a.down-arrow {
	position: absolute;
	bottom: 20px;
	width: 100%;
	height: 28px;
	background-image: url('images/down-arrow.png');
	background-repeat: no-repeat;
	background-size: 30px 28px;
	background-position: center;
	z-index: 20;
}

header .site-logo {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0px;
	background-image: url('images/logo-big.png');
	background-repeat: no-repeat;
	background-position: center;
	background-size: 225px 225px;	
	
}

main {
	position: relative;
	top: 100%;
	background-color: white;
	padding-bottom: 20px;
}


/*  NAV
------------------------ */
nav {
	height: 64px;
	position:absolute;
	left: 0px;
	right: 0px;
	z-index: 10;
	font-family:minionpro-semibold, Times;
	text-transform: uppercase;
	background-color:white;
}
nav .header-wrapper {
	width: 100%;
	max-width: 960px; /* 940 + .container margins */
	margin: 0 auto;
	position: relative;
}
nav ul {
	margin-top: 20px;
}
nav ul.menu {
	background-color: white;
	position: absolute; /* responsive */
	top: 35px; /* responsive */
	left:0px; /* responsive */
	right: 0px; /* responsive */
	display: none; /* responsive */
}
nav ul.menu li {
	display: block; /* responsive */
	margin-right: 20px;
	padding-left: 10px; /* responsive */
	padding-bottom: 20px; /* responsive */
}
nav.open ul.menu {
	display: block;
}
	


nav ul.language {
	float:right;
}
nav ul.language li {
	display:inline-block;
	margin-left: 4px;
}
nav ul.language li:not(:first-child):before {
	content: "/ "
}
nav ul li a {
	text-decoration: none;
}
nav ul li a:hover,
nav ul li.current a {
	text-decoration: underline;
	color: #000;
}

/*  BURGER
------------------------ */

nav a.burger {
	display: block;
	width: 35px;
	height: 35px;
	float: left;
	margin-top: 9px;
}
nav .burger ul {
	padding: 5px 0 0 0;
	margin: 0;
}
nav .burger ul li {
	display: block;
	width: 25px;
	height: 2px;
	background-color: black;
	margin: 5px 0px;
}

/*  SECTION
------------------------ */
section {
	text-align: center;
	/* font-size: 1.125em; */
	font-size: 1.25em;
	letter-spacing: 0.5px;
	margin-bottom:20px;
}
section a.anchor {
	height: 100px;
	display:block;
}
section h1, section h2 {
	/* font-size: 1.25em; */
	font-size: inherit;
	text-transform: uppercase;	
}
section p {
	margin-left: 10px;
	margin-right: 10px;
}

/*  GALLERY (COLLECTIONS)
------------------------ */
.gallery {
	/* overflow: hidden; */
}
.gallery .gallery-detail {
	width:100%;
	max-width: 780px;
	margin: 0 auto;
	position: relative;
	/*height: 900px;*/
	padding-top: 40px;
	display: none;
}
.gallery .gallery-detail.open {
	display: block;
}
.gallery .gallery-detail.loading {
	visibility: hidden;
}

.gallery .slideshow-wrapper {
	padding-bottom: 66.6666%;
	height: 0;
	width:100%;
	position: relative;
}
.gallery .slideshow {
	
	height: 100%;
	width:100%;
	position: absolute;
}
.gallery .slideshow .slide:first-child {
	left:0;
}
.gallery .slideshow .slide-img-content {
	position: absolute;
	width:100%;
	height:100%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}
.gallery .controls {
	position: absolute;
	width:100%;
	height: 100%;
	top: 0px;
}
.gallery .controls .left-arrow,
.gallery .controls .right-arrow {
	position: absolute;
	height: 100%;
	width: 100px;
	background-size: 20px;
	background-repeat: no-repeat;
	background-position: center;
	/*display: none;*/
}
.gallery .controls .left-arrow {
	left: 0;
	background-image: url('images/left-arrow.png');
	background-position: 20% 50%;
}
.gallery .controls .right-arrow {
	right: 0;
	background-image: url('images/right-arrow.png');
	background-position: 80% 50%;
}
.gallery .close {
	position: absolute;
	height: 18px;
	width: 18px;
	padding: 20px;
	background-size: 18px 18px;
	background-repeat: no-repeat;
	background-position: center;
	background-image: url('images/close.svg');
	right: 20px;
	top: 0px;
	z-index: 2;
}

.gallery .gallery-thumbs { /* thumbs wrapper */
	width: 100%;
	/*max-width: 320px;*/
	margin: 0 auto;
	padding: 0 10px;
}

.gallery .gallery-thumbs:after {
	content: '';
	clear: both;
	display: table;
}

.gallery .gallery-thumbs a {
	float: left;
	width: 50%;
	padding: 10px;
}

.gallery .thumb {
	width: 100%;
	height: auto;
	max-width: 100%;
	position: relative;
	font-size: 0;
}
.gallery .thumb img {
	max-width: 100%;
	height: auto;
}
.gallery .thumb-title {
	position: absolute;
	top:0px;
	bottom: 0px;
	left:0px;
	right:0px;
	display:none;
}
.gallery .thumb:hover .thumb-title,
.gallery .thumb.active .thumb-title {
	display:block;
}
.gallery .thumb:before {
	content: "";
	position: absolute;
	top:0px;
	left:0px;
	width: 100%;
	height: 100%;
	background-color: black;
	opacity: 0;
	-webkit-transition: opacity 500ms;
    transition: opacity 500ms;
}
.gallery .thumb:hover:before,
.gallery .thumb.active:before {
	opacity: 0.5;
}
.gallery .thumb-title-content {
	display: table;
	width: 100%;
	height: 100%;
}
.gallery .thumb-title-content h2 {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	/* font-size: 1.0em; */
	font-size: 20px;
	color:white;
	font-family: minionpro-regular, Times;
	
}

/*  GALLERY (PRESSE)
------------------------ */
.gallery.presse .gallery-slideshow {
	height: 750px;
}
.gallery.presse .slide {
	background-color:white;
}
.gallery.presse .thumb.small-thumb {
	max-width: 220px;
}




/*  TRAIN (SUR MESURE)
------------------------ */
.carousel-wrapper {
	position: relative;
	overflow: hidden;
}
.carousel {
	width: 100%;
	height: 0;
	position:relative;
	padding-bottom: 66.666%;
	overflow: hidden;
}
.carousel .slide {
	position: absolute;
	display: block;
	height:100%;
	left:100%;
	
}
.carousel .slide .slide-img {
	width:100%;
	height: 100%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	box-sizing: border-box;
    border: 10px solid white;
}

.carousel .slide .slide-img img {
	max-width: 100%;
	height: auto;
}

.carousel .slide .excerpt {
	display: none;
}
.caption-wrapper .caption { /*  wrap .carousel-wrapper */
	/*height: 70px;*/
	min-height: 70px;
	padding: 0 10px;
	font-size: 0.75em;
}

.carousel-wrapper .controls {
	position: absolute;
	width: 100%;
	height: 0px;
	padding-bottom: 66.6666%;
	/* left:50%; */
	top:0px;
}
.carousel-wrapper .controls .left-arrow,
.carousel-wrapper .controls .right-arrow {
	position: absolute;
	display:none;
	height: 100%;
	width: 300px;
	background-size: 28px 30px;
	background-repeat: no-repeat;
}
.carousel-wrapper .controls .left-arrow {
	/* right: 380px; */
	left:0px;
	width: 20%;
	background-image: url('images/left-arrow-white.png');
	background-position: right center;
}
.carousel-wrapper .controls .right-arrow {
	/* left: 380px; */
	right:0px;
	width: 20%;
	background-image: url('images/right-arrow-white.png');
	background-position: left center;
}


/*  CONTACT
------------------------ */
section#contact {
	text-transform: uppercase;
}
img.logo {
	width:70px;
	height:70px;
}
.social img {
	width: 30px;
	height: 30px;
	margin: 10px;
}
iframe.gmap {
	width: 100%;
	height: 280px;
}
label {
	display: block;
	text-transform: uppercase;
	margin-top: 2em;
	box-sizing: border-box;
	width: 100%;
	max-width: 460px;
	box-sizing: border-box;
	padding: 0 10px;
	margin-left: auto;
	margin-right: auto;
}
label input,
label textarea,
.mc-email
{
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #b7b7b7;
	
	font-family: minionpro-regular, Times;
	padding: 4px;
    font-size: 1.0em;
}
label textarea {
	height: 130px;

}
p.error {
	color: #c00;
}
label input.error,
label textarea.error {
	border: 1px solid #c00;
}

input[type="submit"] {
	border: none;
	background: #000;
	color: #fff;
	padding: 10px 40px;
}

.mc-email {
	max-width: 300px;
	padding: 8px 10px;
}

.mc-email,
.mc-submit {
	margin-bottom: 1em;
}

#map {
	width: 100%;
	height: 0;
	padding-bottom: 33.3334%;
}

/* Tsimenis overrides */

#presse .gallery .gallery-thumbs a:nth-of-type(odd) {
	clear: left;
}

@media screen and (min-width: 640px) {
	#mariage .gallery-thumbs a:first-of-type,
	#atelier-gregoire .gallery-thumbs a:first-of-type,
	#rives .gallery-thumbs a:first-of-type
	{
		margin-left: 16.66667%;
	}

	#presse .gallery .gallery-thumbs a {
		width: 25%;
	}
	#presse .gallery .gallery-thumbs a:nth-of-type(odd) {
		clear: none;
	}
	#presse .gallery .gallery-thumbs a:nth-of-type(4n + 5) {
		clear: left;
	}

	.gallery .close {
		right: 30px;
	}
}

/*#presse .gallery-thumbs {
	max-width: 720px;
}*/


/* ------------------ */


/*  MEDIA QUERIES
------------------------ */

@media screen and (min-width: 640px) {
	.gallery .gallery-thumbs {
    	/*max-width: 640px;*/
	}
	.carousel,
	.carousel-wrapper .controls {
		padding-bottom: 33.3333%;
	}
	.gallery .gallery-thumbs a {
		width: 33.33333%;
	}
}
@media screen and (min-width: 780px) {
	nav ul.menu {
		position: static;
		float:left;
		display: block;
	}
	nav ul.menu li {
		display:inline-block;
		padding-left: 0;
		padding-bottom:0;
	}
	nav a.burger {
		display: none;
	}
	.carousel-wrapper .controls .left-arrow,
	.carousel-wrapper .controls .right-arrow {
		display: block;
	}
}

@media screen and ( min-width: 768px ) {
	.gallery .controls .left-arrow,
	.gallery .controls .right-arrow {
		background-size: 27px 29px;
	}
}

@media screen and (min-width: 960px) {
	.gallery .gallery-thumbs {
    	max-width: 960px;
	}
	.gallery .controls .left-arrow,
	.gallery .controls .right-arrow {
		display: block;
	}
}



