/*
Theme Name: kd2
Theme URI: konstantindatz.de
Description: Theme for konstantindatz.de.
Version: 2.0
Author: Philipp Datz
Author URI: http://philippdatz.de/
Tags: good, good, good
Text Domain: -
*/

/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> elements <<<--------------------------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/


a:link, a:visited {
	text-decoration: none;
	color: #666;
}
a:hover, a:active {
	
}
#wrapper h1 {
	float: none;
	width: auto;
	color: #222;
	border-top: 1px solid black;
	border-bottom: 2px solid black;
	padding: .2em 0;
}
.entry h6 {
	font-weight: bold;
	font-family: Georgia, serif;
	font-style: italic;
	border-bottom: 1px solid black;
	padding-left: 1em;
}
.entry p {
	color: #777;
}

.entry h6,
.entry p {
	margin-bottom: 1.5em;
}

/* helper */

.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
 
.clearfix {
	display: inline-block;
}
 
html[xmlns] .clearfix {
	display: block;
}
 
* html .clearfix {
	height: 1%;
}

/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> layout <<<----------------------------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/


body {
	font-size: 12px;
	line-height: 1.4em;
	font-family: Helvetica, Arial, Sans-Serif;
	background: #fff;
	color: #333;
}

#wrapper {
	width: 1140px;
	background: url("images/coffee.jpg") 0 0 no-repeat;
	padding: 90px 0;
	margin: 0 auto;
}

#page {
	width: 900px;
	margin: 0 120px;
}


/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> header <<<----------------------------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/

#navigation {
	border-bottom: 2px solid black;
	height: 20px;
}
#categories {
	width: 440px;
	float: left;
}
#pages {
	width: 220px;
	float: left;
	margin-left: 240px;
}
#categories li a,
#pages li a,
#sidebar ul h2,
h1 { 
	font-family: Georgia, serif;
	text-transform: uppercase;
	color: #222;
	font-weight: bold;
	float: left;
	width: 110px;
}
#pages li a {
	text-align: right;
}
#categories li a,
#pages li a {
	font-weight: normal;
}
#navigation ul li.current-cat a,
#navigation ul li.current_page_item a {
	color: black;
	font-weight: bold;
}
#headerimg {
	border-top: 1px solid #a5a5a5;
	margin-top: 1px;
}
#headerimg a {
	background: url("images/logo.gif") 0 0 no-repeat;
	display: block;
	margin: 12px 0 11px;
	padding: 7px 34px;
	width: 134px;
	color: #000;
}


/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> sidebar <<<---------------------------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/

#sidebar {
	float: left;
	width: 210px;
	border-top: 1px solid #a5a5a5;
}

#sidebar ul h2 {
	float: none;
	color: black;
	margin: 1.5em 0 1em;
}
/* toggles */

#sidebar ul {
	display: none;
}

body.category-arbeiten #sidebar ul.cat-1,
body.category-studium  #sidebar ul.cat-15,
body.category-entwurfe #sidebar ul.cat-26,
body.category-photos #sidebar ul.cat-27,
body.category-arbeiten #sidebar ul.cat-1 ul,
body.category-studium  #sidebar ul.cat-15 ul,
body.category-entwurfe #sidebar ul.cat-26 ul,
body.category-photos #sidebar ul.cat-27 ul,
#sidebar.arbeiten ul.cat-1,
#sidebar.arbeiten ul.cat-1 ul,
#sidebar.entwuerfe ul.cat-26,
#sidebar.entwuerfe ul.cat-26 ul,
#sidebar.photos ul.cat-27,
#sidebar.photos ul.cat-27 ul {
	display: block;
}

body.page #sidebar ul { 
	display: none !important;

}

#sidebar ul li a {
	color: #aaa;
}

#sidebar ul li a:hover,
#sidebar ul li.active a {
	color: #222;
}
 
/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> content <<<---------------------------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/

#content {
	float: right;
	width: 680px;
	border-top: 1px solid #a5a5a5;
	padding: 1.2em 0 2.5em;
}

.post h1 {
	margin-bottom: 1em;
}

/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> footer <<<----------------------------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/

#footer {
	clear: both;
	border-top: 1px solid #A5A5A5;
}
#footer p {
	border-top: 2px solid black;
	margin-top: 1px;
	color: #ccc;
	padding: 0.5em 0 3em 220px;
}
