/*
Theme Name: 5th Estate
Theme URI: http://aptstudio.com/
Description: 5th Estate theme
Author: Apt Studio
Author URI: http://aptstudio.com/
Version: 1.0
*/

/* Initial cleanup
----------------------------------------------- */
html, body, form, fieldset { margin: 0; padding: 0; }
form label { cursor: pointer; }
fieldset { border: none; }
input, select, textarea { font-size: 100%; }

/* Main structure
----------------------------------------------- */
body {
	font-family: Arial, sans-serif; font-size: 67.5%; line-height: 120%;
	color: #000; background: #fff url('images/background.gif') repeat-y 0 0;
	min-width: 760px; text-align: left;
	}
#wrapper {
	width: 760px; text-align: left;
	margin: 0 auto 0 0;
	}
	#wrapper2 { padding: 0 15px 0 31px; }
#footer { clear: both; }

/* Positioning
----------------------------------------------- */
#main { width: 524px; float: left; }
	#content { width: 318px; float: left; position: relative; margin: -159px 0 0 0; }
	#navigation { width: 160px; float: right; padding: 31px 0 0 0; }
#sidebar { width: 160px; float: right; padding: 31px 0 0 0; }

/* Header
----------------------------------------------- */
#header {
	height: 190px; text-align: right;
	background: url('images/title.php') no-repeat 380px 0;
	}
	#header img { border: none; }

/* Navigation
----------------------------------------------- */
ul#nav-main {
	list-style: none; font-weight: bold; font-size: 1.1em;
	margin: 0 0 2em 0; padding: 0;
	}
ul#nav-main li { margin: 0 -14px 1px -15px; padding: 0; position: relative; }
	ul#nav-main li a { display: block; margin: 0; padding: 0.15em 15px; position: relative; }
