@media screen, projection {
html {
	overflow-y: scroll;
}
body {
	background: #1c2c16;
	color: #efe;
	font: 100% Georgia, "Times New Roman", Times, serif;
	margin: 0 0 0.5em;
	padding: 0;
}
/*
::-moz-selection {
	background-color: #cf6;
	color: #000;
}
::selection {
	background-color: #cf6;
	color: #000;
}
*/
#container1 {
	margin: auto;
	max-width: 60em; /* 54em are ~80 chars in the Weblog */
}
#container3 {
	padding: 0 0 17px 0;
}
#body {
	background: #363 url(/prx/000/http/maettig.com/line.png) no-repeat right bottom;
	box-shadow: 0 0 17px rgba(0, 0, 0, 0.7);
}
#clearfix {
	clear: both;
	height: 1px;
	margin: 1em 0 -1px;
}
#top {
	background: #777 url(/prx/000/http/maettig.com/topline.png) no-repeat right top;
	font-size: 18px;
	font-weight: bold;
	height: 26px;
	image-rendering: -webkit-optimize-contrast; /* Webkit support for "pixelated" is unknown */
	image-rendering: -moz-crisp-edges; /* Firefox currently does not support "pixelated" */
	image-rendering: pixelated;
	margin: 0;
	overflow: hidden;
	padding: 6px 0 0;
	text-align: right;
}
#top img {
	border: 0;
	color: #FFF;
	image-rendering: auto;
}
#menu {
	background: #363;
	float: right;
	image-rendering: -webkit-optimize-contrast; /* Webkit support for "pixelated" is unknown */
	image-rendering: -moz-crisp-edges; /* Firefox currently does not support "pixelated" */
	image-rendering: pixelated;
	margin: 0;
	overflow: hidden;
	padding: 0;
	text-align: right;
	width: 18ex;
}
#menu li {
	display: block;
	font-size: larger;
	list-style-type: none;
	margin: 0;
	padding: 0;
}
#menu a {
	background: url(/prx/000/http/maettig.com/line.png) no-repeat right bottom;
	display: block;
	hyphens: auto;
	padding: 3px 2px 9px 0;
	text-decoration: none;
	word-wrap: break-word;
}
#menu a:hover {
	background-color: #666;
	color: #FFF;
}
#menu li.folderopen {
	background: url(/prx/000/http/maettig.com/line.png) no-repeat right bottom;
	font-weight: bold;
	padding-bottom: 6px;
}
#menu li.folderopen > a {
	color: #FFF;
}
#menu ul {
	margin: 0;
	padding: 0;
}
#menu li li {
	font-size: small;
	font-weight: normal;
}
#menu li li a,
#menu li.folderopen a {
	background-image: none;
	padding-bottom: 3px;
}
#content {
	background: #193311;
	margin: 0 18ex 0 0;
	overflow: hidden; /* Create a new block formatting context, critical for float and clear inside #content */
	padding: 1.5em 1em 1em;
}
#content h1 {
	font-size: 150%;
	margin-top: 2em;
}
#content h1:first-child,
#content :empty + h1 {
	margin-top: 0;
}
#content h2,
#content h3,
#content h4,
#content h5 {
	letter-spacing: 1px;
	margin-top: 1.5em;
}
#content h2 {
	border-bottom: 1px solid #363;
	font-size: 150%;
	font-weight: normal;
}
#content h2:target,
#content h3:target {
	border-bottom: 1px solid #efe;
}
#content dd > h2:first-child,
#content dd > h3:first-child,
#content dd > h4:first-child,
#content dd > h5:first-child {
	margin-top: 0;
}
#content dd > h3 {
	font-weight: normal;
}

a.ext {
	background: url(/prx/000/http/maettig.com/link.png) no-repeat 0 50%;
	background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='9' height='9'><path fill='none' stroke='%234a7238' d='M4 2.5H.5v6h6V5'/><path fill='none' stroke='%2389aa78' d='M2.25 6.75 8 1M5 .5H8.5V4'/></svg>");
	padding-left: 11px;
}
a.file,
a.pdf {
	background: url(/prx/000/http/maettig.com/file.png) no-repeat 0 50%;
	background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='9' height='9'><path fill='none' stroke='%234a7238' d='M3 .5H.5v8h8v-8H6'/><path fill='none' stroke='%2389aa78' d='M4.5 0 4.5 5.5 6.75 4.25 4.5 6.5 2.25 4.25 4.5 5.5'/></svg>");
	padding-left: 11px;
}
a.file[href$=".gif"],
a.file[href$=".jpg"],
a.file[href$=".jpeg"],
a.file[href$=".png"],
a.file[href$=".svg"] {
	background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='9' height='9'><path fill='none' stroke='%234a7238' d='m 6,0.5 h 2.5 v 8 h -8 V 6'/><path fill='none' stroke='%2389aa78' d='M 4,4 6.25,5.875 5.875,6.25 z'/><circle fill='none' stroke='%2389aa78' cx='2.5' cy='2.5' r='2'/></svg>");
}
a.file[href$=".zip"] {
	background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='9' height='9'><path fill='none' stroke='%2389aa78' d='m2.5 .5 1 1 -1 1 1 1 -1 1 1 1 -1 1 1 1 -1 1'/><rect fill='none' stroke='%234a7238' x='.5' y='.5' width='8' height='8'/></svg>");
}
a:link {
	color: #CF6;
}
a:visited {
	color: #CF9;
	text-decoration: underline;
}
a:active,
a:hover {
	color: #FF0;
	opacity: 1;
	text-decoration: none;
}
.permalink:link,
.permalink:visited {
	color: #FFF;
	text-decoration: none;
}
.permalink:active,
.permalink:hover {
	color: #FF0;
	text-decoration: none;
}

