/*	Theme Name: kalenderdesigner.org
	Theme URI: http://www.kalenderdesigner.org
	Author: Creative-Overflow / Gabriel Shahzad
	Author URI: http://www.creative-overflow.de
	Description: Responsive WP-Theme für kalenderdesigner.org, in Auftrag gegeben durch Agentur Lindner.
	Version: 1.31 modifiziert und erweitert durch Ralph Lindner
	License: N/A
	
	------------------------------------
	
	Inhaltsverzeichnis
	Browser Reset				Zeile 20
	Diverse Elemente			Zeile 57
	Kopfbereich & Navigation	Zeile 92
	
	
	------------------------------------
*/
/*	Alle Browserstyles zurücksetzen 
	http://meyerweb.com/eric/tools/css/reset/ 
	v2.0 | 20110126
	License: none (public domain)
*/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}
body 	{ line-height: 1;}
ol, ul 	{ list-style: none;}
blockquote, q {	quotes: none;}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Eigentliche Styles für die Seite */

/* Wordpress spezifische Styles */
.alignnone { margin: 0px 0px 0px 0;}
.aligncenter, div.aligncenter { display: block; margin: px auto 5px auto;}
.alignright { float:right; margin: 0 0 20px 0;}
.alignleft { float: left; margin: 0 20px 20px 0;}
.aligncenter { display: block; margin: 0 auto 5px auto;}
a img.alignright { float: right; margin: 0 0 15px 15px;}
a img.alignnone { margin: 0 15px 15px 0;}
a img.alignleft { float: left; margin: 0 15px 0 0;}
a img.aligncenter { display: block; margin: auto;}
.wp-caption  {
    max-width: 99%; /* Image does not overflow the content area */
	0.8em/1.3em;line-height: 1.1em/1.3em;
	/* color:#3870B9; */
	border:  1px solid #3870B9;
	font-family: 'Open Sans Condensed';
    padding: 15px 15px 0px 15px;
    text-align: center;
}
.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}
.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}
.wp-caption-text {
}
.wp-caption p.wp-caption-text {
    margin: 0;
    padding: 0 4px 5px;
}
.gallery  {
	border:  1px solid #3870B9;
	font-family: 'Open Sans Condensed';
	padding: 15px 15px 15px 15px;
}

/* Diverse Elemente */
article#content a {
	color:#3870B9;
	text-decoration:none;
}
article#content a:hover {
	color:#ea8f22;
	text-decoration:underline;
}
article#content  a:visited, article#sidebar a:visited {
	color:#C37C00;
}
blockquote {
	background: rgba(56, 112, 185, 0.1);
	border-left: 10px solid #3870b9;
	margin: 1.5em auto;
	padding: 0.5em 10px;
	quotes: "\201C""\201D""\2018""\2019";
}
blockquote:before {
	color: #3870b9;
	content: open-quote;
	font-size: 4em;
	line-height: 0.1em;
	margin-right: 0.25em;
	vertical-align: -0.4em;
}
blockquote p {
	display inline;
}
strong{
	font-weight:600;
}
body {
	background-color:#d8dee9;
	background-image:url(images/BG.gif);
	background-position:bottom;
	background-repeat:repeat-x;
	font-family:"Open Sans", sans-serif;
	font-weight:300;
	line-height:1.45em;
	/* zoom:1; */
}
div#wrap {
	background-color:white;
	position:relative;
	max-width:970px;
	min-width:320px;
	margin-top:20px;
	margin-left:auto;
	margin-right:auto;
	margin-bottom:65px;
	padding:0px 10px 30px 10px;
	border:1px solid black;
	border-top-right-radius:30px;
	border-bottom-left-radius:30px;
}
.sprite {
	background-image:url(images/sprites.png);
	}
div.clear {
	clear:both;
}

/* Hervorhebung durch Hintergrundbox*/
.boxed {
	width: 100%;
	background-color: #eeeeee; 
	padding: 0.7em;
	margin: 1em 0 1em 0;
	border:  1px solid #3870B9;
}

