html, body {
	width: 100%;
	min-height: 100%;
	margin: 0;
	padding: 0;
	overflow-x: hidden;
	background: whitesmoke;
}


/* T A P - H I G H L I G H T */

* {
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}


/* U S E R - S E L E C T */ 

img, header, footer, aside {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
}


/* T E X T - S E L E C T */

::-moz-selection {
  background: oldlace;
}
::selection {
  background: oldlace;
}


/* S C R O L L */

::-webkit-scrollbar {
	box-sizing: border-box;
	width: 15px;
}
::-webkit-scrollbar-track {
	box-sizing: border-box;
	border-top: none;
	border-right: none;
	border-bottom: none;
	border-left: 1px solid #ececec;
	background: #e6e6e6;
}
::-webkit-scrollbar-thumb {
	box-sizing: border-box;
	height: 100px;
	width:100px;
	border: 1px solid #ececec;
	border-right: none;
	border-radius: none;
	background: white;
}
::-webkit-scrollbar-thumb:window-inactive {
	background: white;
}


/* F O N T S */ 

@font-face {
	font-family: Cinetype;
	src: url(/assets/fonts/GT-Cinetype-Mono.ttf);
}

@font-face {
	font-family: America;
	src: url(/assets/fonts/GT-America-Mono-Regular.ttf);
}


/* T Y P O G R A P H Y */

body, div, h1, h2, p, a, span, figcaption {
	font-family: Cinetype, 'Courier New', monospace;
	font-size: 15px;
	line-height: 20px;
	font-weight: normal;
	font-variant-ligatures: none;
	margin: 0;
	padding: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
a:link, a:visited, a:active {
	color: royalblue;
	text-decoration: none;
}
a:hover {
	color: tomato;
	text-decoration: none;
}

a.anchor {
    display: block;
    position: relative;
    top: -60px;
    visibility: hidden;
}

/* H E A D E R */

header {
	position: fixed;
	z-index: 7;
	float: left;
	top: 0;
	height: 41px;
	width: 100%;
	background: white;
	box-sizing: border-box;
	border-bottom: 1px solid #ececec;
	transition: all 200ms;
}
header p, #logo_dark {
	position: relative;
	float: left;
	margin: 0;
	padding: 10px 20px;
}
header span {
	position: relative;
	float: right;
	margin: 0;
	color: royalblue;
	transition: all 200ms;
	padding: 10px 20px;
}
header span.logo {
	position: relative;
	float: left;
	padding: 0;
	margin: 0;
	min-width: 9px;
	padding: 0;
}
#menu {
	box-sizing: border-box;
	width: 25%;
	text-align: right;
	cursor: pointer;
}
#menu:hover {
	background: whitesmoke;
	-webkit-transition: background-color 150ms ease-in-out;
	-moz-transition: background-color 150ms ease-in-out;
	-ms-transition: background-color 150ms ease-in-out;
	-o-transition: background-color 150ms ease-in-out;
	transition: background-color 150ms ease-in-out;
}


/* N A V I G A T I O N */

nav {
	display: none;
	position: fixed;
	top: 40px;
	z-index: 6;
	float: left;
	width: 100%;
	margin: 0;
	padding: 0;
	background: white;
	border-bottom: 1px solid #ececec;
	box-sizing: border-box;
}
nav ul {
	list-style-type: none;
	margin: 0;
	padding:0;
	display: flex;
	flex-grow: 1;
	flex-flow: row nowrap;
	justify-content: flex-end;
	text-align: center;
}
nav li:hover {
	background: whitesmoke;
	-webkit-transition: background-color 150ms ease-in-out;
	-moz-transition: background-color 150ms ease-in-out;
	-ms-transition: background-color 150ms ease-in-out;
	-o-transition: background-color 150ms ease-in-out;
	transition: background-color 150ms ease-in-out;
}
nav li a {
	padding: 10px 20px;
	}
nav li a:link, nav li a:visited, nav li a:active {
	display: block;
	margin: 0;
	color: royalblue;
	transition: all 200ms;
}
nav li a:hover {
	color: tomato;
}
nav li a.active {
	background: white;
	color: Gold;
	cursor: default;
	pointer-events: none;
}


/* F O O T E R */

footer {
	position: fixed;
	z-index: 7;
	height: 41px;
	width: 100%;
	right: 0;
	bottom: 0;
	left: 0;
	background: white;
	box-sizing: border-box;
	border-top: 1px solid #ececec;
	transition: all 200ms;
}
footer span {
	box-sizing: border-box;
	transition: all 200ms;
	padding: 10px 20px;
}


/* B U T T O N S */

