#header {
	height: 44em;
}

#slides {
	position: absolute;
	top: 0em;
	left: 0em;
	height: 61em;
}

#slides > .kyslider-slide {
	position: absolute;
	top: 0%;
	left: 0%;
	width: 100%;
	height: 100%;
}

.loaded #slides > .kyslider-slide {
	background-blend-mode: multiply, normal;
	background-position: 0em 0em, 0em 0em;
}

#slides > .kyslider-slide > div {
	top: 10em;
	margin-left: auto;
	margin-right: auto;
	max-width: 86em;
	padding-left: 1.5em;
	z-index: 50;
}

#slides > .kyslider-slide > div > div {
	max-width: 40em;
}

#slides > .kyslider-slide * {
	overflow: visible;
}

#slides h1 {
	font-size: 390%;
	line-height: 1.142;
	color: #2481a8;
	font-family: Geogrotesque-Light;
}

#slides p {
	font-size: 140%;
	line-height: 1.5;
	color: #2481a8;
	margin-top: 1em;
	padding-bottom: 0.5em;
}

#slides p:last-child {
	color: #ffffff;
}

#slides div > span {
	display: inline-block;
	left: -0.2em;
	margin-top: 2em;
	border-top: 1px solid #ffffff;
}

#slides div > span > span {
	display: inline-block;
	font-size: 120%;
	color: #ffffff;
	font-family: Geogrotesque-Medium;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 0.5em 0.5em 0.8em 0.2em;
}

#slides .kyslider-slide a:hover {
	border-bottom-color: #ffffff;
}

#slide1:before {
	background-image: url('header.jpg');
}

#slides > span {
	position: absolute;
	left: 0;
	top: 0;
	background-color: #ffffff;
	width: 100%;
	height: 100%;
	z-index: 23;
	background-image: linear-gradient(8deg, #2481a8, #2481a8 41em, #ffffff 41em, #ffffff);
	display: none;
}

.loaded #slides > span {
	display: block;
}

#slides > div:before {
	z-index: 25;
	mix-blend-mode: multiply;
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.no-touch #slides > div:before {
	background-attachment: fixed;
}

#slides:after {
	position: absolute;
	content: '';
	z-index: 30;
	bottom: 17em;
	left: 0em;
	right: 0em;
	height: 4.21em;
	background-size: 100% 4.21em;
	/* image could be replaced with linear-gradient, but would be heavily aliased */
	background-image: url(../lib/img/clip1.png);
}

#quote {
	background-image: url(quote.jpg);
	min-height: 63em;
	padding-top: 10em;
	color: #ffffff;
}

#quote * {
	text-align: right;
}

.loaded #quote {
	background-blend-mode: multiply, multiply, normal;
	background-image: url(quote.jpg), linear-gradient(-6deg, #2481a8, #2481a8 35em, #ffffff 35em, #ffffff), linear-gradient(30deg, transparent, transparent, #333333);
	background-color: #ffffff;
}

#quote p:first-child {
	line-height: 1.2;
	font-size: 320%;
	font-family: Geogrotesque-LightItalic;
	color: #2481a8;
	margin-bottom: 0.5em;
	letter-spacing: 0.02em;
}

#quote span {
	font-family: Geogrotesque-Medium;
	font-size: 128%;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

#quote p:last-child {
	font-size: 128%;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

#quote:before {
	/* keep as separate element to avoid weird mistakes with older browsers */
	position: absolute;
	content: '';
	bottom: 0em;
	left: 0em;
	right: 0em;
	height: 5.5em;
	background-size: 100% 5.5em;
	/* image could be replaced with linear-gradient, but would be heavily aliased */
	background-image: url(../lib/img/clip3.png);
	z-index: 24;
}

.columns .text {
	width: 40% !important;
}

#video .columns .text {
	width: 50% !important;
}

.columns span {
	display: block;
	width: 50em !important;
	margin-top: 2em;
	margin-bottom: 2em;
}

.columns span:before,
.columns span:after {
	z-index: 25;
	display: block;
	position: absolute;
	left: 50%;
	top: 50%;
}

.columns span:before {
	margin-left: -3em;
	width: 6em;
	height: 1px;
	border-left: 3em solid #ffffff;
	border-right: 3em solid #ffffff;
	content: 'Click to see gallery';
	line-height: 0;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	text-align: center;
	color: rgba(255, 255, 255, 0);
	overflow: visible;
	white-space: nowrap;
}

.columns span:after {
	margin-top: -3em;
	width: 1px;
	height: 6em;
	border-top: 3em solid #ffffff;
	border-bottom: 3em solid #ffffff;
	content: '';
}

.columns img {
	width: 100%;
}

.columns span {
	cursor: pointer;
}

.columns span img,
.columns span:after,
.columns span:before {
	transition: all 0.5s ease-out;
}

