/**
 * schernikau.net xhtml/css
 *
 * wordpress based theme for the schernikau website
 *
 * this theme is based on the code shipped with the translated version of the 
 * kuberick theme in the de-edition. the css has been reduced, semantics have
 * been optimized and useless ids have been adopted to classes as seen.
 *
 * @author    Tom Klingenberg
 * @licensor  schernikau.net
 * @cssdoc    ver 1.0-pre
 * @-wp-theme schernikau
 *
 * @colordef #fff; white (page-background)
 * @colordef #000; black (text-color)
 * @colordef #ec0a0c; rms-red (link-color)
 * @colordef #ddd; light-grey (thread-border-color)
 * @colordef #777; grey (subinfo-color)
 * @fontdef  'Courier New', Coutier, Fixed; 14px; standard fontface
 */


/**
 * reset
 *
 * css reset incl. standard font/em/color
 *
 * @section reset
 */
body, div {margin:0; padding:0;}
h1, h2, h3 ,h4 , h5, h6 {font-size:1em; line-height:normal; margin:0; padding:0;}
html {font-size:100.001%; height:100%;}
body {
	font:87.5%/1.25 'Courier New', Courier, Monospace, Fixed; /* Resets 1em to 14px */
	font-size:14px; /* some browsers do only understand relative pixel metrics, not percental ones. */
	background: #fff;
	color: #000;
	text-align: left;
	text-transform: lowercase; /* @note is it by design or by structure? */
}
p {padding:0; margin:0;}
.skip {display:none;}


/**
 * layout
 * 
 * @todo    html fix
 * @section layout
 */