#about_prev, #about_next {
	position: relative;
	box-sizing: border-box;
	width: 25%;
	margin: 0;
	color: tomato;
	cursor: pointer;
}
#about_prev:hover, #about_next:hover {
	color: forestgreen;
	background: whitesmoke;
	-webkit-transition: background-color 150ms ease-in-out;
	-moz-transition: background-color 150ms ease-in-out;
	-ms-transition: background-color 150ms ease-in-out;
	-o-transition: background-color 150ms ease-in-out;
	transition: background-color 150ms ease-in-out;
}
#about_prev {
	float: left;
	text-align: left;
}
#about_next {
	float: right;
	text-align: right;
}

#home_info {
	position: relative;
	margin: 0;
	box-sizing: border-box;
	cursor: pointer;
}

#home_info:hover, #top:hover {
	background: whitesmoke;
	cursor: pointer;
	-webkit-transition: background-color 150ms ease-in-out;
	-moz-transition: background-color 150ms ease-in-out;
	-ms-transition: background-color 150ms ease-in-out;
	-o-transition: background-color 150ms ease-in-out;
	transition: background-color 150ms ease-in-out;
}
#menu:hover, #home_info:hover, #top:hover, aside p:hover, aside span:hover {
	color: tomato;
}
#top {
	display: none;
	float: left;
	width: 25%;
	color: forestgreen;
	text-align: center;
}
#home_info {
	display: block;
	float: right;
	width: 25%;
	color: royalblue;
	text-align: center;
	cursor: pointer;
}


/* A S I D E */

aside {
	position: fixed;
	top: 40px;
	bottom: 40px;
	float: left;
	z-index: 2;
	width: 215px;
	left: -221px;
	background: white;
	border-right: 1px solid #ececec;
	-webkit-transition: left 200ms;
	-moz-transition: left 200ms;
	-ms-transition: left 200ms;
	-o-transition: left 200ms;
	transition: left 200ms;
	overflow-y: scroll;
	overflow-x: hidden;
}
aside::-webkit-scrollbar-track {
	background: whitesmoke;
}
aside.open {
	left: 0px;
}
aside.about {
	display: block;
	left: 0px;
}
aside.about a.selected p, aside.open p.selected {
	background: whitesmoke;
	-webkit-transition: background-color 150ms ease-in-out;
	-moz-transition: background-color 150ms ease-in-out;
	-ms-transition: background-color 150ms ease-in-out;
	-o-transition: background-color 150ms ease-in-out;
	transition: background-color 150ms ease-in-out;
	color: tomato;
}
aside p {
	box-sizing: border-box;
	position: relative;
	float: left;
	width: 100%;
	margin: 0;
	padding: 10px 20px;
	color: forestgreen;
	cursor: pointer;
	border-top: none;
	border-bottom: 1px solid #ececec;
}
aside p:hover {
	background: whitesmoke;
	-webkit-transition: background-color 150ms ease-in-out;
	-moz-transition: background-color 150ms ease-in-out;
	-ms-transition: background-color 150ms ease-in-out;
	-o-transition: background-color 150ms ease-in-out;
	transition: background-color 150ms ease-in-out;
}
aside span {
	position: relative;
	float: left;
	width: 100%;
	margin: 0;
	padding: 10px 20px;
	color: royalblue;
	cursor: pointer;
	border-bottom: 1px solid #ececec;
}
aside span:hover {
	background: whitesmoke;
	-webkit-transition: background-color 150ms ease-in-out;
	-moz-transition: background-color 150ms ease-in-out;
	-ms-transition: background-color 150ms ease-in-out;
	-o-transition: background-color 150ms ease-in-out;
	transition: background-color 150ms ease-in-out;
}
aside p em {
	display: inline;
	font-style: normal;
	position: relative;
	width: auto;
	margin: 0;
	padding: 0;
	color: silver;
	cursor: pointer;
	border-bottom: none;
}

aside svg {
	position: relative;
	float: left;
	top: 0px;
	width: 200px;
	height: 200px;
	box-sizing: border-box;
	padding:0;
	margin:0;
	border-bottom:1px solid #ececec;
	box-sizing: border-box;
}

/* A B O U T */

article {
	box-sizing: border-box;
	position: relative;
	float: left;
	margin: 40px 0 0 0;
	padding: 0;
	border:1px solid #ececec;
	display: block;
	background: white;
}
article h1, article p {
	box-sizing: border-box;
	position: relative;
	float: left;
	width: 100%;
	margin: 0;
}
article h1 {
	padding: 40px 20px 10px 20px;
	color: tomato;
}
article h1 span {
	position: relative;
	float: right;
	margin:0;
	padding:0;
	color: silver;
}

article p {
	font-family: Cinetype, 'Courier New', monospace;
	font-size: 15px;
	line-height: 20px;
	font-weight: normal;
	font-variant-ligatures: none;
	margin: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	padding: 10px 20px;
	color: forestgreen;
}

article sup {
	font-family: America, 'Courier New', monospace;
	font-size: 12px;
	line-height: 20px;
	font-weight: normal;
	font-style: normal;
	font-variant-ligatures: none;
	margin:0;
	padding:0;
	vertical-align: baseline;
  	position: relative;
  	top: -0.5em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	color: royalblue;
}

