/*
The following two lines are Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.7.0
*/
html{color:#000;background:#FFF;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var,optgroup{font-style:inherit;font-weight:inherit;}del,ins{text-decoration:none;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup{vertical-align:baseline;}sub{vertical-align:baseline;}legend{color:#000;}input,button,textarea,select,optgroup,option{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;}input,button,textarea,select{*font-size:100%;}
body{margin:10px;}h1{font-size:138.5%;}h2{font-size:123.1%;}h3{font-size:108%;}h1,h2,h3{margin:0.8em 0;}h1,h2,h3,h4,h5,h6,strong,dt{font-weight:bold;}optgroup{font-weight:normal;}abbr,acronym{border-bottom:1px dotted #000;cursor:help;}em{font-style:italic;}del{text-decoration:line-through;}blockquote,ul,ol,dl{margin:1em;}ol,ul,dl{margin-left:2em;}ol li{list-style:decimal outside;}ul li{list-style:disc outside;}dl dd{margin-left:1em;}th,td{border:1px solid #000;padding:.5em;}th{font-weight:bold;text-align:center;}caption{margin-bottom:.5em;text-align:center;}sup{vertical-align:super;}sub{vertical-align:sub;}p,fieldset,table,pre{margin-bottom:1em;}button,input[type="checkbox"],input[type="radio"],input[type="reset"],input[type="submit"]{padding:1px;}

/* Make some HTML5 elements behave */
header, footer, nav, section, article {display:block;}

/* Start the styles proper */
html {
	background:url(../images/background.jpg) #000 no-repeat;
	background-position:top center;
	color:#f1f1f1;
	letter-spacing:0.05em;
	font-family: "Segoe UI", Candara, "Bitstream Vera Sans", "DejaVu Sans", "Bitstream Vera Sans", "Trebuchet MS", Verdana, "Verdana Ref", sans-serif;
	font-size:16px;
	line-height:1.4em;
	overflow-y: scroll;
}

body {
	margin:0;
}

header,
section#body {
	width:600px;
	margin:0 auto;
	position: relative;
}

section#body nav {
	position:relative;
	text-transform: uppercase;
	margin-top:20px;
}

section#body nav .nav-next {
	float:right;
}

section#body nav .nav-prev {
	float:left;
}

ol.archive,
ol.archive li{
	list-style-type: none;
	margin: 0;
}

ol.archive li {
	margin-bottom: 0.5em;
}

ol.archive .title a,
ol.archive .title a:visited {
	opacity:0.8;
}

ol.archive .title a:hover {
	opacity:1;
	text-decoration: none;
}

ol.archive time {
	color: #ccc;
	float: right;
	opacity: 0.4;
}

#body article.home {
	overflow: hidden;
	visibility: hidden;
}

#body-more {
	display: block;
	width: 100%;
	padding: 70px 0 10px 0;
	height: 20px;
	text-align: center;
	background: url(../images/mask.png) repeat-x bottom;
	position: absolute;
	bottom: 20px;
	left: 0;
	-moz-border-radius: 0 0 20px 20px;
	-webkit-border-radius: 0 0 20px 20px;
	border-radius: 0 0 20px 20px;
}

#body-more a,
#body-more a:visited {
	background: #111;
	text-transform: uppercase;
	font-weight: bold;
	color: #fff;
	padding: 2px 8px 2px 10px;
	-moz-border-radius: 7px;
	-webkit-border-radius: 7px;
	border-radius: 7px;
}

#body-more a:hover {
	background: #5EDC23;
	color: #000;
	text-decoration: none;
}

body>footer {
	width:800px;
	margin:0 auto;
	font-size:80%;
	position: relative;
}

body>footer>div.extras:first-child {
	border-top:1px solid #23241e;
	padding:5px 0;
}

#extras-switch {
	display: block;
	position: absolute;
	top: -13px;
	right: -30px;
	outline: none;
	width: 25px;
	height: 25px;
	text-indent: -5000px;
	background-image: url(../images/power.png);
}

#bio {
	font-size:18px;
	color: #595b4e;
	border-top:1px solid #23241e;
	padding:5px 0;
}

#bio a,
#bio a:visited {
	text-decoration: none;
}

body>footer a,
body>footer a:visited,
body>footer a:hover {
	color:#fff;
}

#tag-cloud a,
#tag-cloud a:visited,
a.tag,
a.tag:visited {
	color: #fff;
	-webkit-text-shadow: 1px 1px 1px #000;
	text-shadow: 1px 1px 1px #000;
	text-decoration: none;
	background: #111;
	-webkit-border-radius: 2px;
	-moz-border-radius: 4px;
	border-radius: 2px;
	padding: 0px 4px 2px;
}

