/*
Theme Name: kaihommel.de 
Theme URI: http://kaihommel.de/
Author: Kai Hommel
Author URI: http://kaihommel.de/
Description: Personal Theme for kaihommel.de
Version: 2.0
License: GNU General Public License
License URI: license.txt
Tags: html5, css3, jquery, custom-menu, microformats, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/*  HTML5 ✰ Boilerplate  */

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,  footer, header, hgroup, 
menu, nav, section, summary, time, mark, audio, video {
  margin:0;
  padding:0;
  border:0;
  outline:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}                  
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { 
    display:block;
}
nav ul { list-style:none; }
blockquote, q { quotes:none; }
blockquote:before, blockquote:after,
q:before, q:after { content:''; content:none; }
a { margin:0; padding:0; font-size:100%; vertical-align:baseline; background:transparent; }
ins { background-color:#ff9; color:#000; text-decoration:none; }
mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; }
del { text-decoration: line-through; }
abbr[title], dfn[title] { border-bottom:1px dotted; cursor:help; }
table { border-collapse:collapse; border-spacing:0; }
hr { display:block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; }
input, select { vertical-align:middle; }


body { font:13px/1.231 sans-serif; *font-size:small; } 
select, input, textarea, button { font:99% sans-serif; }
pre, code, kbd, samp { font-family: monospace, sans-serif; }

