/*
Theme Name: Ein Quadratkilometer Bildung
Description: The original WordPress theme that graced versions 1.2.x and prior.
Version: 1.0
Author: Eike Pierstorff
*/

/* reset */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { 
	margin:0;
	padding:0;
	outline:0;
}

*:focus {
	outline:0;
}

table {
	border-collapse:collapse;
	border-spacing:0;
}
fieldset,img { 
	border:0;
}
address,caption,cite,code,dfn,em,strong,th,var {
	font-style:normal;
	font-weight:normal;
}
ol,ul {
	list-style:none;
}
caption,th {
	text-align:left;
}
h1,h2,h3,h4,h5,h6 {
	font-size:100%;
	font-weight:normal;
}
q:before,q:after {
	content:'';
}
abbr,acronym { border:0;
}

/* Tags */

body {
	background-color:		#ccc;
	font-size:				.8em;
	padding:				0 0 20px 0;
}

.storycontent p  , .storycontent li  ,
.storycontent td, .storycontent th {
	line-height:			1.5em;
	font-size:				1.2em;
}

.page-template-teaser-php .storycontent  p ,
.page-template-teaser-php .storycontent  li,
.page-template-teaser-php .storycontent td,
.page-template-teaser-php .storycontent th
{
	line-height:			1em;
}


h1  {
	font-family:			Georgia,serif;
	font-size:				3em;
}

h2 {
	font-family:			Georgia,serif;
	font-size:				1.8em;
}

h3 {
	font-family:			Georgia,serif;
	font-size:				1.3em;
}

h5 {
	margin:					0 0 20px 0;
}

fieldset {
	margin:					10px 0 10px 0;
	padding:				10px;
	border:					1px solid #ccc;
}

fieldset  p {
	margin:					0 0 6px 0;
}

strong {
	font-weight:			bold;
}

em , i {
	font-style:				italic;
}

label {
	width:					130px;
	display:				block;
	float:					left;
}

#contentarea ol {
	margin:					0 0 0 10px;
	padding:				0 0 0 10px;
	list-style-type:		decimal;
}

#contentarea a {
	font-family:			verdana,sans-serif;	
	color:					#000;
	text-decoration:		underline;
	font-size:				.8em;
}

#contentarea ul {
	margin:					0 0 0 10px;
	padding:				0 0 0 10px;
	list-style-type:		square;
}

#contentarea h1.storytitle {
	margin:					0 0 20px 0;
}

#contentarea h1,
#contentarea h2
 {
	margin:					20px 0 20px 0;
}

#contentarea  a {
	text-decoration:		underline;
	font-weight:			bold;		
}

.wpcf7-form-control-wrap input,
.wpcf7-form-control-wrap textarea {
	width:					300px;
	border:					1px solid #e3eaed;
	padding:				4px;
	background-color:		#e3eaed;
}

.wpcf7-form-control-wrap input:focus,
.wpcf7-form-control-wrap textarea:focus {
	border:					1px solid #ccc;
}

/* structure */

#background {
	position:				fixed;
	z-index:				10;
	width:					100%
}

#toneoff {
	background:				url(background/gradient3.png) repeat-x;	
	position:				relative;
	z-index:				101;
}

#wrap {
	width:					1000px;
	z-index:				100;
	position:				relative;
	overflow:				hidden;

}

#header {
	background:				url('logos/logo-stiftung.png') no-repeat right 30px;
	margin:					0 0px 0 0;
}

#content {
	width:					600px;
	margin:					0px 100px 0px 0px;
	overflow:				auto;
	float:					left;
	font-family:			Georgia,'Times New Roman',serif;
}

#contentarea {
	background:				#fff;
	width:					550px;
	min-height:				100px;
	float:					right;
	padding:				0 0 10px 0;
}

#contentarea .page , #contentarea .post, #contentarea div.attachment {
	padding:				25px;
}

#aside {
	width:					300px;
	float:					right;
	position:				absolute;
	bottom:					0;
	right:					2px;
}

#banner {
	position:				absolute;
	display:				none;
	top:					163px;
	height:					60px;
	width:					465px;
	background:			url(banner.jpg) no-repeat  left top;	
}

