/*
Theme Name: shadypixel
Theme URI: http://blog.shadypixel.com/
Description: Custom theme for Random Bits blog.
Version: 0.9
Author: Avery Fay
Author URI: http://blog.shadypixel.com/
Tags: fixed width, two columns, widgets, colorful

Not for redistribution.
*/

html, body {
	height: 100%;
}

body {
	background-image: url(/wp-content/themes/shadypixel/images/body-bg.png);
	background-repeat: repeat-x;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	line-height: 1.5;
}

#content {
	/* font-size: 108%; */
	/* line-height: 1.4; */
	color: #333;
}

a {
	color: #5d81ae;
}

a:hover {
	color: #b3c8e1;
}

h1 {
	font-size: 138.5%;
}

h2 {
	font-size: 123.1%;
}

h3 {
	font-size: 108%;
}

h1,h2,h3,h4,h5,h6 {
	margin: 1em 0;
}

h1,h2,h3,h4,h5,h6,strong,dt {
	font-weight: bold;
}

optgroup {
	font-weight: normal;
}

abbr,acronym {
	border-bottom: 1px dotted #000;
	cursor: help;
}

em {
	font-style: italic;
}

del {
	text-decoration: line-through;
}

blockquote,ul,ol,dl {
	/* Giving blockquotes and lists room to breath. */
	margin: 1em;
}

ol,ul,dl {
	/* Bringing lists on to the page with breathing room. */
	margin-left: 2em;
}

ol li {
	/* Giving OL's LIs generated numbers. */
	list-style: decimal outside;
}

ul li {
	/* Giving UL's LIs generated disc markers. */
	list-style: disc outside;
}

dl dd {
	/* Giving UL's LIs generated numbers. */
	margin-left: 1em;
}

table {
	border: 1px solid #999;
	background-color: #eee;
}

th,td {
	border: 1px solid #ccc;
	padding: .5em;
	text-align: right;
}

th {
	font-weight: bold;
	text-align: center;
}

caption {
	/* Coordinated margin to match cell's padding. */
	margin-bottom: .5em;
	/* Centered so it doesn't blend in to other content. */
	text-align: center;
}

sup {
	/* to preserve line-height and selector appearance */
	vertical-align: super;
}

sub {
	/* to preserve line-height and selector appearance */
	vertical-align: sub;
}

p, fieldset, table, pre {
	margin-bottom: 1em;
}

button,
input[type="checkbox"],
input[type="radio"],
input[type="reset"],
input[type="submit"] {
	padding:1px;
}

code {
	color: #666;
	background-color: #f9f4bf;
}

code.path {
	background-color: #fff;
}

pre {
	background-color: #eee;
	border: 1px solid #999;
	overflow: auto;
	padding: 5px;
}

pre.wrap {
	white-space: pre-wrap; /* css3 */
	white-space: -moz-pre-wrap !important; /* mozilla */
	white-space: -pre-wrap; /* old opera */
	white-space: -o-pre-wrap; /* new opera */
	word-wrap: break-word; /* ie */
}

/* --- wrapper --- */

#not-footer {
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -100px;
	width: 1000px;
}

/* --- header --- */

#header {
	position: relative;
	background-image: url(/wp-content/themes/shadypixel/images/header-bg.png);
	background-repeat: no-repeat;
	background-position: 10px 10px;
	height: 185px;
}

#header a {
	text-decoration: none;
	outline: none;
	color: #ccc;
}

#header a:hover {
	color: #fff;
}

#header #title {
	margin: 0;
	line-height: 60px;
	position: absolute;
	bottom: 80px;
	left: 155px;
	font-size: 48px;
}

#header #title a {
	color: #fff;
}

#header #logo {
	position: absolute;
	top: 45px;
	left: 80px;
}

#header-nav {
	margin: 0;
	position: absolute;
	bottom: 0px;
	left: 0px;
}

#header-nav li {
	list-style: none;
	display: inline;
	margin-right: 10px;
}

#header-nav li a {
	font-size: 18px;
	line-height: 35px;
	font-weight: bold;
}

/* --- content --- */

#content {
	margin: 20px 0;
	padding-right: 20px;
	width: 634px;
	float: left;
}

/* --- sidebar --- */

#sidebar {
	margin: 20px 0;
	width: 324px;
	border-left: 2px dashed #ccc;
	padding-left: 20px;
	float: right;
}

#sidebar ul {
	margin: 0;
}

#sidebar li {
	list-style: none;
}

