/*
----------
Directives
----------
*/

/*******
 * Web fonts
 *******/

@font-face {
	font-family: 'Segoe UI';
	font-weight: 100;
	src: local('Segoe UI Light'), local('Segoe WP Light');
}

@font-face {
	font-family: 'Segoe UI';
	font-style: italic;
	font-weight: 100;
	src: local('Segoe UI Light Italic'), local('Segoe WP Light Italic');
}

@font-face {
	font-family: 'Segoe UI';
	font-weight: 300;
	src: local('Segoe UI Semilight'), local('Segoe WP Semilight'), local('Segoe UI');
}

@font-face {
	font-family: 'Segoe UI';
	font-style: italic;
	font-weight: 300;
	src: local('Segoe UI Semilight Italic'), local('Segoe WP Semilight Italic'), local('Segoe UI Italic');
}

@font-face {
	font-family: 'Segoe UI';
	font-weight: 400;
	src: local('Segoe UI'), local('Segoe WP');
}

@font-face {
	font-family: 'Segoe UI';
	font-style: italic;
	font-weight: 400;
	src: local('Segoe UI Italic'), local('Segoe WP Italic');
}

@font-face {
	font-family: 'Segoe UI';
	font-weight: 600;
	src: local('Segoe UI Semibold'), local('Segoe WP Semibold');
}

@font-face {
	font-family: 'Segoe UI';
	font-style: italic;
	font-weight: 600;
	src: local('Segoe UI Semibold Italic'), local('Segoe WP Semibold Italic');
}

@font-face {
	font-family: 'winjs-symbols';
	font-style: normal;
	font-weight: normal;
	src: url('https://files.novalistic.com/fonts/winjs/winjs-symbols.eot');
	src: url('https://files.novalistic.com/fonts/winjs/winjs-symbols.eot#iefix') format('embedded-opentype'),
	     url('https://files.novalistic.com/fonts/winjs/winjs-symbols.woff') format('woff'),
	     url('https://files.novalistic.com/fonts/winjs/winjs-symbols.ttf') format('truetype');
}

/*******
 * Animations
 *******/

@keyframes tile-flip-front {
	0%, 45% { transform: rotateX(0deg); }
	50%, 95% { transform: rotateX(-180deg); }
	100% { transform: rotateX(-360deg); }
}

@keyframes tile-flip-back {
	0%, 45% { transform: rotateX(180deg); }
	50%, 95% { transform: rotateX(0deg); }
	100% { transform: rotateX(-180deg); }
}

/*
---------
Normalize
---------
*/

::selection {
	text-shadow: none;
	background-color: #639;
	background-color: rebeccapurple;
}

article, aside, details, figcaption, figure, footer, header, main, menu, nav, section, summary {
	display: block;
}

audio, canvas, progress, video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

html {
	position: relative;
	min-height: 100%;
	font: 300 1.125em/1.333 'Segoe UI', -apple-system, sans-serif;
	text-shadow: 0 1px 2px #000;
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	color: #fff;
	background: #000 center -180px / 2000px auto no-repeat fixed;
	overflow-y: scroll;
}

body, body > nav > div {
	width: 90%;
	max-width: 1150px;
	margin: auto;
}

body {
	margin-bottom: 8em;
}

@media only screen and (max-width: 750px) {
	body {
		margin-bottom: 0;
	}
}

[hidden], template {
	display: none;
}

a {
	text-decoration: underline;
	background-color: transparent;
	transition: text-shadow 0.15s linear;
}

a:link {
	color: rgb(255, 255, 0);
}

a:visited {
	color: rgb(221, 160, 221);
}

blockquote a:link, figcaption a:link, blockquote a:visited, figcaption a:visited {
	color: #fff;
}

a:active {
	color: rgb(255, 165, 0);
}

a:hover, a:focus, a:hover > h1, a:focus > h1, a:hover > h2, a:focus > h2, a:hover > h3, a:focus > h3, a:hover > h4, a:focus > h4 {
	text-shadow: 0 0 0.5em currentColor;
	text-shadow: 0 0 0.5em 0.025em currentColor;
}

a:focus {
	outline: thin dotted;
}

h1, h2, h3, h4 {
	font-weight: 100;
	font: -apple-system-headline;
	line-height: 1.2;
}

h2:target, h3:target, h4:target {
	margin-top: -3.333rem;
	padding-top: 3.333rem;
}

a h1, a h2, a h3, a h4 {
	color: #fff;
}

h1 {
	font-size: 2.222em;
	line-height: 1.125;
	margin: 0.15em 0 0;
}

h2 {
	font-size: 1.778em;
	margin: 0.5625em 0;
}

h3 {
	font-size: 1.5em;
	margin: 0.667em 0;
}

