/*
   Look, I know this place is a mess.
	 I'll tidy it up soon. I promise.
*/

@media screen {
  body {
    text-align: center;  
	background-color: #A90000;
  }
  div#container {
    text-align: left;
	width: 960px;
	background: url('/images/design/body.png') left top repeat-y;	
	margin: 0 auto;
	overflow: auto;
	padding: 0;
  }  
  div#head {
    float: left;
	width: 960px;
	height: 180px;
	background: url('/images/design/header.png') left top no-repeat;	
	position: relative;
  }
  div#head h1 a {
    position: absolute;
	height: 120px;
	display: block;
	width: 400px;
	top: 15px;
	left: 0;    
  }
  div#head h1, div#head h2 {
    text-indent: -9999em;
  }
  
  div#head form {
    float: right;
	padding: 9px 10px 0 10px;
	text-align: left;
	width: 300px;
	height: 90px;
	margin-right: 140px;
	background: url('/images/design/form.png') -320px bottom no-repeat;
  }
  div#head form fieldset {
    width: 288px;
	margin: 0 auto;
  }
  div#head form label {
    float: left;
	text-indent: -9999em;
  }
  div#head form.flop {
    background: url('/images/design/form.png') 0 bottom no-repeat;
  }	
  div#head form input {
    float: left;
	clear: left;
	margin-left: 10px;
	margin-top: 9px;
	border: 2px solid #ccc;
	color: #666;
	background-color: #fff;
	padding: 4px;
  }
  div#head form.flop input {
    border: 2px solid #808080;
	color: #000;
	width: 200px;
  }
  
  div#head ul#navi {
    position: absolute;
	bottom: 0; 
	left: 200px;
	padding-bottom: 18px;
  }
  div#head ul#navi li {
    float: left;
	width: 160px;
  }
  div#head ul#navi li a {
    width: 160px;
	height: 24px;
	background: url('/images/design/links.png') top left no-repeat;
	display: block;
	text-indent: -9999em;
  }
  div#head ul#navi li#home a {
    background-position: 30px -36px;
  }
  div#head ul#navi li#home a:hover, div#head ul#navi li#home a:focus, body#default div#head ul#navi li#home a {
    background-position: 30px 0;
  }
  div#head ul#navi li#bout a {
    background-position: -160px -36px;
  }
  div#head ul#navi li#bout a:hover, div#head ul#navi li#bout a:focus, body#about div#head ul#navi li#bout a {
    background-position: -160px 0;
  }
  div#head ul#navi li#blogr a {
    background-position: -320px -36px;
  }
  div#head ul#navi li#blogr a:hover, div#head ul#navi li#blogr a:focus, body#blog div#head ul#navi li#blogr a {
    background-position: -320px 0;
  }
  div#head ul#navi li#link a {
    background-position: -480px -36px;
  }
  div#head ul#navi li#link a:hover, div#head ul#navi li#link a:focus, body#links div#head ul#navi li#link a {
    background-position: -480px 0;
  }
  div#head ul#navi li#link {
    display: none;
  }

  div#aside {
    float: left;
	clear: left;
	width: 240px;
	min-height: 200px;
	padding: 0 40px;
	text-align: right;
	font-family: verdana, arial, sans-serif;
  }
  div#aside p, div#aside li {
    font-size: 0.8em;
	line-height: 1.875em;
  }
  div#aside h3 {
	font-size: 1em;
	color: #A90000;
	margin-top: 1em;
	line-height: 1em;
	font-weight: bold;
	font-family: Georgia, sans-serif;
  }
  div#aside h3 {
	background: url('/images/design/headers.png') right 0 no-repeat;
    height: 36px;
    width: 240px;	
	text-align: left;
	text-indent: -9999em;
  }	
  div#aside h3#twitted {
    background-position: right -126px;
  }
  div#aside h3#colofon {
    background-position: right -90px;
  }
  div#aside h3#bytes {
    background-position: right -54px;
  }
  div#aside h3#blarch {
    background-position: right -18px;
  }
  div#aside h3#topics {
    background-position: right -162px;
  }
  
  div#section{
    float: left;
	width: 500px;
	padding: 0 40px;
	font-family: verdana, arial, sans-serif;
  }
  
  div#section h3 {
    font-size: 1em;
	line-height: 1.5em;
	margin: 1em 0 0 0;
	color: #A90000;
	font-weight: bold;
  }
	div#section div.mem_list h3 {
    margin: 1em 0;
		color: #000;
	}
	
  div#section h3#results {
    background: url('/images/design/headers.png') left -198px no-repeat;
    height: 36px;
    width: 240px;	
	text-align: left;
	text-indent: -9999em;
  }
  div#section h3#entries {
    background: url('/images/design/headers.png') left -234px no-repeat;
    height: 36px;
    width: 240px;	
	text-align: left;
	text-indent: -9999em;
  }
  div#section h4 {
    font-size: 0.8em;
	line-height: 1.875em;
	margin: 0 0 0.5em 0;
	color: #A90000;
	font-weight: bold;
  }
  div#section div#sticky {
    background: url('/images/design/sticky.png') bottom left no-repeat;
	padding: 18px 9px 54px 9px;
	margin-top: 9px;
	color: white;
	text-align: center;
  }
  div#section h3 a {
    text-decoration: none;
	color: #a90000;
	border-bottom: 1px solid white;
  }
  div#section div.search strong {
    font-weight: bold;
	color: #a90000;
  }
  div#section h3 a:hover, div#section h3 a:focus, div#section h3 a:active {
    border-bottom: 1px solid #a90000;
  }
  div#section p, div#section li{
    font-size: 0.8em;
	line-height: 1.875em;
  }
  div#section p, div#section ul {
    margin: 0 0 1em 0;
  }
	div#section div.mem_list li {
    padding-left: 20px;	
		border: none;
	}
	div#section div.mem_list li a {
    margin-left: -20px;	
	}
	
  div#section li{
    border-left: #ccc 1em solid;
  }
  div#section li{
    padding-left: 18px;
  }
  div#section dl.blogify dt{
    font-size: 1em;
	line-height: 1.5em;
	margin: 0;
	color: #A90000;
	font-weight: bold;
  }
  div#section dl.blogify dd{
    font-size: 0.8em;
	line-height: 1.875em;
  }
  div#section h3#comment {
    width: 200px;
	text-indent: -9999em;
	background: url('/images/design/comments.png') 0 -36px no-repeat;
	height: 30px;
  }
  div#section form#txpCommentInputForm label, div#section form#txpCommentInputForm input {
    line-height: 1.2em; font-size: 0.8em;
	margin: 0.5em 0 0 0;
  }
  div#section form#txpCommentInputForm textarea {
    margin: 0.5em 0 0 0;
  }
  div#section form#txpCommentInputForm label {
    float: left; clear: left; width: 200px;
  }
  div#section form#txpCommentInputForm input, div#section form#txpCommentInputForm textarea {
    float: left;
  }
  div#section form#txpCommentInputForm p, div#section form#txpCommentInputForm input#remember {
    clear: left;
  }
  div#section form#txpCommentInputForm p#jeRecal label {
    clear: none;
	font-size: 1em;
	margin-left: 186px;
  }
  div#section form#txpCommentInputForm fieldset {
    clear: left;
  }
  div#section form#txpCommentInputForm fieldset p.legend {
    display: block;
	float: left;
	clear: left;
	width: 200px;
	background: url('/images/design/comments.png') 0 0 no-repeat;
	height: 30px;
	text-align: left;
	text-indent: -9999em;
  }
  
  div.article h3 {
    margin:0;
	padding: 0;
	font-style: italic;
  }
	div.article blockquote {
	  border-left: 10px solid #808080; 
		padding-left: 10px;
		color: #666;
	}
  div#section  ol.comments li {
    padding-left: 0;
	border: none;
    font-size: 1em;
  }
  
  
  div#section  ol.comments li, div#cpreview  {
    float: left;
	clear: left;
  }
  div#section  ol.comments li blockquote, div#cpreview blockquote {
    background: #dddddd url('/images/design/commented.png') bottom right no-repeat;
	padding-bottom: 68px;
	width: 500px;
  }
  div#section  ol.comments li blockquote.mine, div#cpreview blockquote.mine {
    background: #a90000 url('/images/design/commenred.png') bottom right no-repeat;
	color: white;
  }
  div#section  ol.comments li blockquote.mine a, div#cpreview blockquote.mine a {
    color: white;
  }
  div#section  ol.comments li blockquote p, div#section div#cpreview blockquote p {
    padding: 9px 9px 0 9px;
		margin: 0;
  }
  div#section  ol.comments li p.small, div#cpreview p.small {
    text-align: right;
  }
	div#section  ol.comments li blockquote.mine p a, div#section  div#cpreview blockquote.mine p a {
		font-weight: bold;
		color: white;
	}
	div#section  ol.comments li blockquote.mine p a:hover, div#section  ol.comments li blockquote.mine p a:focus {
	  background-color: #660000;
  }
	div#footer {
    float: left;
	width: 960px;
	background: #A90000 url('/images/design/footer.png') left top no-repeat;
	height: 184px;	
	padding-bottom: 20px;
	margin-bottom: 0;
	overflow: auto;
  }
  div#footer p {
	text-indent: -9999em;
    margin: 0;
  }
  ul li.category_list a.categorised {
    font-weight: bold;
  }
  div#section a, div#aside a {
    color: #a90000;
	text-decoration: none;
	padding: 2px 0;
  }
  div#section a:hover, div#aside a:hover {
    background-color: #a90000;
	color: white;
  }
  div#section a:focus, div#aside a:focus {
    background-color: #a90000;
	color: white;
  }
  a:active {
    color: #000;
  }
  div#head form fieldset input#submitify, div#head form.flop fieldset input#submitify {
    width: 34px;
    height: 28px;
	text-indent: -9999em;
	background: transparent url('/images/design/submitify.png') -40px no-repeat;
	float: right;
	cursor: pointer;
	color: transparent;
	clear: none;
	border: none;
  }
  div#head form fieldset input#submitify:focus, div#head form fieldset input#submitify:hover, div#head form fieldset input#submitify:active, div#head form.flop fieldset input#submitify:focus, div#head form.flop fieldset input#submitify:hover, div#head form.flop fieldset input#submitify:active {
    color: transparent;
	text-indent: -9999em;
	background: transparent url('/images/design/submitify.png') 0 no-repeat;
  }
  div#sticky a {
    color: white;
	font-weight: bold;
  }  
  div#sticky a:focus, div#sticky a:hover, div#sticky a:active {
    background-color: #600;
  }  
  div#section pre {
	  font-size: 0.8em;
		line-height: 1.4em;
		padding: 20px;
		background-color: #eee;
		border: 1px dotted #999;
		margin: 1em 0;
	} 
  strong {
	  font-weight: bold;
	}
	em {
	  font-style: italic;
	}
}


