/*  
Theme Name: juergenarne
Theme URI: http://pnoom.com
Description: Die Welt zu Gast bei Juergen
Version: 1.0
Author: Juergen Arne Klein
Author URI: http://juergen-arne-klein.de
Tags: simple

TABLE OF CONTENTS

00 - Responsive
01 - Reset
02 - Global 
03 - General Layout
04 - Header
05 - Menu
06 - Content
07 - Buttons
08 - Sidebar
09 - Widgets
10 - Comments
11 - Pagination
12 - Footer
13 - Backgrounds
14 - Media Queries
*/


/* 
 * COLORS:
 *
 * light red = #E41B17
 * dark red = #C11B17
 * green = #008000
 * orange = #FF6400
 * orange red = #FF4500
 */
/* ///////////////////////////////////////////////////////////////////// 
//  00 - Responsive
/////////////////////////////////////////////////////////////////////*/
* {
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-style: inherit;
	color: inherit;
}

html {
	font-size: 16px;
	background: white;
}

@media (max-width: 1024px) {
  html { font-size: 16px; }
}

@media (max-width: 960px) {
  html { font-size: 15px; }
}

@media (max-width: 896px) {
  html { font-size: 14px; }
}

@media (max-width: 832px) {
  html { font-size: 13px; }
}

@media (max-width: 768px) {
  html { font-size: 12px; }
}

@media (max-width: 704px) {
  html { font-size: 11px; }
}

@media (max-width: 640px) {
  html { font-size: 10px; }
}

@media (max-width: 576px) {
  html { font-size: 9px; }
}

@media (max-width: 512px) {
  html { font-size: 8px; }
}

@media (max-width: 448px) {
  html { font-size: 7px; }
}

@media (max-width: 384px) {
  html { font-size: 6px; }
}

@media (max-width: 320px) {
  html { font-size: 5px; }
}


html, body {
	margin: 0;
	padding: 0;
	height: 100%;
/*
	overflow: hidden;
*/
} 

body {
	position: relative;
	background: white;
	color: black;
	font-family: 'Avenir Next Condensed', 'Open Sans', 'Lucida Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.25em;
	font-weight: 300;
	min-height: 100%;
}


/* ///////////////////////////////////////////////////////////////////// 
//  01 - Reset
/////////////////////////////////////////////////////////////////////*/

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, font, 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 {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
	background: transparent;
}

h1, h2, h3, h4, h5, h6 {	
	clear: both;
}

h3 {
  margin: 1rem 0;
}

h4 {
  margin: .5rem 0;
}

ul {
	list-style: none;
}

blockquote {
	quotes: none;	
}

blockquote:before, blockquote:after {
	content: '';
	content: none;
}

del {
	text-decoration: line-through;
}

em {
	font-style: italic;
	font-weight: 300;
	font-size: 1rem;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

a {
	text-decoration: none;
}

a img { border: none; }

html {height: 101%;}

input[type="submit"]::-moz-focus-inner {border:0;}
input[type="submit"]::-webkit-focus-inner {border:0;}

.homeSection img,
.post p img,
.page p img,
.project p img,
.postThumb,
div.wp-caption,
div.wp-caption img {
	max-width: 100% !important;	
	height: auto;
	width: 100%;
}

div.wp-caption {
  width: 100%!important;
}


.homeSection img,
.post p img,
.page p img,
.project p img,
.postThumb {
	margin: 1.9% 0;
}

div.wp-caption .wp-caption-text, 
article section .copyright, 
article section .caption, 
article section .small {
    font-family: 'Dosis Web', 'PT Sans Narrow', sans-serif;
    letter-spacing: 1px;
    margin: 0.5rem 0rem 1rem;
}

#content div.wp-caption .wp-caption-text {
    color: #555555;
    margin: 0.5rem 0 1rem;
}

.wp-flattr-button img {
	width: auto !important;
}


/* ///////////////////////////////////////////////////////////////////// 
//  02 - Global 
/////////////////////////////////////////////////////////////////////*/