h4 {
	font-size: 1.333em;
	margin: 0.75em 0;
}

@media only screen and (max-width: 560px), only screen and (orientation: landscape) and (max-width: 750px) {
	h1 {
		font-size: 2em;
	}
	
	h2 {
		font-size: 1.667em;
		margin: 0.6em 0;
	}
	
	h3 {
		font-size: 1.333em;
		margin: 0.75em 0;
	}
	
	h4 {
		font-size: 1.167em;
		font-weight: 300;
		margin: 0.9em 0;
	}
}

abbr[title], dfn[title] {
	text-decoration: underline;
	text-decoration: underline dotted;
	border-bottom: 0;
	cursor: help;
}

main aside {
	font-style: italic;
	color: #aaa;
	color: rgba(255, 255, 255, 0.667);
}

.form-errors, .form-success, .hello-code, aside.important {
	font-style: normal;
	color: #fff;
}

b, kbd, strong {
	font-weight: 600;
}

strong > strong {
	font-style: italic;
}

kbd {
	font-family: 'Segoe UI', -apple-system, sans-serif;
}

aside.important, blockquote, figure, pre, table, td, th {
	background-color: rgba(0, 0, 0, 0.6);
	background-clip: padding-box;
	margin: 1.5em;
	border: 2px solid #fff;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

aside.important, blockquote {
	padding: 0 1em;
}

blockquote > blockquote, blockquote > pre {
	margin-right: 0;
	margin-left: 0;
}

cite {
	font-style: normal;
}

code, pre, kbd > kbd, samp, textarea.code {
	font-family: Consolas, Menlo, 'DejaVu Sans Mono', monospace;
	font-size: 0.778em;
	font-weight: 400;
}

pre > code, pre > samp {
	display: block;
	font-size: 1em;
	white-space: pre;
	background-color: transparent;
	margin: -0.643em;
	padding: 0.643em;
	overflow: auto;
}

dfn {
	font-style: italic;
}

hr {
	height: 0;
	box-sizing: content-box;
}

mark {
	color: #000;
	background-color: #ff0;
}

p {
	margin: 1em 0;
}

aside.important > p:first-of-type::before {
	content: '\26a0\a0';
	font-family: 'Segoe UI Emoji';
}

li > p {
	margin: 0.5em 0;
}

pre {
	white-space: pre-wrap;
	margin: 1.929em;
	padding: 0.643em;
}

@media only screen and (max-width: 560px) {
	aside.important, blockquote, pre {
		margin-right: 0;
		margin-left: 0;
	}
	
	blockquote > pre {
		margin-right: -1.429em;
		margin-left: -1.429em;
		padding-right: 1.279em;
		padding-left: 1.279em;
	}
}

q {
	quotes: '\201c' '\201d' '\2018' '\2019';
}

small {
	font-size: 75%;
}

sub, sup {
	position: relative;
	font-size: 75%;
	line-height: 0;
	vertical-align: baseline;
}

sup { top: -0.5em; }
sub { bottom: -0.25em; }

img {
	max-width: 100%;
	height: auto;
	border: 0;
}

img.center, figure.center {
	display: table;
	margin: 1.5em auto;
}

img.left, figure.left {
	float: left;
	margin: 0 1em 1em 0;
}

img.right, figure.right {
	float: right;
	margin: 0 0 1em 1em;
}

@media only screen and (max-width: 400px) {
	img.left, figure.left, img.right, figure.right {
		float: none;
		margin: 1.5em auto;
	}
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	display: table;
	text-align: center;
	margin-right: auto;
	margin-left: auto;
}

figure img {
	display: block;
	margin: auto;
}

@media not screen and (max-width: 1000px) {
	figure > div {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: center;
	}
	
	figure > div > img {
		display: inline;
		margin: 0;
	}
}

figcaption, caption {
	font-size: 0.889em;
	padding: 0.25em 0.5em 0.5em;
}

fieldset {
	margin: 0 2px;
	border: 1px solid #c0c0c0;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

span.required {
	color: #f00;
}

label.required::after {
	content: '\a0*';
	color: #f00;
}

button, input, select, textarea {
	font-family: inherit;
	font-size: 100%;
	font-weight: inherit;
	line-height: inherit;
	color: #fff;
	background-color: transparent;
	background-color: rgba(255, 255, 255, 0.2);
	margin: 0;
	border: 0;
	-webkit-border-radius: 0;
	padding: 0.5em 0.75em;
	transition-property: color, background-color;
	transition-duration: 0.15s;
	transition-timing-function: linear;
}

button:hover, button:focus, input:hover, input:focus, select:hover, select:focus, textarea:hover, textarea:focus {
	transition-duration: 0.03s;
}

button, input {
	line-height: normal;
}

button::-moz-focus-inner, input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

button, select {
	text-transform: none;
}

button {
	-webkit-appearance: button;
	background-color: rgba(255, 255, 255, 0.35);
	cursor: pointer;
	overflow: visible;
}

button:hover, button:focus {
	background-color: rgba(255, 255, 255, 0.5);
}

input[type="checkbox"], input[type="radio"] {
	padding: 0;
	box-sizing: border-box;
}

input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"] {
	-webkit-appearance: none;
	border-radius: 0;
	box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

input::-moz-placeholder, textarea::-moz-placeholder {
	color: rgba(255, 255, 255, 0.5);
	opacity: 1.0;
}

input:-ms-input-placeholder, textarea:-ms-input-placeholder {
	color: rgba(255, 255, 255, 0.5);
}

input::-ms-input-placeholder, textarea::-ms-input-placeholder {
	color: rgba(255, 255, 255, 0.5);
}

input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
	color: rgba(255, 255, 255, 0.5);
}

input::placeholder, textarea::placeholder {
	color: rgba(255, 255, 255, 0.5);
	opacity: 1.0;
}

input:hover, input:focus, select:hover, select:focus, textarea:hover, textarea:focus {
	background-color: rgba(255, 255, 255, 0.25);
}

button:disabled, input:disabled, input:read-only {
	background-color: transparent;
	cursor: default;
	transition-property: none;
}

button:disabled, input:disabled {
	color: rgba(255, 255, 255, 0.5);
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.2);
}

