/*
Theme Name: Simply Dark
Theme URI: http://myf00.net
Description: A dark theme with two columns, right-sidebar, header bar, and fixed-width. Compatible with Wordpress 2.8, widget-ready, valid XHTML and CSS.
Version: 1.0
Author: Duarte Silva
Author URI: http://myf00.net
Tags: black, dark, two-columns, fixed-width, threaded-comments, header-bar, right-sidebar
*/
/*
 *
 * Copyright (c) 2009 Duarte Silva
 * All Rights Reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 */

* {
	margin: 0;
	padding: 0;
}

body {
	font-family: tahoma, verdana, helvetica, sans-serif;
	background-color: #121315;
	color: #FFFFFF;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Clear */

div.clear {
	clear: both;
}

/* Comments and Archives */

div.respond, div.comments div.commentsnav, div.comments div.commentslist {
	color: #CCCCCC;
	margin-left: 10px;
	margin-bottom: 15px;
}

div.comments div.commentslist {
	background-color: #131313;
	border: 1px solid #1F2223;
	padding-bottom: 10px;
	padding-right: 10px;
}

	div.comments div.commentslist li {
		padding-left: 10px;
		padding-top: 10px;
		list-style: none;
	}

	div.comments div.commentslist ul.children li {
		padding-left: 20px;
	}

		div.comments div.commentslist img.avatar { 
			float: right;
			border: 1px solid #EEEEEE;
			padding: 2px;
			background: #FFFFFF;
		}

	div.comments div.commentslist div.comment-body {
		border-left: 1px solid #2A2E2F;
		background-color: #181818;
		padding: 10px;
	}
	
	div.comments div.commentslist cite {
		font-size: 0.8em;
	}
	
	div.comments div.commentslist cite, div.commentslist cite a {
		font-weight: bold;
	}
	
	div.comments div.commentslist cite a, div.comments div.commentslist div.comment-body a {
		color: #FF5A00;
	}
	
		div.comments div.commentslist cite a:hover, div.comments div.commentslist div.comment-body a:hover {
			text-decoration: underline;
		}
		
	div.comments div.commentslist span.says {
		font-size: 0.8em;
	}
	
	div.comments div.commentslist div.commentmetadata a, div.comments div.commentslist div.reply a {
		font-size: 0.8em;
		color: #FF5A00;
	}
	
		div.comments div.commentslist div.commentmetadata a.comment-edit-link {
			color: #666666;
		}
		
			div.comments div.commentslist div.commentmetadata a.comment-edit-link:hover {
				color: #FF5A00;
				text-decoration: none;
			}
	
		div.comments div.commentslist div.commentmetadata a:hover, div.comments div.commentslist div.reply a:hover {
			text-decoration: underline;
		}
		
	div.comments div.commentslist p {
		font-size: 0.8em;
	}

	div.comments div.commentslist blockquote {
		font-size: 0.8em;
	}

div.comments div.commentsnav {
	background-color: #101010;
	border: 1px solid #1F2223;
	height: 30px;
}

	div.comments div.commentsnav a {
		color: #CCCCCC;
		font-weight: bold;
		text-transform: lowercase;
		font-size: 0.8em;
		line-height: 30px;
	}

		div.comments div.commentsnav a:hover {
			color: #FF5A00;
		}

	div.comments div.commentsnav div.left, div.comments div.commentsnav span.next {
		float: left;
		padding-left: 10px;
	}

	div.comments div.commentsnav div.right, div.comments div.commentsnav span.right {
		float: right;
		padding-right: 10px;
	}

div.pagetitle {
	height: 30px;
	margin-bottom: 15px;
}

	div.respond, div.pagetitle {
		background-color: #131313;
		border: 1px solid #1F2223;
	}

		div.pagetitle h2 {
			padding-left: 10px;
			line-height: 30px;
		}

		div.respond h2, div.pagetitle h2 {
			background-color: #101010;
			color: #CCCCCC;
			font-weight: bold;
			font-size: 0.8em;
		}

		div.respond h2 {
			padding: 5px 10px;
		}

		div.respond div.message {
			padding: 5px 10px;
			font-size: 0.8em;
		}

			div.respond div.message a, div.respond h2 a {
				color: #FF5A00;
			}

				div.respond div.message a:hover, div.respond h2 a:hover {
					text-decoration: underline;
				}

		div.respond form, li.widget_search form {
			padding: 5px 10px;
			font-size: 0.8em;
		}

		div.respond div.inputarea, li.widget_search div.inputarea {
			padding-bottom: 5px;
		}

			div.respond div.inputarea textarea {
				width: 100%;
			}

			div.respond div.fieldarea, li.widget_search div.fieldarea {
				display: block;
				padding-bottom: 5px;
			}

				div.respond div.fieldarea label, div.respond div.inputarea label {
					display: block;
				}

					div.respond div.fieldarea label span {
						color: #FF5A00;
						font-weight: bold;
					}

					div.respond div.fieldarea input, div.respond div.inputarea textarea, div.respond div.submitarea input, li.widget_search div.fieldarea input, li.widget_search div.submitarea input {
						background-color: #EEEEEE;
						border: 2px solid #000000;
						color: #333333;
					}

						div.respond div.fieldarea input:focus, div.respond div.inputarea textarea:focus, div.respond div.submitarea input:hover, li.widget_search div.fieldarea input:focus, li.widget_search div.submitarea input:hover {
							border: 2px solid #FF5A00;
						}

/* Header and Footer */

div.header {
	border-bottom: 1px solid #1F2223;
}

div.footer {
	border-top: 1px solid #1F2223;
	margin-top: 15px;
	text-align: center;
}

div.header, div.footer {
	height: 80px;
	background-color: #101010;
}

	div.header div.headerwrapper {
		text-align: left;
	}

	div.header div.headerwrapper, div.footer div.footerwrapper {
		margin: 0 auto;
		width: 960px;
		position: relative;
		top: 1.8em;
	}

		div.header div.headerwrapper h1 {
			display: inline;
			font-size: 2.2em;
			text-transform: lowercase;
		}

			div.header div.headerwrapper h1 a {
				color: #FFFFFF;
				text-decoration: none;
			}

		div.header div.headerwrapper h2 {
			display: inline;
			color: #CCCCCC;
			padding-left: 5px;
			font-size: 0.6em;
		}

		div.footer div.footerwrapper p {
			font-size: 0.8em;
		}

		div.footer div.footerwrapper a {
			color: #CCCCCC;
		}

		div.footer div.footerwrapper a:hover{
			color: #FFFFFF;
		}

/* Main */

div.pagewrap {
	width: 960px;
	margin: 0 auto;
	text-align: left;
}

	div.pagewrap a {
		text-decoration: none;
	}

		div.pagewrap a:hover {
			color: #FF5A00;
		}

/* Sidebar and header bar */

div.headerbar{
	position: relative;
	margin-top: 15px;
	display: table;
	border-collapse: separate; 
	border-spacing: 8px 0px;
	color: #AAAAAA;
}

	div.headerbar div.row {
		display: table-row;
	}

		div.headerbar div.row div.left {
			width: 469px;
		}

		div.headerbar div.row div.right {
			width: 469px;
		}

	div.headerbar div.column {
		display: table-cell;
		border: 1px solid #1F2223;
		background-color: #131313;
	}

		div.headerbar div.column div.textwidget, div.sidebar div.textwidget {
			padding: 5px 10px;
			font-size: 0.8em;
		}

		div.headerbar div.column li.widget_tag_cloud div, div.sidebar li.widget_tag_cloud div {
			padding: 5px 10px;
		}

		div.headerbar div.column li.widget_tag_cloud a, li.sidebar div.widget_tag_cloud a {
			color: #CCCCCC;
			line-height: 20px;
		}

		div.headerbar div.column li.widget_tag_cloud a:hover, li.sidebar div.widget_tag_cloud a:hover {
			color: #FF5A00;
		}

		div.headerbar div.column ul, div.sidebar ul {
			list-style-type: none;
		}
		
			div.headerbar div.column ul li, div.sidebar ul li {
				line-height: 15px;
			}
	
				div.headerbar div.column ul li h2, div.sidebar ul li h2 {
					color: #CCCCCC;
					font-weight: bold;
					background-color: #101010;
					padding: 5px 10px;
					font-size: 0.8em;
				}

					div.headerbar div.column ul li h2 a, div.sidebar ul li h2 a {
						color: #FF5A00;
					}

					div.headerbar div.column ul li h2 a:hover, div.sidebar ul li h2 a:hover {
						color: #FF5A00;
						text-decoration: underline;
					}

				div.headerbar div.column ul li ul, div.sidebar ul li ul {
					font-size: 0.8em;
				}

				div.headerbar div.column ul li ul {
					padding: 5px 10px;
				}

					div.headerbar div.column ul li ul li a {
						text-decoration: none;
						color: #CCCCCC;
						display: block;
						border-bottom: 1px solid #333333;
						margin-bottom: 10px;
					}
		
					div.headerbar div.column ul li ul li a:hover, div.sidebar ul li ul li a:hover {
						color: #FF5A00;
					}

div.sidebar {
	width: 192px;
	float: right;
	margin-top: 15px;
	margin-right: 8px;
	overflow: hidden;
	color: #AAAAAA;
	background-color: #131313;
	border-left: 1px solid #1F2223;
	border-bottom: 1px solid #1F2223;
	border-right: 1px solid #1F2223;
}

	div.sidebar div.textwidget, div.sidebar li.widget_tag_cloud div {
		border-top: 1px solid #1F2223;
		border-bottom: 1px solid #000000;
	}

	div.sidebar ul li h2 {
		border-bottom: 1px solid #000000;
		border-top: 1px solid #1F2223;
	}

	div.sidebar li form {
		border-top: 1px solid #1F2223;
		border-bottom: 1px solid #000000;
	}

	div.sidebar ul li ul li {
		border-top: 1px solid #1F2223;
		border-bottom: 1px solid #000000;
		padding: 5px 10px;
		line-height: 20px;
	}

		div.sidebar ul li ul li a {
			text-decoration: none;
			color: #CCCCCC;
		}

/* Navigation */

div.pagesnav {
	position: relative;
	height: 30px;
	margin-top: 15px;
	background-color: #101010;
	border: 1px solid #1F2223;
}

	div.pagesnav ul.left {
		float: left;
		padding-left: 10px;
	}

		div.pagesnav ul.left li {
			padding-right: 10px;
		}

			div.pagesnav ul.left li a {
				color: #CCCCCC;
			}

	div.pagesnav ul.right {
		float: right;
		padding-right: 10px;
	}

		div.pagesnav ul.right li {
			padding-left: 10px;
		}

			div.pagesnav ul.right li a {
				color: #FFFFFF;
			}

	div.pagesnav ul {
		list-style-type: none;
		overflow: hidden;
	}

	div.pagesnav ul li {
		display: inline;
		font-weight: bold;
		text-transform: lowercase;
		font-size: 0.8em;
		line-height: 30px;
	}

		div.pagesnav ul li a {
			text-decoration: none;	
		}

		div.pagesnav ul li a:hover {
			color: #FF5A00;
		}
		
/* Main */

div.main {
	width: 745px;
	margin-top: 15px;
	margin-right: 4px;
	float: left;
}

	div.main div.post {
		color: #CCCCCC;
		margin-left: 10px;
		margin-bottom: 15px;
		background-color: #131313;
		border: 1px solid #1F2223;
	}

		div.main div.post div.date {
			font-size: 0.8em;
			background-color: #FF5A00;
			float: left;
			text-align: center;
			color: #FFFFFF;
			height: 35px;
			width: 40px;
			margin-left: -10px;
			margin-top: 10px;
		}

		div.main div.post div.title {
			margin-left: 10px;
			margin-top: 10px;
			float: left;
		}

			div.main div.post div.title h2 {
				color: #EEEEEE;
				font-size: 1.2em;
				font-weight: bold;
			}

				div.main div.post div.title h2 a {
					color: #EEEEEE;
				}

					div.main div.post div.title h2 a:hover {
						color: #FF5A00;
					}

			div.main div.post div.metadata, div.main div.post div.bookmark {
				margin-left: 10px;
				margin-top: 10px;
				padding-bottom: 10px;
				font-size: 0.8em;
				color: #666666;
			}

				div.main div.post div.metadata a, div.main div.post div.bookmark a {
					color: #666666;
				}

					div.main div.post div.metadata a:hover, div.main div.post div.bookmark a:hover {
						color: #FF5A00;
					}

		div.main div.post div.entry {
			padding-left: 20px;
			padding-right: 20px;
			padding-bottom: 10px;
			overflow: hidden;
			font-size: 0.8em;
			text-align: justify;	
		}

			div.main div.post div.entry table {
				margin-top: 10px;
				border-collapse:collapse;
				border: 1px solid #2A2E2F;
				background-color: #181818;
				color: #999999;
			}

				div.main div.post div.entry table td, div.main div.post div.entry table th {
					padding: 2px 5px;
					border: 1px solid #2A2E2F;
				}

		div.main div.post div.entry div.file {
			text-align: left;
			border-left: 1px solid #2A2E2F;
			background-color: #181818;
			margin-bottom: 10px;
			padding: 10px;
		}

			div.main div.post div.entry form label {
					display: block;
			}

				div.main div.post div.entry form input {
					background-color: #EEEEEE;
					border: 2px solid #000000;
					color: #333333;
				}

					div.main div.post div.entry form input:focus, div.main div.post div.entry form input:hover {
						border: 2px solid #FF5A00;
					}

			div.main div.post div.no_result {
				padding: 10px;
			}

			div.main div.post div.entry a {
				color: #FF5A00;
			}

				div.main div.post div.entry a:hover {
					text-decoration: underline;
				}

			div.main div.post div.entry p {
				margin-top: 10px;
				margin-bottom: 10px;
			}

			div.main div.post div.entry code, div.comments div.commentslist code {
				font-family: "Courier New", mono;
				font-size: 1.2em;
				color: #197B30;
			}

			div.main div.post div.entry pre, div.main div.post div.entry blockquote, div.comments div.commentslist blockquote {
				display: block;
				margin-top: 10px;
				margin-bottom: 10px;
				background-color: #181818;
			}

			div.main div.post div.entry pre {
				border-left: 1px solid #2A2E2F;
				padding: 5px 10px;
				overflow: auto;
				text-align: left;
			}

			div.main div.post div.entry blockquote, div.comments div.commentslist blockquote {
				background: #181818 url(images/blockquote.gif) no-repeat;
				padding: 5px 10px 10px 55px;
				border-top: 1px solid #2A2E2F;
				border-bottom: 1px solid #2A2E2F;
			}

				div.main div.post div.entry blockquote p {
					margin-top: 0;
				}

			div.main div.post div.entry ul, div.main div.post div.entry ol {
				padding-left: 10px;
				margin: 10px;
			}

			div.main div.post div.entry ul {
				list-style-type: disc;
			}

			div.main div.post div.entry ol {
				list-style-type: decimal;
			}

				div.main div.post div.entry ul li, div.main div.post div.entry ol li {
					padding-bottom: 10px;
				}

	div.main div.postsnav {
		background-color: #101010;
		border: 1px solid #1F2223;
		height: 30px;
	}

		div.main div.postsnav a {
			color: #CCCCCC;
			font-weight: bold;
			text-transform: lowercase;
			font-size: 0.8em;
			line-height: 30px;
		}

			div.main div.postsnav a:hover {
				color: #FF5A00;
			}

		div.main div.postsnav div.left {
			float: left;
			padding-left: 10px;
		}

		div.main div.postsnav div.right {
			float: right;
			padding-right: 10px;
		}