/* Layout & Typo
------------------------------------------------------------------ */

html {
	margin: 0;
	padding: 0;
}

body {
	background-color: #fff;
	color: #555;
	font-size: 16px;
	line-height: 1.4;
	font-family: "Helvetica", "Arial", sans-serif;
	padding: 38px 0 38px 276px;
	margin: 0;
	width: 500px;
	background-image: url(phobos.png);
	background-position: 16px 32px;
	background-attachment: scroll;
	background-repeat: no-repeat;
}

body.fullscreen {
	text-align: center;
	width: auto;
	padding: 38px 0;
}

div#welcome {
	margin: 3.5em 0 1em 0;
	font-size: 90%;
}

div#foot {
	font-size: 80%;
	margin: 3em 0;
	color: #999;
}

a {
	color: #f06;
	text-decoration: none;
	outline: 0;
}

a:hover {
	color: #000;
	text-decoration: none;
}

a[href="/log/feed"] {
	background:transparent url(feed-icon.png) no-repeat scroll 2px 50%;
	padding-left:16px;
}

p {
	padding: 0;
	margin: 1em 0;
}

h1 {
	font-size: 250%;
	font-weight: bold;
	margin: 1.4em 0 0.7em 0;
	letter-spacing: -0.03em;
	line-height: 0.92;
}

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

h2 {
	margin: 2em 0 0 0;
	padding: 0;
	font-size: 120%;
	font-weight: bold;
}

h3 {
	margin: 2em 0 0 0;
	padding: 0;
	font-size: 100%;
	font-weight: bold;
}

h4 {
	font-size: 80%;
	margin: 0;
}

blockquote {
	border-left: 5px solid #eee;
	padding-left: 0.5em;
	margin: 1.5em 0 1.5em 2em;
}

a img { border: 0; }
img.left{ float:left; margin-right: 10px; }
img.right{ float: right; margin-left: 5px; }
img.center { display: block; margin-left: auto; margin-right: auto; }
img.noalign{ border-right: 5px solid #fff; }

ul {
	list-style-type: square;
}


/* Blog
------------------------------------------------------------------ */

div.post {
	margin: 3em 0 6.5em 0;
}

	div.post div.foot {
		text-align: right;
		font-size: 80%;
		color: #999;
	}

div.prev { font-size: 80%; float: left; }
div.next { font-size: 80%; float: right; }
div.archive { font-size: 80%; clear: both; text-align: center; }

ul.archive { color: #eee; }
span.archiveDate, span.archiveCount { font-size: 80%; color: #999; }


/* Comments
------------------------------------------------------------------ */

input, textarea {
	border: 1px solid #555;
	color: #555;
	background-color: #fff;
	width: 180px;
	font-family: "Helvetica", "Arial", sans-serif;
}

textarea { 
	width: 100%;
	padding: 0.2em;
	height: 180px;
}

input.submit {
	border-color: #999 #555 #555 #999;
	font-weight: bold;
	color: #f06;
	font-size: 80%;
	width: auto;
}

input:focus, textarea:focus { 
	border: 1px solid #f06; 
}

div.comment {
	padding: 0em 0.5em 0 0.5em;
	margin: 3em 0;
	border-left: 5px solid #eee;
}

div.comment p { /* IE workaround \o/ */
	xpadding-bottom: 0.5em;
}

div.commentInfo {
	font-size: 80%;
}

span.commentDate {
	color: #999;
	xfloat: right;
	xfont-size: 80%;
}

form.commentAdd {
	margin-top: 0.5em;
}

div.formbox {
	float: left;
	margin: 0.5em 1em 1em 0;
}

div.clear {
	clear:both;
}

div.warn {
	border: 1px solid #ffd585;
	background-color: #ffefd2;
	padding: 0.3em;
	margin: 0.8em 0;
}

img.favatar{
	vertical-align: top;
	width: 16px;
	height: 16px;
}

.formFieldSpecial {
	width: 20px;
	margin: 0;
	border: 0;
}


/* Code and Syntax Highlighting 
------------------------------------------------------------------ */

code { 
	font-family: Courier New, Lucida Console, Bitstream Vera Sans Mono, monospace;
	background-color: #fafafa;
	color: #000;
}

pre { 
	font-family: Courier New, Lucida Console, Bitstream Vera Sans Mono, monospace; 
	font-size: 12px;
	background-color: #fcfcfc;
	border-left: 5px solid #eee;
	padding: 0.5em 0 0.5em 0.5em;
	overflow: auto;
	color: #000;
}

	pre span.N{ color:#ea0; } /* Numbers */
	pre span.S{ color:#080; } /* Strings */
	pre span.C{ color:#a60; } /* Comments */
	pre span.K{ color:#008; } /* Keywords */
	pre span.V{ color:#808; } /* Vars */
	pre span.D{ color:#a00; } /* Defines */


/* Whitebox
------------------------------------------------------------------ */

#whiteboxBackground {
	background-color: #fff;
	opacity: 0.9;
	filter: alpha(opacity=90);
	top: 0;
	left: 0;
	display: none;
	position: fixed;
	width: 100%;
	height: 100%;
}

#whitebox {
	top: 0;
	left: 0;
	display: none;
	position: fixed;
	padding: 10px;
	margin: -12px 0 0 -12px;
	background: #fff url(loading.gif) no-repeat scroll center center;
	border: 1px solid #eee;
}
	#whitebox img {
		border: 1px solid #eee;
		cursor: pointer;
	}
