:root {
	--controls-height: 2.5em;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

@media only screen and (min-width: 1200px) {
	article * {
		font-size: medium;
	}
}

article {
	background-color: #111;
	color: #8f8;
	font-size: 16px;
	line-height: 1.4;
	margin: 1em 1.5em;
	max-width: 48em;
	padding: 1em;
}

article a:link,
article a:visited,
article a:hover,
article a:active {
	color: white;
	text-decoration: none;
}

body {
	background-color: #111;
	padding-bottom: 90vh;
}

button {
	appearance: none;
	border: 1px solid #666;
	border-radius: 3px;
	color: #666;
	cursor: pointer;
	font-weight: bold;
	padding: 4px 6px;
}

button:active {
	background-color: #cc0;
}

h1, h2, h3, h4, h5, h6 {
	font-family: sans-serif;
	font-size: medium;
	font-style: normal;
	font-weight: normal;
}

h1 {
	font-weight: bold;
	margin: 0 0 18px 0;
}

h2 {
	font-weight: bold;
	margin: 15px 0;
}

h3 {
	font-style: italic;
	margin: 12px 0;
}

p {
	font-family: consolas, sans-serif;
	margin: 1em 0;
}

table.user {
	border-collapse: collapse;
}

table.user td {
	border: 1px solid #444;
	padding: 2px 4px;
}

ul {
	margin-bottom: 1em;
}

li {
	margin: 0.4em 0 0.4em 1em;
}

#index > li {
	margin-top: 0.5em;
	margin-bottom: 1.5em;
}

.bottom-controls {
	background-color: #ccc;
	top: calc(100vh - var(--controls-height));
	height: var(--controls-height);
	padding: 2px 1em;
	position: fixed;
	width: 100%;
}

.ghost {
	color: #999;
	font-style: italic;
}

.hide {
	display: none;
}

.pw-on {
  background-color: #444;
  border-radius: 5px;
  color: #9f9;
	cursor: pointer;
  display: inline-block;
  padding: 1px 6px;
}

.pw-focus {
  background-color: #cc6;
  color: #333;
}

.toc-s a {
	color: #999 !important;
}

.toc_l1 { margin-left: 1em; list-style-type: disc; }
.toc_l2 { margin-left: 2em; list-style-type: circle; }
.toc_l3 { margin-left: 3em; list-style-type: disc; }
.toc_l4 { margin-left: 4em; list-style-type: circle }
.toc_l5 { margin-left: 5em; list-style-type: disc; }
.toc_l6 { margin-left: 6em; list-style-type: circle }