body {
    background: url("/wp-content/themes/juergenarne/img/body_bg/bg.php") repeat fixed 50% 85% #000;
    background-size: cover;
    color: #000000;
    font-size: 1rem;
    height: auto;
    margin: 0;
    max-width: 100%;
    padding: 0 /* 2% */;
}


@media all and (max-device-width: 1024px) {
    body {
	    background: #dedfda;
    }
}


/* ///////////////////////////////////////////////////////////////////// 
//  03 - General Layout
/////////////////////////////////////////////////////////////////////*/

/* ///////////////////////////////////////////////////////////////////// 
//  04 - Header 
/////////////////////////////////////////////////////////////////////*/

#blog-header {
    background: url("/wp-content/themes/juergenarne/img/header_1024.jpg") no-repeat scroll center center transparent;
    background-size: cover;
    height: 16rem;
    padding: 0;
    position: relative;
}

#blog-header .inside {
    bottom: -1px;
    position: absolute;
    width: 100%;
}

#blog-header .inside h1 {
  background: none repeat scroll 0 0 transparent;
  font-family: 'Veneer Three',sans-serif;
  font-size: 4.5rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
  opacity: 0.85;
  padding: 2rem 0rem 1.25rem;
  text-align: center;
  text-shadow: 6px 6px 12px rgba(0, 0, 0, 0.75);
  text-transform: uppercase;
}

#blog-header .inside h1 a,
#blog-header .inside h1 a:active,
#blog-header .inside h1 a:visited {
  color: #E41B17;
  transition: color 0.4s ease 0.1s;
}

#blog-header .inside h1 a:hover {
  color: #FF4500;
}

#blog-header .inside h1 a:before,
#blog-header .inside h1 a:after {
	content: 'Y';
	font-family: 'Veneer Extras';
	font-size: 5rem;
	line-height: 1;
	padding: 0 1rem;
}

#blog-header h4, 
.smartphone, 
.tablet {
	display: none; /* estmal! */
}

#blog-footer {
    background: url("/wp-content/themes/juergenarne/img/footer_1024.jpg") no-repeat scroll center bottom transparent;
    background-size: cover;
    height: 16rem;
    padding: 2rem 0;
    position: relative;
}

/* ///////////////////////////////////////////////////////////////////// 
//  05 - Menu 
/////////////////////////////////////////////////////////////////////*/

#dropNav {
  display: none;
  margin: 0;
}

#dropNav select {
  background: #000000;
  border: none;
  border-radius: 0;
  color: #ffffff;
  font-family: 'PT Sans Narrow', sans-serif;
  font-size: 1.5rem;
  line-height: 1.5;
  padding: 0.5rem 2rem;
  width: 100%;
  -webkit-appearance: none;
}

#mainNav .menu-hauptmenue-container {
    background: none repeat scroll 0 0 #000000;
    float: left;
    text-align: center;
    width: 100%;
}


#mainNav ul {
    background: none repeat scroll 0 0 black;
    float: left;
}

#mainNav ul li {
    float: left;
    height: 3.3rem;
    position: relative;
}

#mainNav ul li a {
    border-right: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    float: left;
    font-family: 'PT Sans Narrow', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 1px;
    line-height: 1.2;
    margin: 1rem 0;
    min-width: 4.5rem;
    padding: 0 1rem;
    white-space: nowrap;
}

#mainNav ul li:last-child a, 
#mainNav ul.sub-menu li a {
    border-right: medium none;
}

#mainNav ul li a:hover, 
#mainNav ul li.current-menu-item > a,
#mainNav ul li.current-category-parent > a {
	color: #008000;
}

#mainNav ul.sub-menu {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.85);
    display: none;
    left: 0;
    padding: 0 1rem .5rem;
    position: absolute;
    text-align: left;
    top: 3.3rem;
    z-index: 999;
}

#mainNav ul.sub-menu li {
    border-bottom: 1px solid rgba(250, 250, 250, 0.3);
    height: 2rem;
    line-height: 2rem;
    width: 100%;
}

#mainNav ul.sub-menu li:last-child {
	border: none;
}

