/**
 * @author Andries Louw Wolthuizen
 * @copyright 2009
 * @original Based on the Asusena theme by Lorelei
 */

* {
	list-style:none;
	margin:0;
	padding:0;
}

body {
	font-size:55%;
	font-family: Arial, sans-serif;
	background:#282828 url(http://static.weserv.nl/v5/images/body_bg.gif) repeat;
}

img {
	float:left;
	padding:3px;
}

div#wrapper {
	width:768px;
	padding-top:8px;
	background:url(http://static.weserv.nl/v5/images/top.png) no-repeat;
	margin:25px auto 0;
}

div#masthead { width:768px; }

/* Blog Title */
h1 {
	position:absolute;
	top:50px;
	font:3.2em "Century gothic",verdana,Arial,sans-serif;
}

h1 a {
	position:relative;
	left:20px;
	font-weight:700;
	text-decoration:none;
	color:#fff;
}

/* Tagline */
#masthead p {
	position:relative;
	top:62px;
	left:25px;
	color:#fff;
	margin:0;
	font-size:12px;
	font-style:italic;
}

/* Pages Navigation */
div#masthead ul {
	float:right;
	margin-right:22px;
	position:relative;
	bottom:-2px;
}

div#masthead ul li a {
	color:#fff;
	text-decoration:none;
	display:block;
	font-size:1.3em;
	font-weight:700;
	padding:40px 20px 28px 20px;
}

/* Banner image dropshadow */
div#masthead_image {
	background:transparent url(http://static.weserv.nl/v5/images/image_bg.png) center no-repeat;
	width:724px;
	height:30px;
	clear:both;
	position:relative;
	padding:8px 22px;
}

#masthead_image a {
	display:block;
	text-decoration:none;
	width:724px;
	height:30px;
}

a { outline:0; }

/* Page dropshadow */
div#content {
	width:768px;
	background:url(http://static.weserv.nl/v5/images/main_bg.png) repeat-y;
}

/* Main Content */
div#main {
	width:490px;
	float:left;
	text-align:justify;
	padding:0 25px 25px;
}

/* Main header on single pages */
h2.header {
	font-size:24px;
	line-height:1;
	border-bottom:1px solid #e7e7e7;
	position:relative;
	margin:0 0 5px;
	padding:18px 0 0;
}

div#main h2.header a {
	text-decoration:none;
	font-size: 22px;
	font-weight:700;
	font-family:"Century gothic",verdana,Arial,sans-serif;
}

h2.header span {
	position:relative;
	background:#fff;
	padding-right:10px;
	bottom:7px;
}

/* Forms */
#contactform br { clear:both; }

#contactform fieldset {
	width:470px;
	padding:10px;
	margin-bottom:10px;
}

#contactform legend {
	padding:2px 5px;
	margin-bottom:5px;
	font-size:12px;
}

#contactform label {
	float:left; 
	width:95px;
	margin-right:5px;
	text-align:right;
	font-size:11px;
}

.article input {
	float:left;
	width:195px;
	font-size:11px;
	margin-top:1px;
}

.article #submit, .article #reset {
	background-color:#fff;
	width:140px;
	text-align:center;
	letter-spacing:1px;
	margin-left:20px;
}

.article #submit { margin-left:100px; }

.article input.radio {
	display:inline;
	width:45px;
	border:0px;
}

#contactform select {
	display:block;
	float:left;
	width:197px;
	text-align:left;
	background-color:#fff;
	font-size:11px;
}

#contactform textarea {
	font-size:11px;
	width:300px;
}

.form-right label { display:none; }
.fout { border:1px solid #f00 !important; }

/* Secondary headline above comments and comment form */
div#main h3 {
	color:#cf2d00;
	margin:15px 0 5px;
}

div#main p {
	color:#24314a;
	line-height:2;
	font-size:12px;
	margin:10px 0;
}

div#main a { text-decoration:none; }
.article { margin-bottom:20px; }
.article img{ margin:2px 12px 2px 2px; }

.article blockquote {
	border-left:1px dotted #390363;
	background:#d6dee0;
	margin:0 15px;
	line-height:50%;
	color:#4b474f;
	padding:1px 15px;
}

