#loading {
	top: 42em;
}

#header {
	height: 61em;
}

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

#slides > .kyslider-slide {
	position: absolute;
	top: 0%;
	left: 0%;
	width: 100%;
	height: 100%;
	clip: rect(0em, 1000em, 1000em, 0em);
}

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

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

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

#slides h1 {
	font-size: 480%;
	line-height: 1.142;
	color: #2481a8;
	font-family: Geogrotesque-Light;
	text-transform: uppercase;
	letter-spacing: 1px;
}

#slides p {
	font-size: 200%;
	font-family: Geogrotesque-Light;
	line-height: 1.5;
	color: #ffffff;
}

#slides .kyslider-slide span {
	position: absolute;
	display: block;
	top: 19em;
	border-top: 1px solid #ffffff;
}

#slides .kyslider-slide a {
	display: inline-block;
	font-size: 128%;
	color: #ffffff;
	font-family: Geogrotesque-Medium;
	text-transform: uppercase;
	letter-spacing: 1px;
	border-bottom: 1px solid transparent;
	padding: 0.5em 0.5em 0.2em 0.2em;
}

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

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

#slides > span {
	position: absolute;
	left: 0;
	top: 0;
	background-color: #ffffff;
	width: 100%;
	height: 100%;
	z-index: 23;
	background-image: url('slider1.jpg');
	display: block;
}

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

.goSlides #slides > span {
	background-image: none;
}

.goSlides #slides > span:before {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	display: block;
	background-image: linear-gradient(8deg, #2481a8, #2481a8 31em, #ffffff 31em, #ffffff);
	content: '';
	animation-duration: 0.5s;
	animation-timing-function: ease;
	animation-fill-mode: forwards;
	animation-name: fakebg;
	animation-iteration-count: 1;
}

@keyframes fakebg {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

.goSlides #slides > .kyslider-slide:before {
	mix-blend-mode: multiply;
}

#slides > .kyslider-slide:before {
	z-index: 25;
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

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

#slide2:before {
	background-image: url('slider2.jpg');
}

#slide3:before {
	background-image: url('slider3.jpg');
}

#slide4:before {
	background-image: url('slider4.jpg');
}

#slide5:before {
	background-image: url('slider5.jpg');
}

#header:before {
	position: absolute;
	content: '';
	z-index: 30;
	bottom: 0em;
	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);
	z-index: 28;
}

#services > div > a {
	display: block;
	margin-bottom: 2em;
}

#services > div > a > div {
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 20;
}

#services > div > a > div:after {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
	content: '';
	background-image: linear-gradient(-45deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.9));
}

#services span {
	display: block;
	z-index: 30;
	font-size: 210%;
	color: #ffffff;
	padding-left: 0.8em;
	white-space: nowrap;
	font-family: Geogrotesque-Light;
}

#services span:first-child {
	display: block;
	font-family: Geogrotesque-Regular;
	color: #2481a8;
	padding-top: 0.8em;
	opacity: 1;
}

#services hr,
#services hr:after {
	z-index: 25;
	display: block;
	position: absolute;
	left: 50%;
	top: 50%;
	overflow: visible;
}

#services hr {
	margin-left: -3em;
	width: 6em;
	height: 1px;
	border-left: 3em solid #ffffff;
	border-right: 3em solid #ffffff;
}

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

#services img {
	display: block;
	z-index: 10;
	width: 100%;
	transform: scale(1, 1);
}

#services > div > a {
	/* fix safari bug with scale and gradient */
	transform: scale(1, 1);
	line-height: 1.2;
}

#services *,
#services *:after {
	transition: all 0.5s ease-out;
}

.no-touch #services > div > a:hover > div:after,
.no-touch #services > div > a:hover hr {
	opacity: 0;
}

.no-touch #services > div > a:hover span {
	/*font-size: 400%;*/
	/*text-shadow: 0px 0px 2px #000000;*/
}

.no-touch #services > div > a:hover span:first-child {
	/*opacity: 0;*/
	/*text-shadow: 0px 0px 2px #2481a8;*/
}

