/* original styles.css has been split into
wp_structure.css (contains layout-stuff) and
wp_styles.css (contains "typography & colors")

The reference in headers.php got changed accordingly
*/



/* Begin Structure */
body, div, h1, h2, h3, h4, h5, h6, p, ul {
	margin: 0;
	padding: 0;
}

body {
	text-align: center;
}



#page {
	position: relative;
	margin: 0 auto;
	width: 780px;
	text-align: left;
	min-height: 35em;
}

#header {
	position: relative;
	padding-top: 1em;
	margin-bottom: 5em;
	padding-left: 120px;
	width: 420px;
}

#headerimg {
}

#headerimg h1, #headerimg .description {
	display: inline;
}


#header .archives {
	margin-top: 0px;
	list-style: none;
	height: 1.4em;
	padding-bottom: 0.5em;
	overflow: hidden;
}

#header .archives:hover {
	height: auto;
}

#header .archives li {
	display: inline;
	margin-right: 10px;
}

#header .categories {
	margin-top: -3px;
}

#header .categories li {
	line-height: 2em;
	display: inline;
}

#header .pages {
	margin-top: 1em;
}

#header .pages li {
	line-height: 2em;
	display: inline;
}

#header .categories li a,
#header .pages li a {
	/* see entries near .postmetadata */
}



#content {
	padding-bottom: 0px;
}

.narrowcolumn, .widecolumn {
	padding-left: 120px;
	margin: 0;
	width: 420px;
}

.post {
	position: relative;
	margin: 0 0 0 -120px;
	padding: 0 0 40px 120px;
	text-align: justify;
}

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

h2.pagetitle {

}


h3 {
	padding: 0;
	margin: 30px 0 0;
	}

h3.comments {
	padding: 0;
	margin: 40px auto 20px ;
	}


.narrowcolumn .postmetadata,
.widecolumn .postmetadata {
	padding-top: 8px;
	}

.entry {
	position: relative;
	margin-top: 15px;
}

.entry table {
	width: 100%;
	border: 1px solid rgb(80,80,80);
	border-collapse: collapse;
	text-align: left;
}

.entry table tr {
	border-bottom: 1px solid rgb(80,80,80);
}

.entry table td {
	padding: 1em 4px 1em 4px;
}

.entry h4 {
	margin-top: 2em;
}

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

.entry p a {
	position: relative;
}

.entry p a[target="_blank"]:after,
.commenttext a[target="_blank"]:after{
	/* this is unicode
	circumflex: 005E
	se-arraow: 2197
	dbl-arrow: 21C9
	*/
	content:"\2197";
}

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

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

code, pre {
	margin-top: 3em;
	margin-bottom: 1em;
	white-space: pre;
}

.post .readmore {
	position: relative;
	left: 0px;
	bottom: 0em;
	/* this is against the black bg
	   from the .entry p a:hover */
	padding-bottom: 2px;
}

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

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

.postmetadata {
	clear: left;
	position: relative;
	text-align: left;
}

#header .categories li a,
#header .pages li a,
.postmetadata .category a {
	padding: 0.2em 0.4em;
	margin-right: 4px;
}

#header .pages li a {
	border-width: 1px;
}


.post .editorlinks,
.post .comment,
.postmetadata .creation {
	position: absolute;
	top: 0px;
	left: -120px;
	width: 100px;
	margin-top: 0.7em;
	text-align: right;
	visibility: hidden;
}
.post .editorlinks,
.post .comment {
	left: 0px;
}

.post:hover .editorlinks,
.post:hover .comment a,
.post:hover .postmetadata .creation {
	visibility: visible;
}

/*this .comment refers to the comment-buttons
  left to each post, not the comment itself*/
.post .comment {
	top: auto;
	/*bottom is same as .post */
	bottom: 53px;
	visibility: visible;
}
.post .comment a {
	visibility: hidden;
}

#footer {
	margin: 0 auto;
	width: 760px;
	clear: both;
	}

#footer p {
	text-align: center;
	}
/* End Structure */



/*	Begin Headers */

/* End Headers */



/* Begin Images */

/* this div is dynamically constructed via javascript
   see wp_scripts.js/hoverimg_start() */
/* #img_container {
	position: absolute;
	top:0px;
	left: 0px;
	width: 100%;
	height: 100%;
	margin: auto auto;
	z-index: 5;
}
.entry p:hover #img_container {
	display: block;
}*/

.entry img {
	border-width: 1px;
	max-width: 100%;
	margin: 5px 10px 3px 0;
	}