img {
	border-color: #FFF;
	border-style: none;
	border-width: 1px;
}
img[border="1"],
.foto {
	border-style: solid;
}
.foto {
	background: #FFF;
	border-color: #CCC;
	color: #000;
	margin: 0.8em 0;
	padding: 0.4em;
}
a:hover img {
	border-color: #FF0;
}

dt {
	font-size: smaller;
	font-style: italic;
	margin-top: 5ex;
}
dd {
	line-height: 1.4em;
	margin-bottom: 1ex;
}
dd.comments {
	font-size: smaller;
	margin-bottom: 5ex;
}

.pagination {
	font-size: 20px;
}
.pagination a {
	margin: 0 -8px;
	padding: 4px 16px;
	white-space: nowrap;
}

.separated > li {
	margin-bottom: 1em;
}
ins {
	text-decoration: none;
}
code,
kbd,
samp,
.code {
	background: #3F443D;
	border-radius: 2px;
	font: 92% "Lucida Console", "Courier New", Courier, monospace;
	padding: 0 .4em;
}
.code {
	border: 1px dashed #727770;
	margin: 0.8em 0;
	padding: .6em .8em;
}
kbd {
	background-color: #595959;
	background-image: linear-gradient(rgba(255, 255, 255, .2), rgba(0, 0, 0, .2));
	border: 1px solid;
	border-color: #bbb #444 #222 #888;
	color: #fff;
	margin: 0 2px;
	text-shadow: 0 1px #000;
	white-space: nowrap;
}
blockquote,
cite,
q {
	color: #F7FFCC;
	font-size: 108%;
	font-style: italic;
}
q {
	quotes: '' '' '' '';
}
q:before,
q:after {
	content: '';
}
acronym[title] {
	border-bottom: 1px dotted #A5AAA3;
	cursor: help;
	position: relative;
	text-decoration: none;
}
acronym[title] > span {
	display: none;
}
acronym[title]:hover {
	/* Remove the yellow background from search res[5~ults */
	background-color: #193311;
	border-color: #fff;
	color: #fff;
}
@media (any-hover: none) {
	acronym[title]:hover {
		border: 0;
	}
	acronym[title]:hover > span {
		border: 4px solid transparent;
		border-right-color: #fff;
		border-left-width: 0;
		content: "";
/*
		left: 0;
		position: absolute;
		top: 18px;
		z-index: 2;
*/
		display: inline-block;
		margin: 0 0 1px 4px;
		position: relative;
	}
	acronym[title]:hover::after {
		background-color: #333;
		border-radius: 2px;
		box-shadow: 0 4px 8px 0 #000, 0 0 2px inset #fff;
		color: #fff;
		content: attr(title);
		font-weight: normal;
/*
		background-color: rgba(20%, 20%, 20%, 0.9);
		font-size: 16px;
		left: -8px;
		line-height: 1;
		min-width: 5em;
		padding: 6px 8px;
		position: absolute;
		top: 22px;
		white-space: nowrap;
		word-break: break-word;
		z-index: 1;
*/
		margin-right: 4px;
		padding: 3px 8px;
	}
}

.feedIcon:link,
.feedIcon:visited {
	background: #F60;
	border: 1px solid;
	border-color: #FCA #730 #420 #F95;
	color: #FFF;
	font: bold 10px Verdana, sans-serif;
	margin: 0;
	padding: 0 4px;
	text-decoration: none;
}
.feedIcon:hover {
	border-color: #420 #F95 #FCA #730;
}

#form textarea,
#form input[type=text] {
	box-sizing: border-box;
	margin-bottom: 0.3em;
	max-width: 100%;
}

.apache-mod-autoindex img[alt="[PARENTDIR]"] {
	margin: 1em 0;
	vertical-align: middle;
}

}

@media screen and (max-width: 50em) {
	#content > dl > dd,
	#content > div > dl > dd {
		margin-left: 0;
	}
}

@media screen and (max-width: 40em) {
	#content {
		margin: 0;
	}
	#body {
		background-image: none;
	}
	#menu {
		float: none;
		text-align: center;
		width: auto;
	}
	#menu > li {
		display: inline-block;
		width: 25%;
	}
	#menu a {
		padding-left: 0;
		padding-right: 0;
	}
	#content > dl > dt,
	#content > div > dl > dt {
		font-size: 140%;
		font-weight: lighter;
	}
	#content > dl > dt a,
	#content > div > dl > dt a {
		opacity: 0.5;
	}
	dd {
		margin-left: 0;
	}
}

@media screen and (max-width: 31em) {
	#content {
		padding-left: 0.5em;
		padding-right: 0.5em;
	}
	#menu > li {
		width: 50%;
	}
}

@media screen and (view-mode: minimized) {
	#container1 { min-width: 0; }
	#container2, #container3, #container4 { padding: 0; }
	#menu { display: none; }
	#content { margin: 0; }
	dd { margin-left: 0; }
}

@media print {
	#top, #menu { display: none; }
	ins { text-decoration: none; }
	q { quotes: '' '' '' ''; }
}