body, select, input, textarea { color: #444; }
h1,h2,h3,h4,h5,h6 { font-weight: bold; }
/*html { overflow-y: scroll; }*/

a:hover, a:active { outline: none; }
a, a:active, a:visited { color: #607890; }
a:hover { color: #036; }

ul, ol { margin-left: 1.8em; }
ol { list-style-type: decimal; }

nav ul, nav li { margin: 0; } 
small { font-size: 85%; }
strong, th { font-weight: bold; }
td, td img { vertical-align: top; } 
sub { vertical-align: sub; font-size: smaller; }
sup { vertical-align: super; font-size: smaller; }
pre {  padding: 15px;  white-space: pre;  white-space: pre-wrap;  white-space: pre-line;  word-wrap: break-word; }
textarea { overflow: auto; } 
.ie6 legend, .ie7 legend { margin-left: -7px; } 
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; }
.ie7 input[type="checkbox"] { vertical-align: baseline; }
.ie6 input { vertical-align: text-bottom; }
label, input[type=button], input[type=submit], button { cursor: pointer; }
button, input, select, textarea { margin: 0; }
input:valid, textarea:valid   {  }
input:invalid, textarea:invalid { border-radius: 1px;  -moz-box-shadow: 0px 0px 5px red; -webkit-box-shadow: 0px 0px 5px red;  box-shadow: 0px 0px 5px red; }
.no-boxshadow input:invalid, 
.no-boxshadow textarea:invalid { background-color: #f0dddd; }

::-moz-selection{ background: #FF5E99; color:#fff; text-shadow: none; }
::selection { background:#FF5E99; color:#fff; text-shadow: none; } 
a:link { -webkit-tap-highlight-color: #FF5E99; } 

button {  width: auto; overflow: visible; }
.ie7 img { -ms-interpolation-mode: bicubic; }

.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }
.hidden { display: none; visibility: hidden; } 
.visuallyhidden { position: absolute !important; clip: rect(1px 1px 1px 1px);  clip: rect(1px, 1px, 1px, 1px); }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after {  content: "\0020"; display: block; height: 0; visibility: hidden;	 } 
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }


 /* Primary Styles
    Author: Kai Hommel <kh@noozign.de>, http://noozign.de
 */
 /*
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: normal;
  src: local('Merriweather'), url('fonts/Merriweather.woff') format('woff');
}

@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: normal;
  src: local('Merriweather'), url('fonts/Merriweather.ttf') format('truetype');
}*/

::-moz-selection{ background: #0FA4E2; color:#fff; text-shadow: none; }
::selection { background:#0FA4E2; color:#fff; text-shadow: none; } 
a:link { -webkit-tap-highlight-color: #0FA4E2; } 

html, body { width: 100%; height: 100%; }
html { overflow-x:hidden; overflow-y: auto !important; }

a, 
a:visited { color: #0FA4E2; text-decoration: underline; }
a:hover, 
a:focus { color: #727272; }

body { font-size: 14px; line-height: 20px; background: #FFF; font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; color: #242424; }

header, section, article, aside, footer, time, nav { display: block; }

/* TEXT STYLES */

h1 { font-family: Merriweather, Georgia, serif; font-size: 34px; line-height: 40px; font-weight: bold; }
h1 a { text-decoration: none; }
h2 { font-family: Merriweather, Georgia, serif; font-size: 24px; line-height: 30px; font-weight: bold; padding-bottom: 18px; }
h2 a, 
h2 a:visited { color: #242424; text-decoration: none; }
h2 a:hover, 
h2 a:focus { text-decoration: underline; }
h3 { font-family: Merriweather, Georgia, serif; font-size: 18px; line-height: 24px; font-weight: normal; padding-bottom: 18px; }
p { padding-bottom: 18px; }

input, textarea, button, select, option { font-family: Merriweather, Georgia, serif; font-size: 14px; line-height: 20px; }

.nowrap { white-space: nowrap; }

.alignleft { float: left; display: inline; margin-right: 24px; }
.alignright { float: right; display: inline; margin-left: 24px; }

img#wpstats { width: 1px !important; height: 1px !important; position: absolute; top: -1978em; left: -1978em; }


/* LAYOUT */

.wrapper { padding: 48px; }
h1.with-sidebar { margin-bottom: 48px; }

ul.tags { list-style-type: none; margin: 0; padding: 0; }
ul.tags li { float: left; display: inline; margin-right: 6px; }
ul.tags li a { font-size: 12px; line-height: 16px; text-decoration: none; }

header nav { font-family: Merriweather, Georgia, serif; font-size: 24px; line-height: 30px; font-weight: bold; padding-bottom: 60px; margin-bottom: 24px; background: url(images/shadow.png) center bottom no-repeat; }
header nav a { text-decoration: none; }
header nav a:hover { text-decoration: underline; }
nav.footer-nav { padding: 24px 0; }
nav.footer-nav .nav-previous { float: left; width: 50%; text-align: right; }
nav.footer-nav .nav-previous a:before { content: "← "; }
nav.footer-nav .nav-next { float: right; width: 50%; }
nav.footer-nav .nav-next a:after { content: " →"; }
nav.footer-nav a { text-decoration: none; margin: 0 12px; }
nav.footer-nav a:hover { text-decoration: underline; }
nav.footer-nav h3 { text-align: center; }

/* ARTICLE STYLES */

section { padding: 12px 0; }
article { padding: 24px 0 60px; background: url(images/shadow.png) center bottom no-repeat; }
#comments { padding: 24px 0 60px; background: url(images/shadow.png) center bottom no-repeat; }
article.intro { background: none; }
article header { }
article header time { font-size: 12px; line-height: 18px; padding: 6px 0; }
article header time:before { content: '❧ '; color: #0fa4e2; padding-right: 3px; }
article .more-button { font-size: 12px; line-height: 18px; float: right; padding: 6px 12px; text-decoration: none; }
article a.more-link:before { content: '➔ '; }
ul.tags li a, 
article a.more-link { text-decoration: none; font-size: 12px; line-height: 16px; float: right; margin-bottom: 18px; padding: 5px 10px; background: #363636; border-radius: 5px; box-shadow: 1px 1px 10px #000; -webkit-box-shadow: 1px 1px 10px #000; }
article .entry-content { padding-bottom: 24px; }
article .entry-attachment { padding-top: 24px; }

/* COMMENT FORM STYLES */

form p { clear: both; width: 100%; overflow: hidden; padding: 5px 0; }
form p label { width: 100px; float: left; padding-right: 10px; }
form p input[type=text], 
form p textarea { float: left; width: 400px; display: inline; margin-right: 5px; }

/* COMMENT LIST */

ol.commentlist { list-style-type: none; margin: 0 0 24px; }
ol.commentlist li { padding-bottom: 36px; background: url(images/shadow.png) center bottom no-repeat; }
ol.commentlist ul.children { list-style-type: none; margin: 0 0 12px; }
ol.commentlist ul.children li { background: #FFF; padding-left: 24px;  border-left: 12px solid #CCC; }
ol.commentlist article { background: transparent none; padding: 12px 0; }
ol.commentlist img.avatar { border-radius: 6px; }
ol.commentlist header { padding-bottom: 12px; }
ol.commentlist header a { text-decoration: none; }
ol.commentlist .comment-author { float: left; padding-right: 12px; }
ol.commentlist .comment-meta { float: left; }

/* GALLERY STYLES */

.caroufredsel_wrapper { padding-bottom: 24px; }
.caroufredsel_wrapper .carouselNav { font-weight: bold; position: absolute; top: 0px; background: #FFFFFF; height: 150px; width: 58px; text-decoration: none; }
.caroufredsel_wrapper .prev { left: 0px; }
.caroufredsel_wrapper .next { right: 0px; }
.caroufredsel_wrapper .carouselNav span { text-align: center; position: absolute; padding: 12px; width: 20px; line-height: 16px; height: 20px; top: 50%; margin-top: -22px; left: 50%; margin-left: -22px; }
.gallery .gallery-item { float: left; }
.no-js .gallery .gallery-item { padding: 0 5px 5px 0; }
.gallery .gallery-item img { display: block; }

/* SIDEBAR STYLES */

aside { padding: 24px 0; background: url(images/shadow.png) center top no-repeat; }
aside h3 { color: #606060; }

aside .widget { padding: 24px 3% 24px 0; width: 30%;  float: left; }
aside .widget_search { padding: 0; width: 100%; float: none; }

/* SEARCH WIDGET */

.widget_search form fieldset, 
.widget_search form label, 
.widget_search form input, 
.widget_search form button { float: left; }
.widget_search form fieldset { width: 320px; }
.widget_search form label { color: #969696; line-height: 16px; padding: 3px 0; }
.widget_search form input { width: 200px; height: 16px; font-size: 12px; line-height: 16px; padding: 3px 6px; border-radius: 12px; background: #FFF; border: 0 none; display: inline; margin: 0 12px; }
.widget_search form button { font-size: 12px; font-weight: normal; line-height: 16px; padding: 4px 6px 2px; border-radius: 6px; background: #FFF; border: 0; }

/* END SEARCH WIDGET */

/* TAGCLOUD WIDGET */

aside .tagcloud a { float: left; display: inline; margin: 0 6px 6px 0; background: #363636; line-height: 1.25em; text-decoration: none; padding: 6px 12px; border-radius: 5px; box-shadow: 1px 1px 5px #000; -webkit-box-shadow: 1px 1px 5px #000; }

/* END TAGCLOUD WIDGET */

/* LATEST ARTICLE WIDGET */

aside .widget_recent_entries { padding-bottom: 0; }
.widget_recent_entries ul { list-style-type: none; margin: 0; }
.widget_recent_entries li { padding-bottom: 6px; padding-left: 18px; position: relative; }
.widget_recent_entries ul a { text-decoration: none; }
.widget_recent_entries ul a:before { content: '➔ '; color: #969696; position: absolute; left: 0px; top: 0px; }

/* END LATEST ARTICLE WIDGET */

/* LATEST COMMENTS WIDGET */

.widget_recent_comments ul { list-style-type: none; margin: 0; }
.widget_recent_comments li { padding-bottom: 6px; padding-left: 18px; position: relative; }
.widget_recent_comments li:before { content: '➔ '; color: #969696; position: absolute; left: 0px; top: 0px; }
.widget_recent_comments ul a { text-decoration: none; }

/* FOOTER STYLES */

footer { color: #FFF; font-size: 11px; line-height: 14px; }
footer details { float: left; }
footer nav { float: right; }
footer nav ul li { display: inline; margin-left: 5px; }

/* CSS3 Styles */

.rounded { background: #363636; padding: 12px 24px; border-radius: 6px; border: 0; }
.round { border-radius: 6px; }
ol.commentlist img.avatar, 
.shadowed { box-shadow: 1px 1px 5px #000; -webkit-box-shadow: 1px 1px 5px #000; }


/* IE 6 Styles */
#ie6 { position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; background: #F0F0F0; z-index: 100; }
#ie6 #ie6content { width: 400px; margin: 0 auto; color: #333333;  }
#ie6 span { display: block; padding: 50px 0 0; font-size: 1.8em; margin: 0 0 10px; line-height: 24px; }
#ie6 h3 { font-size: 1.6em; line-height: 20px; font-weight: bold; margin: 0 0 5px; }
#ie6 ul { margin: 0 0 10px 14px; }
#ie6 ul li { font-size: 1.2em; line-height: 16px; }
#ie6 ul li a { color: #333333; text-decoration: underline; }
#ie6 ul li a:hover { color: #000000; }

@media all and (orientation:portrait) { 
  
html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; }
  
}

@media all and (orientation:landscape) { 

html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; }
  
}

@media screen and (max-device-width: 480px) {

html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; }

h1 { font-size: 20px; line-height: 24px; font-weight: normal; }
.intro h1 { font-size: 16px; line-height: 20px; font-weight: normal; }
h1.with-sidebar { margin-bottom: 12px; }


h2 { font-size: 16px; line-height: 20px; font-weight: normal; }
h3 { font-size: 14px; line-height: 20px; }

.alignleft, 
.alignright { width: 100%; height: auto; margin-bottom: 12px; display: block; float: none; clear: both; }
.attachment img { width: 100%; height: auto; }

embed,
object,
video,
iframe { max-width: 100%; }

.wrapper { padding: 12px; }
section { padding: 0; }
article { padding: 12px 0 24px; background: url(images/shadow-small.png) center bottom no-repeat; }
#comments { padding: 0px 0 48px; background: url(images/shadow-small.png) center bottom no-repeat; }
aside { padding: 12px 0; background: url(images/shadow-small.png) center top no-repeat; }

header nav { font-size: 16px; line-height: 20px; font-weight: normal; padding-bottom: 42px; margin-bottom: 0px; background: url(images/shadow-small.png) center bottom no-repeat; }
header nav a { text-decoration: none; }
header nav a:hover { text-decoration: underline; }

form p { clear: both; width: 100%; overflow: visible; padding: 5px 0; }
form p label { width: 100%; float: none; padding-right: 0px; }
form p input[type=text], 
form p textarea { float: none; width: 100%; padding: 0; display: block; margin-right: -5px; }

ol.commentlist { margin-bottom: 12px; }
ol.commentlist li { background: url(images/shadow-small.png) center bottom no-repeat; }
ol.commentlist ul.children { margin: 0 0 12px; }
ol.commentlist ul.children li { padding-left: 12px; border-left: 6px solid #CCC; }


nav.footer-nav { padding: 0 0 12px; }

nav.footer-nav .nav-previous { clear: both; float: none; width: 100%; text-align: left; }
nav.footer-nav .nav-next { clear: both; float: none; width: 100%; text-align: right; }
nav.footer-nav a { text-decoration: none; margin: 0px; }

/* SEARCH WIDGET */
.widget_search form fieldset { width: auto; }
.widget_search form label { display: none; }
.widget_search form input { width: auto; margin: 0 6px 0 0; }

/* END SEARCH WIDGET */

aside .widget { clear: both; width: 100%; float: none; }

.rounded { padding: 9px 12px; }

}

@media print {
  * { background: transparent !important; color: #444 !important; text-shadow: none !important; }
  a, a:visited { color: #444 !important; text-decoration: underline; }
  a:after { content: " (" attr(href) ")"; } 
  abbr:after { content: " (" attr(title) ")"; }
  .ir a:after { content: ""; }  
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; }  
  tr, img { page-break-inside: avoid; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3{ page-break-after: avoid; }
}
