.intro {
	position: fixed;
	z-index: 10;
	overflow: hidden;
	width: 100%;
	height: 100%;
	/*background: #2a2e39;*/
	background: #ffffff;
	-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--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.4;
	left: 50%;
	-webkit-transform: translate3d(-50%, 0, 0);
	transform: translate3d(-50%, 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);
	animation-duration: 16s;
    animation-name: zoom_image;
    animation-timing-function: linear;
    animation-iteration-count:infinite;
}




.container--open .intro__image {
	opacity: 0;
	-webkit-transform: translate3d(-50%, 20%, 0);
	transform: translate3d(-50%, 20%, 0);
}

/* Intro content */
.intro__content {
	position: absolute;
/*	bottom: 0;*/
	padding: 1.8em;
	width: 100%;
	font-size: 1.15em;
}

.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-back {
	/*position: fixed;
	color: #000000;
	font-size: 25px;
	right: 70px;
	margin-left: -29px;
	top: 30px;
	z-index: 100;
	-webkit-flex: none;
	flex: none;
	overflow: hidden;
	padding: 0;
	width: 26px;
	height: 26px;
	outline: none;
	border: none;
	background: none;*/
	
	position: absolute;
	color: #000000;
	font-size: 35px;
	right: 50%;
	margin-left: -29px;
	top: 28px;
	z-index: 100;
	-webkit-flex: none;
	flex: none;
	overflow: hidden;
	padding: 0;
	width: 40px;
	height: 40px;
	line-height: 40px;
	outline: none;
	border: none;
	text-align: center;
	background: none;
}


.trigger {
/*	position: absolute;
	color: #000000;
	font-size: 25px;
	right: 70px;
	margin-left: -29px;
	z-index: 100;
	-webkit-flex: none;
	flex: none;
	overflow: hidden;
	padding: 0;
	width: 26px;
	height: 30px;
	outline: none;
	border: none;
	background: none;*/
	position: absolute;
	color: #000000;
	font-size: 35px;
	right: 50%;
	margin-left: -29px;
	z-index: 100;
	-webkit-flex: none;
	flex: none;
	overflow: hidden;
	padding: 0;
	width: 38px;
	height: 38px;
	outline: none;
	border: none;
	background: none;
}

.trigger--active
{
	
	bottom: 190px;	
}

.trigger--noactive
{
	top: 28px;
}
.trigger2--active{
	display: none !important;
	visibility:hidden !important;
}
.trigger2 {
	position: absolute;
	color: #7A7A7A;
	font-size: 56px;
	left: 50%;
	margin-left: -29px;
	bottom: 60px;
	z-index: 100;
	-webkit-flex: none;
	flex: none;
	overflow: hidden;
	text-align: center;
	padding: 0;
	width: 62px;
	height: 62px;
	line-height: 62px;
	outline: none;
	border: none;
	background: none;
	visibility:visible;
}

.trigger2 a{

	text-decoration:none;
/*	color:#7A7A7A;*/
	color: #565A5F;
}


.trigger_category--active{
	
	visibility:hidden !important;
}
.trigger_category {
	position: absolute;
	color: #ffffff;
	font-size: 56px;
	left: 50%;
	margin-left: -29px;
	bottom: 90px;
	z-index: 100;
	-webkit-flex: none;
	flex: none;
	overflow: hidden;
	padding: 0;
	width: 56px;
	height: 59px;
	outline: none;
	border: none;
	background: none;
	visibility:visible;
}

.trigger_category a{

	text-decoration:none;
/*	color:#7A7A7A;*/
	color: #ffffff;
}



.trigger-back a{
	text-decoration:none;
	color:#000000;
}

.light .trigger-back a {
	color:#2A2C2F;
}

.dark .trigger-back a {
	color:#ffffff;	
}

/*.trigger i {
	-webkit-transition: all 300ms ease;
	-moz-transition: all 300ms ease;
	-ms-transition: all 300ms ease;
	-o-transition: all 300ms ease;
	transition: all 300ms ease;
}

.trigger.trigger--active i {
	-moz-transform: rotate(180deg);
	-webkit-transform: rotate(180deg);
	-o-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	transform: rotate(180deg);
}*/

.category-header--active
{
	/*margin: 620px 0px 0px 15px !important;*/
	bottom: 180px;
}
.intro-content--active
{
	opacity: 0.0 !important;
}