#mainNav ul.sub-menu li a {
    line-height: 2rem;
    margin: 0;
}

#mainNav ul li:hover ul.sub-menu {
	display: inline;
}

#main {
	max-width: 100%;
	width: 100%;
}

#main a {
	color: #C11B17;
	transition: color 0.25s ease 0.1s;
}

#main a:hover {
  color: #FF6400;
}

#main #content {
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
    float: left;
}

#main.front-page #content, 
#main.single-post #content {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 1rem 2rem 1rem 1rem;
  width: 70%;
}

#main.full-width #content {
    margin: 0rem;
    padding: 1rem;
    width: 100%;
}

#main #content article {
	margin: 1rem 0 1rem 1rem;
	position: relative;
	text-align: justify;
}

#main #content article aside.article-link {
  height: 2rem;
  padding: 1.25rem 0 0;
  text-align: right;
}

#main #content article .featured-post {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: transparent;
    background-image: url("/wp-content/themes/juergenarne/img/star.png");
    background-position: 0 0;
    background-size: cover;
    color: transparent;
    height: 66px;
    overflow: hidden;
    position: absolute;
    right: -25px;
    top: -17px;
    width: 66px;
}

#main #content article .article-comments,
#main #content article .article-content {
  margin: 2rem 0;
}

#main #content article .article-comments h3,
#main #content article .page-comments h3 {
  background: none repeat scroll 0 0 #AFB4B4;
  color: #FFD700;
  font-family: 'PT Sans Narrow', sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 2;
  margin: 0rem 0rem 2rem -2rem;
  padding: 0.5rem 0rem 0.5rem 2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

#respond h3 {
    -webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.25);
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.25);
    width: 100%;
}

#main #content article ol.commentlist  {
    font-size: 0.85rem;
    font-weight: 700;
    list-style-position: inside;
    margin-left: 1rem;
    padding: 0;
}

#main #content article ol.commentlist p {
    font-size: 0.85rem;
    font-weight: 700;
}

#main #content article .article-comments a, 
#main #content article .page-comments a {
	color: #FF6400;
}

#main #content article .article-comments a:hover,
#main #content article .page-comments a:hover {
	color: #C11B17;
}
	
#main #content article #commentform input, 
#main #content article #commentform textarea#comment {
    border: medium none;
    -webkit-box-shadow: 1px 1px 8px rgba(180, 180, 180, 0.8);
    -moz-box-shadow: 1px 1px 8px rgba(180, 180, 180, 0.8);
    box-shadow: 1px 1px 8px rgba(180, 180, 180, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
    padding: 0.5rem 1rem;
}

#main #content article #commentform input[type="text"], 
#main #content article #commentform input[type="email"], 
#main #content article #commentform input[type="url"], 
#main #content article #commentform textarea#comment {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin-right: 2rem;
  width: 100%;
}

#main #content article input[type="submit"], 
#main #content article input[type="button"], 
#main #content article input[type="reset"], 
#main #content article a.button {
    background: -webkit-linear-gradient(#FFFFFF 0%, #EEEEEE 85%) repeat scroll 0 0 transparent;
    background: -moz-linear-gradient(#FFFFFF 0%, #EEEEEE 85%) repeat scroll 0 0 transparent;
    background: -o-linear-gradient(#FFFFFF 0%, #EEEEEE 85%) repeat scroll 0 0 transparent;
    background: linear-gradient(#FFFFFF 0%, #EEEEEE 85%) repeat scroll 0 0 transparent;
    border-radius: 4px 4px 4px 4px;
    min-width: 10rem;
    padding: 0.5rem 1rem;
}

#main #content article #commentform #submit:hover {
	background: -webkit-linear-gradient(#f8f8f8 0%, #e4e4e4 85%) repeat scroll 0 0 transparent;
	background: -moz-linear-gradient(#f8f8f8 0%, #e4e4e4 85%) repeat scroll 0 0 transparent;
	background: -o-linear-gradient(#f8f8f8 0%, #e4e4e4 85%) repeat scroll 0 0 transparent;
	background: linear-gradient(#f8f8f8 0%, #e4e4e4 85%) repeat scroll 0 0 transparent;
	color: #C11B17;
	cursor: pointer;
}

#main #content article #commentform input[type='text'] + label,
#main #content article #commentform input[type='email'] + label,
#main #content article #commentform input[type='url'] + label {
	display: none;
}

#main #content article #commentform textarea#comment {
    height: 12rem;
    max-width: 100%;
    padding-right: 0.5rem;
    width: 100%;
}

#main #content article .article-comments .comment-author.vcard img {
	width: auto!important;
}

#main.full-width #content article, 
#main.full-width #content #respond {
    margin: 1rem;
}

#main.full-width #content article div.article-content, 
#main.full-width #content article .article-comments {
	padding: 1rem; 
}

#main #content article header h2 {
	background: black;
	color: #008000;
	font-family: 'PT Sans Narrow', sans-serif;
	font-size: 1.8rem;
	font-weight: 400;
	line-height: 1;
	margin: 0 0 0 -2rem;
	padding: 1rem 2rem;
}