.no-touch .columns span:hover:after,
.no-touch .columns span:hover:before {
	border-color: rgba(255, 255, 255, 0);
	color: rgba(255, 255, 255, 1);
}

.no-touch .columns span:hover img {
	transform: scale(1.1, 1.1);
}

.no-touch .columns span:hover:before {
	width: 50em;
	margin-left: -25em;
}

.no-touch .columns span:hover:after {
	height: 50em;
	margin-top: -25em;
}

.gallery {
	position: fixed;
	z-index: 200;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	opacity: 0;
}

.gallery,
.gallery * {
	transition: all 0.5s ease-out;
}

.gallery span {
	position: absolute;
	transform: rotate(45deg);
	right: 0em;
	top: 0em;
	width: 5em;
	height: 5em;
	cursor: pointer;
}

.gallery span:before,
.gallery span:after {
	display: block;
	position: absolute;
	right: 3em;
	top: 3em;
	content: '';
}

.gallery span:before {
	margin-right: -0.8em;
	width: 1em;
	height: 0.3em;
	border-left: 1em solid #ffffff;
	border-right: 1em solid #ffffff;
}

.gallery span:after {
	margin-top: -0.9em;
	width: 0.3em;
	height: 1em;
	border-top: 1em solid #ffffff;
	border-bottom: 1em solid #ffffff;
}

.gallery > div {
	display: table;
	height: 100%;
	width: 100%;
}

.gallery > div > div {
	display: table-cell;
	vertical-align: middle;
	height: 100%;
}

.gallery > div > div:first-child {
	width: 77em;
	padding-left: 8em;
}

.gallery > div > div:last-child {
	padding-left: 2em;
}

.gallery img {
	position: absolute;
	display: block;
	width: 70em;
	margin-top: auto;
	margin-bottom: auto;
	top: 0;
	bottom: 0;
	right: 0;
	animation-duration: 0.5s;
	animation-timing-function: ease;
	animation-fill-mode: forwards;
	animation-iteration-count: 1;
}

.gallery img.kyslider-inactive {
	animation-name: goinactive;
	clip: rect(0em, 0em, 70em, 0em);
}

.gallery img.kyslider-active {
	animation-name: goactive;
	clip: rect(0em, 70em, 70em, 0em);
}

.gallery a {
	float: left !important;
}

@keyframes goactive {
	0% { clip: rect(0em, 70em, 70em, 70em); }
	100% { clip: rect(0em, 70em, 70em, 0em); }
}

@keyframes goinactive {
	0% { clip: rect(0em, 70em, 70em, 0em); }
	100% { clip: rect(0em, 0em, 70em, 0em); }
}

body > div > span  {
	position: absolute;
	top: -6em;
}

#quote .visibleEffectRun {
	animation-duration: 1s;
	animation-timing-function: ease;
	animation-fill-mode: forwards;
	animation-iteration-count: 1;
	animation-name: govisiblequ;
}

@keyframes govisiblequ {
	0% {
		clip: rect(0em 0em 66em 0em);
	}
	100% {
		clip: rect(0em 66em 66em 0em);
	}
}

#quote > div > div {
	position: absolute;
	clip: rect(0em 66em 66em 0em);
}

#quote > div {
	overflow: visible;
}

#header iframe {
	position: absolute;
	right: 0em;
	top: 5em;
	width: 32em;
	height: 18em;
}

.gallery-onlymobile {
	display: none !important;
}

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

	#slides > span {
		display: none !important;
	}

	#slides p {
		font-size: 160%;
	}

	#header {
		height: 61em;
	}

	#slides:after {
		bottom: 0em;
	}

	#slides > span {
		background-image: linear-gradient(8deg, #2481a8, #2481a8 21em, #ffffff 21em, #ffffff);
	}

	#header iframe {
		top: 28em;
		left: 1.5em;
		right: auto;
	}

	.columns .text {
		width: 100% !important;
	}

	.columns span {
		margin: 1em auto 0em auto;
		width: 90% !important;
	}

	.gallery-nomobile {
		display: none !important;
	}

	.gallery-onlymobile {
		display: block !important;
	}

	.bgwhite.top2bottom2 {
		padding-top: 0em;
	}

	.gallery > div > div:first-child {
		width: 90%;
		padding-left: 1em;
	}

	.gallery img {
		width: 100%;
	}

	.gallery > div {
		width: 90%;
	}

	.gallery > div > div {
		display: table-cell !important;
	}

	.gallery > div > div a {
		margin-right: 0em;
	}


	#quote > div > div {
		padding-left: 1.5em;
		padding-right: 1.5em;
	}

	#quote {
		min-height: 50em;
		padding-top: 8em;
	}

	.loaded #quote {
		background-image: url(quote.jpg), linear-gradient(-6deg, #2481a8, #2481a8 22em, #ffffff 22em, #ffffff);
	}

}
