/* screen.css for the standard Jlog <http://jeenaparadies.net/webdesign/jlog/> template.
 *
 * Author:  Jeena Paradies <http://jeenaparadies.net>
 * License: GPL (see LICENSE.txt in this package)
 *
 * Modified by: Robert Bienert
 * HTML5 additions since 2015-12-28
 */

@charset 'utf-8';

@import url(all.css);

html {
	background-color: #369;
}

body {
	font-family: sans-serif;
	color: black;
	max-width: 65em;
	margin: 0 auto;
	background-color: #fc6;
}

/* header */
h1 {
	color: white;
	background-color: #369;
	text-align: center;
	font-size: 1.5em;
	padding: 1.5em 5%;
	margin: 0;
	width: 90%;
}
h1 a:link, h1 a:visited { color: white; text-decoration: none; }
header section a:link, header section a:visited { color: black; }
h1 a:hover { text-decoration: underline; }

header div {
	display: flex;
	background-color: #fc6;
	color: black;
}

header h2 {
	font-size: 1.25em;
	font-weight: bold;
}

header section {
	font-size: 80%;
	/*width: 50%;*/
	margin: 0.5em 1em 1em;
}

header section p, header section dl, header section dt, header section dd {
	display: inline;
}

header dt {
	font-weight: bold;
}
header dt:after {
	content: ': '
}
header dd {
	padding: 0.5em;
	margin: 0;
}

nav, main, footer {
	background: url(img/border.png) repeat-y white;
}

nav, footer {
	font-size: 80%;
}

nav h2 {
	display: none;
}

nav section {
	padding: .25em 1em;
	margin: .5em 0;
	background: url(img/border.png) repeat-y white;
}

nav ul, footer ul {
	padding-left: 0;
	list-style-type: none;
}
nav ul li, footer ul li { margin-bottom: 0.5em; }

main {
	margin: 0;
	padding: 2%;
	background: url(img/border.png) repeat-y white;
}

footer {
	margin: 0;
	/*right: 0;*/
}
footer h2 {
	margin-top: 0;
}

/* -- basic styles -- */
.skip {
	position: absolute;
	left: -5999px;
	width: 5000px;
}
hr {
	background-color: #aaa;
	color: #aaa;
	border: 0 none;
	height: 1px;
	margin: 1em 0;
	clear: both;
}
.error { color: red; }
blockquote {
	background: url(img/border.png) repeat-y;
	padding: 0 0.5em;
	font-style: italic;
}
#searchform { text-align: center; }
.meta.date { margin-top: 0; }
.meta { font-style: italic; font-size: 0.85em; }
.searchword {
	font-style: italic;
	border: 1px dashed black;
}

.clear { clear: both; }

/* -- pictures -- */
main img, #main img { max-width: 95%; }
.fl { float: left; margin: 0 1em 1em 0; }
.fr { float: right; margin: 0 0 1em 1em; }
main img, #main img, figure, dl.img {
	border: 1px solid #aaa;
	padding: 2px;
}
figure, dl.img { margin: 0 auto; }
dl.img dt { padding: 0; margin: 0;}
main dl.img dt img, #main dl.img dt img, figure img {
	margin: 0; padding: 0; max-width: 100%; border: none;
}
dl.img dd, figcaption { margin: 0; padding: 0 0.3em; font-size: 90%; }

.teaser { clear: both; }