.home #banner {
	display:				block;
}

#banner span {
	display:				block;
	text-indent:			-50000em;
}

#asides ul {
	float:				right;
}

/* menu */

#menu {
	position:			relative;
	min-height:			200px;
	padding:			32px 0 0 0;
	font-family:		verdana,sans-serif;	 
}

#menu a {
	color:				#fff;
	text-decoration:	none;
	font-weight:		bold;
	font-size:			.85em;
}

#menu li {
	padding:			4px 0px 4px 20px;
	border-bottom:		1px solid #fff;
}

#menu li.current_page_item ,
#menu li.current_page_ancestor
 {
	background:			#fff;
}

#menu li.current_page_item  a ,
#menu li.current_page_ancestor li.current_page_item  a ,
#menu li.current_page_ancestor li.current_page_parent a ,
#menu li.current_page_ancestor a ,
#menu li.current_page_ancestor li.current_page_parent li.current_page_item  a 
{
	color:			#000;
}

#menu li.current_page_item  li a ,
#menu  li.current_page_ancestor li.current_page_item li a , 
#menu li.current_page_ancestor li a , 
#menu li.current_page_ancestor li.current_page_parent li a  {
	color:			#fff;
}


#menu  ul {
	width:				200px;
	position:			relative;
	border-top:			1px solid #fff;
}

#menu ul ul   {
	position:			absolute;
	top:				0px;
	left:				220px;	
	display:			none;
}

#menu ul li.current_page_item ul ,
#menu ul li.current_page_ ul ,
#menu ul ul li.current_page_item ul,
#menu ul li.current_page_ancestor ul,
#menu ul  li.current_page_parent ul , 
#menu  li.current_page_ancestor  li.current_page_item  ul, 
#menu  li.current_page_ancestor  li.current_page_parent  ul {
	display:			block;
}

#menu ul li.current_page_item ul ul ,
#menu ul li.current_page_ancestor ul ul,
#menu ul li.current_page_parent ul ul  
{
	display:			none;
}

#menu ul  ul  ul {
	position:			absolute;
	top:				0px;
	left:				220px;
	display:			none;
}

/* Calendar */

#wp-calendar {
	border:				1px solid #ddd;
	empty-cells:		show;
	font-size:			14px;
	margin:				0;
	width:				90%;
}

#wp-calendar #next a {
	padding-right:		10px;
	text-align: 		right;
}

#wp-calendar #prev a {
	padding-left:		10px;
	text-align:			left;
}

#wp-calendar a {
	display:			block;
	text-decoration: 	none;
}

#wp-calendar a:hover {
	background:			#e0e6e0;
	color:				#333;
}

#wp-calendar caption {
	color:				#999;
	font-size:			16px;
	text-align:			left;
}

#wp-calendar td {
	color:				#ccc;
	font:				normal 12px 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
	letter-spacing:		normal;
	padding:			2px 0;
	text-align:			center;
}

#wp-calendar td.pad:hover {
	background:			#fff;
}

#wp-calendar td:hover, #wp-calendar #today {
	background:			#eee;
	color:				#bbb;
}

#wp-calendar th {
	font-style:			normal;
	text-transform:		capitalize;
}

/* Suchseite */


#contentarea .search h3 {
	margin:				0 0 10px 0;
}

#contentarea .search .result {
	margin:				10px 0 10px 0;
	padding:			5px 10px;
	border:				1px solid #ccc;
	background:			#E3EAED;
}

#contentarea .search .result a {
	text-decoration:	none;
	display:			block;
	margin:				10px 0 0 0;
}

/* Captions & aligment */

img.size-medium {
	margin:				0 0 20px 0;
}

.aligncenter,
div.aligncenter {
	display:			block;
	margin-left:		auto;
	margin-right:		auto;
}

.alignleft {
	float:				left;
}

.alignright {
	float:				right;
}

.wp-caption {
	border:				1px solid #ddd;
	text-align:			center;
	background-color:	#f3f3f3;
	padding-top:		4px;
	margin:				10px;
	-moz-border-radius: 3px;
	-khtml-border-radius:	3px;
	-webkit-border-radius:	3px;
	border-radius:		3px;
}

