/*
Theme Name: der tag und ich - DTUI14
Theme URI: http://www.dertagundich.de
Description: Die vierzehnte Inkarnation
Author: Martin Schneyra
Author URI: http://www.dertagundich.de
Version: 1.0
Tags: blue, threaded-comments, sticky-post

License:
License URI:

General comments (optional).
*/

/* 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;
}
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;
}

/** So weit, so gut. Jetzt geht's ab! **/
* { 
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.clear {
	clear: both;
	float: none;
	line-height: 1;
}

/* >> The Magnificent CLEARFIX: Updated to prevent margin-collapsing on child elements << j.mp/bestclearfix */ 
.clearfix:before, .clearfix:after { 
	content: "020"; display: block; height: 0; visibility: hidden;  
	} 

.clearfix:after { clear: both; } 

/* Fix clearfix: blueprintcss.lighthouseapp.com/projects/15318/tickets/5-extra-margin-padding-bottom-of-page */ 
.clearfix { zoom: 1; } 

::selection { background: #00679c; }
::-moz-selection { background: #00679c; }
::-khtml-selection { background: #00679c; }
::-ms-selection { background: #00679c; }

*::selection { color: #fff; }
*::-moz-selection { color: #fff; }
*::-khtml-selection { color: #fff; }
*::-ms-selection { color: #fff; }

body {
  font-family: 'Droid Sans', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6em;
  color: #444;
}

.wrapper {
	max-width: 1000px;
	margin: 0 auto;
	position: relative;
	padding-left: 20px;
	padding-right: 20px;
}

header {
	border-bottom: 1px solid #eee;	
}

.blogname {
  font-family: 'Droid Serif', serif;
	font-size: 2.2em;
	font-weight: 100;
	margin: 1em auto 1em auto;
	max-width: 680px;
	letter-spacing: 2px;
}

article {
	margin: 0 0 15em 0;
}

.content .entry-meta {
	position: relative;
	padding: 0 0 0 10px;
	max-width: 680px;
	text-align: center;
	margin: 0 auto .5em auto;
}

.line {
	position: relative;
	padding: 0 10px;
	background: #fff;
	z-index: 2;
}

.entry-meta:after, .comment-author:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  border-bottom: 1px solid #eee;
  z-index: 1;
}

.single article,
.page article {
	margin: 0;
}

.hidden {
	display: none;
}	

.content p,
.content h3,
.content h4,
.content h5,
.content h6,
.content ul,
.content ol,
.content div {
	max-width: 680px;
	margin-left: auto;
	margin-right: auto;
}

.content table {
	margin-left: auto;
	margin-right: auto;
	width: 680px;
	max-width: 680px;
}

h2,
h2.article-headline,
h1.article-headline {
  font-family: 'Droid Serif', serif;
	font-size: 1.8em;
	padding: 0;
	margin: 2em auto 0.25em auto;
	font-weight: 200;
	line-height: 1.5em;
	max-width: 680px;
}

/** Suchformular **/

#s {
	font: inherit;
	padding: 10px;
	border: 1px solid #ccc;
	width: 100%;
}

/** Links **/
a {
	color: #00679c;	
	text-decoration: none;
	-webkit-transition: all 0.3s;
	border-bottom: 1px solid #00679c;
}

a:active {
	position: relative;
	top: 1px;
}

.article-headline a:hover {
	text-decoration: none;
}

.blog-header a:hover {
	text-decoration: none;
}

a:hover {
	color: #000;
	text-decoration: none;
	border-bottom: 1px solid #000;
}

.entry-meta a,
.blogname a,
.article-headline a,
#pagination a {
	border-bottom: 0;
}

/** Textformatierung **/

p {
	margin-bottom: 1.9em;
}

em,
i,
cite {
	font-style: italic;
}

strong,
b {
	font-weight: bold;
}

blockquote,
address {
	font-style: italic;
	margin: 0 auto 1em auto;
	padding: 1em 1em 1px 1em;
	border-left: 1px solid #00679c;
	background: #efefef;
	max-width: 720px;
}

	blockquote .quelle {
		display: block;
		font-size: 0.9em;
		text-align: right;
	}

	blockquote p {
		margin-bottom: 1em;
	}

code,
pre {
	font-family: Consolas, Monaco, monospace;
	font-size: 0.9em;
}

sub {
	vertical-align: sub;
	font-size: smaller;
}

sup {
	vertical-align: super;
	font-size: smaller;
	line-height: 1;
}

abbr {
	border-bottom: dotted 1px #7B8084;
}

table { margin-bottom: 2em; }

th {
	font-weight: bold;
}

hr {
  border: 0; 
  background: #eee;
  height: 1px;
	margin: 0 auto 1.9em auto;
	max-width: 600px;
}

.content ul {
	padding: 0 0 0 2em;
	margin-bottom: 1em;
	list-style: disc;
}

.content ol {
	padding: 0 0 0 2em;
	margin-bottom: 1em;
	list-style: decimal;
}

strike,
s { text-decoration: line-through; }

small { font-size: 0.8em; }

.fluid-width-video-wrapper { margin-bottom: 1em; }

iframe.twitter-tweet {
	margin: 10px auto !important;
	max-width: 680px !important;
}

/** Überschriften **/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Droid Serif', serif;
	text-rendering: optimizeLegibility;
	font-weight: 200;
	display: block;
}

h2 { font-size: 1.6em; margin-top: 2em; }
h3 { font-size: 1.4em; margin-top: 3em; }
h4 { font-size: 1.3em; margin-top: 1em; }
h5 { font-size: 1.2em; margin-top: 1em; }
h6 { font-size: 1.1em; margin-top: 1em; }

h3.first {
	margin-top: 0;
}

/** WordPress-Formatierungen für Bilder **/

.alignleft {
    float: left;
    margin:0 15px 30px 0;
}
.aligncenter {
    display: block;
    margin: 0 auto 30px auto;
}
.alignright {
    float: right;
    margin: 0 0 30px 20px;
}
.alignnone {
	margin: 0 0 1em 0;
}
.size-full {
		display: block;
    max-width: 100%;
    height:auto;
    margin: 0 auto 1em auto;
}
p .alignleft {
    float: left;
    margin: 5px 15px 30px 0;
}
p .aligncenter {
    display: block;
    margin: 5px auto 30px auto;
}
p .alignright {
    float: right;
    margin: 5px 0 30px 20px;
}
p .alignnone {
    float: none;
    display: block;
    margin: 5px 0 30px 0;
}
p .size-full {
    max-width: 100%;
    height: auto;
    margin: 5px 0 30px 0;
}

.wp-caption-text {
	font-size: 0.9em;
}

.gallery-item {
	font-size: 0.9em;
}

img {
	max-width: 100%;
	height: auto;
	-webkit-box-shadow: 0px 0px 10px 0px #000;
	box-shadow: 0px 0px 15px 0px #ccc;
}

.noborder {
	border: 0;
	box-shadow: none;
	padding: 0;
}

/* Rückwärtskompatibilität */
.breitbild {
	margin: 0 auto;
	width: 600px;
}


/** Sidebar **/

#sidebar {
	border-top: 1px solid #eaeaea;
	border-bottom: 1px solid #eaeaea;
	padding-top: 40px;
	padding-bottom: 50px;
	margin-top: 0;
}

.sidebar-box-double {
	width: 60%;
	float: left;
}

.sidebar-box {
	width: 30%;
	float: right;
}

.sidebar-avatar {
	float: left;
	margin: 5px 20px 5px 0;
}

#sidebar ol, #sidebar ul {
	list-style: none;
	margin-left: 0;
}

#sidebar li {
	padding: 5px 0;
}

.sidebar-headline {
  font-family: 'Droid Serif', serif;
	text-rendering: optimizeLegibility;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 1em;
	margin-top: 20px;
}

/** Footer **/

footer {
	padding: 25px 0;
}

.footer-left {
	width: 50%;
	float: left;
	text-align: left;
	padding: 0;
	margin: 0;
}

.footer-right {
	width: 50%;
	float: right;
	text-align: right;
	padding: 0;
	margin: 0;
}

/** Pagination **/

#pagination {
	border-top: 1px solid #eaeaea;
}

.previous-link {
	padding: 10px 0;
	float: left;
	text-align: left;
	width: 33%;
}

.next-link {
	padding: 10px 0;
	float: right;
	text-align: right;
	width: 33%;
}

.pagecount {
	padding: 10px 0;
	width: 34%;
	float: left;
	text-align: center;
}

/**
	Kommentare
	- können bis 5 Ebenen verschachtelt dargestellt werden
**/

#comments {
	max-width: 680px;
	margin: 100px auto 0 auto;
}

