/* @override 
	http://oldguy.antipode.ca/wp-content/themes/oldguy/style.css
	http://oldguy.alteringtime.com/wp-content/themes/oldguy/style.css
*/

/*
Theme Name: Oldguy Theme
Theme URI: http://oldguy.antipode.ca/
Description: The theme for Just Ask Oldguy.
Author: Allen Pike
Author URI: http://antipode.ca/
*/

/* 
	Grid: 8 / 72 for 9 columns, 20px rows
*/

body {
	background-color: #2c0700;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#811c08), to(#2c0700));
	background-repeat: no-repeat;
	background-attach: fixed;
	-webkit-background-size: 9999px 800px;
	font-size: 14px;
	line-height: 20px;
	font-family: Georgia, Serif;
	color: #333;
}

h1 a:link,
h1 a:visited {
	text-decoration: none;
	color: #513e0a;
	font-size: 56px;
	text-shadow: 1px 1px 1px white;
	/* #e9e5d9 is a possible highlight*/
}

h1 a:hover {
	color: #634800;
}

/* Page Title */

h2 {
	font-size: 16px;
	font-weight: normal;
	color: #222;
	font-family: Helvetica, Arial;
	text-shadow: 1px 1px 0px white;
	-webkit-transform: rotate(-3deg);
	-moz-transform: rotate(-3deg);
    background-color: #FCFCFC;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#FCFCFC), to(#E9E9E9));
	padding: 30px 80px 58px 80px;
	position: relative;
	top: -20px;
	left: -120px;
	width: 488px;
	-webkit-box-shadow: 2px 2px 7px rgba(0,0,0,0.5);
	-moz-box-shadow: 2px 2px 7px rgba(0,0,0,0.5);
}

#page a.question:link, #page a.question:visited, #page a.question:hover {
    text-decoration: none !important;
    color: #222;
    cursor: pointer;
}

#page a.question h2:hover {
    background: #BBB;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#BBB));
}

a.question h2 {
    margin: 20px 0 35px 0;
}

h2:before {
	content:  "Q:";
	top: 36px;
	margin-top: 5px;
	font-size: 32px;
	float: left;
	margin-left: -52px;
}

.date:before {
	content:  "A:";
	top: 36px;
	margin-top: 41px;
	font-size: 32px;
	float: left;
	margin-left: -52px;
}

h2 .asker {
	position: absolute;
	right: 20px;
	bottom: 20px;
}

a:link,
a:visited {
	color: #950000;
}

a:hover {
	color: #c00;
}

blockquote {
	margin-left: 72px;
	margin-right: 0;
	padding-left: 0;
}

.date {
	font-style: italic;
}

/* Question Form */

#question {
	position: relative;
}

#question ul {
	margin-left: 0;
	padding-left: 0;
}

#question li {
	list-style-type: none;
	margin-top: 0.8em;
}

#question input {
	width:  200px;
	position:  absolute;
	left:  100px;
}

#question textarea {
	width: 100%;
	height: 5em;
}

#question input[type="submit"] {
	width:  100px;
	position: absolute;
	left: auto;
	right:  0;
}

/* Content Box */

.box {
	background: #e9e3d3 url(images/texture.png);
	padding: 40px 80px 80px 80px;
	margin: 40px 0px;
	border: 2px solid rgba(255, 255, 255, 0.2);
	position: relative;
}

.box > *:first-child {
	margin-top: 0;
}

.box > *:last-child {
	margin-bottom: 0;
}


.clear {
	clear: both;
}

/* Specific page items */

#page {
	width: 648px;
	margin-left:  auto;
	margin-right: auto;
}

#header.box {
	margin-top: -16px;
	padding-bottom: 60px;
}

#footer.box {
	padding-bottom: 60px;
}

#header .description {
	font-size: 16px;
}

.column_links {
	font-weight: bold;
	font-size: 16px;
	position: relative;
	font-family: Helvetica, Arial;
	text-shadow: 1px 1px 1px #f2e8e8;
    height: 1em;
}

.column_links a {
    /* We don't put the position:absolute here because if your browser doesn't support :nth-child, you can't navigate the site. */
	text-decoration: none;
}

.column_links a:hover {
	text-decoration: underline;
}

.column_links :nth-child(1) {
	position: absolute;
	left: 0;
}

.column_links :nth-child(2) {
	position: absolute;
	left: 160px;
}

.column_links :nth-child(3) {
	position: absolute;
	left: 320px;
}

#credits {
	margin-top: 2em;
}

/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left;
	}
/* End Images */

hr {
	display: none;
}

a img {
	border: none;
	}