.article ul,.article ol {
	font-size:1.2em;
	color:#3e0d55;
	margin-left:15px;
}

.article ul li {
	padding-left:15px;
	list-style-type:circle;
	margin:5px 0;
}

.article ol { margin-left:30px; }

.article ol li {
	list-style:decimal;
	margin:10px 0;
}

.article ol li ol {
	font-size:1em;
	margin-left:15px;
}

#main p.byline {
	color:#459804;
	text-align:right;
	font-size:11px;
	margin-top:-31px;
}

ul.article_footer {
	text-align:right;
	background:url(http://static.weserv.nl/v5/images/form_bg.jpg) repeat-x top left;
	border:1px solid #DADADA;
	line-height:1.5;
	border-width:1px;
	margin:10px 0;
	padding:5px 10px;
}

ul.article_footer li {
	font-size:0.9em;
	display:inline;
	background:none;
	border-left:1px solid #DADADA;
	margin-left:5px;
	padding-left:10px;
}

ul.article_footer li.first { border-left:0; }

/* Secondary Content */
div#secondary {
	width:200px;
	float:left;
	padding:15px 20px 20px 0;
}

div#secondary ul#sidebar {
	color:#0a6804;
	padding-bottom:10px;
	margin:15px 0 20px;
}

div#secondary ul#sidebar li {
	font-size:1.2em;
	line-height:1.5em;
	margin:5px 0;
}
/* Sidebar headers */
div#secondary h2 {
	font-family:"Century gothic",verdana,Arial,sans-serif;
	color:#0e8C05;
	font-size:1.2em;
	line-height:1;
	margin:30px 0 8px;
	border-bottom:1px dotted #d6dee0;
	padding-bottom:3px;
}

div#secondary a {
	color:#264901;
	text-decoration:none;
	margin-bottom:2px;
	padding:3px 3px 3px 5px;
}

div#secondary a:hover {
	text-decoration:none;
	padding:3px 3px 3px 5px;
}

div#secondary ul.children {
	margin-left:5px;
	padding-left:10px;
	border-left:5px solid #EAEAEA;
}

div#secondary ul#sidebar li li { font-size:1em; }

div#secondary p {
	line-height:1.5;
	color:#666;
	margin:5px 0;
}

/* Search input */
form#searchform {
	position:relative;
	height:20px;
	margin-bottom:20px;
}

form#searchform input#s {
	position:absolute;
	top:0;
	height:18px;
	width:156px;
	background:url(http://static.weserv.nl/v5/images/form_bg.jpg) repeat-x;
	border:1px solid #bcbcbc;
	padding:5px;
}

input#search_submit {
	position:absolute;
	right:0;
}

/* Footer */
ul#footer {
	height:8px;
	width:768px;
	background:url(http://static.weserv.nl/v5/images/bottom.png) no-repeat;
	text-align:center;
	font-size:1em;
	color:#e28602;
	margin:0 auto;
	padding:15px 0;
}

ul#footer li {
	display:inline;
	margin-left:10px;
}

ul#footer li span {
	position:absolute;
	text-indent:-9999em;
}

ul#footer li a {
	color:#e28602;
	text-decoration:none;
}

ol.commentlist {
	margin-top:15px;
	color:#555;
}

ol.commentlist img { 
	float:none !important;
	padding:0 !important;
	border:none !important;
}

/* Background color for visitor comments */
ol.commentlist li {
	background:#f1f1f1;
	margin:10px 0;
	padding:10px;
}

/* Background color for Admin comments */
ol.commentlist li.alt { background:#ebf9fc; }
textarea#comment { width:500px; }

#main p.comment_meta {
	float:right;
	margin:0;
}

/* Optional popup window (NOTE: popups make for bad UI IMHO) */
body#commentspopup {
	background:#fff;
	padding:20px;
}

body#commentspopup a { color:#666; }

body#commentspopup h1 a {
	position:relative;
	top:0;
	left:0;
}

body#commentspopup h3 { color:#555; }

body#commentspopup p {
	color:#555;
	margin:10px 0;
}

