/*
Theme Name: HerrBertling
Theme URI: http://herrbertling.de
Description: Simple one column html5 theme.
Version: 1.0
Author: Markus Bertling
Author URI: http://herrbertling.de
Tags: mobile optimized, one column, valid HTML5, valid CSS, simple, seo friendly, typography, minimalistic, gravatars, avatar, 1024px, clean
*/

@charset 'utf-8';
@import url('http://fonts.googleapis.com/css?family=Poly|Handlee');

/* 
 * HTML5 ✰ Boilerplate
 *
 * What follows is the result of much research on cross-browser styling. 
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 *
 * Detailed information about this CSS: h5bp.com/css
 * 
 * ==|== normalize ==========================================================
 */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }audio:not([controls]) { display: none; }[hidden] { display: none; }html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }body { margin: 0;}body, button, input, select, textarea { font-family: sans-serif; color: #222; }::-moz-selection { background: #0090fe; color: #fff; text-shadow: none; }::selection { background: #0090fe; color: #fff; text-shadow: none; }a { color: #00e; }a:visited { color: #551a8b; }a:hover { color: #06e; }a:focus { outline: thin dotted; }a:hover, a:active { outline: 0; }abbr[title] { border-bottom: 1px dotted; }b, strong { font-weight: bold; }blockquote { margin: 1em 40px; }dfn { font-style: italic; }hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }ins { background: #ff9; color: #000; text-decoration: none; }mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }q { quotes: none; }q:before, q:after { content: ""; content: none; }small { font-size: 85%; }sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }sup { top: -0.5em; }sub { bottom: -0.25em; }ul, ol { margin: 1em 0; padding: 0 0 0 40px; }dd { margin: 0 0 0 40px; }nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }svg:not(:root) { overflow: hidden; }figure { margin: 0; }form { margin: 0; }fieldset { border: 0; margin: 0; padding: 0; }label { cursor: pointer; }legend { border: 0; *margin-left: -7px; padding: 0; }button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }button, input { line-height: normal; *overflow: visible; }table button, table input { *overflow: auto; }button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }textarea { overflow: auto; vertical-align: top; resize: vertical; }input:valid, textarea:valid {  }input:invalid, textarea:invalid { background-color: #f0dddd; }table { border-collapse: collapse; border-spacing: 0; }td { vertical-align: top; }

/* ==|== primary styles =====================================================
   Author: Markus Bertling
   ========================================================================== */

body {
	background: rgb(76,177,254);
	background: -moz-linear-gradient(top, rgba(76,177,254,0.7) 0%, rgba(0,144,254,1) 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(76,177,254,0.7)), color-stop(100%,rgba(0,144,254,1)));
	background: -webkit-linear-gradient(top, rgba(76,177,254,0.7) 0%,rgba(0,144,254,1) 100%);
	background: -o-linear-gradient(top, rgba(76,177,254,0.7) 0%,rgba(0,144,254,1) 100%);
	background: -ms-linear-gradient(top, rgba(76,177,254,0.7) 0%,rgba(0,144,254,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4cb1fe', endColorstr='#0090fe',GradientType=0 );
	background: linear-gradient(top, rgba(76,177,254,0.7) 0%,rgba(0,144,254,1) 100%);
	color: #222;
	font-family: 'Poly', 'Cambria', Georgia, Times, 'Times New Roman', serif;
	font-size: 18px;
	line-height: 1.5em;
}
h1,h2,h3,h4,h5,h6,footer,.wp-pagenavi {
	font-family: 'Handlee', Helvetica, Arial, sans-serif;
}
h1 {
	font-size:3em;
}
h2 {
	font-size:2.25em;
	padding-bottom: 24px;
}

h3,
h4 {
	font-size: 1.5em;
	font-weight: normal;
}

p {font-size:1em;}

blockquote {
	color: #666;
	margin: 0;
	padding: 0 2em;
}

a {
	text-decoration: none;
}

#container {
	background-color: #fff;
	border-bottom: 1px solid #035198;
}

/*------------------------ HEADER --*/

header {
	background-color: #0090fe;
	border-bottom: 1px solid #999;
	color: #fff;
	height: 108px;
}

header section {
	padding: 0 10px;
}

header h1,
header p,
header form input {
	display: inline;
	font-family: 'Handlee', Helvetica, Arial, sans-serif;
	font-weight: 400;
}

header h1,
header p {
	font-size: 24px;
	line-height: 56px;
}

header a,
header a:visited {
	color: #fff;
}

header form input {
	border: 1px solid #fff;
	font-size: 18px;
	margin: 9px 0 0;
	padding: 5px;
	border-radius: 3px;
	width: 90%;
}

header form input:hover {
	cursor: pointer;
}
header form input:focus,
header form input:focus:hover {
	cursor: text;
}

/*------------------------ CONTENT --*/

#main {}

#main article {
	font-weight: 400;
	border-bottom: 1px solid #c0c0c0;
	padding: 30px 10px;
}

