body {	overflow-y: scroll; /* prevent jump */	overflow-x: hidden;}
/* hidden class for the SVG */
.hidden {	position: absolute;	overflow: hidden;	width: 0;	height: 0;}
/* Global thumbnail navigation */
.thumb-nav {	position: fixed;	top: 0;	right: 0;	z-index: 1000;
	display: -webkit-flex;	display: flex;	-webkit-align-items: center;	align-items: center;	padding: 1em;	-webkit-transition: -webkit-transform 0.6s, opacity 0.6s;
	transition: transform 0.6s, opacity 0.6s;	-webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);	transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);}
.thumb-nav--hide {	opacity: 0;	-webkit-transform: translate3d(0, -200px, 0);	transform: translate3d(0, -200px, 0);}
.thumb-nav__item {	position: relative;	display: block;	margin-right: 10px;	border: 2px solid #fff;	border-radius: 50%;	color: #fff;}
.thumb-nav__item img {	display: block;	border-radius: 50%;	opacity: 0.2;	-webkit-transition: opacity 0.3s, -webkit-transform 0.3s;	transition: opacity 0.3s, transform 0.3s;}
.thumb-nav__item--current img,.thumb-nav__item:hover img {	opacity: 0.95;	-webkit-transform: scale3d(0.75, 0.75, 1);	transform: scale3d(0.75, 0.75, 1);}
.thumb-nav__item span {	position: absolute;	top: 0;	left: 0;	width: 100%;	text-align: center;	font-size: 1.5em;	line-height: 65px;}



/* Container styles */
.container,
.container::after {	position: absolute; 	top: 0;	left: 0;	width: 100%;	height: 100vh;	opacity: 0;	pointer-events: none;}
.container {	z-index: 1;	overflow: hidden;	background: #2a2e39;	-webkit-transform-origin: 50% 120%;	transform-origin: 50% 120%;}
.container::after {	z-index: 1000;	background: #000;	content: '';	-webkit-transition: opacity 0.9s;	transition: opacity 0.9s;
	-webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);	transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);}
.container--animOutRight::after,
.container--animOutLeft::after {	opacity: 1;}
.container--current {	position: absolute;	z-index: 100;	height: auto;	opacity: 1;	pointer-events: auto;}
.container--animInRight,
.container--animInLeft {	z-index: 101;	opacity: 1;}
.container--animInRight,
.container--animInLeft,
.container--animOutRight,
.container--animOutLeft {
	-webkit-animation-timing-function: cubic-bezier(0.7,0,0.3,1);
	animation-timing-function: cubic-bezier(0.7,0,0.3,1);
	-webkit-animation-duration: 0.9s;
	animation-duration: 0.9s;
	-webkit-animation-fill-mode: forwards;
	animation-fill-mode: forwards;
}
.container--animInRight {	-webkit-animation-name: animInRight;	animation-name: animInRight;}
.container--animInLeft {	-webkit-animation-name: animInLeft;	animation-name: animInLeft;}
.container--animOutRight {	-webkit-animation-name: animOutRight;	animation-name: animOutRight;}
.container--animOutLeft {	-webkit-animation-name: animOutLeft;	animation-name: animOutLeft;}

@-webkit-keyframes animOutLeft {
	from {} /* Fixes Chrome issue 35.0.1916.114 (easing breaks) */
	to {
		-webkit-transform: rotate3d(0,0,1,-20deg) translate3d(-100%,0,0);
		opacity: 0;
	}
}

@keyframes animOutLeft {
	from {} /* Fixes Chrome issue 35.0.1916.114 (easing breaks) */
	to {
		-webkit-transform: rotate3d(0,0,1,-20deg) translate3d(-100%,0,0);
		transform: rotate3d(0,0,1,-20deg) translate3d(-100%,0,0);
		opacity: 0;
	}
}

@-webkit-keyframes animInRight {
	from {
		-webkit-transform: rotate3d(0,0,1,20deg) translate3d(100%,0,0);
		opacity: 0;
	}
	to {
		-webkit-transform: rotate3d(0,0,1,0deg) translate3d(0,0,0);
	}
}