#main.full-width #content article header h2 {
    margin-top: 2rem;
    padding: 1rem 1rem 1rem 3rem;
    width: 100%;
}

#content article header h2 a {
	color: #008000;
	transition: color .25s;
	-webkit-transition: color .25s; /* Safari */
}

#content article header h2 a:hover {
	color: white;
	transition: color .25s;
	-webkit-transition: color .25s; /* Safari */
}

#content article header h3 {
  font-family: 'PT Sans Narrow', sans-serif;
  font-size: 1.3rem;
  line-height: 1;
  font-weight: 400;
}

#content article section.extender {
  margin-top: 1rem;
}

#content article img {
    height: auto;
    margin: 0;
    max-width: 100% !important;
    width: 100% !important;
}

#content article .page-comments .comment-author.vcard img.avatar-32 {
    max-width: 32px !important;
}

#content p {
	font-weight: 400;
	line-height: 1.5;
	font-size: 1rem;
	margin: 1rem 0;
}

#content p.warning {
    color: #EE0000;
    font-size: 0.95rem;
    font-weight: 700;
}

#content article p > img,
#content article p > a > img {
	margin: -1rem 0 0;
}

#content article header h3 {
  margin: 0;
  padding: 1rem 0;
} 


#content article section p:last-child, 
#content article section p:last-child img {
  margin-bottom: 0;
}

#main.full-width #content article p img {
  margin: 1rem 0;
}

#main.full-width #content article p img.size-half {
  width: 47%!important;
}

#main.full-width #content article p img.size-half + img.size-half {
  margin-left: 6%;
}


#content h2 {
font-weight: 400;
line-height: 1.25; 
}


#content article a.read-article, 
.pagination a {
    background: -webkit-linear-gradient(#444444 30%, #000000) repeat scroll 0 0 transparent;
    background: -moz-linear-gradient(#444444 30%, #000000) repeat scroll 0 0 transparent;
    background: -o-linear-gradient(#444444 30%, #000000) repeat scroll 0 0 transparent;
    background: linear-gradient(#444444 30%, #000000) repeat scroll 0 0 transparent;
    border-radius: 3px 3px 3px 3px;
    -webkit-box-shadow: 2px 2px 4px rgba(80, 85, 75, 0.8);
    -moz-box-shadow: 2px 2px 4px rgba(80, 85, 75, 0.8);
    box-shadow: 2px 2px 4px rgba(80, 85, 75, 0.8);
    color: rgba(0, 200, 0, 0.75);
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1;
    padding: 0.25rem 1rem 0.4rem 0.75rem;
    transition: color 0.25s ease 0s;
}

.pagination .pagination-prev a {
    padding: 0.25rem 0.75rem 0.4rem 1rem;
}

#content .pagination {
    width: 100%;
}

#content .pagination .pagination-next {
    float: left;
    margin-left: 1rem;
}

#content .pagination .pagination-prev {
  float: right;
}

#content .pagination .pagination-next a,
#content .pagination .pagination-prev a {
    color: rgba(0, 200, 0, 0.75);
}

