/*
Theme Name: Carbon
Description: A dark, grey'n'red wordpress theme.
Version: 1.0
Author: Felix Ableitner
Author URI: http://nutomic.bplaced.net
Tags: dark, red, fixed-width, two-columns
*/

/*site structure*/
body {
	margin: 10px;
}

#page {
	margin:0 auto;
	width:770px;
}

#header {
	width: 770px;
	margin: 0 auto;
	padding: 0;
}
	
#headerimg {
	text-align: center;
	background: url(images/header.png);
	height: 158px;
	padding-top: 40px;
}

#topnav {
	padding: 0;
	border: 0;
	margin: 30px -30px 0;
	position: absolute;
}

#topnav li {
	float:left;
	list-style: none outside none;
	margin: 0 5px 0 7px;
	border: solid #888;
	border-width:  0 0 0 2px;
	padding: 0 7px 0 5px;
	z-index: 1;
	position: relative;
	background: #5c5c5c;
}

#topnav li:before {
	content: "";
}

#topnav ul li ul {
	display: none;
	margin: 0;
	padding: 0;
}

#topnav li:hover {
	padding: 0 5px 0 5px;
	border: #888 solid;
	border-width: 0 2px 2px 2px;
	margin: 0 5px 0 7px;
}

#topnav li ul li{
	display: none;
	background: #5c5c5c;
	padding-bottom: 5px;
	float: none;
}

#topnav a:hover {
	text-decoration: underline;
}

#topnav ul li:hover>ul, #topnav ul li:hover>ul li {
	display: block;
	padding: 0;
	margin: 0 0 2px 0;
	border: 0;
}

*:first-child+html #topnav ul ul { /* ie7 */
	display: block;
	padding: 0;
	margin: 0 0 2px 0;
	border: 0;
}

.narrowcolumn {
	width: 520px;
	margin: 20px 0 0 25px;
	float: left;
}

.widecolumn {
	margin: 20px 20px 0 25px;
	float: left;
}

.entry small {
	font-size:12px;
}

.narrowcolumn h2 {
	margin: 0;
}
	
#sidebar {
	margin-left: 550px;
	width: 210px;
	padding: 20px 0 50px 0;
	z-index: 0;
	position: relative;
}

.screen-reader-text {
	display: none;
}

#s {
	width: 110px;
}

#sidebar ul {
	padding: 10px;
	margin: 0;
}
#sidebar li {
	list-style: none outside none;
}

#sidebar li:before {
	content: "";
}

#footer {
	text-align: center;
}

#sidebar h2 {
	margin: 0;
}

#footer p {
	padding-top: 5px;
	margin: 0;
}

/*end site structure*/

/*fonts and colors*/

body {
	font-family:Arial, Helvetica, sans-serif;
	background: #444;
	font-size: 14px;
}

#page {
	background: url(./images/body_bg.png) #d6d6d6;
}

#headerimg a {
	color: #e7414a;
	text-decoration: none;
}

#headerimg h1 {
	margin-top: 20px;
	font-size: 45px;
	margin-bottom: 5px;
	font-family:"Times New Roman", Times, serif;
	line-height: 45px;
}

#headerimg .description {
	color: #fff;
	font-size: 16px;
	line-height: 18px;
	
}
		
#topnav li a {
	color: #d23;
	text-decoration: none;
	font-size: 16px;
	font-weight: bold;
	line-height: 21px;
}
.entry small a {
	color: #b21415;
	text-decoration: none;
	font-weight: bold;
}
	
.narrowcolumn {
	font-size: 12px;
}

.narrowcolumn h2 a {
	text-decoration:none;
	color: #c02;
	font-size: 20px;
}

.narrowcolumn small {
	font-size: 11px;
	color: #5f5f5f;
}

.narrowcolumn .postmetadata a {
	text-decoration: none;
	color: #b21415;
}

.post { 
	margin: 0 0 40px;
}

.narrowcolumn .postmetadata {
	text-align: center;
}