html {overflow:hidden; background:pink; position:absolute; top:0; right:0; left:0; bottom:0; height:100%;}
head {display:none;}
body {height:100%; overflow:hidden; border:0px solid red; position:absolute; top:0; right:0; left:0; bottom:0;}
	body .page {height:100%; overflow:auto; margin:0 0 0 320px; width:auto;}
		body .page .header {margin:20px 0 0 50px;}
			body .page .header h1 {}
		body .page .content {margin:20px 50px 20px 50px;}

		body .navmid {background:#ccc; bottom:0; height:100%; left:210px; position:absolute; top:0; width:110px;}
			body .navmid .inner {bottom:0; height:auto; margin:auto 0 0; padding:0 4px 4px 4px !important; position:absolute; top:auto;}

		body .nav {bottom:0; height:100%; left:0; position:absolute; top:0; width:210px;}
			body .nav .inner {}

		/* ie6 'hotfix' */
		* html body .navmid {height:100%;}
		* html body .nav {height:100%;}


/**
 * content layout
 *
 * @section layout
 * @subsection content
 */
.page .content {width: 385px;}
.page .narrowcolumn {}
.page .widecolumn {}

.entry p {margin-bottom:1em;}

/**
 * sidebar layout
 *
 * @todo       migrate sidebar css rules here
 * @subsection sidebar
 */

/**
 * footer layout
 *
 * @subsection footer
 */
.page .footer {clear: both; margin:0 0 0 50px; padding-bottom:20px; width:385px;} /* clear sidebar float */

/**
 * design
 *
 * i'm not so confident with the term design, this
 * should be about how things will be displayed not
 * by layout but by representation of the (sub-)
 * elements.
 *
 * @section design
 */

/**
 * footer design
 *
 * @todo       #verify-migrate border rules
 * @subsection footer
 */
.page .footer {border: none; color:#777;}
	.page .footer p {margin:0 0 0 0;}
	.page .footer a {color:inherit; text-decoration:underline;}

/**
 * postmetadata design
 *
 * @subsection postmetadata
 */
.page .postmetadata {clear: both; margin: 1em 0; padding-top: 5px;}
	.page .postmetadata.alt {padding: 0.5em;}
	.page .postmetadata a {color:inherit; text-decoration:underline;}
	.page .postmetadata a:visited {color:inherit;}


/**
 * navigation
 *
 * style of the navigation, layout is under layout
 *
 * @section navigation
 */
body .nav {background:#000 url(img/matrosenbg.gif); color:#fff; font-size:1.1428em; line-height:normal;}
	body .nav a {color:#fff;}
		body .nav .high a {background:#000; color:#ec0a0c;}
		body .nav .cur a {background:#fff; color:#000;}
		body .nav .high.cur a {background:#fff; color:#ec0a0c;}

	body .nav ul,
	body .nav li {list-style-type:none; margin:0; padding:0;}
		body .nav li.sep {margin-top:1em;}
		

		body .nav ul ul {margin-left:1.8em;}
			body .nav ul ul li {font-size:0.875em;}
				body .nav ul ul li.sl-0 {}
				body .nav ul ul li.sl-1 {margin-left:1em;}
				body .nav ul ul li.sl-2 {margin-left:2em;}
				body .nav ul ul li.sl-3 {margin-left:3em;}

body .navmid {line-height:normal;}



/**
 * legacy
 *
 * ein kessel buntes aus der kuberik theme redaktion
 * belassen meist in der reihenfolge, mal was entfernt, 
 * mal was ergänzt wird es hier zum verrotenen gerüst
 * eines alten codes, der einfach seinem zweck dient.
 *
 * @section legacy
 */
.widecolumn {}
	.widecolumn .entry,
	.widecolumn .entry p {}
	.narrowcolumn .entry  {}
	.narrowcolumn .postmetadata {}

.thread-alt {background-color: #f8f8f8;}
.thread-even {}

.depth-1 {border: 1px solid #ddd;} 

.even, .alt {border-left: 1px solid #ddd;}

small {font-size: 0.9em; line-height: 1.5em;}

h1, h2, h3 {font-weight: bold; text-transform: uppercase;}
h1 {}
h2 {}
	h2.pagetitle {}
	#sidebar h2 {}
h3 {}

h1, h1 a, h1 a:hover, h1 a:visited {color: #000;}
h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited {}
h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption, cite {
	text-decoration: none;
}

.post .entry {margin-top:1em;}

.entry a {color: #ec0a0c; text-decoration:underline;}

.commentlist li, #commentform input, #commentform textarea {}
.commentlist li ul li {} 
.commentlist li {font-weight: bold;}

.commentlist li .avatar { 
	float: right;
	border: 1px solid #eee;
	padding: 2px;
	background: #fff;
}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
}

.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
}

#commentform p {}

.commentmetadata {font-weight: normal;}

#sidebar {}

small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {
	color: #777;
	}

code {font: 1.1em 'Courier New', Courier, Fixed;}

acronym, abbr, span.caps
{
	font-size: 0.9em;
	letter-spacing: .07em;
	}

a, h2 a:hover, h3 a:hover {
	color: #000;
	text-decoration: none;
	}

a:hover {
	color: #000;
	text-decoration: underline;
	}

#wp-calendar #prev a, #wp-calendar #next a {
	font-size: 9pt;
	}

#wp-calendar a {
	text-decoration: none;
	}

#wp-calendar caption {
	font: 1.3em bold;
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}


/**
 * Structure 
 *
 * @subsection structure
 */
body {
	margin: 0 0 20px 0;
	padding: 0;
	}

#page {
	background-color: white;
	margin: 20px auto;
	padding: 0;
	width: 760px;
	border: 1px solid #959596;
	}

#header {}

#headerimg {}

.narrowcolumn {
	float: left;	
}

.post {
	margin: 0 0 40px 0;
	text-align: justify;
	clear:both;
}

.post hr {
	display: block;
	}

.widecolumn .post {
	margin: 0;
	}
.xnarrowcolumn .post {
	margin: 0;
	}


.narrowcolumn .postmetadata {}
.widecolumn .postmetadata {}

.widecolumn .smallattachment {
	text-align: center;
	float: left;
	width: 128px;
	margin: 5px 5px 5px 0px;
}

.widecolumn .attachment {
	text-align: center;
	margin: 5px 0px;
}

.postmetadata {}

.clear {
	clear: both;
}

/**
 * Headers 
 *
 * @subsection headers
 */
h1 {}
h2 {}
h2.pagetitle {}
#sidebar h2 {}
h3 {margin: 1em 0 0;}
h3.comments {margin: 40px auto 20px;}

/** 
 * Images
 *
 * @subsection images
 */
p img {
	padding: 0;
	max-width: 100%;
	}

/**
 * Image Alignment
 *
 * @subsection image-alignment
 *
 * Using 'class="alignright"' on an image will (who would've
 * thought?!) align the image to the right. And using 'class="centered',
 * will of course center the image. This is much better than using
 * align="center", being much more futureproof (and valid)
 */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}


/**
 * Lists
 *
 * Special stylized non-IE bullets
 * Do not work in Internet Explorer, which 
 * merely default to normal bullets.
 *
 * @subsection lists
 */
html>body .entry ul {
	margin-left: 0px;
	padding: 0 0 0 30px;
	list-style: none;
	padding-left: 10px;
	text-indent: -10px;
	}

html>body .entry li {
	margin: 7px 0 8px 10px;
	}

.entry ul li:before, #sidebar ul ul li:before {
	content: "\00BB \0020";
	}

.entry ol {
	padding: 0 0 0 35px;
	margin: 0;
	}

.entry ol li {
	margin: 0;
	padding: 0;
	}

.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}

#sidebar ul, #sidebar ul ol {
	margin: 0;
	padding: 0;
	}

#sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 1em;
	}

#sidebar ul p, #sidebar ul select {
	margin: 5px 0 8px;
	}

