/*  
Theme Name: Emcken
Theme URI: http://www.emcken.dk/
Description: A simple, clean blog theme inspired by deMar, deLight (<a href="http://webdemar.com">webdemar</a>) and others.
Author: Jacob Emcken
Author URI: http://www.emcken.dk/
Tags: simple, clean, two columns, fixed width
*/

/*
	- GENERAL
	- BASIC LAYOUT
	- HEADINGS
	- HEADER
	- CONTENT
		+ CONTENT LEFT
		+ CONTENT RIGHT
		+ SEARCH FORM
	- COMMENTS
	- FOOTER
	- USEFUL

/*	##################################
   	GENERAL
	################################## */

html, body {
	height: 100%;
}


body {
	margin: 0px;
	padding: 0px;
	background: #fff url('img/bg-body.png') repeat-x top left;
	font: 11px/16px Verdana, Tahoma;
	color: #363636;
}

a {
	color:#267b30;
}

/* Used for pre code tags */
pre {
	margin:0 0 0 20px;
	padding: 0 0 0 20px;
	border-left: 5px solid #50b04f;
	background: #f5f5f5;
	overflow: auto;
}

a img {
	border: none;
}

ul, ol {
	margin: 0 0 20px 20px;
	padding: 0px;
}

/*	##################################
   	BASIC LAYOUT
	################################## */
	
#page {
	min-height: 100%;
	position: relative;
	width: 1000px;
	margin: 0 auto -40px;
	background: url(img/bg-page.jpg) no-repeat left bottom;
}

	
#header {
	position: relative;
	width: 880px;
	height: 175px;
	margin: 0 auto;
	background: url(img/bg-header_s.png) no-repeat top right;
}

#content {
	width: 880px;
	margin: 0 auto;
	padding: 40px 0 0 0;
	min-height:280px;
}

#content-left {
	float: left;
	width: 640px;
}

#content-right {
	float: right;
	width: 220px;
}

/*	##################################
   	HEADINGS
	################################## */
	
#header h1 {
	position:absolute;
	top: 80px;
	left:0px;
	margin: 0px;
	color: #fff;
	font:bold 28px/28px Helvetica, Arial, sans-serif;
}

#header h1 a {
	color: #fff;
	text-decoration: none;
}

#header h2 {
	position: absolute;
	bottom: 60px;
	left: 5px;
	margin: 0px;
	color: #50b04f;
	font:11px/11px Verdana, Tahoma, sans-serif;
}

h1 {
	font:bold italic 24px/24px Georgia, "Times New Roman", Times, serif;
}

h1 a {
	color:#fff;
	text-decoration: none;
}

h2 {
	margin:0 0 20px 0;
	padding: 0 0 0 15px;
	font:bold 15px Verdana, Tahoma;
}

h3 {
	margin: 8px 0;
	font:bold 18px Verdana, Tahoma;
}

h3 a {
	text-decoration: none;
}

h3 a:hover {
	text-decoration: underline;
}

h4 {
	margin: 0 0 10px 0;
}

/*	##################################
   	HEADER
	################################## */

#menu {
	position: absolute;
	bottom: 0px;
	left: 0px;
	margin: 0px;
	padding: 0px;
	width:940px;
	height: 30px;
	list-style:none;
}

#menu li {
	float:left;
}

#menu a {
	margin:0 40px 0 0;
	padding:0px;
	color:#fff;
	text-decoration:none;
	font:normal 12px/12px Verdana, Tahoma, sans-serif;
}



/*	##################################
   	CONTENT
	################################## */
	
/** Posts */
.post {
	margin: 0 0 40px 0;
	clear: both;
}

.post img {
	margin: 5px 10px 5px 0;
}

.post h1 {
	clear: both;
}

.post-footer {
	margin: 10px 0px 30px 0px;
	padding: 5px;
	border-top: 1px dotted #cccccc;
	background-color: #f7f7f7;
}

.title {
	float: left;
}

.meta-header {
	border-top: 1px solid #cccccc;
}

.meta {
color:#999999;
	font: normal 10px/10px Verdana, Tahoma;
}

.meta-date {
	float: right;
}

.meta-categories {
	float: right;
	padding: 0 0 0 15px;
}