.navlinks a { width: 159px; }
.navlinks a:link, .navlinks a:visited, .navlinks a:active { color: #000; }
.navlinks a:hover { color: #fff; background: #ff3333; text-decoration: none; }
.navlinks .selected a:link, .navlinks .selected a:visited, .navlinks .selected a:active, .navlinks .selected a:hover { color: #fff; background: #ff3333; text-decoration: none; }

		/* Feed
		--------------------------------------- */
		#nav-feedlink h3 { font-size: 1em; }
		#nav-feedlink p { margin: 0 0 2em 0; font-size: 0.9em; }
			#nav-feedlink h3 a:link, #nav-feedlink h3 a:visited, #nav-feedlink h3 a:active { color: #000; }
			#nav-feedlink h3 a:hover { color: #ff3333; }
		#nav-feedlink #rss-left { width: 40px; float: left; }
		#nav-feedlink #rss-right { width: 120px; float: left; }
		#nav-feedlink .rss-clear { clear: both; }
		

/* Content
----------------------------------------------- */
		
		/* HTML element control
		--------------------------------------- */
		p { margin: 0 0 14px 0; }
			blockquote { margin: 0 0 14px 0; padding: 0 14px; color: #999999; }
			strong { font-weight: bold; }
			em { font-style: italic; }
			code, pre { font-family: 'Courier New', Courier, monospace; font-size: 100%; color: #bf8f8f; }
			acronym { border-bottom: 1px solid #bf8f8f; }
			small { font-size: 0.9em; }
			hr { width: 100%; height: 1px; background: #ccc; color: #ccc; margin: 1em 0; border: none; padding: 0; }
		ul, ol { margin: 0 0 14px 28px; padding: 0; }
		ul { list-style: disc; }
			li { margin: 0 0 0.3em 0; }
		
		/* Global content control
		--------------------------------------- */
		.content p { line-height: 1.4; }
		.content li { line-height: 1.4; }
		.content img { display: block; margin: 0 0 14px; }

		/* Headers
		--------------------------------------- */
		h1, .entry h1.title {
			font-family: Georgia, Times, serif; font-size: 3.7em; font-weight: normal; color: #676767; line-height: 120%;
			margin: 0;
			}
		.entry h2.title, .entry h1.page-title, .archive .header h1.title {
			font-family: Georgia, Times, serif; font-size: 2em; font-weight: normal; color: #000; line-height: 120%;
			margin: 0 0 1px 0;
			}
			.archive .header h1.title a:link, .archive .header h1.title a:visited, .archive .header h1.title a:active { color: #676767; }
			.archive .header h1.title a:hover { color: #ff3333; }
		h2 { 
			font-size: 1.1em; font-weight: bold; color: #676767;
			margin: 0 0 14px 0;
			}
			.entry h2 { color: #000; }
		h3 {
			font-size: 1.1em; font-weight: bold; color: #676767;
			margin: 0 0 0.5em 0;
			}
		h4 {
			font-family: Georgia, Times, serif; font-size: 1.5em; font-weight: normal; line-height: 120%;
			margin: 0 0 0.3em 0;
			}
		h5 {
			font-size: 1.1em; font-weight: bold; color: #676767; line-height: 120%; margin: 0 0 0.3em 0; padding: 0;
			}
		h6 {
			font-size: 0.9em; font-weight: bold; color: #676767; line-height: 120%; margin: 0 0 0.3em 0; padding: 0;
			}

		/* Post content
		--------------------------------------- */
		.entry { margin: 0 0 14px 0; }
		body.single .entry { margin: 0 0 28px 0; }
			.entry .header, .archive .header { margin: 0 0 14px 0; clear: both; }
			.entry .header .author { font-weight: bold; }
			.entry .metadata {
					font-size: 0.9em; color: #999999;
					margin: 0 0 28px 0; border-top: 1px dotted #999; border-bottom: 1px dotted #999; padding: 5px 0;
					}
				.comment-num a {
					background: url('images/comments.gif') no-repeat 10px 60%;
					padding: 0 0 0 25px;
					}
					.metadata span a:link, .metadata span a:visited, .metadata span a:active { color: #999; }
					.metadata span a:hover { color: #ff3333; }

			.entry .content, .archive .content { overflow: hidden; font-size: 1.1em; }

			.entry .meta { font-size: 0.9em; color: #999999; margin: 0 0 14px 0; }
				.entry .meta h3 { margin: 0 0 3px 0; }
				.entry .meta p { margin: 0 0 3px 0; }

			.entry .functions, .archive .functions { margin: -31px 0 28px -31px; position: relative; width: 380px; }
				.entry .functions img, .archive .functions img { float: left; margin: 0; }
				.entry .functions h2, .archive .functions h1 {
					padding: 5px 0 0 0; margin: 0 0 5px 70px;
					font-family: Arial, sans-serif; font-size: 1.1em; font-weight: bold; color: #000;
					}
				.entry .functions p, .archive .functions p { margin: 0 0 5px 70px; font-size: 0.9em; }

		.archive {}
			.archive .meta { margin: 0 0 14px 0; }
			.archive .content { margin: 0 0 8px 0; }

		/* Images
		--------------------------------------- */
		a img { border: none; }
		a:hover img { border: none; }


		/* Author and contributors pages
		--------------------------------------- */
		ul#contributors { list-style: none; margin: 0; }
		#contributors li { clear: both; margin: 0 0 28px 0; }
			#contributors li img { width: 62px; float: left; }
			#contributors li p { width: 242px; float: right; }

		.archive .author-header { margin: -31px 0 28px 0; position: relative; padding: 0; }
			.archive .author-header img { float: left; margin: 0; padding: 0; }
			.archive .author-header h1 {
				padding: 5px 0 0 0; margin: 0 0 102px 160px;
				font-family: Georgia, Times, serif; font-size: 2em; font-weight: normal; color: #000;
				}
				.archive .author-header p { margin: 0 0 5px 160px; font-size: 0.9em; }
		
		#recent-header { border-top: 1px dotted #999; }
			#recent-header h2 { padding: 5px 0 0 0; margin: 0 0 14px 0; }

		.recent h2 { margin: 0 0 5px 0; }
		.recent p { margin: 0 0 5px 0; font-size: 1.1em; line-height: 1.4; }
		.recent .metadata { color: #999; margin: 0 0 14px 0; }
		
		/* Sidebar
		--------------------------------------- */
		.navlist { font-size: 0.9em; list-style: none; margin: 0 0 2em 0; }
			.navlist li { margin: 0.3em 0; }

		.book { margin: 0 0 28px 0; }
			.book img { border: none; margin: 0 0 5px 0; }
			.book h3, .book h4 { font-size: 0.9em; font-weight: normal; font-family: Arial, sans-serif; margin: 0 0 5px 0; }
			.book h4 { font-style: italic; }
			.book h4 a:link, .book a:visited, .book a:active { color: #000; }
			.book h4 a:hover { color: #ff3333; }

		/* Tags & subject page
		--------------------------------------- */
		#heatmap { margin: 0 0 14px 0; }
		#heatmap td { text-align: center; }
		#heatmap a { color: #fff; font-size: 0.9em; }

		#cell1, #cell2, #cell3 { background: #ff3333; }
		#cell4, #cell5, #cell6 { background: #ff3347; }
		#cell7, #cell8, #cell9 { background: #ff334c; }
		#cell10, #cell11, #cell12 { background: #f70062; }
		#cell13, #cell14, #cell15 { background: #ed0077; }
		#cell16, #cell17, #cell18 { background: #ed0080; }
		#cell19, #cell20, #cell21 { background: #e30080; }
		#cell22, #cell23, #cell24 { background: #cd0082; }
		#cell25, #cell26, #cell27 { background: #ae0082; }
		#cell28, #cell29, #cell30 { background: #970082; }
		#cell31, #cell32, #cell33, #cell34, #cell35, #cell36 { background: #820082; }

		#alpha-listing {}
			#alpha-listing ul.meta {
				color: #999999;
				margin: 0; border-top: 1px dotted #999; border-bottom: 1px dotted #999; padding: 0.5em 0; height: 100%;
				list-style: none;
				}
				#alpha-listing ul.meta li {
					display: inline; margin: 0; padding: 0;
					}
			#alpha-listing .section {
				margin: 28px 0 0 0; border-bottom: 1px dotted #999; padding: 0 0 28px 0;
				}
			#alpha-listing h2 {
				color: #000; font-family: Georgia, Times, serif; font-size: 2em; font-weight: normal; line-height: 100%;
				float: left; margin: 0;
				}
			#alpha-listing ul.navlist { margin: 0 0 0 100px; padding: 0; }
			#alpha-listing ul.navlist li { margin: 0 0 0.3em 0; }

		/* Comment functions
		--------------------------------------- */
		#comment-functions {
			color: #999999;
			margin: 0 0 2em 0; border-top: 1px dotted #999; border-bottom: 1px dotted #999; padding: 0.5em 0;
			}
			#comment-functions p { margin: 0 0 5px 0; }
			#tags { margin: 14px 0 0 0; }
			#comment-functions p#cfunctions2 { margin: 0; }

			a.meta-link { height: 16px; }
			a.meta-link:link, a.meta-link:visited, a.meta-link:active { color: #999; }
			a.meta-link:hover { color: #ff3333; }

		.comments-link { background: url('images/comments.gif') no-repeat 0 50%; padding: 0 0 0 20px; }
		.trackback-link { background: url('images/trackback.gif') no-repeat 0 50%; margin: 0 0 0 10px; padding: 0 0 0 20px; }
		.tags-link { background: url('images/tags.gif') no-repeat 0 50%; margin: 0 0 0 10px; padding: 0 0 0 20px; }

		.print-link { background: url('images/print.gif') no-repeat 0 50%; padding: 0 0 0 20px; }
		.technorati-link { background: url('images/technorati.gif') no-repeat 0 50%; margin: 0 0 0 10px; padding: 0 0 0 20px; }
		.digg-link { background: url('images/digg.gif') no-repeat 0 50%; margin: 0 0 0 10px; padding: 0 0 0 20px; }
		
			
		/* Comments
		--------------------------------------- */
		#comments { padding: 14px 0 0 0; }
		#comments .meta { margin: 0 0 14px 0; }

		.comment { margin: 0 0 14px 0; border-top: 1px dotted #999; padding: 14px 0 0; }
			.comment .content { font-size: 1.1em; }
			a.comment-permalink:link, a.comment-permalink:visited, a.comment-permalink:active { color: #999999; }
			a.comment-permalink:hover { color: #a8001c; }
			.comment-author { font-weight: bold; color: #000; margin: 0 0.3em 0 0; }
		.comment-metadata { font-size: 0.9em; margin: 0 0 5px 0; }
		.report-link { font-size: 0.9em; margin: 0 0 14px 0; }
		.moderated { background: #fcffff; }
			.moderated .primary-span {
				border-bottom: 1px dotted #e5e5e5; padding-bottom: 5px;
				background: url('images/moderated.gif') no-repeat 100% 50%;
				}
		.author-comment {}
		.trackback {
			margin: 0; border-top: 1px solid #ccc; padding: 0.5em 0 0.5em 0;
			background: #fcffff url('images/trackback.gif') no-repeat 100% 60%;
			}
			.trackback p { font-size: 0.9em; margin: 0; }

		/* Footer
		--------------------------------------- */
		#footer { padding: 3em 442px 1em 31px; font-size: 0.9em; }

/* Forms
----------------------------------------------- */
input { font-family: Arial, Helvetica, sans-serif; font-size: 100%; }

		/* Search form
		--------------------------------------- */
		.searchbox { width: 160px; margin: 0 0 28px 0; text-align: right; }
			#s {
				display: block; width: 154px;
				margin: 0 0 0.6em 0; border: 1px solid #c6cacb; padding: 2px;
				background: #f7f7f5; color: #999;
				}
			#s:focus { color: #000; background: #fff; }

		/* Comment form
		--------------------------------------- */
		#respond { margin: 42px 0 28px 0; font-size: 1.1em; }
			#respond h3 { margin: 0 0 0.6em 0; border-bottom: 1px dotted #999; padding: 0 0 0.3em 0; }
		#commentPreview { /* Live comment preview div */
			margin: 14px 0 0 0;
			}

		#commentform {}
		#info-input {}
			.userinfo { color: #999; }
			#info-input label { display: block; color: #999; }
			#author-input {}
			#email-input { width: 153px; float: left; }
			#url-input { width: 153px; float: right; }
			#author, #email, #url {
				display: block;
				margin: 0.2em 0 0.6em 0; border: 1px solid #ccc; padding: 2px;
				background: #f7f7f5; color: #000;
				}
			#author { width: 312px; }
			#email, #url { width: 147px; }
		#comment-input { clear: both; }
			#comment-input label {
				display: block;
				margin: 0 0 0.2em 0;
				color: #999;
				}
			#comment-input textarea {
				width: 312px;
				font-family: Arial, Helvetica, sans-serif;
				margin: 0 0 0.6em 0; border: 1px solid #ccc; padding: 2px;
				background: #f7f7f5; color: #000;
				}
		
		#author:focus, #email:focus, #url:focus, #comment:focus {
			background: #fff;
			}

/* Links
----------------------------------------------- */
a { text-decoration: none; }
a:link { color: #ff3333; }
a:visited { color: #820082; }
a:active { color: #676767; }
a:hover { color: #ff3333; text-decoration: underline; }

.author a:link, .author a:visited, .author a:active { color: #000; text-decoration: none; }
.author a:hover { color: #ff3333; text-decoration: underline; }

/* Version 2 additional - Apt, July 2009
----------------------------------------------- */
#edit-sidebar img#addthis {
	display: none;
	}
#twitter_div {
	overflow: hidden;
	word-wrap: break-word;
	}