/* -- main link styles -- */
a:link	  { color: #258; }
a:visited { color: #555; }
a:hover	  { text-decoration: none; }

/* headlines */
h2, h3, h4, h5, h6 {
	font-weight: normal;
	font-family: sans-serif;
	position: relative;
	z-index: 2;
}
h2 { font-size: 1.7em; margin: 0; }
h3 { font-size: 1.2em; }
h4 { font-size: 1.1em; }
h5 { font-size: 1em; }
h6 { font-size: 0.9em; }
h2 a:link, h2 a:visited, .teaser h3 a:link, .teaser h3 a:visited,
	.teaser h4 a:link, .teaser h4 a:visited
{
	text-decoration: none;
	color: black;
}
h2 a:hover, .teaser h3 a:hover, .teaser h4 a:hover {
	text-decoration: underline;
}
.teaser h3, .teaser h4 { margin: 0; }

/* -- textareas and inputs -- */
fieldset { border: 1px solid #aaa; padding: 1em;  }
legend { padding: 1em; font-weight: bold; }
input.long, input.short, input.userdata, textarea, select {
	background: #f7f7f7;
	border: 1px solid #bbb;
	border-right: 1px solid #d8d8d8;
	border-bottom: 1px solid #D8D8D8;
	font-family: sans-serif;
}

/* -- aditional styles for the home- and searchpage -- */
.teaser h2 { font-size: 1.3em; }
.teaser h3, .teaser h4 { font-weight: bold; }
.teaserpic { float: right; margin: 0 0 1em 1em; }
.entries , .search li { list-style-type: none; }
.search li { border-top: 1px solid #d8d8d8; padding-top: 1em; }
ul.search { margin: auto 5%; padding-left: 0; }
h2.search { text-align: center; }
.archive { margin-left: 5%; }
.archivenavigation { text-align: center; border-top: 1px dotted #aaa; padding-top: 0.7em; margin-top: 2em; }

/* -- comments -- */
p.hidecomments { font-size: 0.75em; text-align: right; line-height: 1px; padding: 0; margin-bottom: 0; }
#preview li { border: solid 1px red; }
ul.comments .meta { font-size: 1.3em; }
ul.comments { list-style-type: none; font-size: 0.9em;}
ul.comments li {
	padding: 0 1em 0.5em 1em;
	margin: 1em 0;
	background: #f7f7f7;
	border: 1px solid #ccc;
	border-left: 1px solid #d8d8d8;
	border-top: 1px solid #D8D8D8;
	overflow-x: scroll;
}
ul.comments li p { margin: 0.5em; }
ul.comments a.permalink {
	font: normal bold 1.5em monospace;
	border-right: 1px solid #d8d8d8;
	text-decoration: none;
	padding-right: 0.2em;
	margin-right: 0.2em;
}
ul.comments a.permalink:hover { text-decoration: underline; }
#pingbackslist { margin-bottom: 3em; }
textarea { width: 90%; min-width: 10em; }

.pwautor {
	border-top: 1px solid #d8d8d8;
	padding-top: 0.5em;
}
.pwkommentar {
	background: url(img/border.png) repeat-y;
	padding: 0 0.5em 0.5em 0.5em;
}
.pwnav {
	list-style-type: none;
	text-align: center;
}
.pwnav li {
	padding: 0em 0.5em;
	display: inline;
}

.pwpflicht {
	border-bottom: 1px dashed black;
	cursor: help;
}
/* Jlogcast-Zucker */
.jlogcasts .oggcast:before {
	content: url(/img/oggcast-icon.png)' ';
}
.jlogcasts .mp3cast:before {
	content: url(/img/mp3cast-icon.png)' ';
}

/* Identi.ca */
.dents {
	font-size: 90%;
	margin-bottom: 1.5em;
	padding-bottom: 1em;
	background: url(img/line.png) repeat-x bottom;
}
.dents h2 { font-size: 1em; font-weight: bold; }
.dents h2:after { content: ': '; }
.dents * { display: inline; }
.dents li { list-style-type: none; }
.dents li:before, .dents li:after { content: '+'; }

@media (max-width:40em) {
	body {
		width: 96%;
	}

	nav h2 {
		margin-bottom: 0;
		display: inline-block;
	}

	nav section {
		display: none;
	}

	nav:target section, nav section:target {
		display: block;
	}

	header section h2,
	nav section h3, nav section > p,
	footer section h3, footer section > p
	{
		margin: 0;
		margin-top: .5em;
	}

	nav section h3 a, footer section h3 a {
		text-decoration: none;
		color: black;
		cursor: pointer;
	}

	header section h2 a:after, nav h2:after, nav section h3 a:after, footer section h3 a:after {
		content: '\23F5';
	}

	header section:target h2 a, nav:target h2, nav section:target h3 a, footer section:target h3 a {
		cursor: default;
	}
	header section:target h2 a:after, nav:target h2:after, nav section:target h3 a:after, footer section:target h3 a:after {
		content: '';
	}

	header section p, header section dl,
	nav section form, nav section input, nav section ul, nav section p, nav .close-nav,
	footer section ul, footer section p
	{
		visibility: hidden;
		height: 0;
		font-size: 0;
		z-index: -1;
	}

	header section:target dl, header section:target p,
	nav:target section, nav:target > .close-nav, nav section:target form, nav section:target input, nav section:target ul, nav section:target p,
	footer section:target ul, footer section:target p
	{
		visibility: visible;
		height: auto;
		font: inherit;
		z-index: auto;
	}

	header section h2, header section .close-nav,
	nav section h3, nav .close-nav,
	footer section h3, footer section .close-nav
	{
		display: inline-block;
	}

	header section:target .close-nav a:before,
	nav:target > .close-nav a:before, nav section:target .close-nav a:before,
	footer section:target .close-nav a:before
	{
		content: '\23F4';
	}

	header dd {
		padding: 0;
	}

	.close-nav {
		font-weight: bold !important;
		margin: 0;
	}

	footer {
		margin-top: 2%;
	}

	footer ul {
		padding-left: 0;
	}

	footer li {
		display: inline-block;
	}
}

@media (max-width: 60em) {
	body {
		width: 90%;
	}
}

@media (min-width:40em) {
	nav {
		position: relative;
		top: 0px;
		left: 0%;
		z-index: 2;
		float: right;
		width: 25%;
		border-bottom: .5em solid #fc6;
	}

	nav ul:first-of-type {
		display: none;
	}
	nav section ul:first-of-type {
		display: block;
	}

	header section h2 a:link, header section h2 a:visited,
	nav section h3 a:link, nav section h3 a:visited,
	footer section h3 a:link, footer section h3 a:visited
	{
		text-decoration: none;
		color: black;
		cursor: default;
	}

	header .close-nav, nav .close-nav, footer section .close-nav {
		display: none;
		visibility: hidden;
	}

	main {
		float: left;
		margin: 0 1.25% 1.25%;
		width: 67.5%;
	}

	footer {
		margin-left: 75%;
		width: 25%;
		position: relative;
		right: 0;
		z-index: 1;
	}
}

.meta {
	font-size: 80%;
}

/* vim: filetype=css
 */