.commentlist {
	margin: 1em 0 0 0;
	list-style: none;
}

.commentlist article {
	margin: 0;
	border: 0;
}

.comment-author .line {
	margin-left: 10px;
}

.avatar {
	float: right;
	margin: 0 0 1em 1em;
	position: relative;
	z-index: 100000;
}

.commentlist p {
	margin-bottom: 1em;
}

.commentlist > li {
	margin-bottom: 3.5em;
}

.commentlist .comment-author {
	position: relative;
	margin-bottom: 0; 
}

.comment-content {
	width: 66%;
	float: left;
	padding: 10px;
}

.children .comment-content,
.children .comment-meta {
	padding: 10px;	
}

.fn a {
	border: 0;
}

.comment-datetime,
.comment-reply-link,
.comment-edit-link {
	font-size: 0.8em;
}

.commentlist .children {
	margin: 0 0 0 1.5em;
	list-style: none;
}

.commentlist-spacer {
	margin: 1em 0 6em 0;
	text-align: center;
}

.pingslist {
	margin-top: 1em;
}

#commentform input[type=text],
#commentform textarea {
	font-family: inherit;
	font-weight: inherit;
	font-size: 0.9em;
	width: 100%;
	padding: 0.5em;
	border: 1px solid #00679c;
	clear: both;
}

