html {
	height: 100%;
}

body {
	background: white;
	font-size: 18px;
	margin: 0px;
	padding: 0px;
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

h1, h2, h3, th {
	font-family: "ff-tisa-web-pro", serif;
	font-weight: 600;
}

p, li, h4, td, figcaption, label, summary, blockquote {
	font-family: "proxima-nova", sans-serif;
	font-weight: 300;
}

h4 {
	font-weight: 600;
	margin: 0px;
}

h4 + p {
	margin-top: 0px;
}

a {
	font-family: "proxima-nova", sans-serif;
	text-decoration: none;
	font-weight: 600;
}

h1 a {
	font-family: "ff-tisa-web-pro", serif;
}

a:hover {
	text-decoration: underline;
}

a.important {
	font-family: "ff-tisa-web-pro", serif;
	font-weight: 600;
}

div.content {
	max-width: 1000px;
	margin: 0px auto;
}

h1 {
	font-size: 1.94em;
}


h2 {
	font-size: 1.56em;
}

h3 {
	font-size: 1.25em;
}

h4 {
	font-size: 1em;
	font-weight: 600;
	margin-bottom: 10px;
}

p {
	font-size: 1em;
	margin: 10px 0px;
}

p.details {
	color: #555;
	font-size: 0.9em;
	text-align: center;
}

/* Tables */
table {
	border-collapse: collapse;
}

th {
	background: #eeeeee;
}

th:first-of-type {
	border-radius: 5px 0px 0px 5px;
}

th:last-of-type {
	border-radius: 0px 5px 5px 0px;
}

td {
	padding: 10px;
	border-bottom: 1px solid #d8d8d8;
}


/* Navigation */
body > nav, footer > nav {
	background: #222;
	min-height: 70px;
	flex-shrink: 0;
}

body > nav .content, footer nav .content {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	min-height: 70px;
}

body > nav ul, footer nav ul {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	padding-left: 0px;
}

body > nav li, footer nav li {
	list-style: none;
	font-family: "ff-tisa-web-pro", serif;
	padding-left: 40px
}

body > nav h1, footer nav h1 {
	margin: 0px 0px 5px 0px;
	font-size: 1.66em;
}

body > nav a, footer nav a {
	font-family: "ff-tisa-web-pro", serif;
	color: white;
	text-decoration: none;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

body > nav a:hover, footer nav a:hover {
	text-decoration: underline;
}

body > nav a.button, footer nav a.button {
	border: 1px solid white;
	padding: 1px 10px 3px 10px;
	margin-bottom: -2px;
	border-radius: 5px;
}

body > nav a.button:hover, footer nav a.button:hover {
	text-decoration: none;
	background: white;
	color: #222;
}

#skip-to-content {
	position: absolute;
	top: 0px;
	left: -10000px;
	overflow:hidden;
	width: 1px;
	height: 1px;
	font-family: "proxima-nova", sans-serif;
}

#skip-to-content:focus {
	width: auto;
	height: auto;
	left: 0px;
}

@media(max-width: 850px) {
	body > nav h1 {
		display: none;
	}

	body > nav li, footer nav li {
		margin: 0px 10px;
		padding: 0px 5px;
	}

	div.content {
		padding: 0px 10px;
	}
}

@media(max-width: 550px) {
	nav div.content {
		flex-direction: column;
		align-items: center;
	}

	nav ul {
		display: flex;
		flex-direction: column;
		padding: 0px;
	}

	nav li {
		padding: 0px;
		margin: 10px 0px;
		font-size: 0.9em;
	}
}



/* Buttons */

.button-row {
	margin-top: 30px;
	display: flex;
	justify-content: space-around;
}

.button-row a, .button-row p {
	color: white; 
	background: #229016;
	border-radius: 5px;
	padding: 10px 15px;
	text-decoration: none;
	font-weight: 400;
	text-align: center;
}

.button + .button {
	margin-left: 10px;
}

.button-row a:hover {
	background: #196a10;
}

.button-row p.release {
	background: #222;
	margin: 0px;
}

.button-row .button.big {
	font-size: 0.9em;
}

.button-row .button.big strong {
	font-size: 1.47em;
}

