/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}template{display:none}[hidden]{display:none}

/* General layout rules */
html {
	background: rgb(209, 111, 10);
	background: linear-gradient(to bottom, rgb(209, 111, 10) 0%, rgb(231, 172, 21) 400px, rgb(239, 196, 24) 100%);
	background-repeat: repeat-x;
}

body {
	font-family: verdana, tahoma, arial, helvetica, sans-serif;
	font-size: 12px;
	line-height: 16px;
	margin: 8px 8px 24px 8px;
}

.no-scroll {
	overflow-y: hidden;
}

a {
	color: rgb(170, 51, 51);
}

a:hover {
	color: rgb(255, 0, 0);
	text-decoration: none;
}

.hidden {
	display: none;
}

.visible {
	display: block;
}

/* Header */

.scummvm {
	font-family: Trebuchet MS, sans-serif;
	line-height: 19px;
	font-size: 15px;
	white-space: nowrap;
	margin-right: 5px;
	margin-top: 5px;
	text-align: justify;
	letter-spacing: 1.5px;
}

.header-image {
	bottom: -2px;
	position: absolute;
	right: 0;
}

.logo {
	max-width: 280px;
	height: auto;
	position: absolute;
	bottom: 0;
	filter: drop-shadow(1px 1px 2px #0c0c0c);
}

.maniac {
	opacity: 0.2;
	bottom: 30px;
	left: 12px;
	filter: grayscale(100%);
}

.topper {
	height: 29px;
	background: rgb(246, 224, 138);
	border-radius: 8px 8px 0 0;
	position: relative;
}


/* Footer */

footer {
	color: rgba(0, 0, 0, 0.5);
	padding: 15px 0;
	position: relative;
}

footer a {
	color: rgba(0, 0, 0, 0.5);
}

footer a:hover {
	color: rgba(0, 0, 0, 0.5);
	text-decoration: none;
}

.tentacle {
	height: auto;
	width: 100%;
	margin: 0 auto;
	max-width: 160px;
	position: absolute;
	bottom: -60px;
	filter: drop-shadow(-3px 5px 1px #EDBE17);
}

/* Random Screenshot */
.random-screenshot {
	display: block;
	margin: 0 auto;
	width: 100%;
	transform: translateZ(0);
}

.scr-content {
	padding-left: 20px;
}

.screenshot {
	display: inline-block;
	margin-top: 10px;
	padding: 10px;
	margin: 4px;
	width: 215px;
	height: auto;
	background: #ccc;
}

.screenshot img {
	width: 100%;
	height: auto;
	image-rendering: crisp-edges;
}

.gallery {
	text-align: center;
}

.gallery .subhead {
	text-align: left;
}

/* Grid */

.site-wrap {
	max-width: 1440px;
	position: relative;
	margin: 0 auto;
	padding: 0 50px;
}

.col-4-5 {
	width: calc(100% - 135px);
}

.col-1-5 {
	width: 130px;
	position: relative;
}

.col-1-3 {
	width: 33.33%;
}

.col-2-3 {
	width: 66.66%;
}

.col-1-2 {
	width: 50%;
}

.col-1-1 {
	width: 100%;
}

[class*='col-'] {
	float: left;
	padding-right: 8px;
}

.row:after {
	content: "";
	display: table;
	clear: both;
}

*,
*:after,
*:before {
	box-sizing: border-box;
}

.bottom-link {
	padding-left: 15px;
	padding-right: 15px;
	font-weight: bold;
}

header .row .top {
	height: 91px;
	position: relative;
}

.top img {
	max-width: 58%;
}

.float_right {
	float: right;
}

.float_left {
	float: left;
}

.banners a,
.banners form {
	margin: 8px;
	float: left;
	display: block;
}

.banners a img {
	width: 88px;
	height: 37px;
}


/* Responsive Menu */

.menu-trigger,
.nav-trigger {
	display: none;
}

label[for="nav-trigger"] {
	display: none;
	position: absolute;
	right: 8px;
	top: 15px;
	z-index: 2;
	height: 30px;
	width: 30px;
	cursor: pointer;
	background-image: url('/images/nav-trigger.svg');
	background-size: contain;
}

.nav-trigger:checked~label[for="nav-trigger"] {
	position: fixed;
}

.nav-trigger+label,
.site-wrap,
header,
nav {
	transition: right 0.2s ease-in-out;
}

.nav-trigger:checked~.site-wrap nav {
	right: 0;
}

.menu-trigger:checked~dd {
	display: block;
}

/* Content boxes */

#donate-header {
	margin: 5px;
}

.container {
	border-radius: 0 0 8px 8px;
	background: rgb(251, 241, 206);
}

.box {
	margin: 8px;
	border: 1px solid rgb(192, 192, 192);
}

.box .head {
	background: rgb(170, 43, 14);
	background: linear-gradient(to bottom, rgb(205, 129, 111) 0%, rgb(184, 80, 56) 23%, rgb(170, 43, 14) 45%, rgb(168, 39, 9) 100%);
	min-height: 24px;
	color: #fff;
	font-weight: bold;
	padding: 4px;
	width: 100%;
}

.box .head a {
	text-decoration: none;
	color: #fff;
}

.box .head .news-date {
	font-weight: normal;
}

.box .intro {
	background: rgb(192, 192, 192);
	padding: 4px 8px 4px 5px;
}

.box .subhead {
	color: rgb(168, 39, 9);
	font-weight: bold;
	line-height: 300%;
	padding-left: 5px;
	margin: 0px 15px;
	border-bottom: 2px dotted rgb(168, 39, 9);
}

.box .subhead-content {
	margin: 0;
	padding: 10px 20px;
}

.box .content {
	background: rgb(231, 231, 231);
	padding: 8px;
}

.box .content .news-author {
	color: rgb(119, 119, 119);
	font-style: italic;
	margin: 0px 0px -8px 0px;
	position: relative;
	text-align: right;
	top: -8px;
}

.box .content.news img {
	float: right;
	max-width: 100%;	
}

.round-box {
	margin: 8px;
}

.round-box-header {
	background: rgb(246, 225, 158);
	background: linear-gradient(to bottom, rgb(235, 183, 24) 0%, rgb(241, 206, 96) 4%, rgb(246, 225, 158) 46%, rgb(251, 241, 212) 89%, rgb(252, 245, 223) 100%);
	border-left: 1px solid rgb(235, 177, 118);
	border-right: 1px solid rgb(235, 177, 118);
	border-top: 1px solid rgb(235, 177, 118);
	height: 28px;
	border-radius: 8px 8px 0 0;
	padding-left: 18px;
	font: bold large/1.4 "Trebuchet MS", Verdana, Tahoma, Sans-Serif;
	color: #821d06;
	text-shadow: 3px 0 1px #fff;
}

.round-box-content {
	background: #fff;
	border: 1px solid rgb(235, 177, 118);
	border-radius: 8px;
	margin: 0;
	padding: 8px;
	overflow: hidden;
}

.round-box-content.text {
	padding-left: 16px;
}

.round-box-header ~ .round-box-content {
	border-radius: 0 0 8px 8px;
	border-top: 0;
}


/* Navigation menus */

.navigation {
	padding: 0.5em 1.65em;
}

.navigation h4 {
	border-bottom: 1px dotted rgb(168, 39, 9);
	padding-bottom: 4px;
}

.navigation a {
	color: rgb(64, 106, 4);
	text-decoration: none;
	padding: 5px;
}

.navigation ul {
	padding-left: 2.0em;
}

.navigation li {
	color: rgb(251, 241, 206);
	list-style-type: '\27A3';
	margin: 0.5em auto;
}

.intro .text li {
	margin: 0.5em auto;
}


/* Responsive Behavior */

@media (max-width: 769px) {
	/* CSS Rules targeting most tablets in vertical orientation */
	.hide-medium {
		display: none;
	}
	.col-1-2 {
		width: 100%;
	}
	.scummvm {
		font-size: 1.4vw;
	}
	.col-md-2 {
		width: 50%;
	}
	.col-md-1 {
		width: 100%;
	}
}

@media (max-width: 641px) {
	body {
		margin: 0;
	}
	footer {
		padding: 0 8px;
		background: rgb(251, 241, 206);
	}
	.site-wrap {
		padding: 0;
		margin: 0;
	}
	.col-1-2 {
		clear: left;
		width: 100%;
	}
	[class*='col-'] {
		padding-right: 0;
	}
	.logo {
		max-width: 150px;
		width: 100%;
		position: relative;
		top: 8px;
		margin-left: 8px;
	}
	.topper {
		border-radius: 0;
		background: 0;
	}
	.container {
		border-radius: 0;
	}
	header {
		width: 100%;
		height: 58px;
		z-index: 999;
		border-bottom: 1px rgb(169, 169, 169) solid;
	}
	.col-1-5 {
		width: 100%;
	}
	.col-4-5 {
		width: 100%;
	}
	.header-left {
		width: 100%;
	}
	label[for="nav-trigger"] {
		display: block;
		z-index: 91;
		overflow-y: unset;
	}
	.hide-small {
		display: none;
	}
	.col-sm-1 {
		width: 100%;
	}
	nav label {
		display: block;
		width: 100%;
		cursor: pointer;
	}
}

/* Color overrides */
.bg-yellow {
	background: rgb(251, 241, 206);
}