/* Hide the text */
.trigger span {
	position: absolute;
	top: 100%;
}

.icon rect,
.icon line {
	stroke: #dbdbdb;
	fill: none;
	stroke-width: 2px;
}

.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;
}

/* 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 {
	display: block;
	position: relative;
	color: #000000;
/*	-webkit-flex: 1 0 20%;
	flex: 1 0 20%;*/
	width: 20%;
	float: left;
	overflow: hidden;
	height: 20vw;
	outline: none;
	/*border: 5px solid #2a2e39;*/
	border: 5px solid #ffffff;
	border-width: 0 5px 10px;
	/* background: #2a2e39; */
	background: #ffffff;
	background-position:50% 50%;  /* Sets reference point to scale from */
	background-size:cover;   
}

.dark .item {
	background-color: #2A2C2F;
	border-color: #2A2C2F;
}

.light .item {
	background-color: #f0f0f0;
	border-color: #f0f0f0;
}

.item__image {
	position: absolute;
	top: 50%;
	left: 50%;
	min-height: 100%;
	width: auto;
	max-width: 10000px;
	opacity: 0.7;
	-webkit-transform: translate3d(-50%, -50%, 0) scale3d(1.2, 1.2, 1);
	transform: translate3d(-50%, -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(-50%, -50%, 0);
	transform: translate3d(-50%, -50%, 0);
}

.item__title {
	position: absolute;
	bottom: 0;
	margin: 0;
	opacity: 0;
	padding: 1em;
/*	color: #dbdbdb;*/
	/*color: #565A5F;*/
	color: #000000;
	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__more {
	position: absolute;
	bottom: 0;
	margin: 0;
	opacity: 0;
	color: #000000;
	font-size: 22px;
	margin: 1em 1.5em;
	text-decoration: none;
}



.item__more .icon {
	font-size: 15px;
	margin-left: 5px;
	color: #000000 !important;
}

.dark .item__more .icon {
	color: #ffffff !important;
}

.dark .item__more {
	
	color: #ffffff !important;
}
.dark .item__title{
	color: #ffffff !important;
	
}

.item:hover .item__more {
	opacity: 1;
	-webkit-transform: translate3d(0, -20px, 0);
	transform: translate3d(0, -20px, 0);
}

.item:hover .item__title {
	opacity: 1;
	-webkit-transform: translate3d(0, -50px, 0);
	transform: translate3d(0, -50px, 0);
}


/* Media Queries */

@media screen and (max-width: 1440px) {
	.item {
/*		-webkit-flex: 1 0 25%;
		flex: 1 0 25%;*/
		width: 25%;
		height: 26vw;
	}
}

@media screen and (max-width: 1100px) {
	.item {
/*		-webkit-flex: 1 0 33%;
		flex: 1 0 33%;*/
		width: 33%;
		height: 30vw;
	}
	.item,
	.intro__content {
		font-size: 0.85em;
	}
}

@media screen and (max-width: 768px) {
	.item {
/*		-webkit-flex: 1 0 50%;
		flex: 1 0 50%;*/
		width: 50%;
		height: 45vw;
	}
}

@media screen and (max-width: 590px) {
	.item {
		-webkit-flex: 1 0 100%;
		flex: 1 0 100%;
		height: 90vw;
	}

	.intro__title {
		font-size: 2em;
	}
}

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

	.items-wrap {
		padding: 120px 5px 0;
	}

	.container--open .intro {
		-webkit-transform: translate3d(0, -100%, 0) translate3d(0, 120px, 0);
		transform: translate3d(0, -100%, 0) translate3d(0, 120px, 0);
	}

	.trigger {
		right: auto;
		/*margin-left: 0px;*/
		margin-left:40%;
		left: 20px;
		font-size:23px;
	}

	.trigger2 {
		bottom: 70px;
		/*bottom:10px;*/
		font-size: 30px;
		width:31px;
		height: 31px;
		line-height: 31px;
		margin-left: -18px;
	}

	.trigger.trigger--active  {
		/*bottom: 50px;*/
		left: auto;
		right: 45%;
		margin-left: -29px;
	}
	
	.category-header--active{
		bottom: 5px;
	}
	
	.trigger-back{
		/*font-size: 30px;*/
		font-size: 25px;
		right: 45%;
		margin-left: -22px;
	}
}








