/** Globals **/
* {
	margin: 0;
}

q {
	font-style: italic;
}

strong {
	color: #3B4C58;
}

blockquote p {
	border-left: 10px solid #3A4C58;
	margin: 0 25px 15px 25px;
	font-style: italic;
	padding: 0 50px 0 25px;
}

body {
	font-family: 'Lucida Grande', Helvetica, Verdana, sans-serif;
	background: #FFF url(../img/derekallard_header_bg.png) repeat-x;
}

a {
	color: #06C;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
	color: #3B4C58;
}

#skip_to_content {
	display: none;
}

#codeblock, .codeblock {
	margin: 0 25px 15px 25px;
}

code {
	white-space: pre!important;
	border-top: 1px solid #3F3F3F;
	border-bottom: 1px solid #3F3F3F;
	background: #F8F8F8;
	display: block;
	padding: 5px 5px 15px 5px;
	overflow: auto;
}

p, li, blockquote, pre {
	font-size: 95%;
}

h2 {
	font-size: 125%;
}

h3 {
	font-size: 105%;
	color: #3B4C58;
	margin-top: 15px;
}

h4 {
	font-size: 100%;	
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'trebuchet ms', Helvetica, Verdana, sans-serif;
}

p, ul, ol, pre {
	margin-bottom: 15px;
}

ul {
	list-style-image:url(/img/bullet.png);
}

.error {
	color: #C00;
	font-weight: bold;
}

.post_image {
	float: left;
	margin: 0 15px 15px 0;
}

.highlight {
	background: #FC3;
	color: #000;
}

.pgpkey {
	white-space: pre!important;
	font-family: monospace;
}

.search_result {
	margin: 15px 0;
}

.search_result h3 {
	margin: 15px auto 0 auto;
}

.search_result p {
	margin: 0;
}

/** Main Content Block **/

#content h2.pageHeading {
	font-size: 150%;
	margin-bottom: 15px;
}
#content {
	margin: 0 auto;
}

#main_content {
	padding: 30px 335px 0 60px;
	margin: auto;
}

#main_content a img {
	border: 0;
}

/** Archives **/

#archives ul {
	list-style: none!important;
	margin: 0;
	padding: 0;
}

#archives li {
	padding: 0 15px;
	float: left;
}

#archives h3 {
	clear: left;
}

/** Post Specific Styles **/

h2 a {
	color: #3B4C58;
	background: url(../img/head_v2.png) no-repeat left top;
	padding-left: 20px;
	font-size: 20px;
}

h2 a:hover {
	background-position: left bottom;
	color: #CADBE3;
}

.post {
	border-bottom: 0px solid #3B4C58;
	margin-bottom: 30px;
}

.date {
	font-weight: bold;
	color: #777;
	font-size: small;
	margin-bottom: 15px;
	padding-left: 20px;
}

.post .postmeta {
	line-height: 175%;
}

.post .continue {
	padding-left: 17px;
	background: #FFF url(../img/fire.png) no-repeat left;
}

#post_summary {
	border-top: 1px solid #3B4C58;
	border-bottom: 1px solid #3B4C58;
	background: #F8F8F8;
	color: #777;
	padding: 15px 0;
}

.comment_number {
	float: right;
	font-size: 50px;
	margin: -21px 0px 0 0;
	padding: 0;
	visibility: hidden; 
}

.comment_number a {
	color: #F8F8F8;
}

.comment:hover .comment_number a {
	text-decoration: none;
	color: #3B4C58;
}

/** Header and Menu **/
#header_holder_back {
	background: url(../img/derekallard_header_back.jpg) repeat-x 30% 0;
	border-bottom: 2px solid #3B4C58;
}

#header_holder_mid {
	background: transparent url(../img/derekallard_header_mid.png) repeat-x 60% 0;
}

#header_holder {
	height: 328px;
	text-align: center;
/*	background: url(../img/smoke_bg.png) repeat-x 80% bottom; */
}

h1 {
	line-height: 278px;
	text-indent: -5000px;
}

#menu {
/*	background: url(../img/menu_back2.png) no-repeat center top;*/
	height: 50px;
	text-align: center;
}

#menu ul, .stack {
	list-style: none;
	padding: 0;
}

.middle {
	text-align: center;
}

#menu ul li, .stack li {
	display: inline;
}

#menu ul li a {
	color: #3B4C58;
	line-height: 50px;
	text-decoration: none;
	padding: 0 15px;
	height: 50px;
	font-size: x-large;
}