/* Tabellenelemente */ 
table, tbody, tr, th, td {
	border:1px solid #3870b9;
}
table {
	max-width:100%;
}
th, td {
	padding:0.5em 1em 0.5em 1em;
	text-align:left;
}
th {
	background-color:#3870b9;
	color:white;
	font-weight:600;
}
tr:hover {
	background-color:rgba(56, 112, 185, 0.6);
	color:white;
}
input[type=search]{ /* Suchbox */ 
	font-size: 1.13em;
	line-height: 1.43em;
	vertical-align: middle;
	width:73%;
	-webkit-appearance: textfield;
	box-sizing: content-box;
}
input[type=image]{ /* Suchbox-Button */
	vertical-align: middle;
}
.tagcloud {
	-webkit-transform: scale(0.8);
	-moz-transform: scale(0.8);
	-ms-transform: scale(0.8);
	-o-transform: scale(0.8);
	transform: scale(0.8);
	}

/* Kopfbereich und Navigation */
a#logo { /* Logo links */
	position:absolute;
	float:left;
	margin-left:20px;
	margin-top:20px;
	z-index:100;
	background-position:0px 0px;
	width:290px;
	height:87px;
	background-color:rgba(255,255,255,0.8); 
}
img#teaser, img.attachment-post-thumbnail{
	border-top-right-radius:25px;
	max-width:100%;
	overflow:hidden;
	height:auto;
}
.masthead { /* Kopfbereich */
	min-height:236px!important;
	height:auto;
	margin-top:10px;
}
#content-body{
	position:relative;
}
nav {
	font-weight:500;
	font-size:16px;
	max-width:970px;
	top:170px;
	background-color:rgba(255,255,255,0.85);
	padding:0 10px -10px 0;
}
nav ul {
	padding:0;
	list-style:none;
	position:relative;
	display:inline-table;
}
nav > ul {
	padding:0;
}
nav ul:after {
	content:"";
	clear:both;
	display:block;
}
nav ul li {
	float:left;
}
nav ul li a {
	display:block;
	padding:15px 10px;
	color:#3870B9;
	text-decoration:none;
}
nav ul li a:hover {
	color:white;
	background-color:#ea8f22;
}
nav ul ul {
	display:none;
	position:absolute;
	top:100%;
	background-color:rgba(255,255,255,0.9);
	opacity:0;
}
nav > ul > li > ul li a {
	display:block;
	padding:5px 20px;
}
.pfeil {
	width:0;
	height:0;
	border-left:10px solid transparent;
	border-right:10px solid transparent;
/*	border-bottom:10px solid rgba(255,255,255,0.85); */
	margin-top:-10px;
	margin-left:20px;
}
nav ul li:hover > ul {
	display:block;
	opacity:1;
	transition:0.2s;
	-webkit-box-shadow: 10px 7px 27px -6px rgba(0,0,0,0.6);
	-moz-box-shadow: 10px 7px 27px -6px rgba(0,0,0,0.6);
	box-shadow: 10px 7px 27px -6px rgba(0,0,0,0.6);
}
nav ul ul li {
	font-size: 14px;
	float:none;
	position:relative;
}
nav ul ul li a {
	padding:15px 10px;
}
nav ul ul ul {
	position:absolute;
	left:100%;
	top:0;
	min-width:150px;
}
nav ul ul ul ul {
	min-width:50px;
}
nav a#pullmenu {
	display:none;
}
.current-menu-item > a, .current_page_item > a {
	background-color:#3870B9;
	color:white;
}
.nav-click {
	position:absolute;
	top:0;
	right:0;
	display:none;
	border-left:1px dotted #fff;
	height:64px;
	width:60px;
	cursor:pointer;
}
.nav-click i {
	display:block;
	height:100%;
	width:60px;
	background:url(images/pfeil.png) no-repeat center center;
	background-size:20px;
}
.current-menu-item > .nav-click i, .current_page_item > .nav-click i{
		background:url(images/pfeil-w.png) no-repeat center center;
}
.nav-rotate { /* Pfeil nach unten drehen */
	-webkit-transform:rotate(90deg);
	-moz-transform:rotate(90deg);
	-ms-transform:rotate(90deg);
	-o-transform:rotate(90deg);
	transform:rotate(90deg);
}

