
/****************************************
  ==== RESETS
****************************************/

* { margin: 0; padding: 0; overflow:hidden; }
::-moz-selection { color: #333; text-shadow: none; }
::selection {  color: #333; text-shadow: none; }
.clear:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
.clear { display: inline-table; clear: both; }
/* Hides from IE-mac \*/ * html .clear { height: 1%; } .clear { display: block; } /* End hide from IE-mac */

/****************************************
  ==== LAYOUT
****************************************/

@font-face {
	font-family: 'hdrfont';
	src: url('../../../fonts/future/future-condensedmedium-webfont.eot');
	src: url('../../../fonts/future/future-condensedmedium-webfont.eot?#iefix') format('embedded-opentype'),
	url('../../../fonts/future/future-condensedmedium-webfont.woff2') format('woff2'),
	url('../../../fonts/future/future-condensedmedium-webfont.woff') format('woff'),
	url('../../../fonts/future/future-condensedmedium-webfont.ttf') format('truetype'),
	url('../../../fonts/future/future-condensedmedium-webfont.svg#futurecondensed_medium') format('svg');
	font-weight: normal;
	font-style: normal;

}

html, body { width: 100%; height: 100%;	font-family: 'hdrfont', sans-serif;  }
body { font-size: 14px; background-color: black; color: #ddd; -webkit-font-smoothing: antialiased; width:100%; height:100%; }
p { margin-bottom: 15px; }
p.header, p.footer { display: none; }
h1.title { font-family: 'hdrfont', sans-serif; text-transform: uppercase; text-align: center; line-height: 18px; line-height: 32px; margin: 0 1px 0 0; color: white; z-index: 10; font-weight: normal; font-size: 24px; color: white; margin-top: 0; margin-bottom: 20px; }
a:link, a:visited { color: #bfbfbf; }
.highlight { color: white; }
.template-wrap { position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); }
.template-wrap canvas { margin: 0 0 10px 0; position: relative; z-index: 9; box-shadow: 0 10px 30px rgba(0,0,0,0.2); -moz-box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.fullscreen { position: absolute; left:20px; bottom:20px; z-index: 10; }
.small { font-size: smaller; color: #999; }

div.fullHeight { position: absolute; left: 240px; width: calc(100% - 240px); height: 100%; }
div.fullHeight canvas { width: 100%; height: 100%; }

div.sidebar{ float: left; background-color: #252c36; width: 200px; height:100%; padding: 20px; }

div.index {
	font-family: 'hdrfont', sans-serif;
}
div.index h2, div.index h3, div.index h4{
	font-weight: normal;
	font-size: 18px;
	text-transform: uppercase;
}
div.index h2{
	font-size: 24px;
	margin: 20px 0 10px 0;
}
div.index .parts{
	margin: 0 -5px;
	display: flex;
	flex-wrap: wrap;
	align-content: space-between;
	margin-bottom: 20px;
}
div.index a{
	display: block;
	margin: 5px;
	width: 25px;
	height: 25px;
	text-decoration: none;
	line-height:25px;
	text-align: center;
	background-color: #5e6f93;
}

div.index a.prologue {
	width: 100px;	
}

div.index a.current, div.index a:hover{
	background-color: #bfbfbf;
	color: #5e6f93;
}

@media(max-height: 840px){
	div.index h3, div.index h4{
		font-size: 14px;
	}
	div.index h2{
		font-size: 18px;
		margin: 20px 0 10px 0;
	}

	div.index a{
		display: block;
		margin: 5px;
		width: 15px;
		height: 18px;
		text-decoration: none;
		line-height:18px;
		text-align: center;
		background-color: #5e6f93;
	}

}

div.sidebar .index {
	height: calc(100vh - 350px);
	overflow-y: auto;
	overflow-x: hidden;
}