#menu ul li a:hover {
	text-decoration: underline;
	color: #DF2C06;
}
#side_link_list {
	list-style: none!important;
	margin: 0!important;
	padding: 0 0 0 32px!important;
	height: 30px;
}

#side_link_list li {
	float: left;
}

#searchbutton {
	position:absolute;
	right: 38px;
	padding: 0 5px;
}
#content_sub #keywords{
	width: 200px;
	line-height: 20px;
	height: 20px;
	background: #3B4C58 url(../img/search_bg2.png) no-repeat left center;
	margin-left: -5px;
	padding-left:5px;
	border: 0;
}

#searchlabel {
	visibility: hidden;
	position: absolute;
}

#content_sub {
	position:absolute;
	right: 0;
	top: 328px;
	width: 230px;
	padding: 0 30px 167px 15px;
	font-size: small;
}
	/**
	* there's a clever little javascript fix in /js/kill_all_humans.js
	* to account for IE < 7's crappy box model support and lack of 
	* ability to do position: absolute
	*/

.sidebar1 {
	background: #3B4C58 url(../img/robo_chimp_original.png) no-repeat left bottom;
}

.sidebar2 {
	background: #3B4C58 url(../img/robo_chimp1.png) no-repeat left bottom;
}

.sidebar3 {
	background: #3B4C58 url(../img/robo_chimp2.png) no-repeat left bottom;
}

.sidebar4 {
	background: #3B4C58 url(../img/robo_chimp3.png) no-repeat left bottom;
}

.sidebar5 {
	background: #3B4C58 url(../img/robo_chimp4.png) no-repeat left bottom;
}

.sidebar6 {
	background: #3B4C58 url(../img/robo_chimp5.png) no-repeat left bottom;
}

#content_sub p, #content_sub li, #content_sub a {
	color: #FFF;
}

#content_sub a {
	text-decoration: underline;
}

#content_sub a:hover {
	color: #ABDD00;
}

#content_sub ul {
	list-style-image: url(../img/sidebar_bullet_v2.png); 
}

#content_sub h3 {
	margin: 10px 0 0 0;
	color: #CADBE3;
	border-bottom: 1px solid #CADBE3;
}

#content_sub p {
	margin: 10px 0;
}

#content_sub ul {
	margin: 0 8px;
	padding: 0 8px;
}

/** Footer **/

#footer {
	clear: both;
	text-align: center;
	margin: 30px 305px 0 30px;
}
#footer p {
	margin: -1px 0;
	font-size: x-small;

}

#footer p span {
	font-size: medium;
}

#footer p#footer_text {
	border-bottom: 1px solid #3F3F3F;
	padding: 5px 0;
	background: #E5E5E5; /* url(../img/footer_top_right.png) no-repeat right top;*/
}

/** contact form **/
#contact_form {
	border-top: 1px solid #3F3F3F;
	padding-top: 30px;
}
#contact_form label {
	display: block;
	width: 75px;
	float: left;
}
#contact_form p {
	clear: left;	
}

#contact_form #message {
	width: 100%;
}

/** comments **/
#comment_form {
	margin-top: 15px;	
}
	
#comment_form .write {
	width: 240px;
	background: url(/img/comment_write_bg.png) no-repeat;
	border: 0;
	line-height: 20px;
	height:20px;
}

#comment_form #comment {
	width: 240px;
	background: url(/img/main_comment_write_bg.png) no-repeat;
	border: 0;
	height:100px;
}

#comment_form .submit {
	font-weight: bold;
	width: 240px;
}

.comment p {
	margin: 15px!important;
}

.comment label {
	display: inline!important;
}

/** assorted classes, mostly down here for convenience **/

.even, .odd {
	padding: 5px 0;
	margin: 10px 0;
}

.even {
	border: 2px solid #3B4C58;
}

.odd {
	background: #F8F8F8;
/*	border-top: 1px solid #DADADA;
	border-bottom: 1px solid #DADADA;*/
	border: 2px solid #DADADA;
}

.owner {
	background: #3A4C58 url(../img/owner_back.png) no-repeat top left;
	padding-left: 35px;
	color: #FFF;
	border: 0;
}

.owner blockquote p {
	border-color: #CADBE3;
}

.owner blockquote {
	margin: 0 50px;
	text-align: justify;
	font-style: italic;
}

.owner code {
	background: #3F3F3F;
	color: #FFF;
}
.owner .codeblock code {
	background: #FFF!important;
	margin-right: 15px;
}
.owner a {
	color: #84C700;
}

.widecol {
	text-align: center;
}