button:disabled {
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}

input:read-only {
	caret-color: transparent;
}

optgroup {
	font-weight: 600;
}

option {
	color: #fff;
	background-color: #000;
	background-color: rgba(0, 0, 0, 0.95);
}

textarea {
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

menu, ol, ul {
	margin: 1em 0;
	padding: 0;
}

nav ol, nav ul {
	list-style-type: none;
	margin: 0;
}

li ol { list-style-type: lower-alpha; }
li li ol { list-style-type: lower-roman; }
li ul { list-style-type: circle; }
li li ul { list-style-type: square; }

li {
	margin: 0 0 0 2em;
}

nav li {
	margin-left: 0;
}

table {
	background-color: transparent;
	margin-right: auto;
	margin-left: auto;
	border-collapse: collapse;
	border-spacing: 0;
}

caption {
	padding-top: 0;
}

td, th {
	text-align: center;
	padding: 0.25em 0.5em;
}

th {
	font-weight: 600;
	color: #000;
	background-color: #fff;
}

tbody > tr > th:first-child, th[scope^="row"] {
	text-align: left;
}

/*
-----------------------
NOVALISTIC 5.0 "Veldin"
-----------------------
*/

/*******
 * Navigation
 *******/

body > label, body > input {
	display: none;
}

body > nav {
	position: fixed;
	height: 3.333em;
	top: 0;
	right: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.95) center -180px / 2000px auto no-repeat;
	z-index: 1;
}

html.home > body > nav {
	display: none;
}

@media only screen and (min-height: 700px) {
	html, body > nav { background-position: center -130px; }
}

@media only screen and (min-height: 800px) {
	html, body > nav { background-position: center -80px; }
}

@media only screen and (min-height: 900px) {
	html, body > nav { background-position: center -30px; }
}

@media only screen and (max-width: 560px), only screen and (orientation: landscape) and (max-width: 750px) {
	html {
		background-position: center -55px;
		background-size: 1000px auto;
	}
}

body > nav > div {
	position: relative;
}

body > nav > div, body > nav > div > label, body > nav > div > form, body > nav > div > ul {
	height: 100%;
}

body > nav > div > form {
	float: right;
	position: relative;
	min-width: 2.333em;
	height: 2.333em;
	margin: 0.5em 0 0.5em 0.5em;
	overflow: hidden;
}

body > nav > div > form > label, body > nav > div > form > button > span {
	position: absolute;
	clip: rect(0, 0, 0, 0);
}

body > nav > div > form > input, body > nav > div > form > button {
	display: block;
	float: left;
	line-height: 2.333em;
}

body > nav > div > form > input {
	width: 11.5em;
	height: 2.333em;
	padding: 0 3.083em 0 0.75em;
}

body > nav > div > form:hover > input {
	background-color: rgba(255, 255, 255, 0.25);
}

body > nav > div > form > button {
	position: absolute;
	width: 2.333em;
	right: 0;
	padding: 0;
	background-color: transparent;
}

body > nav > div > form > input:hover + button, body > nav > div > form > input:focus + button, body > nav > div > form > button:hover, body > nav > div > form > button:focus {
	color: #fff;
}

