* {
	box-sizing: border-box;
	transition: 200ms;
}
html {
	background: url(/img/background.jpg) no-repeat fixed top left;
	background-size: cover;
	overflow: visible;
	height: 100vh;
}
body {
	font-family: Sans-serif;
	margin: 0;
}
table {
	border-collapse: collapse;
	float: right;
}
td {
	background-color: rgba(255, 255, 255, .6);
	border-bottom: 1px solid #ddd;
	padding: 6px;
}
tr:hover td,
tr.active td,
tr.focus td {
	background-color: white;
}
td.number {
	background-color: rgba(255, 255, 255, .75);
	font-size: .7em;
	text-align: center;
	width: 120px;
}
td.number:first-line {
	font-size: 2em;
}
td.videos {
	width: 180px;
}
td.videos div {
	display: flex;
}
td.videos a {
	background-color: white;
	border: 1px solid #ffaa00;
	border-radius: 2px;
	color: black;
	flex: 1;
	margin-right: 5px;
	padding: 6px 0;
	text-align: center;
	text-decoration: none;
}
td.videos a:hover,
td.videos a.active,
td.videos a.focus {
	background-color: #ffaa00;
	border-radius: 2px;
	color: white;
	outline: 0;
}
td a.data:before {
	background-color: #f49242;
	border: 1px solid white;
	border-radius: 10px;
	color: white;
	content: "D";
	float: left;
	font-size: .7em;
	margin: 0 -24px 0 3px;
	padding: 2px 3px;
}
td.info {
	width: 180px;
}
td.info span.right {
	display: block;
	float: right;
	text-align: right;
}
td.info span.big {
	font-weight: bold;
}
#window {
	background-color: rgba(0,0,0,.5);
	border: 1px solid white;
	bottom: 10px;
	display: none;
	left: 10px;
	position: fixed;
	right: 494px;
	top: 10px;
}
#titleBar {
	background-color: white;
	height: 50px;
	left: 11px;
	position: fixed;
	right: 495px;
	top: 11px;
}
#titleBar .button {
	border: 5px solid #ffaa00;
	border-radius: 8px;
	color: #ffaa00;
	cursor: pointer;
	float: right;
	line-height: 20pt;
	margin: 6px 6px 0 0;
	text-align: center;
	width: 36px;
}
#titleBar .button:hover {
	background-color: #ffaa00;
	color: white;
}
#close {
	font-size: 14pt;
}
#resize {
	font-size: 18pt;
}
#caption {
	color: silver;
	font-size: 1.2em;
	padding: 8px;
}
#number {
	font-size: 1.6em;
}
#caption span {
	color: grey;
	margin-right: 10px;
}
#data {
	background-color: rgba(0,0,0,.3);
	border-radius: 10px;
	color: white;
	padding: 10px;
	position: fixed;
	right: 505px;
	top: 71px;
	width: 180px;
}
#data #alti {
	max-width: 180px;
	max-height: 180px;
	position: fixed;
}
#data #alti #hand {

}
#data div {
	text-align: right;
}
#data label {
	color: #eee;
	display: inline-block;
	float: left;
	font-size: .8em;
	text-align: left;
	width: 80px;
}
#timings {
	display: flex;
}
#timings button {
	background-color: transparent;
	border: 1px solid silver;
	border-radius: 3px;
	color: white;
	cursor: pointer;
	flex: 1;
	font-size: .7em;
	margin-right: -1px;
	padding: 3px 0;
}
#video {
	bottom: 11px;
	cursor: pointer;
	left: 11px;
	overflow: hidden;
	position: fixed;
	right: 495px;
	top: 61px;
}
video {
	object-fit: cover;
	width: 100%;
	height: 100%;
}
#window.maximized {
	border-width: 0;
	bottom: 0;
	left: 0;
	right: 0;
	top: 0;
}
#window.maximized #titleBar {
	top: 0;
	left: 0;
	right: 0;
}
#window.maximized #data {
	right: 10px;
	top: 60px;
}
#window.maximized #video {
	bottom: 0;
	left: 0;
	right: 0;
	top: 50px;
}

@media (max-width: 800px){
	table {
		min-width: 100%;
	}
	#titleBar {
		background-color: transparent;
		height: auto;
	}
	#titleBar .button {
		border-width: 3px;
		font-size: .9em;
		line-height: 16px;
		width: 26px;
	}
	#caption {
		font-size: .8em;
		padding: 2px;
	}
	#caption,
	#caption span {
		color: white;
		text-shadow: 1px 1px black;
	}
	#number {
		float: left;
	}
	#data {
		border-radius: 3px;
		font-size: .8em;
		padding: 3px;
		right: 3px!important;
		top: 40px!important;
		width: 130px;
	}
	#data label {
		width: 60px;
	}
	#video {
		top: 0!important;
	}
}