@import 'MyFontsWebfontsKit.css';

/*

native width: 1400px
unit size: 14px
scales with minimum font size limit 9 in safari to: 1400 * (9 / 14) = 900px width for full layout
works on ipad with 768 minimum font-size 8: 8 * (86em + 1.5em max width) = 700

darkbg: #020e14
blue: #2481a8
gray: #353b3f
darkgray: #2e3337
white: #ffffff

*/

*,
*:after,
*:before {
	box-sizing: border-box;
	background-color: transparent;
	background-size: cover;
	background-repeat: no-repeat;
	margin: 0;
	padding: 0;
	position: relative;
	overflow: hidden;
	border: none;
	border-radius: 0;
	color: inherit;
	text-decoration: inherit;
	font-size: inherit;
	font-style: inherit;
	font-weight: inherit;
	text-align: left;
	outline: none;
}

html,
body {
	font-family: Geogrotesque-Regular, Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: normal;
	color: #ffffff;
	background-color: #353b3f;
	overflow: auto;
	line-height: 1.333;
	scroll-behavior: smooth;
	/* not working reliably enough
	-ms-scroll-snap-type: proximity;
	scroll-snap-type: proximity;
	-ms-scroll-snap-destination: 0% 0%;
	scroll-snap-destination: 0% 0%;
	-webkit-scroll-snap-type: proximity;
	-webkit-scroll-snap-destination: 0% 0%;
	*/
}

body > div {
	clear: both;
	/* not working reliably enough
	-webkit-scroll-snap-coordinate: 0% 0%;
	/ ** neccessary for safari ** /
	overflow: visible;
	-ms-scroll-snap-coordinate: 0% 0%;
	scroll-snap-coordinate: 0% 0%;
	*/
}

@media screen and (max-width: 1399px) { html, body { font-size: 13px; } }
@media screen and (max-width: 1299px) { html, body { font-size: 12px; } }
@media screen and (max-width: 1199px) { html, body { font-size: 11px; } }
@media screen and (max-width: 1099px) { html, body { font-size: 10px; } }
@media screen and (max-width: 999px) { html, body { font-size: 9px; } }
@media screen and (max-width: 899px) { html, body { font-size: 8px; } }
@media screen and (min-width: 1500px) { html, body { font-size: 15px; } }
@media screen and (min-width: 1600px) { html, body { font-size: 16px; } }
@media screen and (min-width: 1700px) { html, body { font-size: 17px; } }
@media screen and (min-width: 1800px) { html, body { font-size: 18px; } }
@media screen and (min-width: 1900px) { html, body { font-size: 19px; } }

body > div > div {
	max-width: 86em;
	margin-left: auto;
	margin-right: auto;
}

a {
	transition: border-bottom-color 0.2s ease-out;
}

.bgimage {
	background-color: #020e14;
}

.bgwhite {
	background-color: #ffffff;
	color: #353b3f;
}

.bgblue {
	background-color: #2481a8;
	color: #2e3337;
}

.bggray {
	background-color: #353b3f;
}

.fullsize {
	width: 100%;
	max-width: 100% !important;
	height: 100%;
}

.top2bottom2 {
	padding-top: 2em;
	padding-bottom: 2em;
}
.top2bottom3 {
	padding-top: 2em;
	padding-bottom: 2em;
}

#navbar {
	position: fixed;
	z-index: 100;
	width: 100%;
	overflow: visible;
	/* background-color: rgba(2, 14, 20, 0);  #020e14 full transparent; */
	background-color: rgba(36, 129, 168, 0); /* #2481a8 full transparent; */
}

#navbar > div {
	overflow: visible;
	padding-top: 3em;
	padding-bottom: 1em;
}

#navbar > div > div {
	position: absolute;
	text-transform: uppercase;
	font-family: Geogrotesque-SemiBold;
	letter-spacing: 0.1em;
}

#logo {
	margin-left: 1.5em;
	width: 18em;
}

#navigation {
	left: 31em;
	top: 3.5em;
}

#navigation a {
	display: inline-block;
	margin-right: 5em;
	border-bottom: 1px solid transparent;
	padding-bottom: 0.3em;
	transition: border-bottom-color 0.3s, padding-bottom 0.3s;
	float: left;
}

