@font-face {
	font-family: 'Times New Delniit';
	src: local('Times New Delniit Regular'), local('TimesNewDelniit'),
		url('Fonts/TimesNewDelniit.ttf') format('truetype');
}

@font-face {
	font-family: 'Delniit Blocky';
	src: local('Delniit Blocky Regular'), local('DelniitBlocky'),
		url('Fonts/DelniitBlocky.otf') format('opentype');
}

figure {
	display: table;
	width: 1px;
	margin-top: 50px;
	margin-bottom: 50px;
	margin-left: 0px;
	padding: 0px;
	border: 1px solid #DDDDDD;
}

img {
	padding: 0px;
	margin-bottom: 0px;
	image-orientation: from-image;
	max-width: 500px;
	max-height: 400px;
	border: 0px;
}

figcaption {
	padding: 20px;
	font-style: italic;
	font-size: 16px;
	background-color: #555;
	color: #fff;
}

article {
	margin-bottom: 50px;
	padding-bottom: 25px;
	border-bottom: 1px solid #ddd;
}

article:last-of-type {
	border-bottom: none;
}

article.file {
	background: #fff;
	padding-top: 25px;
	margin-bottom: 0px;
	padding-left: 20px;
}

article.file:last-of-type {
	margin-bottom: 20px;
}

article.file:first-child {
	margin-top: -20px;
}

body {
	font-size: 115%;
	margin: 0px;
	max-width: 100vw;
}

div.outerwrapper {
	padding-bottom: 100px;
	padding-left: 100px;
	padding-right: 100px;
	transition: margin-right .5s;
	font-family: "Times New Delniit";
}

#main {
	min-height: 70vh;
}

div.titleheader {
	padding: 25px;
	padding-left: 100px;
	background-color: #555555;
	color: white;
	font-family: "Delniit Blocky";
	background-image: url("Images/headerbg.png");
	background-repeat: no-repeat;
	background-size: cover;
}

nav a {
	font-style: normal;
}

section {
	padding-bottom: 1px;
}

footer {
	border-top: 1px dotted;
	margin-top: 25px;
	margin-bottom: 10px;
}

a.logo {
	text-decoration: none;
}

/* Remove margins and padding from the list, and add a black background color */
div.topnav {
	list-style-type: none;
	margin: 0px;
	display: inline;
}

div.topnav {
	width: 100%;
}

div.topnav button.menu {
	display: inline;
	color: #eee;
	text-align: center;
	padding: 11.5px 16px;
	text-decoration: none;
	transition: 0.3s;
	font-size: 17px;
	background: #333;
	border: none;
	float: left;
	cursor: pointer;
}

div.topnav li.first {
	margin-left: 30px;
}

/* Change background color of links on hover */
div.topnav a:hover {
	background-color: #222;
}

/* Change background color of links on hover */
div.topnav button.menu:hover, div.topnav button.close:hover {
	background-color: #222;
}

p.subtitle {
	font-weight: bold;
	color: #555;
}

p.reference {
	text-indent: -3em;
	padding-left: 3em;
}

h1 {
	font-size: 60px;
}

h2 {
	font-size: 40px;
	margin-top: -200;
	padding-top: 250;
	border-bottom: 1px solid #ddd;
	color: #555;
	text-transform: uppercase;
	padding-left: 100px;
	padding-bottom: 40px;
	font-family: "Times New Delniit";
}

video {
	padding: 0px;
	margin-bottom: 0px;
	image-orientation: from-image;
	max-width: 500px;
	max-height: 500px;
	border: 0px;
}

video.padding {
	margin: 0px;
	height: 0px;
}

table.alignment td {
	vertical-align: top;
}

table.alignment {
	max-width: 100%;
}

div.tablewrapper {
	min-width: 50%;
	max-width: 800px;
}

div.tablewrapper table {
	width: 100%;
	table-layout: fixed;
	border-spacing: 0px;
	margin-bottom: 25px;
}

button h6 {
	text-transform: uppercase;
	font-size: 16px;
	margin: 0px;
}

div.tablewrapper table td, table th {
	border-left: 1px solid #aaa;
	border-right: 1px solid #aaa;
}

div.tablewrapper td:nth-child(6n+2) {
	border-right: 0px;
	border-left: 0px;
}

div.tablewrapper td:nth-child(6n+3) {
	border-left: 0px;
}

div.tablewrapper td:nth-child(6n+4) {
	border-right: 0px;
	border-left: 0px;
}

div.tablewrapper td:nth-child(6n+5) {
	border-left: 0px;
}

div.tablewrapper table tr:first-child td {
	border-top: 1px solid #aaa;
	border-left: 1px solid #aaa;
	border-right: 1px solid #aaa;
	border-bottom: 1px solid #aaa;
	border-left: 1px solid #aaa;
}

div.tablewrapper table tr:last-child td {
	border-bottom: 1px solid #aaa;
}

div.tablewrapper table tr:first-child td:nth-child(6n+2) {
	border-left: 0px;
}

div.tablewrapper table tr:first-child td:nth-child(6n+3) {
	border-left: 0px;
}