.meta-comments {
	float: right;
	padding: 2px 0 0 15px;
	background: url(img/bg-comments.gif) no-repeat 0px 2px;
}

.meta-author {
	float: left;
	padding: 2px 0;
}

blockquote p {
	font-family:'Times New Roman'; 
	color:#999999;
	font-size:14px;
	font-style:italic;
	line-height:19px;
}

blockquote {
	padding: 0px 25px 0px 25px;
	background-color: #fffcf1;
	border-top: 1px solid #fff6d3;
	border-bottom: 1px solid #fff6d3;
	margin: 5px;
	background-image: url('img/openquote.gif');
	background-position: top left;
	background-repeat: no-repeat;
}

.tags {
color:#999999;
font-size:10px;
}

/** wordpress css */

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

.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;
}

img.wp-smiley {
	margin:0;
	padding:0;
	float: none;
	vertical-align: bottom;
}

/** box right */

.box-right {
	margin: 0 0 40px 0;
	clear: both;
}

.box-right ul {
	margin: 0px;
	padding: 0px;
	list-style: none;
}

.box-right li {
	display: inline; /* white space bug IE6 */
}

li.cat-item ul.children {
	margin: 0px;
	padding: 0px;
}

li.cat-item ul.children li {
	margin: 0px;
	padding: 0px;
}

.box-right li a {
	display: block;
	margin: 0px;
	padding: 5px;
	border-bottom: 1px dotted #ddd;
	text-decoration: none;
}

/* Box left contains the comments */
.box-left h1 {
position: relative;
top: 0;
}

li.cat-item ul.children li a {
	padding: 5px 5px 5px 20px;
}

li.cat-item ul.children li ul.children li a {
	padding: 5px 5px 5px 40px;
}

.box-right li a:hover {
	background: #f7f7f7;
}

.box-right .page_item a, .box-right .current_page_item a {
	background: transparent;
	width: auto;
	height: auto;
	color:#c7532d;
	font-weight: normal;
	text-align: inherit;
}

/** search form */

#search {
	width: 150px;
	padding: 5px;
	color: #ccc;
	border: 1px solid #f2f2f2;
}

#search-submit {
	width: auto;
	margin: 0;
	padding: 5px;
	background: #363636;
	color: #fff;
	border: 0;
}

/** wp-calendar */

#calendar_wrap {
	margin: 0px;
}

#wp-calendar {
	width: 100%;
}

#wp-calendar th {
	text-align: left;
}

/*	##################################
   	COMMENTS
	################################## */
	
h4#comments, h4#respond {
	margin:0 0 20px 0;
}	
	
.comment {
	margin:0 0 20px 0;
	padding: 10px;
	background: #f7f7f7;
	border-top: 1px solid #ccc;
}

.avatar {
	float: left;
	margin:0 10px 0 0!important;
}

.comment-details {
	margin: 0 0 10px 0;
}

.comment-text p {
	margin: 0px;
	padding: 0px;
}

/** comment form */

#commentform label {
	display: block;
	margin: 0 0 5px 0;
}

input.text {
	width: 390px;
	margin: 0 0 10px 0;
	padding: 5px;
	border: 1px solid #50b04f;
}

textarea {
	width: 410px;
	height: 100px;
	margin: 0;
	padding: 5px;
	border: 1px solid #50b04f;
}

input.submit {
	width: auto;
	margin: 0;
	padding: 5px;
	background: #363636;
	color: #fff;
	border: 0;
}


/*	##################################
   	FOOTER
	################################## */
	
#footer-wrap {
	position: relative;
	height: 40px;
	background: #363636;
}

.clearfooter {
	height: 40px;
	clear: both;
}

#footer {
	width: 780px;
	margin: 0 auto;
	padding: 20px 0 0;
	font:normal 10px/10px Verdana, Tahoma;
	color: #fff;
}

#footer a {
	color:#fff;
}

#legal {
	float: left;
	width: 540px;
}

#emcken {
	float: right;
	width: 220px;
	text-align: right;
}

/*	##################################
   	USEFUL
	################################## */
	
.aligncenter, div.aligncenter {
   display: block;
   margin-left: auto;
   margin-right: auto;
}

.alignleft {
  	float: left;
}

.alignright {
   float: right;
}

.alignnone {
   float:none;
}

.clear {
	clear:both;
}
