:root {
	--embed-width: 50%;
}

html, body {
	height: 100%;
}

body {
	background-image: url("../../resources/images/Background.jpg");
	background-size: cover;
	background-position: right;
	background-attachment: fixed;
}


.background {
	position: fixed;
	z-index: -100;
	width: 200vh;
	height: 100vh;
	background-image: url("../../resources/images/Background.png");
	background-size: cover;
	background-repeat: repeat;
	background-position: 0 0;
}

.background-overlay-1 {
	position: fixed;
	z-index: -90;
	width: 100vw;
	height: 100vw;
	background-image: url("../../resources/images/Background Overlay 1.png");
	background-size: 150vw;
	background-repeat: repeat;
	animation-name: movement;
	animation-duration: 4s;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}

.background-overlay-2 {
	position: fixed;
	z-index: -80;
	width: 200vw;
	height: 100vw;
	background-image: url("../../resources/images/Background Overlay 2.png");
	background-size: 150vw;
	background-repeat: repeat;
	background-position: -10vw;
	animation-name: movement_reverse;
	animation-duration: 8s;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}

.split-container {
	height: calc(100% - 5.3em);
}

.split-container .split-view {
	height: 100%;
	display: inline-block;
	vertical-align: top;
	position: relative;
}

.split-container .split-view:first-child {
	width: 100%;
}



.header {
	padding: 0.945em;
	margin-bottom: 6.93em;
	position: relative;
	box-sizing: border-box;
}

.header .header-logo {
	display: inline-block;
	height: 3.15em;
}

.header > .right-area {
	position: absolute;
	right: 0;
	top: 0;
	height: 100%;
	padding: 0.945em;
	box-sizing: border-box;
}

.right-area > * {
	display: inline-block;
	vertical-align: bottom;
}

.header .clock-container {
	height: 100%;
}

.header .clock {
	width: 11.97em;
	height: 11.97em;
	position: relative;
}

.timetable-container {
	padding-left: 3.15em;
	padding-right: 3.15em;
	overflow: hidden;
}

body:not(.rotate-plus-90) .timetable-container {
	padding-left: 3.15em;
	padding-right: 3.15em;
}

.footer {
	position: absolute;
	left: 0;
	bottom: 0;
	right: 0;
	background-color: rgba(245, 245, 245, 1);
	z-index: 100;
}

.embed-container {
	padding: 1.5em;
	box-sizing: border-box;
	overflow-x: hidden;
	position: absolute;
	z-index: 1;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	overflow-y: auto;
	text-align: center;
}

.embed-thumbnail-container {
	padding: 0.75em;
	box-sizing: border-box;
	overflow: hidden;
	position: absolute;
	z-index: 1;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 10vh;
	overflow-y: auto;
}

.embed-container img {
	/*width: calc(37vw - 3em);*/
	height: 100%;
	max-height: 50%;
}

.footer .news-container {
	overflow: hidden;
}

.footer .news-container .news-label-container {
	height: 2em;
	position: relative;
	width: 10000vw;
	height: 5.35em;
}

.footer .news-container .news-label {
	font-size: 2em;
	display: inline-block;
	position: absolute;
	top: 0;
	line-height: 2.7em;
}

body.rotate-plus-90 {
	margin: 0;
	overflow: hidden;
}

body.rotate-plus-90 .wrapper {
	transform: rotate(90deg);
	transform-origin:bottom left;
	position: absolute;
	top: -100vw;
	height: 100vw;
	width: 100vh;
}