div#fancy_overlay {
	position:absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	background-color: #333;
}

div#fancy_loading {
	position: absolute;
	height: 40px;
	width: 40px;
	cursor: pointer;
	display: none;
	overflow: hidden;
	background: transparent;
	z-index: 100;
}

div#fancy_loading div {
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 480px;
	background: transparent url(../img/fancy/fancy_progress.png) no-repeat;
}

div#fancy_close {
	position: absolute;
	top: -12px;
	right: -12px;
	height: 30px;
	width: 30px;
	background: transparent url(../img/fancy/fancy_closebox.png) ;
	cursor: pointer;
	z-index: 100;
	display: none;
}

div#fancy_content {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 0; 
	margin: 0;
	z-index: 96;
}

#fancy_frame {
	position: relative;
	width: 100%;
	height: 100%;
	display: none;
}

img#fancy_img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border:0; 
	padding: 0; 
	margin: 0;
	z-index: 92;
}

div#fancy_title {
	position: absolute;
	bottom: -35px;
	left: 0;
	width: 100%;
	z-index: 100;
	display: none;
}

div#fancy_title table {
	margin: 0 auto;
}

div#fancy_title div {
	color: #FFF;
	font: bold 12px Arial;
	padding-bottom: 2px;
}

td#fancy_title_left {
	height: 32px;
	width: 15px;
	background: transparent url(../img/fancy/fancy_title_left.png) repeat-x;
}

td#fancy_title_main {
	height: 32px;
	background: transparent url(../img/fancy/fancy_title_main.png) repeat-x;
}

td#fancy_title_right {
	height: 32px;
	width: 15px;
	background: transparent url(../img/fancy/fancy_title_right.png) repeat-x;
}

div#fancy_outer {
	position: absolute;
    top: 0;
    left: 0;
    z-index: 90;
    padding: 18px 18px 58px 18px;
    margin: 0;
    overflow: hidden;
    background: transparent;
    display: none;
}

div#fancy_inner {
	position: relative;
	width:100%;
	height:100%;
	border: 1px solid #444;
	background: #FFF;
}

a#fancy_left, a#fancy_right {
	position: absolute; 
	bottom: 10px; 
	height: 100%; 
	width: 35%; 
	cursor: pointer;
	background-image: url(../img/fancy/data:image/gif;base64,AAAA);
	z-index: 100; 
}

a#fancy_left {
	left: 0px; 
}

a#fancy_right {
	right: 0px; 
}

a#fancy_left:hover {
	background: transparent url(../img/fancy/fancy_left.gif) no-repeat 0% 100%;
}

a#fancy_right:hover {
	background: transparent url(../img/fancy/fancy_right.gif) no-repeat 100% 100%;
}

#fancy_bigIframe, #fancy_freeIframe {
	position:absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10;
}

div#fancy_bg {
	display: none;
}
	
div.fancy_bg {
	position: absolute;
	display: block;
	z-index: 70;
}

div.fancy_bg_n {
	top: -18px;
	width: 100%;
	height: 18px;
	background: transparent url(../img/fancy/fancy_shadow_n.png) repeat-x;
}

div.fancy_bg_ne {
	top: -18px;
	right: -13px;
	width: 13px;
	height: 18px;
	background: transparent url(../img/fancy/fancy_shadow_ne.png) no-repeat;
}

div.fancy_bg_e {
	right: -13px;
	height: 100%;
	width: 13px;
	background: transparent url(../img/fancy/fancy_shadow_e.png) repeat-y;
}

div.fancy_bg_se {
	bottom: -18px;
	right: -13px;
	width: 13px;
	height: 18px;
	background: transparent url(../img/fancy/fancy_shadow_se.png) no-repeat;
}

div.fancy_bg_s {
	bottom: -18px;
	width: 100%;
	height: 18px;
	background: transparent url(../img/fancy/fancy_shadow_s.png) repeat-x;
}

div.fancy_bg_sw {
	bottom: -18px;
	left: -13px;
	width: 13px;
	height: 18px;
	background: transparent url(../img/fancy/fancy_shadow_sw.png) no-repeat;
}

div.fancy_bg_w {
	left: -13px;
	height: 100%;
	width: 13px;
	background: transparent url(../img/fancy/fancy_shadow_w.png) repeat-y;
}

div.fancy_bg_nw {
	top: -18px;
	left: -13px;
	width: 13px;
	height: 18px;
	background: transparent url(../img/fancy/fancy_shadow_nw.png) no-repeat;
}