@keyframes animInRight {
	from {
		-webkit-transform: rotate3d(0,0,1,20deg) translate3d(100%,0,0);
		transform: rotate3d(0,0,1,20deg) translate3d(100%,0,0);
		opacity: 0;
	}
	to {
		-webkit-transform: rotate3d(0,0,1,0deg) translate3d(0,0,0);
		transform: rotate3d(0,0,1,0deg) translate3d(0,0,0);
	}
}

@-webkit-keyframes animOutRight {
	from {} /* Fixes Chrome issue 35.0.1916.114 (easing breaks) */
	to {
		-webkit-transform: rotate3d(0,0,1,20deg) translate3d(100%,0,0);
		opacity: 0;
	}
}

@keyframes animOutRight {
	from {} /* Fixes Chrome issue 35.0.1916.114 (easing breaks) */
	to {
		-webkit-transform: rotate3d(0,0,1,20deg) translate3d(100%,0,0);
		transform: rotate3d(0,0,1,20deg) translate3d(100%,0,0);
		opacity: 0;
	}
}

@-webkit-keyframes animInLeft {
	from {
		-webkit-transform: rotate3d(0,0,1,-20deg) translate3d(-100%,0,0);
		opacity: 0;
	}
	to {
		-webkit-transform: rotate3d(0,0,1,0deg) translate3d(0,0,0);
	}
}

@keyframes animInLeft {
	from {
		-webkit-transform: rotate3d(0,0,1,-20deg) translate3d(-100%,0,0);
		transform: rotate3d(0,0,1,-20deg) translate3d(-100%,0,0);
		opacity: 0;
	}
	to {
		-webkit-transform: rotate3d(0,0,1,0deg) translate3d(0,0,0);
		transform: rotate3d(0,0,1,0deg) translate3d(0,0,0);
	}
}

.intro {	position: fixed;	z-index: 10;	overflow: hidden;	width: 100%;	height: 100vh;	background: #2a2e39;	-webkit-transition: -webkit-transform 0.6s;	transition: transform 0.6s;	-webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);	transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);}
.container--animInRight .intro,
.container--animInLeft .intro,
.container--animOutRight .intro,
.container--animOutLeft .intro {	position: absolute;}
.container--open .intro {	-webkit-transform: translate3d(0, -100%, 0) translate3d(0, 250px, 0);	transform: translate3d(0, -100%, 0) translate3d(0, 250px, 0);}
/* Fullscreen image */
.intro__image {	position: absolute;	bottom: 0;	min-width: 100%;	min-height: 120%;	width: auto;	height: auto;	opacity: 0.8;	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);	-webkit-transition: -webkit-transform 0.6s, opacity 0.6s;	transition: transform 0.6s, opacity 0.6s;
	-webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);	transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
}
.container--open .intro__image {	opacity: 0;	-webkit-transform: translate3d(0, 20%, 0);	transform: translate3d(0, 20%, 0);}
/* Intro content */
.intro__content {	position: absolute;	bottom: 0;	padding: 1.8em;	width: 100%;	font-size: 1.5em;}
.intro__title {	margin: 0 0 20px;	font-weight: 900;	font-size: 4em;	font-family: "Playfair Display", Georgia, serif;	line-height: 1;}
.intro__subtitle {	display: -webkit-flex;	display: flex;	-webkit-align-items: center;	align-items: center;}
.intro__description {	margin: 0 auto 0 1em;	line-height: 1.2;}
/* Trigger button with SVG */
.trigger {	position: relative;	-webkit-flex: none;	flex: none;	overflow: hidden;	margin: 0 0 0 -10px;	padding: 0;	width: 40px;	height: 40px;	outline: none;	border: none;	background: none;}
/* Hide the text */
.trigger span {	position: absolute;	top: 100%;}
.icon {	-webkit-transform-origin: 50% 50%;	transform-origin: 50% 50%;	-webkit-transition: opacity 0.3s, -webkit-transform 0.3s;	transition: opacity 0.3s, transform 0.3s;	stroke: #dbdbdb;	fill: none;	stroke-width: 2px;}
/* Hide grid and show cross when opening */
.icon--cross,
.trigger--active .icon--grid {	opacity: 0;	-webkit-transform: scale3d(0.5, 0.5, 1);	transform: scale3d(0.5, 0.5, 1);}
.trigger--active .icon--cross {	opacity: 1;	-webkit-transform: scale3d(1, 1, 1);	transform: scale3d(1, 1, 1);}
/* Main content */
.items-wrap {	position: relative;	display: -webkit-flex;	display: flex;	-webkit-flex-wrap: wrap;	flex-wrap: wrap;	padding: 250px 5px 0;}
.items-wrap::after {	position: absolute;	top: 0;	left: 0;	width: 100%;	height: 100%;	background: #2a2e39;	content: '';	opacity: 1;	-webkit-transition: opacity 0.6s;	transition: opacity 0.6s;
	-webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);	transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);	pointer-events: none;}