article p.footnote {
	font-size: 12px;
	line-height: 20px;
	padding: 15px 20px 0 20px;
	top:0;
	margin: 0;
	display: inline-block;
	box-sizing: border-box;
	width: 100%;
	color: lightslategrey;
	position: relative;
}

article p.footnote:last-of-type {
	padding: 15px 20px 40px 20px;
}

article a {
	font-size: 12px;
	line-height: 20px;
}

article p:first-of-type a {
	font-size: 15px;
	line-height: 20px;
}

article .table {
	position: relative;
	float: left;
	width: 100%;
	position: relative;
	box-sizing: border-box;
	padding: 10px 20px;
	margin: 0;
	display: inline-block;
}

article .table div {
	position: relative;
	float: left;
	width: 50%;
	margin: 0;
	padding: 10px 20px;
	box-sizing: border-box;
	color: royalblue;
	display: inline-block;
	border: 1px solid #ececec;
	border-bottom: none;
}

article .table div:nth-child(even):not(:first-child) {
	border-right: none;
}

article .table div:nth-last-child(-n+2) {
	border-bottom: 1px solid #ececec;
}

article .table div:first-of-type {
	width:100%;
	color: forestgreen;
	padding:15px 20px;
}

article .note {
	position: relative;
	float: left;
	margin:0;
	padding:10px 30px;
	box-sizing: border-box;
	width:100%;
}

article .note .page {
	position: relative;
	float: left;
	margin:0;
	padding:10px 0;
	border:1px solid #ececec;
	box-sizing: border-box;
	width:100%;
	-ms-transform: rotate(-1.5deg); /* IE 9 */
  	transform: rotate(-1.5deg);
}

article .note .page p:nth-of-type(2) {
	border-top: 1px dashed #ececec;
	margin:10px 0 0 0;
	padding-top:15px;
}

/* N E W S */


section {
	position: absolute;
	top: 40px;
	float: left;
	right: 0;
	left: 0;
	padding: 40px 40px 120px 40px;
	-webkit-transition: left 200ms;
	-moz-transition: left 200ms;
	-ms-transition: left 200ms;
	-o-transition: left 200ms;
	transition: left 200ms;
}
section.news {
	position: absolute;
	float: left;
	padding: 20px 20px 80px 20px;
	top: 0;
	right: 0;
	left: 0;
}


/* C O O K I E S */

div#cookies {
	position: fixed;
	float: left;
	width: 100%;
	height: auto;
	border-bottom: 1px solid #fbceb1;
	background: #fffaf0;
	box-sizing: border-box;
	z-index: 5;
	padding: 0;
	color: #fbceb1;
	display: none;
	top: 40px;
}
div#cookies p {
	padding: 10px 95px 10px 20px;
}
div#cookies p a {
	color: #fbceb1;
	text-decoration: underline;
}
div#cookies p a:hover {
	color: #fbceb1;
	text-decoration: none;
}
div#okay {
	position: absolute;
	float: right;
	height: 100%;
	width: 75px;
	right: 0;
	background: #fffaf0;
	border-left: 1px solid #fbceb1;
	text-align: center;
	cursor: pointer;
	color: #fbceb1;
	display: flex;
	align-items: center;
	justify-content: center;
}
div#okay:hover {
	background: oldlace;
	color: forestgreen;
	-webkit-transition: background-color 150ms ease-in-out;
	-moz-transition: background-color 150ms ease-in-out;
	-ms-transition: background-color 150ms ease-in-out;
	-o-transition: background-color 150ms ease-in-out;
	transition: background-color 150ms ease-in-out;
}

/* S C R E E N * S I Z E S */

/* M A X * 600 PX */

@media (min-width: 0) {
	aside.about {
		display: none;
	}
}

@media (min-width: 600px) {
	
	aside.about {
		display: block;
	}
	.overlay {
		display: none;
	}

	section.news {
		position: absolute;
		float: left;
		padding: 20px 20px 80px 235px;
		top: 0;
		right: 0;
		left: 0;
	}

}




/* N A V I G A T I O N * F L E X */

@media (max-width: 700px) {
	nav ul {
		justify-content: space-between;
	}
	nav li, nav li.left, nav li.right {
		flex-grow: 1;
	}
	nav li.left {
		text-align: left;
	}
	nav li.right {
		text-align: right;
	}
}
@media (max-width: 550px) {
	nav ul {
		flex-flow: column nowrap;
	}
	nav li, nav li.left, nav li.right {
		float: left;
		width: 100%;
		padding: 0;
		border-bottom: 1px solid #ececec;
		text-align: center;
	}
	nav {
		padding: 0;
		border-bottom: none;
	}
	nav li a:link, nav li a:visited, nav li a:active {
		display: block;
		margin: 0;
		padding: 10px 20px;
	}
	nav li a:hover {
		color: tomato;
	}
}