#commentform label {
	width: auto;
	margin-right: 5px;
}

.comment-form-author .required,
.comment-form-email .required,
.comment-form-url .required {
	width: 10%;
	float: left;
}

.comment-form-author {
	width: 32%;
	float: left;
	margin-right: 2%;
}

.comment-form-email {
	width: 32%;
	float: left;
	margin-right: 2%;
}

.comment-form-url {
	width: 32%;
	float: left;
}

.form-allowed-tags {
	display: none;
}

.form-submit {
	clear: both;
	text-align: right;
}

#submit {
	padding: 10px;
	font-family: inherit;
	font-size: inherit;
	border: 0;
	background: #00679c;
	color: #fff;
	min-width: 30%;
	text-align: center;
	cursor: pointer;
	width: auto;
	overflow: visible;
	-webkit-transition: all 0.3s;
}

#submit:hover {
	background: #000;
}

/** Archiv **/
#smart-archives-block {
	margin-left: 5%;
	padding: 0;
	list-style: none;
}

#smart-archives-list h2 a {
	font-weight: normal;
	font-size: 0.8em;
}

/** schneyras bookshelf **/
.sbs-bookdata td {
	padding-right: 10px;
	padding-top: 7px;
}

.sbs-source {
	text-align: right;
	display: block;
	font-size: 0.85em;
	margin-top: 3px;
	font-style: normal;	
}

ul#sbs-bookshelf-wrapper {
	margin: 0 5% 0 5%;
	padding: 0;
}

#sbs-bookshelf-wrapper li {
	list-style: none;
	font-size: 0.9em;
	display: inline-block;
	width: 220px;
	height: 300px;
	padding: 5px;
	margin: 5px;
	border: 1px solid #ccc;
	float: left;
}

#sbs-bookshelf-wrapper h2 {
	margin: 0;
	padding: 0;
	font-size: 1em;
	height: 75px;
	border-bottom: 1px solid #ccc;
	text-align: center;
}

#sbs-bookshelf-wrapper a {
	font-weight: normal;
}

#sbs-bookshelf-wrapper table {
	margin: 0;
	font-size: 0.9em;
}

/* Footnotes */

.footnotes {
	margin-bottom: 1em;
	font-size: 0.8em;
}

/* Instagram-Galerie */
.instagal {
	max-width: 960px;
	text-align: center;
}

.instagal a {
	border: 0;
	display: inline-block;
	margin: 10px;
	position: relative;
}

	.instagal a:nth-child(even) {
		-moz-transform: scale(0.9) rotate(1deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
		-webkit-transform: scale(0.9) rotate(1deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
		-o-transform: scale(0.9) rotate(1deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
		-ms-transform: scale(0.9) rotate(1deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
		transform: scale(0.9) rotate(1deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
	}

	.instagal a:nth-child(odd) {
		-moz-transform: scale(0.9) rotate(-1deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
		-webkit-transform: scale(0.9) rotate(-1deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
		-o-transform: scale(0.9) rotate(-1deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
		-ms-transform: scale(0.9) rotate(-1deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
		transform: scale(0.9) rotate(-1deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
	}

	.instagal a:hover {
		zoom: 1;
		filter: alpha(opacity=90);
		opacity: 0.9;
		-moz-transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
		-webkit-transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
		-o-transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
		-ms-transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
		transform: scale(1) rotate(0deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
		z-index: 900;
	}

.instagal img {
	-webkit-backface-visibility: hidden;
}

.fancybox-overlay a {
	border: 0;
}

@media (max-width: 600px) {
	
	body {
		font-size: 0.9em;
	}
	
	.pagecount,
	.next-link,
	.previous-link,
	.sidebar-box,
	.sidebar-box-double,
	.footer-left,
	.footer-right {
		float: none;
		width: 100%;
		text-align: center;
	}

	.sidebar-box-double {
		text-align: left;
	}

	.entry-meta:after {
		border-bottom: none;
	}
	
	article {
		margin: 0 0 5em 0;
	}
}

@media (min-width: 2000px) {
	body {
		font-size: 1.2em;
	}
	
	.content p,
	.content h3,
	.content h4,
	.content h5,
	.content h6,
	.content ul,
	.content ol,
	.content div {
		max-width: 800px;
		margin-left: auto;
		margin-right: auto;
	}
	
	h2, h2.article-headline, h1.article-headline,
	.blogname {
		max-width: 800px;
	}
	
}