/* Content */
article#content {
	max-width:663px;
	float:left;
	border:1px solid #aeaeae;
	border-top-right-radius:30px;
	border-bottom-left-radius:30px;
	padding:30px;
	background-color:rgba(255,255,255,0.85);
	margin-top:10px;
	word-wrap: break-word; /* Silbentrennung */
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
}
article.single {
	margin-bottom:40px;
}
.no-sidebar {
	max-width:100%!important;
}
article#content h1 {
	clear:both;
	font-size:1.7em;
	font-weight: 600;
	line-height:1.35em;
	margin:0 0 0.4em 0;
}
article#content h2 {
	font-size:1.4em;
	font-weight: 600;
	line-height:1.15em;
	margin:0 0 0.2em 0;
}
article#content h3, article#content h4 {
	font-size:1.2em;
	font-weight:300;
	margin-bottom:0.4em;
}
article#content img.post-image{
	float:right;
}
article#content img.big-rounded-card{ /* Bilder großer Karten */
	border-radius: 33px 33px 33px 33px;
	-moz-border-radius: 33px 33px 33px 33px;
	-webkit-border-radius: 33px 33px 33px 33px;
	border: 1px outset #ffffff;
	-webkit-box-shadow: 10px 7px 27px -6px rgba(0,0,0,0.6);
	-moz-box-shadow: 10px 7px 27px -6px rgba(0,0,0,0.6);
	box-shadow: 10px 7px 27px -6px rgba(0,0,0,0.6);
}
article#content img.small-rounded-card{ /* Bilder kleiner Karten */
	border-radius: 16px 16px 16px 16px;
	-moz-border-radius: 16px 16px 16px 16px;
	-webkit-border-radius: 16px 16px 16px 16px;
	border: 1px outset #ffffff;
	-webkit-box-shadow: 5px 3px 13px -3px rgba(0,0,0,0.6);
	-moz-box-shadow: 5px 3px 13px -3px rgba(0,0,0,0.6);
	box-shadow: 5px 3px 13px -3px rgba(0,0,0,0.6);
}
article#content p {
	margin-bottom:0.5em;
	/* Workarounds to avoid column brakes*/
	page-break-inside: avoid; /* for FF */
	-ms-column-break-inside:avoid; 
}
article#content ul {
	list-style-image:url(images/bullet.gif);
	margin-left:20px;
	margin-bottom:1em;
}
article#content .pagination ul {
	list-style-image:none;
	margin-left:0;
	display:block;
}
article#content .pagination ul li {
	display:inline;
}
article#content ol {
	list-style:decimal;
	margin-left:20px;
	margin-bottom:2em;
}	
article#content ol li {
	margin-bottom:0.3em;
}
article#content .orange-box { /* orangene Textbox mit zwei abgerundeten Ecken*/
	width:93%;
	border: solid 4px rgba(254, 184, 32, 1); 
	background-color: rgba(254, 184, 32, 0.1); 
	margin: 0 0.6em 0 0;
	-webkit-border-top-right-radius:16px;
	-moz-border-radius-topright:16px;
	border-top-right-radius:16px;
	-webkit-border-bottom-left-radius:16px;
	-moz-border-radius-bottomleft:16px;
	border-bottom-left-radius:16px;
}
article#content .grey-box { /* graue Textbox mit zwei abgerundeten Ecken*/
	border-left: solid 1px black; 
	border-bottom: solid 1px black; 
	padding: 0.6em;
	margin: 0 0.6em 1em 0;
	-webkit-border-top-right-radius:25px;
	-moz-border-radius-topright:25px;
	border-top-right-radius:25px;
	-webkit-border-bottom-left-radius:25px;
	-moz-border-radius-bottomleft:25px;
	border-bottom-left-radius:25px;
	background:linear-gradient(45deg, #FCFCFC 10%, #f2f3f4 50%)
}
article#content table {
	margin-bottom:2em;
}
#next-page {
	float:right;
}
article#content .single-comment, .cat-desc {
	padding-bottom:10px;
	border-bottom:1px solid #f0f0f0;
	margin-bottom:30px;
}
.avatar {
	float:left;
	margin-right:20px;
}
h1.autor {
	margin-bottom:auto;
}
.datum {
	font-size:12px;
}
.single-comment p {
	margin-top:10px;
}

