@charset "utf-8";

html {
/* 	font-size: 62.5%; */
}

html, body {
	width: 100%;
	margin: 0;
	direction: ltr;
	-webkit-text-size-adjust: none;
	background: #303030;
	color: #444;
}

#wrapper {
	min-height: 100vh;
	position: relative;
	top: 0;
	bottom: 100%;
	left: 0;
	z-index: 1;
	background: #fff;
}


/* ########## header ########## */

header {
	position: fixed;
	z-index: 5;
	top: 0;
}

/* ########## content ########## */

section {
	position: relative;
	background: #fff;
	display: flex;
	display: -webkit-flex;
	flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	-webkit-justify-content: center;
	justify-content: center;
}

section > article {
	position: relative;
	width: 100%;
}

.bdr {
	display: block;
	width: 100%;
	height: 80px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

.bdr:first-of-type,
.timeline + .bdr {
	display: none;
}

section > article.odd {
	background-image: url('section-dark20.png');
}

section > article.odd + .bdr {
	background-image: url('bdr-bottom.svg');
/* 	background-image: url('bdr-bottom2.svg'); */
}

section > article.even {
	
}

section > article.even + .bdr {
	background-image: url('bdr-top.svg');
/* 	background-image: url('bdr-top2.svg'); */
}

section > article > div {
	width: 90%;
	max-width: 840px;
	margin: 0 auto;
	padding: 80px 0;
}

section > article > div * {
	margin-top: 0;
}

section > article > div *:last-child {
	margin-bottom: 0;
}

/* ########## footer ########## */

footer {
	position: absolute;
	z-index: 1;
	bottom: 0;
	width: 100%;
	background: #240D39;
	text-align: center;
}

footer * {
	margin-top: 0;
	line-height: 20px;
	color: #63649F;
}

footer *:last-child {
	margin-bottom: 0;
}

footer > div {
	width: 90%;
	max-width: 840px;
	margin: 0 auto;
	padding: 20px 0;
}

footer p {
	margin-bottom: 10px;
}

.microtime {
	display: none;
}

section h1 {
	text-align: center;
	color: #240D39;
}

section p, section table, section ol, section ul {
	font-size: 1.25em;
	margin-bottom: 20px;
}
	
img.single {
	width: 33.33%;
	padding: 10px;
	border: 1px solid #202020;
}

iframe {
	display: block;
	max-width: 100%;
	margin: 0 auto;
}


/* changes position of online form */

#p-booking *:not(#a10) {
	order: 2;
	-webkit-order: 2;
}

#p-booking #online-form {
	order: 1;
	-webkit-order: 1;
}


/* ########## mobile ########## */

@media screen and (max-device-width: 640px) {
	
	html, body {
		overflow-x: hidden;	
	}

	h1 {
		font-size: 2.250em;
		margin: 0 0 30px;
	}
	
	.page h1 span {
		position: absolute;
		top: -107px;
		left: 0;
	}
	
	#jpnt {
		position: absolute;
		top: -40px;
		left: 0;
	}
	
	section {
		padding: 0 0 130px;
	}
	
	section p, section table, section ol, section ul {
		font-size: 1em;	
	}
	
	header {
		position: relative;
	}
	
	#logo {
		text-align: center;
	}
	
	#logo img {
		width: 66.67%;
		padding: 20px 0;
		margin: 0 auto;
	}
	
	section > article > div {
		padding: 40px 0;
	}
	
	img.single {
		padding: 5px;
	}
	
	footer p {
		font-size: 0.8em;
	}
	
	footer p:first-child span {
		display: block;
	}
	
	footer p:last-child span:after {
		content: ' | ';
	}
}


@media screen and (max-device-width: 640px) and (orientation: portrait) {

}


@media screen and (max-device-width: 640px) and (orientation: landscape) {
	
	
	body {
		height: 100vh;
		background: #240D39 url('landscape.svg') no-repeat center;
	}
	
	body * {
		display: none;
	}
}


/* ########## tablet ########## */


@media screen and (min-device-width : 768px) {
	
	html, body {
		min-width: 768px;
	}
	
	h1 {
		font-size: 4.375em;
		margin: 0 0 60px;
	}
	
	.page h1 span {
		position: absolute;
		top: -180px;
		left: 0;
	}
	
	#jpnt {
		position: absolute;
		top: -44px;
		left: 0;
	}
	
	#logo {
		height: 100px;
	}
	
	#logo a {
		display: inline-block;
		height: inherit;
	}

	#logo img {
		max-height: 100px;
		padding: 20px;
	}
	
	section {
		padding: 100px 0 90px;
	}
	
	footer span:after {
		content: ' | ';
	}

}


/* ########## tablet ########## */

@media screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation: portrait) {

}


@media screen and (min-device-width : 768px) and (orientation: landscape) {

}



/* ########## desktop ########## */

@media screen and (min-device-width: 1224px) and (orientation: landscape) {
	
	
}