#sidebar  {
	/* color gradient, wont validate */
	background: #999 url(images/sidebar_bg.png) bottom no-repeat; /* other browsers*/
	background-image: -moz-linear-gradient(top, #999999, #f0f0f0); /* FF3.6 */
	background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #999999),color-stop(1, #f0f0f0)); /* Saf4+, Chrome */
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorStr='#999999', EndColorStr='#f0f0f0'); /* IE6,IE7 */
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#999999', EndColorStr='#d6d6d6')"; /* IE8 */
}

#searchform {
	padding: 10px 0 10px;
}

#sidebar h2 {
	font-size: 15px;
	margin: 0;
	padding: 0;
	color: #000;
}

#sidebar ul {
	padding: 0 10px 10px 10px;
}

#sidebar ul li ul {
	padding: 4px 10px 15px 10px;
}

#sidebar ul li ul li a {
	text-decoration: none;
	color: #992e40;
}
	
#sidebar ul li ul li {
	color: #2b486c;
	font-size: 12px;
	text-decoration: none;
	color: #444;
	margin-top: 2px;
}

#sidebar ul li ul li ul {
	padding: 0 10px;
}

abbr {
	border-bottom: dotted #000 1px;
}

.widecolumn .navigation {
	margin: 0 0 40px;
}

.narrowcolumn .navigation {
	margin: 30px 0 0;
}

.alignleft {
	float: left;
}
.alignright {
	float: right;
}

#footer {
	padding-top: 10px;
	background: url(images/footer_bg.png) no-repeat bottom;
	font-size: 13px;
	clear: both;
	height: 70px;
}

#footer a, #footer a:hover, #footer a:active, #footer a:visited{
	color: #af142e;
	text-decoration: none;
}

.widecolumn .postmetadata {
	font-size: 11px;
	color: #5f5f5f;
	margin: 30px;
	text-align: center;
}

.commentlist {
	padding: 5px;
	margin: 20px 20px 0 20px;
}
.commentlist li {
	list-style: none;
}

.comment-body {
	margin-top: 1px;
	border: 1px solid #ce9999;
	background-color: #eee;
	padding: 5px;
}

.says {
	font-weight: bold;
	font-size: 14px;
}

.avatar {
	float: left;
	margin-right: 10px;
	border: 2px solid #ac4c4c;
}

.fn a, .fn a:visited, .fn a:active, .fn a:hover {
	text-decoration: none;
	font-weight: bold;	
	font-size: 16px;
	color: #b21415;
	margin-top: -5px;
}

.comment-meta a, .comment-meta a:visited, .comment-meta a:active, .comment-meta a:hover {
	font-size: 11px;
	color: #5f5f5f;
}
	
.commentlist cite {
	font-style: normal;
}

#respond {
	margin-left: 25px
}

/*end fonts and colors*/

/* html elements formattinga and generic classes*/
::selection {
	background-color: #ec4c53;
	color: #fff;
}

a:link {
	color: #CC0022;
	text-decoration: none;
}

a:visited {
	color: #7c7c7c;
}

a:active, a:hover, a:focus {
	color: #CC0022;
	text-decoration: underline;
}

blockquote {
	border-left: 3px solid #666;
	padding-left: 4px;
}

h1,h2,h3,h4,h5,h6 {
	color: #c02;
}

a img {
	border: none;
}

input[type=text], textarea {
	background: #fcfcfc;
	border: 1px solid #a88282;
}

input[type=text]:focus, textarea:focus {
	background: #fff;
	border: 1px solid #c02;
}

input[type=submit] {
	background: #ddd;
	border: 1px solid #a88282;
}

input[type=submit]:focus {
	background: #bbb;
	border: 1px solid #a91919;
}

ul li:before {
	content: "\00BB \0020";
}

ul {
	list-style: none outside none;
}

table, tbody, tr, th, td {
	border: none;
}

table {
	background: #888;
}

td, th {
	background: #eee;
}

.aligncenter, div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption  { /* css3 workarounds wont validate */
	background-color:#ccc;
	border:1px solid #aaa;
	margin:10px;
	padding-top:4px;
	text-align:center;
	-moz-border-radius: 3px; /* FF1+ */
    -webkit-border-radius: 3px; /* Saf3+, Chrome */
    border-radius: 3px; /* Opera 10.5, IE 9 */
}
/*end html elements formatting and generic classes*/