/* Seitenleiste */
aside {
	float:right;
	max-width:234px;
	}
ul#sidebar {
	margin-top:10px;
	bottom: 0; 
}
ul#sidebar li a img{
	width:231px;
	border:1px solid #aeaeae;
	border-top-right-radius:30px;
	border-bottom-left-radius:30px;
}

/* Widgets unterhalb des Inhalts */
.bottom_widgets {
	clear:both;
	padding-top:10px;
	float:left;
}

/* Fußzeile */
footer {
	clear:both;
	padding-left:10px;
	height:95px;
}
footer > ul {
	margin-top:30px;
	position:relative;
/*	display:block; */
	margin-bottom:-10px;
}
footer > ul:after{
	clear:both;
}
footer > ul > li {
/*	display:inline;
	margin-right:4%;
*/
	float:left;
}
footer > ul > li:last-child{
	margin-right:0;
}
#footer-links .sprite {
/*	border: 4px dotted green; */
	margin:1em;
	float:left;
}
#kalenderdesigner{
	background-position:0px -88px;
	width:196px;
	height:63px;
/*	display:inline-block; */
}
#taschenkalender{
	background-position:-196px -88px;
	width:196px;
	height:63px;
/*	display:inline-block; */
}
#posterkalender{
	background-position:-392px -88px;
	width:196px;
	height:63px;
/*	display:inline-block; */
}
#plakatkalender{
	background-position:-588px -88px;
	width:196px;
	height:63px;
/*	display:inline-block; */
}
#lindner{
	background-position:-784px -88px;
	width:196px;
	height:63px;
/*	display:inline-block; */
}
#reflektion	{
	clear:both;
	background-image:url(images/bottom.png);
	max-width:990px;
	height:50px;
	margin-top:-98px;
	margin-left:auto;
	margin-right:auto;
	padding-top:50px;
}
#reflektion > p {
	width:100%;
	text-align:center;
	font-size:11px;
}

/* Call to Action Elemente */
.button01 { /* Aktivierungs-Knopf */
	background-color: #FFF4DE; 
	max-width:95% !important;
	margin: 1em;
	padding: 0.3em 1em 0.3em 1em;
	-webkit-border-radius:0.6em;
	-moz-border-radius:0.6em;
	border-radius:0.6em;
	text-indent:0;
	border:1px solid #FFB81F;
	display:inline-block;
	font-size:1em; font-weight:500; font-style:normal; letter-spacing: 0.05em;
	height:2em;	line-height:2em; text-decoration:none; text-align:center;
}