.no-touch #services > div > a:hover > img {
	transform: scale(1.1, 1.1);
}

.no-touch #services > div > a:hover hr {
	width: 48em;
	margin-left: -24em;
}

.no-touch #services > div > a:hover hr:after {
	height: 48em;
	margin-top: -24em;
}

#map {
	background-size: 100% 4.29em;
	/* image could be replaced with linear-gradient, but would be heavily aliased */
	background-image: url(../lib/img/clip2.png);
}

#map div div {
	overflow: visible;
}

#map * {
	text-align: center;
}

#map h1 {
	margin-top: 3em;
	font-size: 120%;
	border-top: 1px solid #2e3337;
	padding: 0.3em 0.5em 0.8em 0.5em;
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-family: Geogrotesque-SemiBold;
}

#map h2 {
	font-size: 390%;
	font-family: Geogrotesque-Light;
	color: #ffffff;
}

#map p {
	font-family: Geogrotesque-Medium;
	font-size: 150%;
	margin: 0.7em 17% -2em 17%;
	z-index: 20;
}

#map > div > div {
	z-index: 10;
	width: 86%;
	margin-left: 7%;
	margin-right: 7%;
	min-height: 44em;
}

#map img {
	width: 100%;
}

#map > div > div > div {
	position: absolute;
	color: #ffffff;
	background-image: url(k.svg);
	background-position: center top;
	background-size: 3.1em 1.7em;
	min-width: 3.1em;
	padding-top: 2em;
}

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

@keyframes govisiblemap {
	0% {
		transform: scale(0, 0);
	}
	100% {
		transform: scale(1, 1);
	}
}

#map h3 {
	font-family: Geogrotesque-SemiBold;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 120%;
}

#map h3:after {
	display: block;
	margin-left: auto;
	margin-right: auto;
	border: 3px solid #ffffff;
	border-radius: 3px;
	width: 3px;
	height: 3px;
	content: '';
}

#map #loctaiwan {
	bottom: 48%;
	left: 78.3%;
}

#map #locvietnam {
	bottom: 43.5%;
	left: 73.2%;
}

#map #locchina {
	bottom: 59%;
	left: 77.4%;
}

#map #locgermany {
	bottom: 65%;
	left: 44%;
}

#map #locusa {
	bottom: 53%;
	left: 9.5%;
}

#map > div > div > div > div {
	position: absolute;
	left: 50%;
	border: 2em solid #2e3337;
	border-top-color: transparent;
	border-right-style: none;
	transform: scale(0, 0);
	transform-origin: left top;
	transition: transform 0.2s ease-out;
	visibility: hidden;
}

/* surprisingly, this works already as intended */

.no-touch #map > div > div > div:hover > div,
.touch #map > div > div > div:hover > div {
	transform: scale(1, 1);
	visibility: visible;
}

#map span {
	display: block;
	text-align: left;
	font-size: 120%;
	background-color: #2e3337;
	padding-right: 1.667em;
	padding-top: 1.667em;
	letter-spacing: 0.05em;
	white-space: nowrap;
}

#map a {
	border-bottom: 1px solid transparent;
}

#map a:hover {
	border-bottom-color: #ffffff;
}

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

.loaded #quote {
	background-blend-mode: multiply, normal;
	background-image: url(quote.jpg), linear-gradient(-6deg, #2481a8, #2481a8 35em, #ffffff 35em, #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;
}

#references .text {
	width: 75%;
}

#references .text h3,
#references .text p {
	font-size: 150%;
}

#references > div > div:last-child {
	display: table;
	width: 100%;
	margin-top: 1em;
	margin-bottom: 2em;
}

#references > div > div:last-child > div {
	display: table-row;
}

#references > div > div:last-child > div > a {
	display: table-cell;
	border: 0.5em solid #ffffff;
	width: 33.333%;
	padding: 2em;
}

#references > div > div:last-child * {
	text-align: center;
}