#content .pagination .pagination-next a:hover,
#content .pagination .pagination-prev a:hover {
    color: rgba(255, 255, 255, 1);
}

#content article a.read-article:hover {
	color: white;
	transition: color .25s;
	-webkit-transition: color .25s; /* Safari */
}

#content article a.read-article:before {
    content: "→";
    font-size: 1rem;
    font-weight: 600;
    margin-right: 0.5rem;
}

#content .pagination-prev a:after {
    content: "→";
    font-size: 1rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

#content .pagination-next a:before {
    content: "←";
    font-size: 1rem;
    font-weight: 600;
    margin-right: 0.5rem;
}

#content article .meta {
    display: block;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.8;
    margin: 1rem 0 1rem 0rem;
    padding: 0.5rem 0.5rem 0.5rem 0rem;
    text-align: left;
}

#content article footer.meta {
    background: none repeat scroll 0 0 #D2CDC8;
    color: #606030;
    margin-bottom: 2rem;
    margin-left: -2rem;
    padding-left: 2rem;
}

#content article footer.meta a {
  color: #FF6400;
}

#content article .meta a:hover {
  color: #C11B17;
}

#content article .video-wrapper {
    max-width: 100%;
    width: 624px;
}

#main.full-width #content article .video-wrapper {
    max-width: 100%;
    width: 928px;
}

#content article .video-wrapper + .video-wrapper {
	margin-top: 2rem;
}

#content article .video-wrapper .responsive-video {
    height: 0;
    overflow: hidden;
    padding-bottom: 50%;
    padding-top: 36px;
    position: relative;
}

#main.full-width #content article .video-wrapper .responsive-video {
    padding-bottom: 60%;
}

#content article .video-wrapper .responsive-video iframe, 
#content article .video-wrapper .responsive-video object, 
#content article .video-wrapper .responsive-video embed {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

#content article section.article-content iframe,
#content article section.article-excerpt iframe {
	width: 100%;
	max-width: 100%;
	min-width: 100%;
}

#content article iframe.twitter-tweet {
	width: 99%!important;
	max-width: 100%!important;
	margin: 1rem -2px!important;
}

#content article .wp-flattr-button img {
  width: auto!important;
  height: auto!important;
}

#sidebar {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  background: none /*repeat scroll 0 0 rgba(150, 150, 140, 0.25) */;
  float: right;
  font-family: 'PT Sans Narrow', sans-serif;
  font-size: 2rem;
  margin: 0;
  overflow: hidden;
  padding: 3rem 0 0;
  width: 30%;
}

#sidebar .widgetBox {
    margin: 1rem 0;
}

#sidebar .widgetBox h3 {
    background: none repeat scroll 0 0 black;
    -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    color: #008000;
    font-size: 1.5rem;
    font-weight: 300;
    height: 3.8rem;
    letter-spacing: 1px;
    line-height: 2.5;
    margin: 0 0 0 -1rem;
    max-width: 100%;
    padding: 0 0 0 2rem;
    text-transform: uppercase;
    width: 100%;
}

#sidebar .widgetBox ul {
    margin: 0.25rem 0 0 0.75rem;
}

#sidebar .widgetBox h3 + ul  {
    margin-bottom: 1.25rem;
    margin-left: 1.25rem;
    margin-top: 1rem;
}

#sidebar .widgetBox ul li {
    font-size: 1.15rem;
    letter-spacing: 0.5px;
    margin: 0.25rem 0;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2);
}

#sidebar .widgetBox ul li a {
    color: #FF6400;
}

#sidebar .widgetBox ul li a:hover {
    color: #C11B17;
}

#sidebar .widgetBox.widget_search {
    background: none repeat scroll 0 0 black;
    height: 1.8rem;
    margin: -1rem 0 2.5rem -1rem;
    max-width: 100%;
    overflow: hidden;
    padding: 1rem;
    width: 100%;
}