#navigation a:hover {
	border-bottom-color: #ffffff;
	padding-bottom: 0em;
}

#language {
	right: 0em;
	top: 3.5em;
	overflow: visible;
}

#language:after {
	float: right;
	padding-left: 0.25em;
	padding-right: 0.5em;
	font-family: Geogrotesque-Light;
	transform: rotate(90deg) scaleY(2);
	content: '>';
}

#language > div {
	position: absolute;
	height: 0em;
	left: -0.5em;
	transition: height 0.2s ease-out;
	background-color: rgba(0, 0, 0, 0.8);
	padding-right: 2em;
}

.no-touch #language:hover > div,
.touch #language.selected > div {
	height: 9em;
}

#language a {
	display: block;
	padding-top: 0.8em;
	padding-left: 1em;
	white-space: nowrap;
	width: 9em;
}

#language a:first-child {
	padding-top: 1.3em;
}

#language a span {
	border-bottom: 1px solid transparent;
	transition: border-bottom-color 0.3s;
}

#language a:hover span,
#language a.current span {
	border-bottom-color: #ffffff;
}

#language a span:after {
	content: '›';
}

#language a.current span:after {
	content: '';
}

#language img {
	width: 1.1em;
	margin-right: 0.5em;
	float: left;
	padding-bottom: 0.6em;
/*
	border-bottom: 1.5px solid #ffffff;
*/
}

#mobilemenu,
#mobilemenu > * {
	display: none;
}

.columns > :first-child {
	width: 50%;
	float: left;
	border-right: 1em solid transparent;
}

.columns > :last-child {
	width: 50%;
	float: right;
	border-left: 1em solid transparent;
}

.text {
	padding-left: 1.5em;
	padding-right: 1.5em;
	line-height: 1.44;
}

.text hr {
	left: -0.1em;
	border-top: 1px solid #353b3f;
	height: 1px;
	width: 10em;
	margin-bottom: 1em;
	margin-top: 2em;
}
.text hr {
	font-family: background-color:DodgerBlue;
	color: #2481a8;
}
.text h1 {
	text-transform: uppercase;
	font-size: 120%;
	letter-spacing: 0.1em;
	font-family: Geogrotesque-SemiBold;
}

.text h2 {
	font-size: 420%;
	font-family: Geogrotesque-Light;
	color: #2481a8;
	line-height: 1;
	margin-top: 0.2em;
	margin-bottom: 0.4em;
}

.text h3 {
	font-family: Geogrotesque-Medium;
	color: #2481a8;
}

.text h3,
.text p {
	font-size: 140%;
}

.text h4 {
	font-size: 170%;
	color: #2481a8;
	margin-bottom: -0.6em;
}

.text p {
	margin-top: 1em;
	margin-bottom: 1em;
}

.text p + h4 {
	margin-top: 1.4em;
}

.text > a {
	display: inline-block;
	font-size: 140%;
	color: #2481a8;
	line-height: 1;
	border-bottom: 1px solid transparent;
}

.text > a:hover {
	border-bottom-color: #2481a8;
}

.topline {
	border-top: 1px solid #c2c4c5;
}

#footer {
	padding-bottom: 10em;
}

#footer > div {
	padding-bottom: 3em;
}

#footer > div > div {
	float: left;
	width: 19em;
	margin-right: 3em;
	margin-top: 1em;
	border-top: 1px solid #ffffff;
	border-bottom: 1px solid #ffffff;
	padding: 1em;
	min-height: 18em;
	margin-bottom: 4em;
	line-height: 1.42;
}

#footer > div > div:first-child {
	float: right;
	width: 42em;
	margin-right: 0em;
	padding-bottom: 1em;
	overflow: visible;
}

#footer h1 {
	font-family: Geogrotesque-Medium;
	font-size: 140%;
	letter-spacing: 0.05em;
	margin-bottom: 1em;
}

#footer p {
	padding-bottom: 1em;
	letter-spacing: 0.1em;
}

#footer > div > div:first-child p {
	font-size: 120%;
}

#footer p a {
	text-transform: uppercase;
	letter-spacing: 0.1em;
	display: block;
}