.entry a:hover img {
	/*hack!
	this is a countermeasure to the
	padding in style.css/.entry p a
	margin-right: 0;*/
}


/*	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
	}
/* End Images */





/* Begin Sidebar */
#sidebar {
	/*
	kind of semantic container
	(only for styling)
	instead of structural

	must not be positioned
	because the contents
	are positioned absolute

	problem was:
	height: 100%; works in FF only
	*/
}

#sidebar .sidebar_bottom,
#sidebar .sidebar_top {
	position: absolute;
	right: 8px;
	width: 200px;
	padding-left: 20px;
}
#sidebar .sidebar_bottom {
	bottom: 40px;
}
#sidebar .sidebar_top {
	top: 8px;
}

#sidebar h2 {
	margin: 5px 0 0;
	}

#sidebar ul, #sidebar ul ol {
	margin-bottom: 2em;
	}

#sidebar ul li {
	margin-bottom: 1em;
	}

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

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

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

/* End Sidebar */




/* Begin Lists */

.entry ol {
	margin-left: 25px;
	padding: 0;
	padding-left: 10px; /* value related to text-indent */
	text-indent: 0px;
	}

.entry ul {
	margin-left: 10px;
	padding: 0;
	padding-left: 10px; /* value related to text-indent */
	text-indent: -10px;
	list-style: none;
	}

.entry li {
	margin-bottom: 0.5em;
	}

.entry ol li {
	}

/*	Special stylized non-IE bullets
	Do not work in Internet Explorer, which merely default to normal bullets. */
.entry ul li:before, #sidebar ul ul li:before {
	content: "\00BB \0020";
	}


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


/* End Entry Lists */



/* Begin Form Elements */
#searchform {
	position: relative;
	margin: 0px;
	text-align: left;
	}

#searchform #s {
	width: 155px;
	padding: 2px;
	}

#searchsubmit {
	margin-left: -1px;
}

#searchform #pseudosubmit {
	position: absolute;
	top: 0px;
	right: 5px;
	padding: 3px 0 0 5px;
	width: 25px;
	height: 1em;
	/*this gets changed in case that
	  javascript works */
	display: none;
}




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

select {
	width: 130px;
	}

#commentform {
	position: relative;
}

/*these are the additional formfields
  if user is not logged in*/
#commentform p {
	margin: 5px 0;
}

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

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

#commentform #submit {
	margin: 0;
	padding: 1px;
	float: right;
	}
#commentform .clear {
	clear: right;
}

/* End Form Elements */



/* Begin Comments*/
.alt {
	}

.comments {
	position: relative;
	padding: 0 0.3em 3.5em 0.3em;
}

.commentlist {
	position: relative;
	margin: 1em 0 0 0;
	padding: 0;
}

/*this wraps each single comment */
/*first for postitioning things*/
/*it has to strech out to the left
  so the ".comment_container:hover" classes can work*/
.commentlist .comment_container,
.comment_formcontainer {
	position: relative;
	margin: 0 0 0 -120px;
	padding: 0 0 0 120px;
 }

/*second for styling*/
.commentlist li {
	position: relative;
	margin: 0 0 2em 0;
	padding: 0;
	list-style: none;
	text-align: justify;
	}

.commentmetadata,
.comments .editorlinks,
.comments .allowedtags {
	position: absolute;
	top: 0px;
	left: -120px;
	width: 100px;
	margin: 0;
	text-align: right;
	visibility: hidden;
}
.commentmetadata {
	top: 1.4em;
	visibility: visible;
}
.comments .allowedtags {
	top: 2.2em;
	/*hack for long lines*/
	width: 110px;
}

.comment_container:hover .editorlinks,
.comment_formcontainer:hover .editorlinks,
.comment_container:hover .allowedtags,
.comment_formcontainer:hover .allowedtags {
	visibility: visible;
}

.commentlist p {
	margin: 0px 0px 1em 0;
	}


.nocomments {
	}


/* End Comments */





/* Begin 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; }
/* End Calendar */



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

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



.center {
	text-align: center;
	}

hr {
	display: none;
	}

a img {
	border: none;
	}

.navigation {
	display: block;
	text-align: left;
	margin-bottom: 40px;
	}
.navigation .preventry {
	margin-left: -1.5em;
}
/* End Various Tags & Classes*/




/* "Daisy, Daisy, give me your answer do. I'm half crazy all for the love of you.
	It won't be a stylish marriage, I can't afford a carriage.
	But you'll look sweet upon the seat of a bicycle built for two." */