#sidebar .widgetBox.widget_search + div.widgetBox {
  margin: 1rem;
}

#sidebar .tagcloud {
	margin: 1rem 1rem 1rem 1.25rem;
}

#sidebar .tagcloud a {
  color: #FF6400;
  font-size: 1.05rem !important;
  line-height: 1;
  margin-right: 0.25rem;
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}

#sidebar .tagcloud a:hover {
    color: #C11B17;
}

#sidebar .tagcloud a:before {
	content: '#';
}

footer {
    background: none repeat scroll 0 0 #ECECEC;
    font-family: 'PT Sans Narrow', sans-serif;
    padding: 1rem 2rem 0;
}

footer .main, 
footer .secondary {
  width: 100%;
}

footer .main .oneThird {
    float: left;
    margin: 0 3% 0 0;
    width: 31.333%;
}

footer .main .widgetBox {
  margin: 0 3%;
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box;    /* Firefox, other Gecko */
  box-sizing: border-box;         /* Opera/IE 8+ */
  padding: 1rem 2rem;
}

footer .main > div {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.75);
    color: rgba(180, 180, 180, 0.75);
    line-height: 2;
    margin-top: 1rem;
    padding: 2rem 2rem 1.5rem;
}

footer .main > div:first-child {
    float: left;
    margin: 0;
}

footer .main > div:last-child {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.5);
    float: right;
    margin: 0;
}

footer .main .widgetBox h3 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    line-height: 1.25;
    margin: 0.5rem 0;
    text-transform: uppercase;
}

footer .main .widgetBox ul {
    padding: 0.5rem 0 0;
}

footer .main .widgetBox .textwidget {
    padding: 0 0 0.5rem;
}

footer .main .widgetBox .textwidget p {
  line-height: 1.5;
}

footer .main .widgetBox ul li {
    height: 1.5rem;
    line-height: 1rem;
}

footer .main .widgetBox a {
	color: #008000;
}

footer .main .widgetBox a:hover {
	color: rgba(255,255,255,.8);
}

footer .secondary {
    background: -webkit-linear-gradient(rgba(0, 0, 0, 0.5) 10%, rgba(0, 0, 0, 0.75) 75%) repeat scroll 0 0 transparent;
    background: -moz-linear-gradient(rgba(0, 0, 0, 0.5) 10%, rgba(0, 0, 0, 0.75) 75%) repeat scroll 0 0 transparent;
    background: -o-linear-gradient(rgba(0, 0, 0, 0.5) 10%, rgba(0, 0, 0, 0.75) 75%) repeat scroll 0 0 transparent;
    background: linear-gradient(rgba(0, 0, 0, 0.5) 10%, rgba(0, 0, 0, 0.75) 75%) repeat scroll 0 0 transparent;
    bottom: 0;
    color: rgba(128, 128, 128, 0.8);
    font-size: 0.85rem;
    left: 0;
    line-height: 1;
    padding: 1rem 0rem;
    position: absolute;
    text-align: center;
    width: 100%;
    z-index: 999;
}

footer .secondary span {
  white-space: nowrap;
}

footer .secondary a {
    color: rgba(200, 200, 200, 0.85);
    padding: 0 4px;
}

footer .secondary a:hover {
	color: rgba(255,255,255,.8);
}

/* Clearfix ----------- */

.clearfix:after {
    content: " ";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix {
    display: inline-block;
}

html[xmlns] .clearfix {
    display: block;
}

* html .clearfix {
    height: 1%;
}

/* //////////////////////////////////////////////////////////////////////
//  03 - General Layout 
//////////////////////////////////////////////////////////////////////*/
#container {
  -moz-box-sizing: border-box;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	box-sizing: border-box;         /* Opera/IE 8+ */    
	background: none repeat scroll 0 0 white;
  background: none repeat scroll 0 0 rgba(255, 255, 255, 0.85);
  color: #000000;
  display: block;
  margin: 0 auto;
  max-width: 100%;
  padding: 0;
  width: 960px;
}

