/* inspired by
 * https://web.archive.org/web/20011214022429/http://www.jagex.com/runescape.html
 */

body {
	background-color: #353e48;
	background: linear-gradient(90deg, #262626, #3e5165);
	font-family: Liberation Sans, Arimo, Arial, Helvetica, sans-serif;
	font-size: 13px;
	margin-left: auto;
	margin-right: auto;
	max-width: 800px;
}

a {
	color: rgb(128, 160, 224);
	text-decoration: underline;
}

h1, h2 {
	margin-top: 10px;
	margin-bottom: 7px;
}

ul {
	padding-left: 1em;
}

pre {
	overflow-x: scroll;
}

.header, .footer {
	color: white;
}

.footer {
	font-size: 80%;
	text-align: center;
}

.header {
	text-align: center;
	font-weight: bold;
}

.header img {
	max-width: 100%;
}

.section {
	border: 2px solid rgb(170, 187, 187);
	padding-left: 7px;
	padding-right: 7px;
	margin-bottom: 15px;
	background-color: black;
	color: white;
}

.section .icon {
	display: inline;
	float: right;
	padding-top: 5px;
}

.play, .manual,
.community, .hiscores {
	display: inline-block;
	width: 45%;
	height: 200px;
	vertical-align: top;
}

.play p, .manual p,
.community p, .hiscores p {
	max-width: 90%;
}

.main {
	width: 94%;
}

.play, .manual, .community {
	margin-right: 10px;
}

.img-previews {
	text-align: center;
}

.img-previews img {
	width: 225px;
	margin-left: 5px;
	margin-right: 5px;
}

.img-previews a {
	text-decoration: none;
}

table {
	border: 1px solid #606070;
	color: white;
	border-spacing: 0;
	border-collapse: collapse;
	margin-bottom: 10px;
}

table td {
	border: 1px solid #606070;
}

table th {
	background-color: #606070;
	font-weight: bold;
	padding-right: 80px;
	text-align: left;
}

.hs-display {
	display: table;
	margin-bottom: 1em;
	width: 100%;
}

.hs-options {
	border: 1px solid #606070;
	display: table-cell;
	vertical-align: top;
	width: 30%;
}

.hs-options h2 {
	background-color: #606070;
	font-size: 13px;
	padding-left: 3px;
	padding-top: 3px;
	padding-bottom: 3px;
	margin-top: 0;
}

.hs-options ul {
	padding-left: 3px;
}

.hs-options li {
	list-style-type: none;
	padding-right: 5px;
}

.hs-table {
	display: table-cell;
	vertical-align: top;
	width: 70%;
}

.hs-table table {
	width: 100%;
}

.hs-table th {
	padding-top: 3px;
	padding-bottom: 2px;
	margin-top: 0;
}

.hs-page {
	text-align: center;
}

.game {
	text-align: center;
	padding-top: 2em;
	padding-bottom: 2em;
}

.game iframe {
	border: 0;
	overflow: hidden;
	margin-bottom: 2em;
}

input {
	background-color: #111;
	color: #ccc;
	border: 1px solid #333;
	margin-bottom: 5px;
}

input[type=submit],
input[type=button] {
	padding-left: 15px;
	padding-right: 15px;
	margin-top: 10px;
	margin-bottom: 10px;
	font-weight: bold;
}

.register_details label {
	display: inline-block;
	min-width: 150px;
}

.calculator label {
	display: inline-block;
	min-width: 150px;
}

.calculator select {
	margin-bottom: 0.25em;
}

@media screen and (max-width: 800px) {
	.play, .manual,
	.community, .hiscores {
		display: block;
		width: 94%;
	}

	table th {
		padding-right: 0px;
	}

	.hs-display {
		display: block;
	}

	.hs-options {
		display: block;
		width: 100%;
	}

	.hs-table {
		display: block;
		width: 100%;
	}

	.register_details label {
		display: block;
		min-width: 0;
		margin-bottom: 0.5em;
	}
}

hr {
	border: 0;
	border-top: 1px solid rgb(170, 187, 187);
	border-bottom: 1px solid rgb(170, 187, 187);
	margin-top: 1.5em;
	margin-bottom: 1.5em;
}

.quote {
	max-width: 48em;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}