div.tablewrapper table tr:nth-child(6n+2) td {
	border-bottom: 1px solid #aaa;
}

div.tablewrapper table tr:nth-child(6n+2) td:first-child {
	border-bottom: 0px;
}

div.tablewrapper table td {
	padding: 5px 20px;
}

h3 {
	font-size: 30px;
	margin-top: 60px;
}

h4 {
	font-size: 25px;
	font-style: oblique;
	margin-top: 30px;
	margin-bottom: 5px;
}

h5 {
	font-size: 20px;
	text-transform: uppercase;
}

button.fold h5 {
	margin: 10px 0px;
}

button.fold h3 {
	margin: 10px 0px;
}

/* Style the buttons that are used to open and close the accordion panel */
button.fold {
	background-color: #eee;
	color: #000;
	cursor: pointer;
	padding-left: 20px;
	width: 100%;
	text-align: left;
	border: none;
	outline: none;
	transition: 0.4s;
	margin-bottom: 20px;
	font-family: "Times New Delniit";
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
button.fold.active, button.fold:hover {
	background-color: #ddd;
}

button.fold.active:hover {
	background-color: #ccc;
}

/* Style the accordion panel. Note: hidden by default */
div.panel {
	padding: 0 0px;
	background-color: white;
	display: none;
}

td button.accordion {
	background: none;
	border: none;
	font-size: 1em;
	font-family: "Times New Delniit";
	cursor: pointer;
}

button.fold:after {
	content: '\02795';
	/* Unicode character for "plus" sign (+) */
	font-size: 13px;
	color: #000;
	float: right;
	margin-left: 5px;
	margin-top: -32.5px;
}

button.fold.active:after {
	content: "\2796";
	/* Unicode character for "minus" sign (-) */
}

button.fold1:after {
	content: '\02795';
	/* Unicode character for "plus" sign (+) */
	font-size: 13px;
	color: #000;
	float: right;
	margin-left: 5px;
	margin-top: -35px;
}

button.fold1.active:after {
	content: "\2796";
	/* Unicode character for "minus" sign (-) */
}

/* Style the buttons that are used to open and close the accordion panel */
button.fold1 {
	background-color: #ddd;
	color: #000;
	cursor: pointer;
	padding-left: 20px;
	width: 100%;
	text-align: left;
	border: none;
	outline: none;
	transition: 0.4s;
	margin-bottom: 20px;
	font-family: "Times New Delniit";
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
button.fold1.active, button.fold1:hover {
	background-color: #ccc;
}

button.fold1.active:hover {
	background-color: #bbb;
}

button.fold1 h4 {
	margin: 10px 0px;
}

article header {
	overflow: auto;
}

img.download {
	float: left;
	height: 20px;
	margin-left: 20px;
}

div.sidebar {
	display: none;
	background: #444;
	height: 100vh;
	float: left;
	color: #eee;
	overflow: auto;
}

div.flex {
	display: flex;
	width: 100%;
	background: #333;
}

button.close {
	color: #eee;
	text-align: center;
	padding: 13.5px 16px;
	text-decoration: none;
	transition: 0.3s;
	font-size: 17px;
	background: #333;
	border: none;
	float: left;
	width: 100%;
	cursor: pointer;
}

div.sidebar button.fold {
	padding-left: 0px;
	padding-right: 10px;
	margin-bottom: 0px;
	background-color: #444;
	border: 1px solid #555;
}

div.sidebar button.fold:after {
	color: #eee;
}

button.close+button.fold {
	border-top: 0px;
}

div.sidebar a.menu_item {
	background: none;
	color: #eee;
	display: block;
	text-align: left;
	padding-left: 35px;
	font-family: "Times New Delniit";
	font-style: normal;
}

div.sidebar a.menu_item:hover, div.sidebar button.fold:hover, div.sidebar button.fold.active {
	background-color: #555;
}

div.sidebar button.fold.active:hover {
	background-color: #666;
}

div.sidebar div.panel {
	background-color: #777;
}

div.sidebar div.panel a.menu_item:hover {
	background-color: #888;
}

div.tablewrapper button.fold1 {
	width: 125%;
}

div.tablewrapper button.fold {
	width: 110%;
}

table td.expand:hover {
	background-color: #eee;
}

table td.expand {
	cursor: pointer;
}

article.article button.fold {
	margin-bottom: 0px;
}

article.article a {
	display: inline-block;
}

article.file a {
	display: inline-block;
}

h6 {
	text-transform: uppercase;
	font-size: 18px;
	margin: 20px 0px;
}

article.article {
	border-bottom: none;
	margin-bottom: 0px;
}

article.article h6 {
	display: inline-block;
}

article.article img.download {
	height: 16px;
}

article.file img.download {
	margin-top: 19px;
}

article.article div.panel {
	padding-left: 20px;
}

article.article div.panel div {
	white-space: pre-wrap;
	padding-bottom: 20px;
}

article.article div.panel div:last-child {
	border-bottom: none;
	padding-bottom: 40px;
}

ul.dotless {
	list-style-type: none;
	padding-left: 40px;
	margin-bottom: 30px;
}

ul.dotless li {
	margin-bottom: 10px;
	text-indent: -30px;
}

div.red h6, div.blue h6 {
	margin-top: 35px;
}

div.red h6, div.red h3 {
	color: red;
}

div.blue {
	border-bottom: 1px solid #ddd;
	padding-bottom: 50px;
}

div.blue h6, div.blue h3 {
	color: blue;
}

div.block {
	padding-top: 30px;
	padding-bottom: 30px;
}

div.columns {
	column-count: 3;
	-webkit-column-count: 3;
	-moz-column-count: 3;
}

div.columns ul {
	padding-left: 30px;
}

table.invisible {
	border-spacing: 0;
	table-layout: fixed;
	width: 40em;
	margin-top: 50px;
	border: 1px solid #ddd;
	display: none;
}

table.invisible th {
	border-bottom: 1px solid #ddd;
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
	text-align: left;
}

table.invisible td {
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
}

button.fold2 {
	background: #fff;
	cursor: pointer;
	border: none;
	font-family: "Times New Delniit";
	font-size: 19;
	padding: 0;
	margin: 0;
	color: #999;
	font-style: oblique;
}

button.fold2:hover {
	color: #777;
}

figure.float {
	float: left;
	margin-right: 30px;
	margin-bottom: 20px;
	margin-top: 5px;
	margin-left: 0px;
}

a {
	text-decoration: none;
	color: #999;
	font-style: oblique;
}

a:hover {
	color: #777;
}

a:visited {
	color: #555;
}

a:visited:hover {
	color: #777;
}

a:visited:active {
	color: #999;
}

a:active {
	color: #555;
}

nav.footer {
	bottom: 0;
	color: #eee;
	background: #333;
	padding-bottom: 10px;
}

nav.footer footer {
	text-align: center;
	font-size: 16;
	padding-top: 5px;
	border: none;
}

img.fullwidth {
	width: 100%;
	max-width: 100%;
	max-height: 100%;
}

figure.fullwidth {
	width: 100%;
}

/* Style the links inside the list items */
div.topnav a {
	display: table-cell;
	color: #eee;
	text-align: center;
	padding: 14px 16px;
	text-decoration: none;
	transition: 0.3s;
	font-size: 17px;
	overflow: hidden;
	background-color: #333;
	font-style: normal;
}

div.topnav a:hover {
	color: #eee;
}

span.IPA {
	font-family: "Times New Roman";
}

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

::-moz-selection {
	/* Code for Firefox */
	color: white;
	background: #999;
}

::selection {
	color: white;
	background: #999;
}

a.download[download]:before {
	/* needed - do not touch */
	content: "download";
	position: absolute;
	opacity: 0;
	/* customizable */
	transition: all 0.15s ease;
	padding: 5px 10px;
	color: #eee;
	font-style: normal;
	font-size: 16;
	font-family: Sans-serif;
	pointer-events: none;
}

a.download[download]:hover:before {
	/* needed - do not touch */
	opacity: 1;
	/* customizable */
	background: #333;
	margin-top: -10px;
	margin-left: 10px;
}

a.download:not([download]):before {
	/* needed - do not touch */
	content: "open";
	position: absolute;
	opacity: 0;
	/* customizable */
	transition: all 0.15s ease;
	padding: 5px 10px;
	color: #eee;
	font-style: normal;
	font-size: 16;
	font-family: Sans-serif;
	pointer-events: none;
}

a.download:not([download]):hover:before {
	/* needed - do not touch */
	opacity: 1;
	/* customizable */
	background: #333;
	margin-top: -10px;
	margin-left: 10px;
}

div.sidebar::-webkit-scrollbar {
	display: none;
}

span.under {
	position: relative;
	display: inline-block;
}

textarea {
	font-family: "Times New Delniit";
	font-size: 18;
	width: 80%;
	height: 150px;
	margin-bottom: 20px;
	resize: none;
}

textarea.output {
	background-color: #eeeeee;
	border: 1px black solid;
}

label {
	font-size: 16;
	margin-right: 20px;
}

input {
	margin-left: 0;
	margin-bottom: 20px;
}

div.keyboard_key {
	outline: 1px solid white;
	text-align: center;
	padding-top: 5px;
	padding-bottom: 7px;
	background-color: #546E7A;
	color: white;
	position: relative;
}

div.keyboard_blank {
	outline: 1px solid white;
	padding-top: 5px;
	padding-bottom: 7px;
	background-color: #546E7A;
}

div.keyboard_key div.english_hint {
	position: absolute;
	top: 3;
	right: 3;
	font-size: 11;
	color: #FF3D00;
}

div.keyboard_key:hover {
	background-color: #607D8B;
}

div.keyboard_key.pressed {
	background-color: #78909C;
}

div.keyboard_key.activated.pressed {
	background-color: #FF3D00;
}

div.keyboard_key.activated {
	background-color: #DD2C00;
}

div.keyboard {
	margin-bottom: 20px;
}

div.keyboard_row {
	display: flex;
}