#footer img {
	width: 1.1em;
	margin-right: 0.5em;
	float: left;
}

#footer span {
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #2481a8;
}

#footer > div > div:first-child span,
#footer > div > div:first-child p a {
	font-family: Geogrotesque-SemiBold;
}

#footer > div > div:first-child p a {
	text-transform: none;
	color: #2481a8;
	display: inline;
}

#footer > div > div:first-child div {
	position: absolute;
	letter-spacing: 0.1em;
	margin-top: 3em;
	line-height: 2;
}

#footer > div > div:first-child div a {
	border-bottom: 1px solid transparent;
}

#footer > div > div:first-child div a:hover {
	border-bottom-color: #ffffff;
}

.kyslider > .kyslider-slide {
	animation-duration: 0.5s;
	animation-timing-function: ease;
	animation-fill-mode: forwards;
}

.kyslider-slide.kyslider-active {
	animation-name: kyslider-slidein;
	animation-iteration-count: 1;
}

.kyslider-slide.kyslider-inactive {
	animation-name: kyslider-slideout;
	animation-iteration-count: 1;
}

#header .kyslider-buttons  {
	display: inline-block;
	vertical-align: middle;
	z-index: 30;
	padding-bottom: 5em;
}

#header .kyslider {
	text-align: right;
}

#header .kyslider:before {
	content: '';
	display: inline-block;
	height: 100%;
	vertical-align: middle;
}

.kyslider-buttons a {
	display: block;
	float: right;
	clear: both;
	border: 0.4em solid #ffffff;
	border-radius: 0.4em;
	width: 0.4em;
	height: 0.4em;
	margin-bottom: 2em;
	margin-right: 2em;
	transition: border-color 0.5s ease;
}

.kyslider-buttons a:hover,
.kyslider-buttons a.kyslider-active {
	border-color: #2481a8;
}

#contact:before {
	/* keep as separate element to avoid weird mistakes with older browsers */
	position: absolute;
	content: '';
	top: 0em;
	left: 100%;
	width: 100%;
	height: 5.6em;
	background-size: 100% 5.5em;
	/* image could be replaced with linear-gradient, but would be heavily aliased */
	background-image: url(../img/clip3.png);
	border-bottom: 2px solid #ffffff;
	/* transform causes minor glitch in edge and safari, correcting with border and height */
	/* translateX to unhide element only for browser with transform support */
	transform: rotate(180deg) translateX(100%);
}

#contact {
	background-image: url(../img/contact.jpg);
	min-height: 63em;
	padding-top: 3em;
	color: #ffffff;
}

.loaded #contact {
	background-blend-mode: multiply, normal;
	background-image: url(../img/contact.jpg), linear-gradient(-6deg, #ffffff, #ffffff 40em, #2481a8 40em, #2481a8);
}

#contact * {
	overflow: visible;
}

#contact > div,
#contact h2 {
	text-align: center;
}

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

#contact h2 {
	font-size: 390%;
	font-family: Geogrotesque-Light;
	color: #2481a8;
	margin-bottom: 1em;
}

#contact form {
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 84%;
}

#contact label {
	display: inline-block;
	width: 33%;
	margin-bottom: 3em;
}

#contact label span {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 120%;
}

#contact label input[type="text"],
#contact label input[type="tel"],
#contact label input[type="email"] {
	display: block;
	margin-top: 1em;
	border-bottom: 1px solid #2481a8;
	padding: 0.5em 0.2em;
	width: 80%;
	font-size: 120%;
	margin-bottom: 1em;
}

/* placeholders must be separate so each rule has a valid selector */

#contact label ::-webkit-input-placeholder {
	color: #2481a8;
	opacity: 1;
}

#contact label ::-moz-placeholder {
	color: #2481a8;
	opacity: 1;
}

#contact label ::-ms-input-placeholder {
	color: #2481a8;
	opacity: 1;
}

#contact label ::placeholder {
	color: #2481a8;
	opacity: 1;
}

#contact h3 {
	font-size: 140%;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-family: Geogrotesque-Medium;
	color: #2481a8;
	margin-bottom: 2em;
}