#main.full-width #content #respond {
  background: none repeat scroll 0 0 transparent;
  margin: 1rem;
  max-width: 100%;
  padding: 0 0rem 1rem;
}

#main.full-width #content #respond h3 {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 2rem 0;
  max-width: 100%;
  padding: 0.5rem 0rem 0.5rem 2rem;
}


/* THE SEARCH FORM */
#searchform #s {
    background: none repeat scroll 0 0 transparent;
    border: medium none;
    color: #008000;
    font-family: 'PT Sans Narrow', sans-serif;
    font-size: 1.4rem;
    font-weight: 300;
    height: 3.8rem;
    letter-spacing: 1px;
    line-height: 2;
    margin: -1rem 0rem 0 -1rem;
    padding: 0 2rem;
    width: 15rem;
}

#searchform #s::-webkit-input-placeholder { /* WebKit browsers */
    color: #008000;
}

#searchform #s:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: lime;
}

#searchform #s::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: lime;
}

#searchform #s:-ms-input-placeholder { /* Internet Explorer 10+ */
   color: lime;  
}

#searchform #searchsubmit {
  display: none;
}

/* THE CALENDAR */
#calendar_wrap {
  background: none repeat scroll 0 0 white;
  box-shadow: 0 2px 8px rgba(120, 120, 120, 0.8);
  margin: 0 0 2rem;
  padding: 1rem;
}

#calendar_wrap table {
    color: #757575;
    font-family: 'PT Sans Narrow', sans-serif;
    text-align: center;
    width: 100%;
}

#calendar_wrap table caption {
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.25;
  padding: 0 0 0.5rem;
}

#calendar_wrap table thead th,
#calendar_wrap table tbody td {
    border: 1px solid rgba(80, 80, 80, 0.3);
}

#calendar_wrap table thead th,
#calendar_wrap table tbody td, 
#calendar_wrap table tfoot td {
  font-size: 0.85rem;
  font-weight: 400;
  height: 1rem;
  line-height: 2;
  padding: 0;
  width: 1rem;
}

#calendar_wrap table tbody td a, 
#calendar_wrap table tfoot td a {
  background: none repeat scroll 0 0 #000000;
  color: #009600;
  display: block;
  line-height: 2;
  padding: 0;
}

#calendar_wrap table tfoot td a {
  display: inline;
  line-height: 1;
  padding: 0.25rem;
}

#calendar_wrap table tbody td a:hover, 
#calendar_wrap table tfoot td a:hover {
	color: white;
}

#calendar_wrap table tfoot #prev {
  padding-top: 0.5rem;
  text-align: left;
}

#calendar_wrap table tfoot #next {
    padding-top: 0.5rem;
	text-align: right;
}

#calendar_wrap table tfoot #prev a,
#calendar_wrap table tfoot #next a {
  padding: .25rem .5rem;
  font-size: 1rem;
}

/* //////////////////////////////////////////////////////////////////////
//  14 - Media Queries
//////////////////////////////////////////////////////////////////////*/

/* ** iPad landscape ** */
@media all and (max-width: 1024px) {
	body {
	  background: #FFFFFF;
	  padding: 0;
	}
	
	#container {
	  width: 1024px;
	}
	
	#content article .video-wrapper {
	  width: 660px;
	}
	
	#main #content article #commentform input, 
	#main #content article #commentform textarea#comment {
	    border: 1px solid #ccc;
	}
	
	#main #content article #commentform input[type="submit"] {
	  border: none;
	}
}