.container--open .items-wrap::after {	opacity: 0;}
.item {	position: relative;	-webkit-flex: 1 0 25%;	flex: 1 0 25%;	overflow: hidden;	height: 22vw;	outline: none;	border: 5px solid #2a2e39;	border-width: 0 5px 10px;	background: #2a2e39;}
.item__image {	position: absolute;	top: 50%;	min-height: 100%;	width: 100%;	opacity: 0.7;
	-webkit-transform: translate3d(0, -50%, 0) scale3d(1.2, 1.2, 1);	transform: translate3d(0, -50%, 0) scale3d(1.2, 1.2, 1);	-webkit-transition: -webkit-transform 0.5s, opacity 0.5s;	transition: transform 0.5s, opacity 0.5s;}
.item:hover .item__image {	opacity: 1;	-webkit-transform: translate3d(0, -50%, 0);	transform: translate3d(0, -50%, 0);}
.item__title {	position: absolute;	bottom: 0;	margin: 0;	padding: 1em;	color: #dbdbdb;	font-size: 1.85em;	font-family: "Playfair Display", Georgia, serif;
	line-height: 1;	-webkit-transition: -webkit-transform 0.3s, opacity 0.3s;	transition: transform 0.3s, opacity 0.3s;}
.item:hover .item__title {	opacity: 0;	-webkit-transform: translate3d(0, 20px, 0);	transform: translate3d(0, 20px, 0);}


.items-wrap2 {	position: relative;	display: -webkit-flex;	display: flex;	-webkit-flex-wrap: wrap;	flex-wrap: wrap;	padding: 25px 5px 0;}
.items-wrap2::after {	position: absolute;	top: 0;	left: 0;	width: 100%;	height: 100%;	background: #2a2e39;	content: '';	opacity: 1;	-webkit-transition: opacity 0.6s;	transition: opacity 0.6s;
	-webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);	transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);	pointer-events: none;}
.container--open .items-wrap2::after {	opacity: 0;}