#main article:last-child {
	border-bottom: none;
}

#main section,
#main aside {
	margin: 0 auto;
}
#main h2 {
	line-height: 1em;
	margin: 0;
	padding: 0;
}

#main p,
#main ul,
#main ol {
	line-height: 1.5em;
	margin-bottom: 1.5em;
}

#main p+p,
#main .wp-caption + p {
	text-indent: 1em;
}

#main blockquote p+p {
	text-indent: 0;
}

#main a,
#main a:visited {
	color: #0090fe;
}
#main a:hover,
#main a:focus,
#main h2 a:hover,
#main h2 a:focus {
	color: #035198;
}
#main a:active {
	position: relative;
	top: 1px;
}

#main h2 a,
#main h2 a:visited {
	color: #222;
}

#main iframe {
	max-width: 95%;
}

article aside {
	padding: 20px 0 0;
}

.comment-list {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.comment-list li {
	margin: 0 0 40px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;	
}

.comment-list .avatar {
	float: right;
	margin: -20px 0 0 10px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
}

.comment-list p {
	margin: 0;
}

#main .comment-list p+p,
#main #commentform p+p {
	text-indent: 0;
}

#main .comment-list .vcard {
	clear: both;
	color: #666;
	font-family: 'Handlee', Helvetica, Arial, sans-serif;
	font-size: 14px;
	margin-bottom: 0;
	text-align: right;
}

#main .comment-list .vcard a {
	color: #666;
}

.comment-list .authcomment {
	border: 1px solid #0090fe;
	padding: 15px;
}

.reply {
	padding-top: 20px;
}

#main .comment-textarea,
#main .comment-checkbox {
	margin-bottom: 0;
}

#commentform label {
	display: block;
	font-family: 'Handlee', Helvetica, Arial, sans-serif;
	font-size: 14px;
	text-transform: uppercase;
}
#commentform textarea {
	width: 95%;
}

#commentform textarea,
#commentform input,
#commentform button {
	border: 1px solid #0090fe;
	color: #222;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	font-family: 'Poly', 'Cambria', Georgia, Times, 'Times New Roman', serif;
	padding: 7px;
}

#commentform button {
	background-color: #0090fe;
	color: #fff;
	font-family: 'Handlee', Helvetica, Arial, sans-serif;
	text-transform: uppercase;
}

#commentform button:hover,
#commentform button:active,
#commentform button:focus {
	background-color: #035198;
	border-color: #035198;
}
	
#commentform .user_data {
	width: 95%;
	padding: 0;
}
#commentform .user_data input {
	width: 100%;
}

#commentform .subscribe-to-comments label {
	display: inline;
}

.wp-caption {
	font-family: 'Handlee', Helvetica, Arial, sans-serif;
	font-size: 12px;
}
.alignleft,
.alignright,
aligncenter {
	float:none;
	margin:0;
	width: 100%;
}
.wp-caption p {
	margin: 0;
	text-align: center;
}
.wp-caption img {
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px
}

/*------------------------ FOOTER --*/

footer {
	color: #fff;
	padding: 0 10px;
	font-family: 'Poly', 'Cambria', Georgia, Times, 'Times New Roman', serif;
}

footer section {
	padding-top: 36px;
	width: 100%;
}

footer section p {
	margin: 0 0 1em;
}

footer a {
	border-bottom: 1px dotted;
	color: #fff;
}

footer a:visited {
	color: #fff;
}

#about img {
	border: 1px solid #fff;
	margin: 0;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}

#finalwords {
	font-size: 12px;
	text-align: center;
	text-transform: uppercase;
	width: 100%;
}