#contact label input[type="checkbox"] {
	-moz-appearance:none;
	-webkit-appearance:none;
	-o-appearance:none;
	-ms-appearance:none;
	border: 1px solid #2481a8 !important;
	background-color: transparent !important;
	margin-right: 1em;
	float: left;
	width: 1.3em;
	height: 1.3em;
	cursor: pointer;
}

#contact label input[type="checkbox"]:focus {
	box-shadow: 0px 0px 3px 3px #2481a8;
}

#contact label input[type="checkbox"]:checked:after {
	content: '\2713';
	display: inline-block;
	width: 1.3em;
	text-align: center;
	line-height: 1.3em;
	color: #2481a8;
}

#contact form div {
	margin-top: 1em;
	text-align: center;
}

#contact form .loading {
	top: 0em;
}

#contact form .loading div {
	margin-top: 0em;
}

#contact input[type="submit"],
#contact .success {
	font-size: 390%;
	font-family: Geogrotesque-Light;
	color: #2481a8;
}

#contact input[type="submit"] {
	-moz-appearance:none;
	-webkit-appearance:none;
	-o-appearance:none;
	-ms-appearance:none;
	padding-right: 1.8em;
	background-image: url(../img/submit.svg);
	background-position: 90% center;
	background-size: auto 0.8em;
	cursor: pointer;
	transform: scale(1, 1);
	transition: background-position 0.2s ease-out;
}

#contact input[type="submit"]:focus,
#contact input[type="submit"]:hover {
	/*transform: scale(1.1, 1.1);*/
	background-position: 100% center;
}

.imprint {
	max-height: 0em;
	transition: max-height 0.2s ease-out;
}

.imprint.open {
	padding-top: 4em;
	max-height: 100em;
	padding-bottom: 2em;
}

.imprint div div {
	font-size: 120%;
}

.imprint > div * {
	display: inline;
}

.imprint h1,
.imprint h2,
.imprint h3 {
	color: #2481a8;
}

.imprint h1 {
	font-size: 390%;
	font-family: Geogrotesque-Light;
	line-height: 2;
}

.imprint h2 {
	font-size: 150%;
	font-family: Geogrotesque-Light;
}

.imprint span {
	font-style: italic;
}

/* Loading Circle */

.loading {
	position: absolute;
	top: 32em;
	z-index: 50;
	width: 100%;
	opacity: 1;
	transition: opacity 0.5s ease-out;
	pointer-events: none;
}

.loading div {
	box-sizing: content-box;
}

.loading > div {
	padding-top: 50px;
	padding-bottom: 50px;
}

.loading > div > div:first-child {
	background-color: rgba(0,0,0,0);
	border:5px solid rgba(0,183,229,0.9);
	opacity:.9;
	border-top:5px solid rgba(0,0,0,0);
	border-left:5px solid rgba(0,0,0,0);
	border-radius:50px;
	box-shadow: 0 0 35px #2187e7;
	width:50px;
	height:50px;
	margin:0 auto;
	animation:spin .5s infinite linear;
}

.loading > div > div:last-child {
	background-color: rgba(0,0,0,0);
	border:5px solid rgba(0,183,229,0.9);
	opacity:.9;
	border-top:5px solid rgba(0,0,0,0);
	border-left:5px solid rgba(0,0,0,0);
	border-radius:50px;
	box-shadow: 0 0 15px #2187e7;
	width:30px;
	height:30px;
	margin:0 auto;
	position:relative;
	top:-50px;
	animation:spinoff .5s infinite linear;
}

@keyframes spin {
	0% { transform:rotate(0deg); }
	100% { transform:rotate(360deg); }
}

@keyframes spinoff {
	0% { transform:rotate(0deg); }
	100% { transform:rotate(-360deg); }
}

.loaded #pageloader {
	animation-play-state: paused;
	opacity: 0;
}

#header .kyslider-slide > div > div {
	position: absolute;
	clip: rect(0em, 0em, 30em, 0em);
}

#header .kyslider-active > div > div {
	animation-duration: 1.5s;
	animation-timing-function: ease;
	animation-fill-mode: forwards;
	animation-name: opentext;
	animation-iteration-count: 1;
	clip: rect(0em, 1000em, 1000em, 0em);
}

