html, body, #wrap {
	height: 100%;
	}
body > #wrap {
	height: auto;
	min-height: 100%;
	}
body {
	margin: 0;
	padding: 0;
	color: #666;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	line-height: 1.7em;
	}
img {
	border: 0;
	}
a {
	border-bottom: 1px dotted #f3f;
	color: #f3f;
	text-decoration: none;
	}
a:hover {
	background-color: #f3f;
	color: #fff;
	}
a.image {
	border: 0;
	background-color: transparent;
	color: #f3f;
	}

/* LAYOUT */
#main {
	width: 100%;
	padding-bottom: 250px; /* footer height */
	}
#body {
	width: 970px;
	margin: 0 auto;
	}
#content {
	width: 635px;
	margin-bottom: 60px;
	float: left;
	}
#sidebar {
	width: 240px;
	margin: 75px 0 60px 95px;
	float: left;
	}

/* HEADER */
#header {
	width: 100%;
	background-color: #f3f;
	color: #fff;
	float: left;
	}
#header a {
	border-bottom: 1px dotted #fff;
	color: #fff;
	}
#header a:hover {
	background-color: #fff;
	color: #f3f;
	}
#header_main, #header_title {
	width: 970px;
	margin: 0 auto;
	clear: both;
	}
#header_main h1 {
	margin: 25px 0 60px 0;
	font-weight: normal;
	text-transform: uppercase;
	}
#header_title h2 {
	margin: 0 0 15px 0;
	font-size: 21px;
	clear: both;
	}
#header_title h3 {
	margin: 0 0 40px 0;
	font-size: 17px;
	}

/* SEARCH MESSAGE */
.search_message, .search_author {
	width: 595px;
	margin-top: 75px;
	padding: 20px;
	background-color: #eee;
	float: left;
	}
.search_message h3 {
	margin: 0;
	font-size: 16px;
	}
.search_author img {
	margin-right: 20px;
	float: left;
	}
.search_author h3 {
	margin: 0;
	color: #f3f;
	font-size: 20px;
	text-transform: uppercase;
	}
.search_author h5 {
	margin: 0;
	color: #999;
	font-size: 10px;
	font-weight: normal;
	text-transform: uppercase;
	float: right;
	}
.search_author p {
	width: 511px;
	margin: 10px 0 0 0;
	font-size: 12px;
	line-height: 1.6em;
	float: left;
	}

/* BLOG POST */
.blog_post {
	width: 100%;
	border-top: 6px solid #f3f;
	margin-top: 75px;
	float: left;
	}
.blog_post h3 {
	color: #f3f;
	margin: 20px 0;
	font-size: 30px;
	line-height: 1.3em;
	}
.blog_post h4 {
	color: #999;
	margin: 20px 0 25px 0;
	font-size: 11px;
	line-height: 1.3em;
	text-transform: uppercase;
	}
.blog_post img {
	border: 1px solid #ccc;
	padding: 2px;
	margin-bottom: 2px;
	}
.blog_post .notes {
	border-bottom: 1px dashed #ccc;
	padding-bottom: 10px;
	margin-top: 25px;
	font-size: 11px;
	text-transform: uppercase;
	}
.blog_post .notes span {
	float: right;
	}
	
/* COMMENTS */
#comments {
	border-top: 2px dashed #ccc;
	margin-top: 75px;
	float: left;
	}
#comments h4 {
	margin: 40px 0 60px 0;
	color: #f3f;
	font-size: 24px;
	font-weight: normal;
	}
.comment {
	border-bottom: 1px dashed #ccc;
	padding-bottom: 30px;
	margin-bottom: 35px;
	font-size: 12px;
	line-height: 1.6em;
	float: left;
	}
.comment .author {
	width: 125px;
	margin-right: 10px;
	float: left;
	}
.comment .author h5 {
	margin: 0;
	color: #f3f;
	font-size: 14px;
	line-height: 1.5em;
	}
.comment .author p {
	padding: 0;
	margin: 10px 0 0 0;
	color: #999;
	font-size: 10px;
	line-height: 1.5em;
	text-transform: uppercase;
	}
.comment .message {
	width: 500px;
	margin: 0;
	float: left;
	}
#comment_form_container {
	position: relative;
	float: left;
	}
#comment_form_container textarea {
	width: 578px;
	}
#comment_form_container .remember {
	font-size: 10px;
	text-transform: uppercase;
	}
	
/* PAGINATION */
.pagination {
	padding: 0;
	margin: 75px 0 0 0;
	list-style: none;
	float: left;
	}