body > nav > div > form > button:hover, body > nav > div > form > button:focus {
	background-color: rgba(255, 255, 255, 0.333);
}

body > nav > div > form > button::before {
	content: '\e11a';
	font-family: 'Segoe MDL2 Assets', 'winjs-symbols';
}

body > nav > div > ul, body > nav > div > ul > li, #nav-home {
	float: left;
}

body > nav > div > ul {
	width: 100%;
	margin-left: -15.833em;
}

body > nav > div > ul:first-child, body > nav > div > ul:first-child > #nav-home {
	margin-left: 0;
}

body > nav > div > ul > li > a {
	display: block;
	font-size: 1.333em;
	line-height: 2.5em;
	text-align: center;
	text-transform: lowercase;
	padding: 0 0.5em;
	overflow: hidden;
	transition-property: text-shadow, color, background-color;
}

body > nav > div > ul > li.here > a {
	color: #fff;
}

body > nav > div > ul > li > a:hover, body > nav > div > ul > li > a:focus {
	background-color: rgba(255, 255, 255, 0.2);
	transition-duration: 0.03s;
}

#nav-home {
	margin-left: 15.833em;
}

#nav-home > a, #nav-home > a > img {
	display: block;
}

#nav-home > a {
	width: 60px;
	height: 60px;
	padding: 0;
}

#nav-home > a > img {
	float: left;
	height: 48px;
	margin: 6px;
}

body > nav > div > ul > li > a > span {
	display: none;
}

@media only screen and (max-width: 1000px) {
	body > nav > div > form > input {
		display: none;
	}
	
	body > nav > div > form > input + button {
		background-color: transparent;
	}
	
	body > nav > div > ul {
		margin-left: -2.833em;
	}
	
	#nav-home {
		margin-left: 2.833em;
	}
	
	body > nav > div > ul > li > a {
		font-size: 1.167em;
		line-height: 2.857em;
	}
}

@media only screen and (max-width: 660px) {
	body > nav > div > ul > li > a {
		font-size: 1em;
		line-height: 3.333em;
	}
}

@media only screen and (max-width: 560px), only screen and (orientation: landscape) and (max-width: 750px) {
	body > input, body > label, html > body > nav, html.home > body > nav {
		display: block;
	}
	
	body > input, body > label {
		position: fixed;
	}
	
	body > input {
		clip: rect(0, 0, 0, 0);
	}
	
	body > label {
		height: 60px;
		top: 0;
		right: 0;
		left: 0;
		z-index: 2;
	}
	
	body > label::before, body > label::after {
		width: 60px;
		height: 60px;
		font-family: 'Segoe MDL2 Assets', 'winjs-symbols';
		font-size: 1.333em;
		line-height: 2.5em;
		text-align: center;
	}
	
	body > label::before {
		content: '';
		float: left;
		background: url(../images/logos/novalistic/n_96-96.png) 6px 6px / 48px 48px no-repeat;
		margin-left: 5%;
	}
	
	body > input:checked + label::after {
		content: '\e10a';
		float: right;
		width: auto;
		margin-right: 5%;
		padding: 0 0.25em;
		padding: 0 0.5ch;
	}
	
	body > label > span {
		position: absolute;
		opacity: 0.0;
	}
	
	body > input:checked ~ nav {
		height: 100%;
	}
	
	@supports (backdrop-filter: initial) or (-webkit-backdrop-filter: initial) {
		body > nav {
			background-color: rgba(0, 0, 0, 0.8);
			-webkit-backdrop-filter: saturate(150%) blur(30px);
			backdrop-filter: saturate(150%) blur(30px);
		}
	}
	
	html > body > nav {
		background-image: none;
	}
	
	body > nav > div {
		width: 100%;
	}
	
	body > nav > div > form, body > nav > div > ul, body > nav > div > ul > li, #nav-home {
		float: none;
	}
	
	body > nav > div > form {
		width: auto;
		margin: 3.833em calc(5% + 0.5em) 0.5em calc(5% + 0.5em);
	}
	
	body > nav > div > form > input {
		width: calc(100% - 3.833em);
	}
	
	body > nav > div > form > button {
		display: none;
	}
	
	body > input:checked ~ nav > div > form > input, body > input:checked ~ nav > div > form > button {
		display: block;
	}
	
	body > nav > div > ul {
		height: calc(100% - 6.667em);
		margin-left: 0;
		overflow: auto;
		-webkit-overflow-scrolling: touch;
	}
	
	body > nav > div > ul:first-child {
		height: calc(100% - 60px);
		margin-top: 60px;
	}
	
	body > nav > div > ul > li > a {
		display: none;
		font-size: 1.333em;
		line-height: 2;
		text-align: left;
		text-transform: none;
		padding: 0 calc(5% + 0.5em);
		overflow: hidden;
		transition-property: text-shadow, color, background-color;
	}
	
	body > input:checked ~ nav > div > ul > li > a {
		display: block;
	}
	
	#nav-home {
		margin-left: 0;
	}
	
	#nav-home > a {
		display: none;
	}
	
	body > input:checked ~ nav > div > ul > #nav-home > a {
		display: block;
		width: auto;
		height: auto;
		padding: 0 calc(5% + 0.5em);
	}
	
	#nav-home > a > img {
		display: none;
	}
	
	body > nav > div > ul > li > a > span {
		display: inline;
	}
}