@keyframes opentext {
	0% {
		clip: rect(0em, 0em, 60em, 0em);
	}
	33% {
		clip: rect(0em, 0em, 60em, 0em);
	}
	100% {
		clip: rect(0em, 60em, 60em, 0em);
	}
}

.no-touch #header .kyslider-slide,
.no-touch .bgimage {
	background-attachment: fixed;
}

.loaded .bgimage {
	background-color: rgba(255, 255, 255, 0);
}

/* disabled in javascript as well */
.no-touch.loaded .bgimage:after {
	position: absolute;
	display: block;
	content: '';
	z-index: 28;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-color: inherit;
	pointer-events: none;
}

.bgimage > div {
	z-index: 26;
}

#header.bgimage > div {
	z-index: 27;
}

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

	#mobilemenu {
		display: block;
		position: absolute;
		right: 2.5em;
		top: 3em;
		width: 6em;
		height: 3.5em;
		background-image: url(../img/menu.png);
		background-position: top right;
		background-size: auto;
		transition: all 0.2s ease;
		background-color: rgba(53, 59, 63, 0); /* gray */
	}

	#language,
	#navigation {
		display: none;
	}

	#navbar .selected #mobilemenu {
		top: 0em;
		right: 0em;
		height: 100vh;
		width: 100%;
		min-height: 100vh;
		padding: 2em;
		background-image: none;
		background-color: rgba(53, 59, 63, 1); /* gray */
	}

	#navbar .selected #navigation {
		position: absolute;
		display: block;
		top: 4em;
		left: 0em;
		font-size: 200%;
		font-family: Geogrotesque-Light;
		width: 100%;
		padding: 2em;
	}

	#navbar .selected #navigation a {
		display: block;
		margin: 0em 0em 1.5em 0em;
		border-bottom: 1px solid #ffffff;
		float: none;
		width: 100%;
		padding: 0em 0em 0.3em 0.8em;
	}

	#navbar .selected #language {
		position: absolute;
		display: block;
		top: 13em;
		left: 0em;
		padding: 2.8em;
		font-family: Geogrotesque-Light;
		font-size: 200%;
	}

	#navbar .selected #language:after {
		content: none;
	}

	#navbar .selected #language > div {
		height: auto;
		left: 2em;
		background-color: transparent;
	}

	#navbar .selected #mobilemenu > * {
		display: block;
		width: 4em;
		position: absolute;
	}

	#mobilemenu img {
		width: 100%;
	}

	#mobilemenu a {
		top: 2em;
		left: 4em;
	}

	#mobilemenu div {
		position: absolute;
		transform: rotate(45deg);
		right: 0.5em;
		top: 1em;
		width: 5em;
		height: 5em;
		cursor: pointer;
	}

	#mobilemenu div:before,
	#mobilemenu div:after {
		display: block;
		position: absolute;
		right: 3em;
		top: 3em;
		content: '';
	}

	#mobilemenu div:before {
		margin-right: -0.8em;
		width: 1em;
		height: 0.3em;
		border-left: 1em solid #ffffff;
		border-right: 1em solid #ffffff;
	}

	#mobilemenu div:after {
		margin-top: -0.9em;
		width: 0.3em;
		height: 1em;
		border-top: 1em solid #ffffff;
		border-bottom: 1em solid #ffffff;
	}

	h1 br,
	h2 br,
	h3 br,
	h4 br,
	h5 br,
	h6 br,
	#header br,
	.bgimage br {
		display: none;
	}

	.kyslider-buttons {
		display: none !important;
	}

	.columns > * {
		width: auto !important;
		float: none !important;
		border-style: none !important;
	}

	#contact:before {
		background-size: 100% 2.5em;
		height: 2.6em;
	}

	#contact label {
		display: block;
		width: 100%;
		font-size: 150%;
	}

	#contact label input[type="text"],
	#contact label input[type="tel"],
	#contact label input[type="email"] {
		width: 100%;
	}

	#footer > div > div {
		float: none;
		width: 100% !important;
		border-bottom: none;
		min-height: 0em;
		margin-bottom: 1em;
	}

	#footer > div > div:first-child div {
		position: relative;
	}

}

/* chinese comma formatting */

em {
	top: -0.25em;
	left: 0.4em;
	font-weight: bold;
}