.button01:hover {
/* 	background-color: #FFCE5C; */
	background-image: -ms-linear-gradient(top, #FFB811, #FFCE5C); /* IE */
	background: -webkit-gradient(linear,left top,left bottom,from(#FFB811),to(#FFCE5C)); /* Chrome, Safari */	
	background: -moz-linear-gradient( center top, #FFB811 15%, #FFCE5C 80% ); /* FF */
}
.button01:active {
	position:relative;
	top:1px;
}

hr {
border: none;
border-top: 1px solid #FEB71D;
color: #FFFFFF;
background-color: #FFFFFF;
height: 1px;
}


/* Media Queries für verschiedene Bildschirmgrößen */

@media screen and (min-width:890px){
	/* MEHRSPALTIGER INHALT (COLUMN) */
	/* Ersatz für "Column Shortcodes" */
	.zweispaltig {	
			padding: 20px 0 20px 0;
			
			-webkit-column-count: 2; /* Chrome, Safari, Opera */
			-moz-column-count: 2; /* Firefox */
			column-count: 2 ;
			
			-webkit-column-gap: 25px; /* Chrome, Safari, Opera */
			-moz-column-gap: 25px; /* Firefox */
			column-gap: 25px;
			}

	.dreispaltig {	
			padding: 20px 0 20px 0;
			
			-webkit-column-count: 3; /* Chrome, Safari, Opera */
			-moz-column-count: 3; /* Firefox */
			column-count: 3;
			
			-webkit-column-gap: 25px; /* Chrome, Safari, Opera */
			-moz-column-gap: 25px; /* Firefox */
			column-gap: 25px;
			}

	.spaltenlinie {
			-webkit-column-rule: 1px solid #3870b9; /* Chrome, Safari, Opera */
			-moz-column-rule: 1px solid #3870b9; /* Firefox */
			column-rule: 1px solid #3870b9;	
			}
}

@media screen and (max-width:1000px){
	#wrap {
		position:absolute;
		max-width:990px;
	}
	img#teaser, img.wp-post-image {
		height:auto!important;
	}
	#masthead {
		padding-bottom:0!important;
	}
	.masthead {
		min-height:136px!important;
		padding-bottom:0!important;
	}
	#content-body {
		margin-top:-6px!important;
	}
	nav {
		position:relative;
		height:auto;
		top:auto;
	}
	nav ul {
		position:relative;
		max-width:990px;
		display:block;
		height:auto;
	}
	nav ul li {
		position:relative;
		width:33.3%;
		float:left;
		padding:0;
	}
	nav ul li:hover > ul {
		display:none;
	}
	nav ul li a {
		width:100%;
		padding:20px 0;
		text-indent:15px;
	}
	nav ul li ul {
		display:inline;
		position:absolute;
	}
	nav ul li ul li {
		position:relative;
		display:block;
		background-color:white;
		z-index:200;
		width:auto;
		padding-right:20px;
	}
	#pullmenu {
		z-index:100;
	}
	.menu-item:hover .sub-menu {
		display:none;
	}
	.nav-click {
		display:block;
	}
	article#content {
		max-width:100%;
		float:none;
	}
	
	aside {
		float:left;
		margin:20px 0;
		display:block;
		margin-left:auto;
		margin-right:auto;
	}
	footer {
		height:auto;
	}
	footer * {
		float:none;
		margin-left:auto!important;
		margin-right:auto!important;
	} 
	footer > ul {
		display:block;
		max-width:990px;
		position:relative;
		height:auto;
	}
	footer > ul li {
		position:relative;
		width:25%;
		padding:0;
		float:left;
	}
	#reflektion {
		background-image:none;
	}
	.button01{
		max-width:100%;
	}
}
@media screen and (max-width:450px){
	nav ul li {
		width:30%;
	}
}
@media screen and (max-width:580px){
	img.post-image {
		float:none;
		width:100%;
	}
	nav {
		padding-left:0;
		padding-right:0;
	}
	nav ul {
		display:none;
		height:auto;
	}
	nav ul li {
		display:block;
		float:none;
		width:100%;
	}
	.sub-menu li {
		border-left:10px solid rgb(56, 112, 185);
	}
	nav a#pullmenu {
		display:block;
		background-color:rgba(241,241,241,1);
		width:100%;
		position:relative;
		padding:20px 0;
		text-indent:25px;
	}
	nav a#pullmenu:after {
		content:"";
		background: url('images/menu.png') no-repeat;
		width:30px;
		height:30px;
		display:inline-block;
		position:absolute;
		right:20px;
		top:20px;
	}
	footer {
		width:70%;
	}
	footer > ul > li > a {
		width:100%;
		display:block;
		text-align:center;
		padding:40px auto;
	}
	footer > ul > li {
		zoom:0.5;
	}
	table {
		zoom:0.7;
	}
}

/* Media Queries für Druck*/
@media print {
	body { background:initial; color:black; margin:0 }
	nav, nav ul,nav ul li, aside, #reflektion, #comments  { display:none;}
	article#content {max-width:100%!important;}
	footer { 
		-webkit-transform: scale(0.7);
		-moz-transform: scale(0.7);
		-ms-transform: scale(0.7);
		-o-transform: scale(0.7);
		transform: scale(0.7);
	h1, h2, h3, h4, h5, h6 { page-break-after:avoid; page-break-inside:avoid }
	img { page-break-inside:avoid; page-break-after:avoid; }
	blockquote, table, pre { page-break-inside:avoid }
	ul, ol, dl  { page-break-before:avoid }
	}
}