.items-wrap h1 { text-shadow: #000000 3px 2px 2px; margin: 20px;	font-weight: 900;	width: 100%;	font-size: 3em;	font-family: "Playfair Display", Georgia, serif;	line-height: 1;}
.items-wrap p {text-shadow: #000000 3px 2px 2px; margin: 20px;	line-height: 1.2; font-size: 1.25em;}

.items-wrap2 h1 { text-shadow: #000000 3px 2px 2px; margin: 20px;	font-weight: 900;	width: 100%;	font-size: 3em;	font-family: "Playfair Display", Georgia, serif;	line-height: 1;}
.items-wrap2 p {text-shadow: #000000 3px 2px 2px; margin: 20px;	line-height: 1.2; font-size: 1.25em;}




/* Color schemes */
.theme-1 a {	color: #e28e51;}
.theme-1,
.theme-1 .intro {	background: #2b2827; text-shadow: #000000 3px 2px 2px;}
.theme-1 .item {	border-color: #2b2827;	background: #765136;}
.theme-1 .intro__content{/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,3d70a9+97&amp;0+0,1+100 */
background: -moz-linear-gradient(top,  rgba(255,255,255,0) 0%, rgba(61,112,169,0.97) 97%, rgba(61,112,169,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0)), color-stop(97%,rgba(61,112,169,0.97)), color-stop(100%,rgba(61,112,169,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(61,112,169,0.97) 97%,rgba(61,112,169,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(61,112,169,0.97) 97%,rgba(61,112,169,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(61,112,169,0.97) 97%,rgba(61,112,169,1) 100%); /* IE10+ */
background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(61,112,169,0.97) 97%,rgba(61,112,169,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#3d70a9',GradientType=0 ); /* IE6-9 */

}



.theme-2 a {	color: #90be23;}
.theme-2,
.theme-2 .intro {	background: #21241f; color: #CCCC99; text-shadow: #633 3px 2px 2px;}
.theme-2 .item {	border-color: #21241f;	background: #74834f;}
.theme-2 .intro__content{/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,8f7463+56&amp;0+0,1+56 */
background: -moz-linear-gradient(top,  rgba(255,255,255,0) 0%, rgba(143,116,99,1) 56%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0)), color-stop(56%,rgba(143,116,99,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(143,116,99,1) 56%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(143,116,99,1) 56%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(143,116,99,1) 56%); /* IE10+ */
background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(143,116,99,1) 56%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#8f7463',GradientType=0 ); /* IE6-9 */

}


.theme-3 .intro {	background: #2b2827; text-shadow: #660000 1px 1px 1px;}
.theme-3 .intro__content{
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,564237+56&amp;0+0,1+56 */
background: -moz-linear-gradient(top,  rgba(255,255,255,0) 0%, rgba(86,66,55,1) 56%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0)), color-stop(56%,rgba(86,66,55,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(86,66,55,1) 56%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(86,66,55,1) 56%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(86,66,55,1) 56%); /* IE10+ */
background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(86,66,55,1) 56%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#564237',GradientType=0 ); /* IE6-9 */
}


.theme-4 .intro {	text-shadow: #660000 1px 1px 1px;}
.theme-4 .intro__content{
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,3e2518+56&amp;0+0,1+56 */
background: -moz-linear-gradient(top,  rgba(255,255,255,0) 0%, rgba(62,37,24,1) 56%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0)), color-stop(56%,rgba(62,37,24,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(62,37,24,1) 56%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(62,37,24,1) 56%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(62,37,24,1) 56%); /* IE10+ */
background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(62,37,24,1) 56%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#3e2518',GradientType=0 ); /* IE6-9 */

}

.theme-5 .intro {	text-shadow: #006633 3px 2px 2px;}
.theme-5 .intro__content{/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,575a00+56&amp;0+0,1+56 */
background: -moz-linear-gradient(top,  rgba(255,255,255,0) 0%, rgba(87,90,0,1) 56%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0)), color-stop(56%,rgba(87,90,0,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(87,90,0,1) 56%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(87,90,0,1) 56%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(87,90,0,1) 56%); /* IE10+ */
background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(87,90,0,1) 56%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#575a00',GradientType=0 ); /* IE6-9 */

}


/* Media Queries */

@media screen and (max-width: 1440px) {
	.item {		-webkit-flex: 1 0 33.333%;		flex: 1 0 33.333%;		height: 30vw;	}
}

@media screen and (max-width: 1000px) {
	.item {		-webkit-flex: 1 0 50%;		flex: 1 0 50%;		height: 45vw;	}
	.item,
	.intro__content {		font-size: 0.85em;	}
}

@media screen and (max-width: 590px) {
	.item {		-webkit-flex: 1 0 100%;		flex: 1 0 100%;		height: 90vw;	}
	.intro__title {		font-size: 2em;	}
}