/*******
 * Content
 *******/

.green, .rebeccapurple, .teal {
	font-weight: inherit;
	padding: 0 0.25em;
	padding: 0 0.5ch;
}

.green {
	background-color: #0c0;
}

.rebeccapurple {
	background-color: #639;
	background-color: rebeccapurple;
}

.teal {
	background-color: #4ca;
}

.green::selection, .rebeccapurple::selection, .teal::selection {
	color: #639;
	color: rebeccapurple;
	background-color: #fff;
}

.footnotes > hr {
	display: none;
}

.footnotes > ol {
	margin-top: 2em;
}

.footnotes > ol > li {
	font-size: 0.889em;
	margin: 0.5em 0 0.5em 1.5em;
}

.footnotes > ol > li > p {
	margin: 0;
}

.tilegroup + p {
	text-align: right;
	margin-top: 0;
	margin-bottom: 0;
}

.back::before, .prev > a::before, .disclosure::after, .next > a::after {
	display: inline-block;
	font-family: 'Segoe MDL2 Assets', 'winjs-symbols';
	font-size: 0.833em;
}

.back::before, .prev > a::before { content: '\e112'; padding-right: 0.5em; }
.disclosure::after, .next > a::after { content: '\e111'; padding-left: 0.5em; }

.tile {
	display: block;
	float: left;
	position: relative;
	width: 200px;
	height: 200px;
	text-shadow: none;
	background-color: rgba(255, 255, 255, 0.2);
	margin: 0 0 10px 10px;
	border: 0;
}

.tile:hover, .tile:focus {
	text-shadow: none;
}

.tile:focus {
	outline: 0;
}

a.tile:link, a.tile:visited, a.tile:active {
	color: #fff;
}

figure.tile {
	overflow: hidden;
}

.wide.tile {
	width: 410px;
}

.right.tile {
	float: right;
	margin-right: 10px;
	margin-left: 0;
}

.flip.tile {
	background-color: transparent;
}

.tile > article {
	display: block;
	position: relative;
	width: 100%;
	height: 100%;
}

.flip.tile > article {
	perspective: 1200px;
}

.wide.flip.tile > article {
	perspective: 2400px;
}

.tile figure::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	border: 2px solid transparent;
	transition: border-color 0.025s linear;
	z-index: 2;
}

a:hover .tile::after, a:focus .tile::after, .tile:hover figure::after, .tile:focus figure::after {
	border-color: rgba(255, 255, 255, 0.225);
}

.tile figure {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	text-align: left;
	background-color: transparent;
	margin: 0;
	border: 0;
	padding: 0;
	box-sizing: border-box;
	overflow: hidden;
}

.tile figure.notification {
	padding: 0.5em;
}

.flip.tile figure {
	background-color: rgba(255, 255, 255, 0.2);
	animation: tile-flip-front 15s cubic-bezier(0.5, -0.75, 0, 1.6) 0s infinite;
	backface-visibility: hidden;
	transform: rotateX(0deg);
}

.flip.tile figure + figure {
	animation-name: tile-flip-back;
	transform: rotateX(-180deg);
}

.flip.tile figure:only-child {
	animation-name: none;
}

.tile figure[title]::before {
	content: attr(title);
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	font-size: 0.833em;
	white-space: pre-wrap;
	background-color: rgba(0, 0, 0, 0.6);
	padding: 0.6em;
	transform: translateY(-100%);
	transition: transform 0.75s cubic-bezier(0, 0, 0, 1);
	z-index: 1;
}

.tile:hover figure[title]::before, .tile:focus figure[title]::before {
	transform: translateY(0);
}

@media not screen and (hover) {
	.tile figure[title]::before, .tile figure::after {
		display: none;
	}
}

.tile img {
	display: block;
	max-width: none;
	height: 100%;
	margin: auto;
	user-select: none;
}

.tile figcaption, .tile h3, .tile p, .tile table {
	margin: 0;
}

.tile figcaption {
	position: absolute;
	width: 100%;
	bottom: 0;
	left: 0;
	font-size: 1em;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: #fff;
	padding: 0.5em;
	box-sizing: border-box;
	overflow: hidden;
}