#finalwords a {border-bottom: none}
#finalwords a:hover,
#finalwords a:focus,
#finalwords a:active {
	border-bottom: 1px solid #fff;
	color: #fff;
}


/* ==|== non-semantic helper classes ========================================
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }

/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden { display: none !important; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* Contain floats: h5bp.com/q */ 
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }

/* WP image classes */

/* ==|== media queries ======================================================
   PLACEHOLDER Media Queries for Responsive Design.
   These override the primary ('mobile first') styles
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 480px) {
  /* Style adjustments for viewports 480px and over go here */
	
	/*------------------------ FOOTER --*/
	footer {
		margin: 0 auto;
		width: 480px;
	}
	#about img {
		border: 1px solid #fff;
		float: left;
		margin: 0 20px 0 0;
		-webkit-border-radius: 2px;
		-moz-border-radius: 2px;
		border-radius: 2px;
	}
	input:focus,
	textarea:focus {
		box-shadow: 0 0 5px rgba(0,0,0,0.7);
		outline:none;
	}
}

@media only screen and (min-width: 768px) {
  /* Style adjustments for viewports 768px and over go here */
	
	/*------------------------ HEADER --*/
	header {
		height: 54px;
	}
	header section {
		margin: 0 auto;
		padding: 0;
		width: 768px;
	}
	header form {
		float: right;
	}
	header form input {
		width: 170px;
	}
	/*------------------------ MAIN --*/
	#main article {
		padding: 60px 0;
	}
	
	#main section,
	#main aside,
	.wp-pagenavi {
		width: 700px;
	}
		
	.wp-caption {
		font-family: 'Handlee', Helvetica, Arial, sans-serif;
		font-size: 14px;
	}
	.alignleft {
		float:left;
		margin:0 24px 24px 0;
	}
	.alignright {
		float:right;
		margin: 0 0 24px 24px;
	}
	.aligncenter {
		margin: 24px auto;
	}
	.wp-caption p {
		margin: 0;
		text-align: center;
	}
	.wp-caption img {
		-webkit-border-radius: 2px;
		-moz-border-radius: 2px;
		border-radius: 2px
	}
	
	#commentform .user_data {
		float: left;
		width: 31%;
		padding-right: 15px;
	}
	#commentform .user_data:last-child {
		padding-right: 0;
	}
	#commentform .user_data input {
		width: 200px;
	}
	
	/*------------------------ FOOTER --*/	
	footer {
		margin: 0 auto;
		padding: 0;
		width: 760px;
	}
}

@media only screen and (min-width: 960px) {
	#main iframe {
		margin: 40px 0 40px -100px;
		max-width: none;
		box-shadow: 0 0px 15px rgba(0,0,0,0.8);
	}
	#container {box-shadow: 0 0 24px rgba(0,0,0,0.7);}
	header {box-shadow: 0 0 6px rgba(0,0,0,0.5);}
	
}




/* ==|== print styles =======================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */
 
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}

/* Plugin: PageNavi */

.wp-pagenavi {
	font-size: 14px;
	margin: 30px auto;
	text-align: center;
	width: 100%;
}

#main .wp-pagenavi a {
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}

#main .wp-pagenavi a,
#main .wp-pagenavi a:link,
#main .wp-pagenavi a:visited {
	padding: 3px 7px; 
	margin: 3px;
	border: 1px solid #0090fe;
	color: #0090fe;
	background-color: #FFF;
}
#main .wp-pagenavi a:hover,
#main .wp-pagenavi a:focus,
#main .wp-pagenavi a:active {	
	border: 1px solid #0090fe;
	color: #fff;
	background-color: #0090fe;
}

.wp-pagenavi span.pages,
.wp-pagenavi span.current,
.wp-pagenavi span.extend {
	padding: 3px 7px; 
	margin: 3px;
	color: #222;
	background-color: #FFFFFF;
}
.wp-pagenavi span.current {
	font-weight: bold;
}

#post-1337 {
	background: url('ilt_test.png') no-repeat center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

#post-id-123 {
	background: url('test2.jpg') no-repeat center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}
#post-id-123 blockquote,
#post-id-123 a,
#post-id-123 a:visited,
#post-id-123 h2 a,
#post-id-123 p {
	color: #fff!important;
}
#post-id-123 section {background-color: rgba(0,0,0,0.6);padding: 15px;}