#sidebar li.sidebox {
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	margin-bottom: 20px;
	padding: 10px;
}

#sidebar ul ul {
	margin-left: 10px;
	font-size: 108%;
}

#sidebar h2 {
	margin: 0 0 5px 0;
}

#sidebar a {
	color: #000;
	text-decoration: none;
	border-bottom: 1px dotted #000;
}

#sidebar a:hover {
	color: #999;
	border-color: #999;
}

#sidebar li#sidebox-ad {
	border: 2px solid #ccc;
}

#sidebar li#sidebox-categories {
	border: 2px solid #bbdb5d;
	background-color: #e0f1ac;
}

#sidebar li#sidebox-lift {
	border: 2px solid #f4e65c;
	background-color: #f9f4bf;
}

#sidebar li#sidebox-meta {
	border: 2px solid #b3c8e1;
	background-color: #e3eaf2;
}

#sidebar li:last-child {
    margin: 0;
}

/* --- utility --- */

.clear {
	clear: both;
}

/* --- footer --- */

#footer, #push {
	height: 100px;
}

#footer {
	background-color: #404040;
	text-align: center;
	color: #ccc;
}

#footer a {
	color: #b3c8e1;
}

#footer a:hover {
	color: #fff;
}

#footer p {
	margin: 0;
	padding-top: 20px;
}

/* --- wordpress --- */

.page h1 {
	text-align: center;
}

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

.alignright {
	float: right;
}

.alignleft {
	float: left;
}

.postinfo {
	/* border: 2px solid #000; */
	border-bottom: 0;
	-moz-border-radius-topleft: 10px;
	-moz-border-radius-topright: 10px;
	-webkit-border-top-left-radius: 10px;
	-webkit-border-top-right-radius: 10px;
}

.postinfo h1 {
	margin-top: 0;
}

.postinfo a.posttitle {
	text-decoration: none;
}

.postinfo a.posttitle:hover {
	text-decoration: underline;
}

.wp-caption {
	/* padding: 10px 10px 0 10px; */
	background-color: #eee;
	border: 1px solid #999;
	margin-bottom: 1em;
}

.wp-caption img {
	border-bottom: 1px solid #999;
}

.wp-caption p.wp-caption-text {
	margin: 5px;
	/* margin-top: 0.5em; */
	font-size: 93%;
	font-style: italic;
	text-align: right;
}

/* --- end of post links --- */

div#sponsoredlinks {
    width: 300px;
    float: left;
    padding: 0 16px 1em 0;
	margin-bottom: 1em;
    border-right: 2px dashed #ccc;
}

div#relatedposts {
    width: 300px;
    float: right;
    padding: 0 0 1em 16px;
}

#relatedposts ul {
    margin: 0;
}

#relatedposts li {
    list-style: none;
	line-height: 1.2;
	margin-bottom: 1em;
}

#relatedposts li a {
    font-size: 10px;
    font-weight: bold;
}

#relatedposts li p {
    font-size: 11px;
    margin: 0.35em 0 0 0;
}

/* --- comments --- */

ol.commentlist {
	margin: 0;
}

.commentlist li {
	list-style: none;
}

.commentlist ul.children {
	margin: 0;
}

.commentlist ul.children li {
	padding-left: 40px;
	background-image: url(/wp-content/themes/shadypixel/images/comment-bar-4.png);
	background-repeat: repeat-y;
}

.commentlist ul.children li.only-child, .commentlist ul.children li.last-child {
	background-image: none;
}

.commentlist div.wrapper {
	padding-top: 20px;
	margin-left: -40px;
	padding-left: 40px;
	background-repeat: no-repeat;
}

.commentlist div.only-child {
	background-image: url(/wp-content/themes/shadypixel/images/comment-connect-only-1.png);
}

.commentlist div.first-child {
	background-image: url(/wp-content/themes/shadypixel/images/comment-connect-first-1.png);
}

.commentlist div.sibling {
	background-image: url(/wp-content/themes/shadypixel/images/comment-connect-sibling-1.png);
}

.commentlist div.last-child {
	background-image: url(/wp-content/themes/shadypixel/images/comment-connect-last-1.png);
}

.comment-meta-wrapper {
	padding-bottom: 10px;
	margin-bottom: 10px;
	border-bottom: 2px dashed #ccc;
	line-height: 1;
}

.comment-author {
	float: left;
}

.comment-meta {
	float: right;
}

.commentlist div.comment {
	padding: 10px;
	border: 2px solid #999;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

#commentform textarea {
	width: 80%;
}

/* --- ads --- */