.tile h3, .tile p, .tile table {
	line-height: 1.25;
}

@supports (font: -apple-system-headline) {
	.tile h3 {
		font: unset;
	}
}

.tile h3 {
	font-size: 1em;
	font-weight: 300;
	letter-spacing: normal;
}

.tile table, .tile td, .tile th {
	background-color: transparent;
	border: 0;
	padding: 0;
	overflow: visible;
}

.tile table {
	width: 100%;
	text-align: center;
	table-layout: fixed;
}

.tile h3 ~ p, .tile th {
	color: rgb(153, 153, 153);
	color: rgba(255, 255, 255, 0.6);
}

.tile th {
	font-weight: 300;
}

.tile .block {
	font-size: 3em;
	font-weight: 100;
	font: -apple-system;
	text-align: center;
	margin: 0.4em 0;
}

main {
	position: relative;
	padding-top: 3.333em;
	overflow: hidden;
	z-index: 0;
}

@media only screen and (max-width: 560px), only screen and (orientation: landscape) and (max-width: 750px) {
	main {
		padding-top: 3.5em;
	}
}

header + footer {
	font-size: 0.889em;
	margin-top: 0.25em;
}

header + footer > p {
	display: inline;
}

header + footer > p ~ p {
	margin-left: 0.75em;
}

header + footer > p::before {
	font-family: 'Segoe MDL2 Assets', 'winjs-symbols';
	vertical-align: top;
}

header + footer > p.desktop::before { content: ' \ec4e\a0\a0'; }
header + footer > p.laptop::before { content: ' \e770\a0\a0'; }
header + footer > p.tablet::before { content: ' \e70a\a0\a0'; }
header + footer > p.phone::before { content: ' \e8ea\a0\a0'; }
header + footer > p.pmp::before { content: ' \e7f6\a0\a0'; }
header + footer > p.camera::before { content: ' \e722\a0\a0'; }

header + footer > p.date::before { content: ' \e163\a0\a0'; }
header + footer > p.tags::before { content: ' \e1cb\a0\a0'; }
header + footer > p.comments::before { content: ' \e134\a0\a0'; }
header + footer > p.link::before { content: ' \e167\a0\a0'; }
header + footer > p.edit::before { content: ' \e104\a0\a0'; }

html.home > body {
	width: 96%;
}

main.home {
	display: table;
	width: 100%;
	padding-top: 0;
	padding-bottom: 3em;
	table-layout: fixed;
}

main.home > header {
	display: table-caption;
	text-align: center;
}

main.home > header > h1 {
	position: relative;
	max-width: 560px;
	height: 128px;
	margin: 105px auto 120px;
	overflow: hidden;
}

@media only screen and (min-height: 700px) {
	main.home > header > h1 { margin-top: 155px; }
}

@media only screen and (min-height: 800px) {
	main.home > header > h1 { margin-top: 205px; }
}

@media only screen and (min-height: 900px) {
	main.home > header > h1 { margin-top: 255px; }
}

main.home > header > h1 > img {
	float: left;
	font-size: 128px;
	font-weight: 600;
	letter-spacing: -0.05em;
	line-height: 128px;
	text-transform: lowercase;
}

main.home > header > p {
	width: 90%;
	max-width: 35em;
	font-size: 1.333em;
	margin: 0 auto;
}

main.home > section {
	display: table-cell;
	width: 50%;
	padding-top: 3em;
}

main.home > section > h2, main.home > section > p, main.home > section > .tilegroup {
	width: 410px;
	margin-right: auto;
	margin-left: auto;
}

main.home > section > h2 {
	margin-top: 0;
	margin-bottom: 0;
}

main.home > section > h2 + p {
	margin-top: 0.5em;
}

main.home > section > .tilegroup {
	width: 430px;
	margin-top: 1em;
	overflow: hidden;
}

@media only screen and (min-width: 1200px) {
	html.home > body {
		width: 90%;
	}
}

@media only screen and (min-width: 1560px), only screen and (min-width: 660px) and (max-width: 900px) {
	html.home > body {
		width: 93%;
		max-width: 1560px;
	}
	
	main.home > section > h2, main.home > section > p {
		width: 620px;
	}
	
	main.home > section > .tilegroup {
		width: 640px;
	}
}

@media only screen and (max-width: 900px) {
	html.home > body {
		width: auto;
	}
	
	main.home {
		display: block;
	}
	
	main.home > header, main.home > section {
		display: block;
		width: auto;
		margin-right: auto;
		margin-left: auto;
	}
}

@media only screen and (max-width: 560px) {
	main.home > header {
		margin-right: 1em;
		margin-left: 1em;
	}
}