.pagination li {
	padding: 0;
	margin: 0 0 0 5px;
	float: left;
	}
.pagination li a {
	border: 0;
	padding: 4px 8px;
	background-color: #eee;
	color: #666;
	}
.pagination li a:hover {
	background-color: #f3f;
	color: #fff;
	}
.pagination li a.on {
	background-color: #f3f;
	color: #fff;
	}

/* FORM */
form p * {
	vertical-align: middle;
	}
form p {
	display: block;
	}
fieldset {
	border: 1px solid #ccc;
	padding: 0 20px 10px 20px;
	}
legend {
	color: #ccc;
	font-size: 11px;
	text-transform: uppercase;
	}
label span {
	color: #ccc;
	font-size: 11px;
	margin-left: 2px;
	}
form input, textarea, select {
	border: 0;
	padding: 5px;
	background-color: #eee;
	color: #333;
	font-family: "Courier New", Courier, monospace;
	font-size: 14px;
	line-height: 1.5em;
	}
textarea {
	width: 550px;
	}
button {
	border: 0;
	padding: 5px;
	background-color: #f3f;
	color: #fff;
	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
	cursor: pointer;
	}
button:hover {
	background-color: #333;
	cursor: pointer;
	}
.loading {
	border: 0;
	padding-top: 3px;
	margin-bottom: 15px;
	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
	display: none;
	}
.loading img {
	margin-right: 5px;
	}
.loading * {
	vertical-align: middle;
	}
label span em {
	color: #f00;
	font-style: normal;
	text-transform: uppercase;
	}
.error {
	background-color: #ffe5e5;
	}


/* SIDEBAR: SEARCH */
#sidebar .search {
	position: relative;
	}
#sidebar .search input {
	width: 155px;
	}
#sidebar .search button {
	position: absolute;
	right: 0;
	}

/* SIDEBAR: AUTHOR */
#sidebar .author {
	width: 240px;
	float: left;
	}
#sidebar .author img {
	margin: 0 15px 0 0;
	float: left;
	}
#sidebar .author h4 {
	padding: 0;
	margin: 0;
	font-size: 15px;
	text-transform: uppercase;
	float: left;
	}
#sidebar .author p {
	width: 161px;
	padding: 0;
	margin: 5px 0 0 0;
	color: #999;
	font-size: 11px;
	line-height: 1.5em;
	text-transform: uppercase;
	float: left;
	}

/* SIDEBAR: LIST */
#sidebar .list {
	width: 240px;
	border-top: 2px dashed #ccc;
	padding: 10px 0 0 0;
	margin: 30px 0 0 0;
	float: left;
	}
#sidebar .list h4 {
	font-size: 12px;
	text-transform: uppercase;
	}
#sidebar .list ul {
	padding: 0;
	margin: 0;
	list-style: none;
	}
#sidebar .list ul a {
	width: 230px;
	padding: 0 5px;
	display: block;
	}
#sidebar .list ul a span {
	float: right;
	}
	
/* SIDEBAR: NEWSLETTER */
#sidebar .newsletter a {
	margin-top: 5px;
	font-size: 11px;
	line-height: 1.4em;
	float: left;
	}
#sidebar .newsletter input {
	width: 230px;
	}
#sidebar .newsletter button {
	float: right;
	}
#sidebar .newsletter .loading {
	float: right;
	padding: 0;
	margin: 0x;
	}
#sidebar .newsletter .loading img {
	margin-right: 5px;
	}

/* FOOTER */
#footer {
	width: 100%;
	height: 200px;
	padding: 20px 0 30px 0;
	margin: -250px 0 0 0; /* margin-top = -footer height */
	background-color: #eee;
	position: relative;
	clear: both;
	}
#footer div {
	width: 970px;
	margin: 0 auto;
	}
#footer .about {
	width: 635px;
	float: left;
	}
#footer .links {
	width: 240px;
	margin: 0 0 0 95px;
	float: left;
	}
#footer h4 {
	font-size: 12px;
	text-transform: uppercase;
	}
#footer ul {
	padding: 0;
	margin: 0;
	list-style: none;
	}
#footer ul a {
	width: 230px;
	padding: 0 5px;
	display: block;
	}
#footer ul a span {
	float: right;
	}
	
/* CLEAR LEFT */
.clearfix:after {
	height: 0;
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	}
.clearfix {
	display: inline-block;
	}
* html .clearfix {
	height: 1%;
	}
.clearfix {
	display: block;
	}