#references > div > div:last-child p {
	font-size: 160%;
	font-family: Geogrotesque-LightItalic;
	color: #ffffff;
	margin-bottom: 0.8em;
}

#references > div > div:last-child img {
	width: 50%;
	opacity: 0.6;
	margin-bottom: 1.3em;
	margin-top: 0.3em;
}

#references > div > div:last-child span {
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-family: Geogrotesque-SemiBold;
	font-size: 120%;
}

#references > div > div:last-child span:last-child {
	font-family: Geogrotesque-Medium;
}

#references .shift {
	top: -0.5em;
}

#references .biggerlogo {
	width: auto !important;
	max-width: 50%;
	max-height: 4em;
}

#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 60em 0em);
	}
	100% {
		clip: rect(0em 60em 60em 0em);
	}
}

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

#quote > div {
	overflow: visible;
}

#references span.bullets {
	display: none;
}

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

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

	#slides > .kyslider-slide > div {
		top: 15em;
	}

	#slides .kyslider-slide span {
		position: static;
		display: inline-block;
		margin-top: 1em;
	}

	#header {
		height: 51em;
	}


	#slides {
		height: 51em;
	}

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

	#map {
		background-image: none;
		padding: 0em 1.5em 0em 1.5em;
	}

	#map * {
		text-align: left;
	}

	#map p {
		margin: 0;
		line-height: 1.5;
		font-size: 180%;
	}

	#map h3 {
		font-size: 240%;
		font-family: Geogrotesque-Light;
	}

	#map > div > div {
		width: auto;
		margin: 1em 0em 5em 0em;
		min-height: initial;
	}

	#map img {
		display: none;
	}

	#map > div > div > div {
		position: relative;
		color: #ffffff;
		background-image: none;
		padding-top: 2em;
		left: 0em !important;
		bottom: auto !important;
	}

	#map .visibleEffectRun {
		animation-name: none;
	}

	#map h3:after {
		display: block;
		float: right;
		margin-top: 0.5em;
		border-style: none;
		width: 1em;
		height: 1px;
		content: '';
		background-color: #ffffff;
	}

	#map h3:before {
		display: block;
		float: right;
		margin-right: 0.5em;
		margin-left: -0.5em;
		width: 1px;
		height: 1em;
		content: '';
		background-color: rgba(255, 255, 255, 1);
		transition: all 0.2s ease;
	}

	#map > div > div > div > div {
		position: static;
		border-style: none;
		visibility: visible;
		transform: scale(1, 1);
		max-height: 1em;
		overflow: hidden;
		border-bottom: 1px solid rgba(255, 255, 255, 1);
		transition: all 0.2s ease;
	}

	#map > div > div > div.selected > div {
		max-height: 20em;
		border-bottom-color: rgba(255, 255, 255, 0);
	}

	#map > div > div > div.selected > h3:before {
		background-color: rgba(255, 255, 255, 0);
	}

	#map span {
		background-color: transparent;
		font-size: 180%;
		padding-top: 1em;
		padding-bottom: 1em;
	}

	#quote > 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);
	}

	#references .text {
		width: 100%;
	}

	#references > div > div:last-child {
		height: 32em;
	}

	#references a {
		font-size: 140%;
	}

	#references .bullets {
		margin: 1em auto 0.5em auto;
		overflow: visible;
	}

	#references .bullets,
	#references .bullets:before,
	#references .bullets:after {
		display: block;
		border: 3px solid #ffffff;
		border-radius: 3px;
		width: 3px;
		height: 3px;
		content: '';
	}

	#references .bullets:before,
	#references .bullets:after {
		position: absolute;
		top: -3px;
	}

	#references .bullets:before {
		left: -23px;
	}

	#references .bullets:after {
		left: 17px;
	}

	#references a:nth-child(0n + 1) .bullets:before,
	#references a:nth-child(0n + 2) .bullets,
	#references a:nth-child(0n + 3) .bullets:after  {
		border-color: #353b3f;
	}

	#references .kyslider-inactive {
		display: none !important;
	}

}