@media only screen and (max-width: 560px), only screen and (orientation: landscape) and (max-width: 750px) {
	main.home > header {
		margin-top: 4em;
	}
	
	main.home > header > h1 {
		max-width: none;
		height: auto;
		font-weight: 100;
		text-transform: none;
		margin: 0.45em 0;
		overflow: visible;
	}
	
	main.home > header > h1 > img:first-of-type {
		display: none;
	}
	
	main.home > header > h1 > img:last-of-type {
		float: none;
		width: 100%;
		max-width: 432px;
		height: auto;
	}
	
	main.home > header > p {
		width: auto;
		font-size: 1em;
	}
}

@media only screen and (max-width: 450px), only screen and (orientation: landscape) and (max-width: 660px) {
	.tile {
		width: 160px;
		height: 160px;
		font-size: 0.8em;
		margin: 0 0 8px 8px;
	}
	
	.wide.tile {
		width: 328px;
	}
	
	.right.tile {
		margin-right: 8px;
	}
	
	.tile h3 {
	}
	
	.tile figure[title]::before {
		font-size: 0.903em;
	}
	
	main.home > section > h2, main.home > section > p {
		width: 328px;
	}
	
	main.home > section > .tilegroup {
		width: 344px;
	}
}

@media only screen and (orientation: landscape) and (max-width: 660px) {
	main.home > section > h2, main.home > section > p {
		width: 496px;
	}
	
	main.home > section > .tilegroup {
		width: 512px;
	}
}

@media only screen and (max-width: 360px), only screen and (orientation: landscape) and (max-width: 520px) {
	.tile {
		width: 140px;
		height: 140px;
		font-size: 0.7em;
		margin: 0 0 7px 7px;
	}
	
	.wide.tile {
		width: 287px;
	}
	
	.right.tile {
		margin-right: 7px;
	}
	
	.tile h3 {
	}
	
	.tile figure[title]::before {
		font-size: 0.952em;
	}
	
	main.home > header > p {
		font-size: 1em;
	}
	
	main.home > section > h2, main.home > section > p {
		width: 287px;
	}
	
	main.home > section > .tilegroup {
		width: 301px;
	}
}

@media only screen and (orientation: landscape) and (max-width: 520px) {
	main.home > section > h2, main.home > section > p {
		width: 434px;
	}
	
	main.home > section > .tilegroup {
		width: 448px;
	}
}

@media not screen and (max-width: 1000px) {
	.hello-code {
		display: table;
		width: 100%;
		max-width: none;
		margin: 1.5em 0 1em;
		box-sizing: border-box;
		table-layout: fixed;
	}
	
	.hello-code > pre {
		display: table-cell;
	}
	
	.hello-code > pre:nth-child(2) {
		width: 36%;
		border-right-width: 0;
		border-left-width: 0;
	}
}

main.sitemap > nav > ul {
	margin: 1em 0;
}

main.contact > header, main.contact > form {
	float: left;
	box-sizing: border-box;
}

main.contact > header {
	width: 40%;
	padding-right: 1em;
}

main.contact > form {
	width: 60%;
	padding-left: 1em;
	margin-top: 2.833em;
}

@media only screen and (max-width: 900px) {
	main.contact > header, main.contact > form {
		float: none;
		width: auto;
		padding: 0;
	}
	
	main.contact > form {
		margin-top: 1em;
	}
	
	main.contact > form > aside {
		margin-top: 1.5em;
	}
}

main.products > header, main.products > header > h1 {
	float: left;
}

main.products > header {
	width: 100%;
	margin-bottom: 1em;
}

p.badge > a {
	display: table;
	margin: auto;
}

p.badge > a > img {
	display: block;
	margin: 0;
}

main.products > header > p.badge {
	float: right;
	height: 1.125em;
	font-size: 2.222em;
	margin: 0.1em 0 0;
}

@media only screen and (max-width: 750px) {
	main.products > header, main.products > header > h1, main.products > header > p.badge {
		float: none;
	}
	
	main.products > header > p.badge {
		height: auto;
		font-size: 1em;
		margin: 1em 0;
	}
	
	main.products > header > p.badge > a {
		margin: auto;
	}
}

main.products > article, main.stuff > article {
	max-width: 800px;
	margin: auto;
	padding-top: 2em;
}

main.products > article .tile, main.stuff > article .tile {
	width: 125px;
	height: 125px;
	margin: 0 1em 1em 0;
}

main.products > article .tile img, main.stuff > article .tile img {
	height: 160%;
	margin: -30%;
}

main.products > article > div, main.stuff > article > div {
	overflow: hidden;
}

main.products > article h2, main.stuff > article h2 {
	margin-top: 0.25em;
	transition: text-shadow 0.15s linear;
}