/* ** Nexus 7 portrait ** */
@media all and (max-width: 800px) and (orientation:portrait) {	
	html {
	  font-size: 14px;
	}
	
	#container {
	    background: #ffffff;
	}

	#blog-header .inside h1 {
    font-size: 56px;
	}
	
	#blog-header .inside h1 a:before,
	#blog-header .inside h1 a:after {
		font-size: 56px;
		line-height: 1;
		padding: 0 12px;
	}
	
	#main {
	  margin-top: 1rem;
	}
	
	#main.front-page #content, 
	#main.single-post #content {
	    width: 100%;
	    margin: 0;
	    padding: 0 0 0 1rem;
	}
	
	#main #content article section {
	  margin-right: 2rem;
	}
	
	#main #content article .video-wrapper {
	    width: 734px;
	}
	
	#content article .video-wrapper .responsive-video {
	    padding-top: 38px;
	}
	
	#content article a.read-article, .pagination a {
	  margin-right: 2rem;
	}
	
	#sidebar {
	  display: none;
	  margin: 0 0 2rem 1.5%;
	  position: absolute;
	  right: 0;
	  top: 0;
	}
	
	/* change position  of the featured post button */
	#main #content article .featured-post {
	    right: 1rem;
	    top: 1rem;
	}
}

/* ** iPhone landscape ** */
@media screen and (max-width: 960px) and (orientation:landscape){
#blog-header {
  background-position: center 16%;
  height: 8rem;
  padding: 0;
}

#blog-header .inside h1 {
  font-size: 4.5rem;
}

#blog-header .inside h1 a:before,
#blog-header .inside h1 a:after {
	content: 'Y';
	font-family: 'Veneer Extras';
	font-size: 4rem;
	line-height: 1;
	padding: 0 1rem;
}

#mainNav ul {
  min-height: 4rem;
  margin: 0 0 0 1.25rem;
  display: block;
}

#mainNav ul li a {
    font-size: 1.5rem;
    line-height: 1.5;
    min-width: 2rem;
    padding: 0 0.75rem;
}

#mainNav ul ul {
	margin: 0.7125rem 0 0 -0.75rem;
}

/* #main #content article section.article-content,*/
#main #content article section.article-comments { /*,
#main #content article section { */
    margin-right: 2rem;
}

#content article a.read-article, .pagination a {
    margin-right: 1rem;
}


footer .main .widgetBox {
    display: none;
}

footer .main .widgetBox:first-child, 
footer .main .widgetBox:last-child {
    display: block;
    margin: 0;
    padding: 0.75rem;
    width: 46%;
}

}

/* ** iPhone portrait ** */
@media screen and (max-width: 640px)  and (orientation:portrait) {
	html, body {
	  overflow-x: hidden;
	}
	
	#blog-header {
	  height: 4rem;
	  padding: 1.5rem 0;
	}
	
	#blog-header .inside h1 {
	  font-size: 2rem;
	  padding: 0.5rem;
	  text-align: center;
	  line-height: 1.25;
	}
	
	
	#blog-header .inside h1 a:before,
	#blog-header .inside h1 a:after {
		content: 'Z';
		font-size: 4rem;
		position: relative;
		top: 0.75rem;
	}
	
	
	#mainNav {
	  display: none;
	}
	
	#dropNav {
	  display: block;
	}
	
	#main {
	  margin-top: 0.5rem;
	}
	
	#main.front-page #content, 
	#main.single-post #content {
	    padding: 0 0 0 0.5rem;
	}
	
	#main #content article {
	    margin: 0.5rem 0 0.5rem 0.5rem;
	    position: relative;
	    text-align: justify;
	}
	
	#main #content article header h2 {
	  color: #00cc00;
	  font-size: 1.4rem;
	  margin: 0 0 0 -1rem;
	  padding: 1rem;
	}
	
	#main #content article section.article-content,
	#main #content article section.article-comments,
	#main #content article section {
	    margin-right: 1rem;
	}
	
	#content article a.read-article, .pagination a {
	    margin-right: 1rem;
	}
	
	footer .main .widgetBox {
	    display: none;
	}
	
	footer .main .widgetBox:first-child, 
	footer .main .widgetBox:last-child {
	    display: block;
	    margin: 0;
	    padding: 0.75rem;
	    width: 48%;
	}
}

/* ** smaller than iPhone portrait ** */
@media screen and (max-width: 540px) {
	#blog-header .inside h1 {
    font-size: 28px;
    padding: 10px 4px;
	}

	#blog-header .inside h1 a:before,
	#blog-header .inside h1 a:after {
		content: '';
	}
}