.wp-caption img {
	margin:				0;
	padding:			0;
	border:				0 none;
}

.wp-caption p.wp-caption-text {
	font-size:			11px;
	line-height:		17px;
	padding:			0 4px 5px;
	margin:				0;
}
/* End captions & aligment */


/* Special Templates */

.page-template-teaser-php #content {
	width:					85%;
	overflow:				visible;
} 

.page-template-teaser-php #asides {
	height:					160px;
} 


.page-template-teaser-php #contentarea {
	background:				none;
	width:					auto;
	min-height:				100px;
	float:					none;
}

.page-template-teaser-php #contentarea  h1 {
	color:					#fff;
	font-family:			Georgia,serif;
	font-size:				3.5em;
	margin:					0 0 10px 50px;
	font-style:				italic;
	font-weight:			bold;
}

.page-template-teaser-php #contentarea  h1 em {
	color:					#fff;
	font-size:				.5em;
}

/* Bildlegende */

.page-template-legend-php #contentarea {
	position:				fixed;
	left:					50px;
	bottom:					50px;
}


/* Sections */


.page-id-32 #header, .parent-pageid-32 #header {
	background:				url('logos/logo-neukoelln.png') no-repeat right 30px;
}

.page-id-32 h1, .parent-pageid-32 h1,
.page-id-32 h2, .parent-pageid-32 h2,
.page-id-32 h3, .parent-pageid-32 h3 {
	color:					#8685bb;
}

.page-id-34 #header, .parent-pageid-34 #header {
	background:				url('logos/logo-moabit.png') no-repeat right 30px;
}

.page-id-34 h1, .parent-pageid-34 h1,
.page-id-34 h2, .parent-pageid-34 h2,
.page-id-34 h3, .parent-pageid-34 h3 {
	color:					#faba00;
}

.page-id-36 #header, .parent-pageid-36 #header {
	background:				url('logos/logo-mannheim.png') no-repeat right 30px ;
}

.page-id-36 h1, .parent-pageid-36 h1,
.page-id-36 h2, .parent-pageid-36 h2,
.page-id-36 h3, .parent-pageid-36 h3 {
	color:					#fa0000;
}

.page-id-38 #header, .parent-pageid-38 #header {
	background:				url('logos/logo-herten.png') no-repeat right 30px;
}

.page-id-38 h1, .parent-pageid-38 h1,
.page-id-38 h2, .parent-pageid-38 h2,
.page-id-38 h3, .parent-pageid-38 h3 {
	color:					#e10024;
}

.page-id-40 #header, .parent-pageid-40 #header {
	background:				url('logos/logo-wuppertal.png') no-repeat right 30px;
}

.page-id-40 h1, .parent-pageid-40 h1,
.page-id-40 h2, .parent-pageid-40 h2,
.page-id-40 h3, .parent-pageid-40 h3 {
	color:					#0093cb;
}

.page-id-287 #header, .parent-pageid-287 #header {
	background:				url('logos/logo-bernsdorf.png') no-repeat right 30px;
}

.page-id-287 h1, .parent-pageid-287 h1,
.page-id-287 h2, .parent-pageid-287 h2,
.page-id-287 h3, .parent-pageid-287 h3 {
	color:					#83b817;
}


.page-id-42 #header, .parent-pageid-42 #header {
	background:				url('logos/logo-hoyerswerda.png') no-repeat right 30px;
}

.page-id-42 h1, .parent-pageid-42 h1,
.page-id-42 h2, .parent-pageid-42 h2,
.page-id-42 h3, .parent-pageid-42 h3 {
	color:					#4b9021;
}


/* Widgets */
.widget {
	float:					right;
	font-family:			verdana,sans-serif;	
}

/* Search */
.widget_search {
	text-align:				right;
}

.widget_search label {
	display:				none;
}

.widgettitle {
	line-height:			0px;
	display:				block;
	text-indent:			-10000em;
}

/* Tag cloud */
.widget-simpletags a {
	text-decoration:		none;
}