#sidebar ul ul, #sidebar ul ol {
	margin: 0 0 0 10px;
	}

#sidebar ul ul ul, #sidebar ul ol {
	margin: 0 0 0 10px;
	}

ol li, #sidebar ul ol li {
	list-style: decimal outside;
	}

#sidebar ul ul li, #sidebar ul ol li {
	margin: 0 0 0 10px;
	padding: 0;
	}


/**
 * Form Elements 
 *
 * @subsection form-elements
 */
#searchform {
	margin: 10px auto;
	padding: 5px 3px;
	text-align: center;
	}

#sidebar #searchform #s {
	width: 108px;
	padding: 2px;
	}

#sidebar #searchsubmit {
	padding: 1px;
	}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}

select {
	width: 130px;
	}

#commentform {
	margin: 5px 10px 0 0;
}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform textarea {
	width: 100%;
	padding: 2px;
}

#respond:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

#commentform #submit {
	margin: 0 0 5px auto;
	float: right;
	}


/**
 * Comments
 *
 * @subsection comments
 */
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 10px;
	padding: 5px 5px 10px 10px;
	list-style: none;
	}
.commentlist li ul li {
	margin-right: -5px;
	margin-left: 10px;
}

.commentlist p {
	margin: 10px 5px 10px 0;
}
.children { padding: 0; }

#commentform p {
	margin: 5px 0;
	}

.nocomments {font-style: italic;}

.commentmetadata {
	margin: 0;
	display: block;
	}


/**
 * Sidebar 
 *
 * @subsection sidebar
 */

#sidebar
{
	padding: 20px 0 10px 0;
	margin-left: 485px;
	width: 190px;
	}

#sidebar form {
	margin: 0;
	}


/**
 * Calendar
 *
 * @subsection calendar
 */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: center;
	width: 100%;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }


/**
 * Various Tags & Classes 
 *
 * @subsection various
 */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

.hidden {
	display: none;
	}

hr {
	display: none;
	}

a img {
	border: none;
	}

.navigation {
	display: block;
	height: 1em;
	margin: 20px 0 0;
	text-align: center;
}

/**
 * Captions 
 *
 * @subsection captions
 */

.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	-invalid-border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}