body#commentspopup textarea { width:340px; }

/* Image stuff for 2.6.1 */
.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}

.alignright { float:right; }

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

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

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

p.entry_info { clear:both; }
div.navigation { margin:10px 0; }

.portfolio {
	display:block;
	clear:both;
	width:720px;
	padding:12px 0;
}

#swfportfolio {
	position:relative;
	z-index:300;
	margin-top:-134px;
	margin-bottom:-44px;
	height:750px;
}

/* CSS Magic */
.clearfix:after {
	content:".";
	display:block;
	height:0;
	clear:both;
	visibility:hidden;
}

/* SLIMBOX */
#lbOverlay {
	position:absolute;
	z-index:9999;
	left:0;
	width:100%;
	background-color:#000;
	cursor:pointer;
}

#lbCenter, #lbBottomContainer {
	position:absolute;
	z-index:9999;
	left:50%;
	overflow:hidden;
	background-color:#fff;
}

.lbLoading { background:#fff url(http://static.weserv.nl/v5/images/loading.gif) no-repeat center; }

#lbImage {
	position:absolute;
	left:0;
	top:0;
	border:10px solid #fff;
	background-repeat:no-repeat;
}

#lbPrevLink, #lbNextLink {
	display:block;
	position:absolute;
	top:0;
	width:50%;
	outline:none;
}

#lbPrevLink { left:0; }
#lbPrevLink:hover { background:transparent url(http://static.weserv.nl/v5/images/prevlabel.gif) no-repeat 0% 15%; }
#lbNextLink { right:0; }
#lbNextLink:hover { background:transparent url(http://static.weserv.nl/v5/images/nextlabel.gif) no-repeat 100% 15%; }

#lbBottom {
	font-family:Verdana, Arial, Geneva, Helvetica, sans-serif;
	font-size:10px;
	color:#666;
	line-height:1.4em;
	text-align:left;
	border:10px solid #fff;
	border-top-style:none;
}

#lbCloseLink {
	display:block;
	float:right;
	width:66px;
	height:22px;
	background:transparent url(http://static.weserv.nl/v5/images/closelabel.gif) no-repeat center;
	margin:5px 0;
	outline:none;
}

#lbCaption, #lbNumber { margin-right:71px; }
#lbCaption { font-weight:bold; }

/* Syntax Highlighting for PHP */
.wp_syntax {
  color: #100;
  background-color: #f9f9f9;
  border: 1px solid silver;
  margin: 0 0 1.5em 0;
  overflow: auto;
}

/* IE FIX */
.wp_syntax {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: expression(this.scrollWidth > this.offsetWidth ? 15 : 0);
  width: 100%;
}

.wp_syntax table {
  border-collapse: collapse;
}

.wp_syntax div, .wp_syntax td {
  vertical-align: top;
  padding: 2px 4px;
}

.wp_syntax .line_numbers {
  text-align: right;
  background-color: #def;
  color: gray;
  overflow: visible;
}

/* potential overrides for other styles */
.wp_syntax pre {
  margin: 0;
  width: auto;
  float: none;
  clear: none;
  overflow: visible;
  font-size: 12px;
  line-height: 1.333;
  white-space: pre;
}

/* Blue theme as default */
div#masthead{ background:url(http://static.weserv.nl/v5/images/masthead_bg_bl.png) no-repeat; }
div#masthead ul li a:hover,div#masthead ul li.current_page_item { background:url(http://static.weserv.nl/v5/images/nav_bg_bl.gif) bottom repeat-x; }
h2.header, div#main h2.header a { color:#196ca8; }
div#secondary a { border-left:4px solid #0895ad; }
div#secondary a:hover { border-left:4px solid #d03301; }
div#main a { color:#0895ad; }
div#main a:hover { color:#d03301; }
select, .article input, textarea { border:1px solid #bcd; }
fieldset, legend { border:1px solid #acd; }
img { border:1px solid #0895ad; }

/* Hide from IE Mac \*/
.clearfix { display:block; }
p,h2,h3,h4,h5,div#author h2 { font-size:1.2em; }
div#masthead ul li,.alignleft { float:left; }