.button-row .button.secondary {
	background: none;
	color: #222;
	border: 1px solid #222;
}

.button-row .button.secondary:hover {
	background: #222;
	color: white;
	border: 1px solid #222;
}


/* Form */

input[type=text], input[type=email], input[type=password] {
	width: 15em;
	height: 1.68em;
	border: 1px solid #9d9e9e;
	border-radius: 3px;
	padding: 0px;
	margin-bottom: 0.625em;
	padding: 0px 0.3125em;
	font-size: 1em;
}

input[type="submit"], .button-list a.button {
	display: inline-block;
	height: 1.81em;
	border: 1px solid #222222;
	background-color: white;
	border-radius: 3px;
	margin: 0px;
	padding: 0px 1.25em;
	font-family: "proxima-nova", sans-serif;
	font-size: 1em;
}

.button-list a.button {
	color: #222;
	height: 1.19em;
	padding: 5px 20px;
	margin-right: 10px;
}

input[type="submit"]:hover, .button-list a.button:hover {
	background: #222222;
	color: #fff;
	cursor: pointer;
	text-decoration: none;
}

form {
	display: inline-flex;
	flex-direction: column;
}

form > .submit {
	display: flex;
	flex-direction: row;
	align-items: baseline;
	justify-content: space-between;
}

form p {
	margin: 0px;
	margin-bottom: 10px;
}

form label.confirm-checkbox {
	font-size: 0.8em;
	margin-left: -15px;
}

hr {
	border: 0px;
	border-top: 1px solid #7d7d7d;
	margin: 50px 100px;
}


/* Main */
main {
	flex-grow: 1;
}


/* Headers */

header h1 {
	font-size: 4em;
	margin: 0px;
	margin-top: 10px;
}

header h2 {
	font-size: 1.77em;
	font-weight: 600;
	color: #7d7d7d;
	margin: -10px 0px 0px 0px;
}


/* Footer */
footer {
	background: #222;
	padding: 10px 0px;
	margin-top: 50px;

	flex-shrink: 0;
}

footer p {
	color: white;
	margin: 5px 0px;
	text-align: center;
}

footer a {
	font-weight: 400;
	color: white;
	text-decoration: underline;
}


/* Two columned Layout */

.two-column {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;;
	align-items: top
}

.two-column section {
	width: 47%;
}

@media(max-width: 800px) {
	.two-column {
		flex-direction: column;
	}

	.two-column section {
		width: 100%;
		margin-top: 20px;
	}
}


/* Cookie Alert */
.cookie-alert {
	background-color: #4B77F2;
}

.cookie-alert div {
	max-width: 850px;
	color: white;
	padding: 10px 5px;
	margin: 0px auto;
	display: flex;
}

.cookie-alert h2 {
	margin: 0px;
	font-size: 1em;
	padding-right: 15px;
}

.cookie-alert p {
	text-align: left;
	font-size: 0.75em;
	margin: 5px 0px;
}

.cookie-alert a {
	color: white;
	text-decoration: underline;
	text-decoration-style: dotted;
}

.cookie-alert a:hover {
	text-decoration-style: solid;
}


/* Privacy */

table.privacy th {
	text-align: left;
	vertical-align: top;
	padding: 10px;
}

table.privacy td {
	vertical-align: top;
	font-size: 0.9em;
}

table.privacy td ul {
	margin: 0px;
	padding: 0px;
	list-style: none;
}

/*Terms*/
#terms-contents li {
	margin: 0px;
}

.psuedo-list td {
	border: 0px;
	vertical-align: top;
}

.psuedo-list td:first-child {
	width: 25px;
}

.psuedo-list tr {
	border: 0px;
}


/*Code*/
pre code {
	color: #FFE6FB;
	background: #130015;
	font-family: monospace;
	font-size: 12px;
	overflow-x: scroll;
	padding: 15px;
	border: 1px solid #cccccc;
	border-radius: 10px;
	display: block;
}

pre code span.kw {
	color: #D11798;
	font-weight: bold;
}

pre code span.string {
	color: #C63B3F;
	font-weight: bold;
	font-style: italic;
}

pre code span.comment {
	color: #04B34E;
	font-weight: bold;
}