/*
		Temporary stylesheet for http://greystate.dk
		(c) Copyright 2008 by Chriztian Steinmeier 
*/

html, body {
	height: 100%;
}

html, body, ul, li {
	padding: 0;
	margin: 0;
}

body {
	font: medium "Lucida Grande", "Trebuchet MS", sans-serif;
	line-height: 1.4;
	background: transparent url(images/backdrop.png) repeat-x fixed;
	background-color: #c7c7c7;
	color: #1e1e1e;
}

#mainstory a:link,
#mainstory a:visited {
	color: #314159;
	border-bottom: 2px solid #314159;
	text-decoration: none;
}

#mainstory a:link:hover,
#mainstory a:visited:hover {
	background-color: #314159;
	color: #c7c7c7;
}

#wrapper {
	position: relative;
	min-height: 100%;
}

#footer {
	position: fixed;
	bottom: 0;
	text-align: center;
	font-size: x-small;
	color: #fff;
	padding-top: 6px;
	padding-bottom: 6px;
	width: 100%;
	background: transparent url(images/bg_canvas.png) repeat-x;
}

#wrapper:after {
	content: ".";
	color: #c7c7c7;
	display: block;
	height: 20px;
}

#header {
	width: 893px;
	height: 188px;
	background: #fc0000 url(images/bg_header-punched.png) no-repeat;
}

#header h1 {
	text-indent: -1000em;
	width: 442px;
	height: 188px;
	margin-left: 50px;
	background: transparent url(images/header_greystate.png) no-repeat center 30px;
	
}

#mainstory {
/*	outline: 2px solid #fc0000;*/
	width: 75%;
	margin-left: 50px;
/*	border-bottom: 30px solid transparent;*/
}

#mainstory div.blogpost {
	margin-bottom: 2em;
}

/* Misc. HTML
+++++++++++++++++++++++++++++++++++++*/
#mainstory h2 {
	padding: 2px 26px 4px 0;
	padding-left: 5px; 
	font-size: 1.3em;
	font-weight: normal;
	letter-spacing: -2px;
	color: #000;
	background: transparent url(images/bg_kink.png) no-repeat right center;
	background-color: #dbdbdb;
	display: inline;
	border-left-width: 5px;
	border-left-style: solid;
	border-left-color: #ff8000;
}

#mainstory h3 {
	padding: 2px 8px 4px 0;
	padding-left: 5px;
	letter-spacing: -1px;
	color: #000;
	font-weight: bold;
	font-variant: small-caps;
	background: #dbdbdb;
	display: inline;
	border-left: 0 solid #000;
	border-right: 0 solid #000;
	border-left-width: 5px;
	border-right-width: 5px;
}

#mainstory p,
#mainstory img.figure {
	margin-left: 10px;
}

#mainstory p.credits {
	font-size: smaller;
}

#mainstory span.amp {
	font-size: 1.1em;
	font-style: italic;
	font-family: "Palatino", "Palatino Linotype", "Georgia", "Times", cursive;
}

#mainstory abbr.date {
	text-decoration: none;
	font-size: small;
	color: #999;
	border-bottom: none;
}

#mainstory p abbr {
	font-size: inherit;
	color: inherit;
	font-weight: bold;
}

#mainstory ins.update {
	background: #eee5aa;
	text-decoration: none;
}

#mainstory object {
	margin-top: 1em;
}


/* =Lists
+++++++++++++++++++++++++++++++++++++*/
#mainstory ul {
	list-style: square;
	margin: 1em 2em;
}

#mainstory ul li {
	margin: 0.3em 0;
}

#author-badge {
	float: right;
	margin: 0 10px 10px 10px;
}

/* =Navigation
+++++++++++++++++++++++++++++++++++++*/
#navigation {
	font-family: "planet eStyle", "Lucida Grande", "Trebuchet MS", sans-serif;
	display: block;
	list-style: none;
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 40px;
	line-height: 2;
	background: transparent url(images/bg_navibar.png) repeat-x;
}

#navigation li {
	display: inline;
}

#navigation li a {
	text-decoration: none;
	color: #7e7e7e;
	font-weight: normal;
	float: left;
	width: 60px;
	height: 40px;
	text-align: center;
	border-bottom: none;
}

#navigation li a:hover {
	background-image: url(images/bg_nav_here.png);
}

/* =Position the menu */
#navigation li a#mnuwho {
	margin-left: 116px;
}
/* =Code snippets
+++++++++++++++++++++++++++++++++++++*/
pre {
	color: #8c98a9;
	background: #000;	
	border: 6px solid #999;
	border-style: groove ridge ridge groove;
}

code {
	font-family: "Andale Mono", Monaco, "Courier New", monospace;
	font-size: small;
	font-weight: bold;
}

code em {
	font-style: normal;
	background-color: #bfe251;
	color: #333;
	padding: 1px 8px;
	margin-left: -8px;
}

/* =About section
+++++++++++++++++++++++++++++++++++++*/
body.about #header,
body.about li a#mnuwho,
#navigation li a#mnuwho:hover {
	background-color: #fc0000;
}

body.about #mainstory h2 {
	color: #7e0000;
	border-left-color: #fc0000;
}

/* =Blog section
+++++++++++++++++++++++++++++++++++++*/
body.blog #header,
body.blog li a#mnulog,
#navigation li a#mnulog:hover {
	background-color: #ff8000;
}

body.blog #mainstory h2 {
	color: #804000;
	border-left-color: #ff8000;
}

/* =Code section
+++++++++++++++++++++++++++++++++++++*/
body.code #header,
body.code li a#mnucode,
#navigation li a#mnucode:hover {
	background-color: #6fde6f;
}

body.code #mainstory h2 {
	color: #386f38;
	border-left-color: #6fde6f;
}

/* =Top-Secret Admin section :-)
+++++++++++++++++++++++++++++++++++++*/
body.admin #header,
body.admin li a#mnuadmin,
#navigation li a#mnuadmin:hover {
	background-color: #314159;
}

body.admin #mainstory h2 {
	color: #19212d;
	border-left-color: #314159;
}

/* =You-R-Here stuff
+++++++++++++++++++++++++++++++++++++*/
body.about #mnuwho,
body.blog #mnulog,
body.code #mnucode,
body.admin #mnuadmin {
	color: #dbdbdb;
	font-weight: bold;
}

body.about li a#mnuwho:hover,
body.blog li a#mnulog:hover,
body.code li a#mnucode:hover,
body.admin li a#mnuadmin:hover {
	cursor: default;
}

body.about li a#mnuwho,
body.blog li a#mnulog,
body.code li a#mnucode,
body.admin li a#mnuadmin {
	background-image: url(images/bg_nav_here.png);
}

/* =hCard stuff
+++++++++++++++++++++++++++++++++++++*/
p.vcard	{
	margin-top: 2em;
	text-align: right;
}

.vcard .fn {
	border-right: 4px solid;
	border-right-color: #314159;
	padding-right: 8px;
}