#tag-cloud a,
#tag-cloud a:hover {
	padding-bottom: 0;
}

#tag-cloud a:hover,
a.tag:hover {
	color: #000;
	-webkit-text-shadow: 1px 1px 1px #595b4e;
	text-shadow: 1px 1px 1px #595b4e;
	background: #5EDC23;
	text-decoration: none;
}

body>footer div section {
	width:176px;
	float:left;
	padding:0 10px;
	border-left:1px solid #23241e;
	text-transform:uppercase;
	height:100%;	
}

body>footer div section#tag-cloud,
body>footer div section#tweets {
	width:376px;
}

body>footer div section:first-child {
	border-left:none;
}

body>footer div section h3 {
	margin-top:0;
	font-size:140%;
	color:#fff;
	text-transform: capitalize;
}

body>footer ul,
body>footer ul li {
	list-style-type:none;
	margin:0;
	padding:0;
	line-height:1.2em;
	padding-left: 4px;
	text-indent: -8px;
}

header {
	height:230px;
}

section article header h1 {
	margin-right:20px;
}

section article:first-child header h1,
section h1:first-child {
	margin-top:0px;
}

section article h1:first-child {
	margin:0.8em 0;
}

#site-title {
	padding:0;
	margin:0;
}

#site-title a {
	display:block;
	height:160px;
	margin:0 100px 0px 100px; 
	padding:0;
	text-indent:-5000px;
	background: url(../images/home.png) no-repeat;
	background-position:0 10px;
	outline:none;
}

section#body{
	background:url(../images/opaque.png);
	padding: 20px;
	-moz-border-radius: 20px 20px 0 0;
	-webkit-border-radius: 20px 20px 0 0;
}

section header {
	height:auto;
	width:auto;
	position:relative;
}

a, a:visited {
	color:#5edc23;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a.permalink {
	opacity:0.3;
	position:absolute;
	top:0;
	right:0;
}

a.permalink:hover {
	opacity:1;
}

#comments {
	font-size:85%;
}

#comments a.permalink {
	position:relative;
}

#comments img.gravatar {
	float:right;
	margin:5px;
}

#comments article {
	border-bottom:1px solid #23241e;
	margin-top: 2em;
}

#comments article footer {
	border:none;
	margin-top: -1em;
}

article {
	position:relative;
}

article footer {
	font-size:85%;
	color:#414141;
	margin-top:5px;
	border-top: 1px solid #111;
}

article footer p {
	margin:0;
}

form#search {
	font-size:12px;
	width:200px;
	margin:15px auto;
	padding: 0;
}

form#search input,
form#search input:focus {
	margin: 0 0 0 30px;
	width: 170px;
	padding: 0;
	line-height: 22px;
	vertical-align: middle;
	border:0px solid #000;
	background:transparent;
	outline:none;
	-webkit-appearance: textfield;
	display: inline;
}

textarea {
	width:100%;
}
input, textarea, select {
	margin-bottom:4px;
}

#submit {
	text-align: right;
}

.syntax_highlight {
	overflow: auto;
	background: #fff;
	color: #000;
}

.syntax_highlight ol,
.syntax_highlight ol li {
	margin: 0;
	list-style: none;
}

ol.footnotes {
	font-size: 90%;
	color: #414141;
	line-height: 1.1em;
}

/***************************************************************
 * Clear some floats!
 **************************************************************/
 
/* float clearing for IE6 */
* html .clearfix,
* html #navigation li.sub-level-0 {
  height: 1%;
  overflow: visible;
}

/* float clearing for IE7 */
*+html .clearfix,
*+html #navigation li.sub-level-0  {
  min-height: 1%;
}

/* float clearing for everyone else */
.clearfix:after,
 #navigation li.sub-level-0:after {
  clear: both;
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
}

::-webkit-scrollbar
{
	width: 10px;
}

::-webkit-scrollbar-track-piece
{
	background-color: #333;
	-webkit-border-radius: 5px;
	margin-top: 20px;
	margin-bottom: 20px;
}

::-webkit-scrollbar-thumb:vertical
{
	height: 50px;
	background-color: #666;
	-webkit-border-radius: 5px;
}

::-webkit-scrollbar-thumb:vertical:hover
{
	height: 50px;
	background-color: #777;
	-webkit-border-radius: 5px;
}

::-webkit-scrollbar-thumb:horizontal
{
	width: 50px;
	background-color: #666;
	-webkit-border-radius: 5px;
}
