body {
	background: #f5e5bb url(/images/background.jpg) repeat;
	font-size: 12px;
	font-family: Verdana, Geneva, sans-serif;
	color: #333;
}
body, ul, li,form { padding: 0; margin: 0; }
pre { font-size: 13px; }
ul, li{ list-style: none; }
img { border: none;}
h1, h2, h3{ font-family: Georgia, sans-serif; font-weight: normal; }
h1 {
	margin: 13px 0 30px -4px;
	font-size: 1.85em;
	letter-spacing: 0.1em;
	color: #666666;
	text-transform: uppercase;
}
h1 a { color: #666666; text-decoration: underline; }
h1 a:hover{ text-decoration: none; }
h2 { font-size: 1.65em; color: #444444; margin-top: 35px; margin-bottom: 15px; letter-spacing: 0.03em; }
h3 { font-size: 1.65em; color: #666666; margin-bottom: 4px; }

p { font-size: 15px; }
p, .textwidget { margin:3px 0 10px 0; line-height: 1.6em;}
#main.p { font-size: 1.064em; margin-top: 10px;}
p.banner { font-weight:bold; font-size:1.35em; color:#444444; margin-left:10px }

a { color: #0099ff; text-decoration: none;}
a:hover { text-decoration: underline;}

.black { color: #444 !important; }
.clear { clear: both; }

/* LAYOUT STYLES */
#container {
	width: 829px;
	margin: 0 auto;
	background: url(/images/main-background.jpg) repeat-y;
}
#header {
	height: 470px;
	background: url(/images/header-background.jpg) no-repeat;
}
#menu {
	height:107px;
	position: relative;
	top: 40px;
	background: url(/images/menu-background.jpg) no-repeat;
}
#main {
	float: left;
	width: 495px;
	padding: 20px 35px;
	padding-left: 90px;

}
#side-bar {
	float: right;
	width: 135px;
	padding: 0 40px 0 25px;
	margin-bottom: 220px;
	border-left: 1px solid #d9d9d9;
}
#comments{
	width: 727px;
	clear: both;
	padding: 5px 0 0 90px;
	background: url(/images/comments-background.jpg) no-repeat;
}
#comments a{ color:#000000;}
#footer{
	height: 70px;
	clear: both;
	background: url(/images/footer-background.jpg) bottom no-repeat;
}

.entry ul, .entry ol {
	margin: 20px 0;
	padding-left: 30px;
	font-size: 15px;
}
.entry ul li, .entry ol li {
	padding-bottom: 5px;
}
.entry ul li {
	list-style: disc;
}
.entry ol li {
	list-style: decimal;
}

/* Layout elements */
#logo{ position: relative; top: 17px; left: 70px;}
#character{ position: relative; left:190px; top:60px; z-index:2;}

#menu ul { padding: 21px 0 0 55px;}
#menu ul li { float: left;}
#menu ul li img { height: 74px; }
#menu ul li a{ display: block; height: 74px;}
#menu ul li a span { display: none;}
#menu ul li a.home { width: 130px; background: url(/images/menu-home.png) no-repeat;}
#menu ul li a.blog { width: 116px; background: url(/images/menu-blog.png) no-repeat;}
#menu ul li a.about { width: 130px; background: url(/images/menu-about.png) no-repeat;}
#menu ul li a.projects { width: 176px; background: url(/images/menu-projects.png) no-repeat;}
#menu ul li a:hover { background-position: 0 -74px;}

#search{
	position: absolute;
	top: 318px;
	width: 150px;
	margin-left: -40px;
}
#search-form{
	height: 140px;
	width: 172px;
	padding-top: 95px;
	padding-left: 28px;
	background: url(/images/search-background.gif) no-repeat;

}
#search-char{ position:relative;float:right;top:-135px;left:34px; }
#search-form label {
	font-family: Georgia;
	font-size: 1.3em;
	letter-spacing: 5px;
	text-transform: uppercase;
	color: #ff00cc;
}
#search-form input.text-field {
	width: 80px;
	height: 14px;
	margin-top:3px;
	border-width: 2px;
	border-color: #9C9C9C;
	border-bottom: 2px solid #cbcbcb;
	border-right: 2px solid #cbcbcb;
	background: url(/images/textfield-background.gif);
	font-family: Geogia;
	color: #666666;
}
#side-bar ul { margin-bottom: 30px;}
#side-bar ul li{ margin: 5px 0; }

/* Main column styles and layout */
.post{
	margin-bottom: 20px;
}
.date {
	width: 100%;
	text-align: right;
	font-family: Georgia;
	font-size: 1.4em;
	color: #000000;
	letter-spacing: 0.14em;
}

#archive h2 { font-size: 1.5em; margin-bottom: 3px !important; }
#archive li p { margin-top: 0 !important; }

/* Comments */
#comments h1 { margin-top: 35px;}
div.stain { display:inline; float:right; margin-top:-220px; width:227px; height: 558px; background: url(/images/stain.png) top left no-repeat;}
.comment {
	width: 440px;
	padding: 10px 30px 0 30px;
	margin: 15px 0 0 0;
	background: url(/images/small-code-background.gif) top no-repeat;
	overflow: hidden;
}
.comment_bottom {
	height: 10px;
	width: 500px;
	margin-bottom: 15px;
	background: url(/images/small-code-bottom.gif) top no-repeat;
}
.comment p { margin-top: 15px;}

.postmetadata { margin-top: 20px }
.postmetadata a { color: #ff00cc; }

ul#projects { clear: both; }
ul#projects li { float: left; display: block; width: 230px; margin-right: 15px;}
ul#projects li h2 a { color: #000; }
ul#projects li img { border-top: 1px solid #777; border-right: 1px solid #777; border-left: 1px solid #82796a; border-bottom: 1px solid #82796a;}
ul#projects li p { padding: 0px 5px; }

/* Footer */
#footer p { font-size:0.95em; width: 470px; margin-left: 100px; padding: 1px 4px; background: #ffffff; color: #000000; }
#footer p a { color: #ff00cc; }



/* Code blocks */
code,
span.code {
 background-color: #EAEAEA;
 color: #2d2d2d;
 font-family: courier;
 padding: 2px 5px;
}
.small_code {
	padding: 20px 20px 5px 20px;
	margin: 15px 0 0 -4px;
	background: url(/images/small-code-background.gif) top no-repeat;
}
.small_code pre {
	overflow: scroll;
}
.small_code_bottom{ background: url(/images/small-code-bottom.gif) top no-repeat; height: 10px; margin-bottom: 15px;}

.big_code_top {
	height: 16px;
	margin: 15px 0 -4px -63px;
	background: url(/images/big-code-top.gif) bottom no-repeat;
	display: block;
	vertical-align: bottom;
	overflow: hidden;
	line-height: 1em;
}
.big_code {
	margin: 0 0 25px -70px;
	padding: 15px 13px 30px 90px;
	overflow: auto;
	overflow-y: hidden;
	background: url(/images/big-code-background.gif) bottom no-repeat;
}
