/*  
Theme Name: The Devil in Me
Theme URI: http://www.thepixelexperience.net/
Description: A wordpress theme for Mark Payne's blog, the Devil in Me.
Version: v2
Author: Oliver Lorton
Author URI: http://www.thepixelexperience.net/
*/

/* Remove margin, padding and border from everything
-----------------------------------------------------------------------------*/

* {
	margin: 0;
	padding: 0;
	border: 0;
}

/* Styles for layout
-----------------------------------------------------------------------------*/

.clear {
	clear:both;
}

.alignright {
	float: right;
}

.alignleft {
	float: left;
}

hr {
	clear:both;
}

/* Typography
-----------------------------------------------------------------------------*/

h1 {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 2.2em; /* Equivalent to 22pt */
	font-weight: normal;
}
	
h2 {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 2.0em; /* Equivalent to 20pt */
	font-weight: normal;
}
	
h3 {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 1.8em; /* Equivalent to 18pt */
	font-weight: normal;
}
	
h4 {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 1.6em; /* Equivalent to 18pt */
	font-weight: normal;
}
	
h5 {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 1.4em; /* Equivalent to 14pt */
	font-weight: normal;
}
	
p, q, cite {
	font-size: 1.2em; /* Equivalent to 12pt */
	margin-bottom: 0.6em;
}

ul, ol, dl {
	list-style: none;
	font-size: 1.2em; /* Equivalent to 12pt */
}

li, dd, dt {
	font-size: 1.2em; /* Equivalent to 12pt */	
}

a {
	text-decoration: underline;
	color: black;
}

a:hover {
	text-decoration: none;
	color: black;
}

/* Set up the document
-----------------------------------------------------------------------------*/

body {
	font: 62.5%/1.5  Cambria, Georgia, Times, Times New Roman, serif ;
	color: #333;
	background: #d5d6d7 url(images/background-tile.png) fixed repeat;
}

#page {
	width: 990px;
	margin: 0 auto;
	background: url(images/background-football.png) no-repeat;
	padding-left: 20px;
}

#header {
	padding-top:30px;
}

#header h1 {
	color: black;
	font-size: 6em;
	font-weight: bold;
	letter-spacing: -2px;
}

#header a {
	text-decoration: none;
}

#header .description {
	font-size: 1.2em;
}

#header-menu {
	display: block;
	margin-top: 40px;
}

#header-menu li {
	float: left;
	padding: 2px 7px;
	margin-right: 10px;
	background-color: white;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 1.4em; /* Equivalent to 14pt */
	font-weight: normal;
	color: black;
}

#header-menu li:hover {
	background-color: #c60000;
}

/* Sidebar
-----------------------------------------------------------------------------*/
#sidebar {
	width: 290px;
	height: 437px;
	margin: 20px 20px 0 0;
	float: right;
	padding: 10px;
	background-color: white;
	border-top: 10px solid #c60000;
	overflow: hidden;
	font-size: 1em;
}

#author-blurb {
	height: 170px;
	overflow: hidden;
}

#sidebar h5 {
	color: #999;
	font-size: 0.9em;
	text-align: center;
	border-bottom: 1px #999 solid;
}

#adwords-frontpage {
	padding: 2px 20px 0px 20px;
	width: 250px;
	height: 250px;
}


/* Loops
-----------------------------------------------------------------------------*/

.loop .post {
	width: 290px;
	height: 193px;
	margin: 20px 20px 0 0;
	float: left;
	padding: 10px;
	background-color: white;
	border-top: 10px solid #c60000;
}

.loop .post h2 {
	height: 35px;
	word-wrap:  break-word;
	overflow: hidden;
}

.loop .entry {
	height: 144px;
	overflow: hidden;
}

.loop a {
	text-decoration: none;
}

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


/* Archives
-----------------------------------------------------------------------------*/

.archives {
	width: 640px;
}
.archives .pagetitle {
	background: white;
	margin: 20px 0;
	padding: 10px;
}

.archives h3 {
	background-color: white;
	font-size: 2.6em;
}

.archives .post {
	margin-bottom: 20px;
	padding: 10px;
	background-color: white;
	border-bottom: 10px solid #c60000;
}

.archives small {
	background-color: white;
	margin: 0 10px 10px 0;
}

.archives .postmetadata {
	clear: both;
}

.archives h3 a {
	text-decoration: none;
}

.archives h3 a:hover {
	text-decoration: underline;
}


/* Page Nav
-----------------------------------------------------------------------------*/
.page-nav {
	margin: 20px 20px 0 0;
	clear:both;
	display: block;
	font-size: 1.2em;
}

.page-nav .alignright a,.alignleft a {
	background-color: white;
	padding: 2px 7px;
}

.page-nav .alignright a:hover,.alignleft a:hover {
	text-decoration: none;
	background-color: #c60000;
}


/* Footer
-----------------------------------------------------------------------------*/
#footer {
	margin: 100px 0 50px 0;
}

#footer li h2 {
	font-size: 1.4em;
	clear: both;
}

#footer li ul li {
	font-size: 0.7em;
	background-color: white;
	padding: 2px 7px;
	float: left;
	margin: 0 10px 10px 0;
}

#footer li ul li:hover {
	background-color: #c60000;
}

#footer a {
	text-decoration: none;
}

#credits {
	margin-top: 20px;
	color: black;
}

#credits a:hover {
	text-decoration: underline;
}


/* Single Post
-----------------------------------------------------------------------------*/
#adwords {
	width: 290px;
	height: 500px;
	margin: 0px 20px 0 0;
	float: right;
	padding: 10px;
	background-color: white;
	border-top: 10px solid #c60000;
}

.singlepage {
	width: 640px;
}

.singlepage h2 {
	margin-top:20px;	
	background-color: white;
	padding: 15px 10px 5px 10px;
	border-top: 10px solid #c60000;
	font-size: 2.6em;
}

.singlepage .entry {
	margin-bottom: 20px;
	padding: 10px;
	background-color: white;
	border-bottom: 10px solid #c60000;
}

.singlepage .postmetadata small {
	float: left;
	background-color: white;
	padding: 2px 7px;
	float: left;
	margin: 0 10px 10px 0;
}

.singlepage .postmetadata {
	clear: both;
}


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

#respond {
	clear: both;
}

#comments {
	margin-top: 100px;
	clear: both;
}

.comment-body {
	width: 620px;
	margin-bottom: 50px;
	padding: 10px;
	background-color: white;
	border-bottom: 5px solid #c60000;
}

.comment-author .fn {
	font-style: normal;
}

.comment-author .says {
	display: none;
}

.comment-author {
	float: left;
}

.comment-meta {
	float: right;
	text-align: right;
}

.comment-body p {
	clear: both;
	font-size: 0.8em;
}

#commentform #comment {
	width: 620px;
	padding: 10px;
}

#commentform input {
	padding: 10px;
	margin-right: 10px;
	background-color: white;
}

#commentform #submit:hover {
	background-color: #c60000;
}


/* Images
-----------------------------------------------------------------------------*/
.entry .alignleft {
	margin: 10px 10px 10px 0px;
}

.entry .alignright {
	margin: 10px 0px 10px 10px;
}