main.products > article h2::after, main.stuff > article h2::after {
	content: '\a0\203a';
}

main.products > article > a:focus, main.stuff > article > a:focus {
	outline: 0;
}

main.products > article > a:focus > h2, main.stuff > article > a:focus > h2 {
	outline: thin dotted;
}

main.products > article p, main.stuff > article p {
	margin-top: 0;
}

main.products .screenshots {
	display: table;
	margin: auto;
}

main.products .screenshots.left { float: left; margin-right: 1em; }
main.products .screenshots.right { float: right; margin-left: 1em; }

main.products .screenshots p {
	display: table-cell;
	padding: 0 0.5em;
}

@media only screen and (min-width: 1200px) {
	main.about > section, main.products > article:not(:only-of-type), main.products > #releasenotes > section:not(:only-of-type), main.stuff > article:not(:only-of-type) {
		float: left;
		width: 50%;
		padding-right: 1em;
		padding-left: 0;
		box-sizing: border-box;
	}
	
	main.about > section:nth-of-type(even), main.products > #releasenotes > section:nth-of-type(even), main.products > article:nth-of-type(even), main.stuff > article:nth-of-type(even) {
		padding-right: 0;
		padding-left: 1em;
	}
	
	main.products > article:nth-of-type(odd), main.stuff > article:nth-of-type(odd) {
		clear: left;
	}
	
	main.about > section > h2:first-child, main.products > #about > h2:first-child, main.products > section h3:first-child {
		margin-top: 0;
	}
	
	main.products > #releasenotes, main.products > #about {
		clear: both;
		overflow: hidden;
	}
}

@media only screen and (max-width: 1000px) {
	main.products > header + .screenshots.right {
		float: none;
		margin: auto;
	}
	
	main.products > header + .screenshots p:first-child { padding-left: 0; }
	main.products > header + .screenshots p:last-child { padding-right: 0; }
}

@media only screen and (max-width: 750px) {
	main.products > article, main.stuff > article {
		padding-top: 1em;
	}
	
	main.products > article .tile, main.stuff > article .tile {
		width: 100px;
		height: 100px;
	}
}

@media only screen and (max-width: 660px) {
	main.products .screenshots p {
		display: block;
		float: left;
	}
	
	main.products .screenshots img {
		width: 180px;
	}
}

@media only screen and (max-width: 560px), only screen and (orientation: landscape) and (max-width: 660px) {
	main.products > article .tile, main.stuff > article .tile {
		width: 80px;
		height: 80px;
	}
	
	main.products > article > div, main.stuff > article > div {
		clear: both;
	}
}

@media only screen and (max-width: 480px) {
	main.products .screenshots p {
		float: none;
		padding: 0;
	}
}

@media only screen and (max-width: 360px) {
	main.products > article .tile, main.stuff > article .tile {
		margin-right: 0.5em;
	}
}

main.battlestation > article > header > h2 {
	margin-bottom: 0;
}

main.battlestation > article > header + footer {
	margin-top: 0;
}

main.battlestation .history {
	margin-right: 0;
	margin-left: 0;
}

main.battlestation .history > caption {
	text-align: left;
	padding-left: 0;
}

form.feedback > p {
	display: table;
	width: 100%;
	margin: 0.5em auto;
}

form.feedback > p > label {
	float: left;
	padding: 0.5em 0;
}

form.feedback > p > .check {
	display: table;
	max-width: 48%;
}

form.feedback > p > .check > input {
	display: table-cell;
}

form.feedback > p > input, form.feedback > p > select, form.feedback > p > textarea {
	box-sizing: border-box;
}

form.feedback > p > input, form.feedback > p > select, form.feedback > p > button {
	float: right;
	width: 50%;
	min-width: 15em;
}

form.feedback > p > textarea {
	width: 100%;
}

@media only screen and (max-width: 560px) {
	form.feedback > p > .check {
		max-width: none;
	}
	
	form.feedback > p > input, form.feedback > p > select, form.feedback > p > button {
		clear: left;
		float: left;
		width: 100%;
	}
	
	form.feedback > p > button {
		margin-top: 0.5em;
	}
}

/*******
 * Footer
 *******/

body > footer {
	position: absolute;
	height: 6em;
	right: 0;
	bottom: 0;
	left: 0;
	font-size: 0.778em;
	line-height: 1.286;
	text-align: center;
	margin: 0 1em;
	padding-bottom: 1em;
}

@media only screen and (max-width: 750px) {
	body > footer {
		position: static;
		height: auto;
		min-height: 6em;
		margin-top: 3.286em;
	}
}

body > footer p {
	margin: 0;
}

body > footer a {
	white-space: nowrap;
}

body > footer nav a {
	margin: 0 0.25em;
	margin: 0 0.5ch;
}