/*
Theme Name: zh2
Theme URI: http://zenhabits.net/theme/
Author: Leo Babauta
Author URI: http://leobabauta.com
Description: A minimalist, content-focused theme.
Version: 2
License: Uncopyrighted
License URI: http://zenhabits.net/open-source-blogging-feel-free-to-steal-my-content/

This theme is uncopyrighted.
Do whatever you'd like with it.
*/

/* css 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, 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;
}
/* end css reset */

@media all { 
	#wp-admin-bar-updates { display: none }
	body {
	    font: normal 100% Open Sans,Helvetica,sans-serif;
	    background-color: #fff;
	    color: #000;
	    padding: .6em;
	    -webkit-font-smoothing: antialiased;
	    -moz-osx-font-smoothing: grayscale;
	}
	/* fades out blog title */
	.top {
		margin-bottom: 60px;
	}
	/* fades blog title back in on hover */
	.top:hover {

	}
	.container {
	    overflow: hidden;
	    padding: 0 1em;
	    max-width: 960px;
            margin: auto;
	}
	/* blog title */
h1 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #000;
    font-family: Helvetica;
    margin-top: 10px;

    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 900;
    vertical-align: middle;
}
	h1 a:link {
	    color: #000;
	    text-decoration: none;

	}
	h1 a:visited {
	    color: #e3292b;
	    text-decoration: none;

	}
	h1 a#tagline { color: #56a49f }
	/* post title */
	h2 {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 1.5em;
    color: #000;
    font-weight: bold;
    font-style: italic;
    margin-bottom: 10px;
	}
	/* subtitles */
	h3 {
	    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 1.3em;
    color: #7a2518;
    font-weight: bold;
    font-style: italic;
    margin-top: 1em;
    margin-bottom: 10px;
	}
	h4 {
	    font-family: Georgia,"Times New Roman",Times,serif;
	    font-size: 1em;
	    color: #000;
	}
	/* used for "edit" link only visible to site owner/writers */
	h5 {
	    text-transform: uppercase;
	    color: #666;
	    font-size: .8em;
	    letter-spacing: .2em;
	    font-family: Open Sans,Helvetica,sans-serif;
	    font-weight: bold;
	    line-height: 2em;
	}
	/* author credits */
	h6 {
	    font-size: 1.2em;
	    font-weight: normal;
	    line-height: 1.3em;
	    color: #666;
	    font-family: acta-display, Georgia, Times, serif;
	    margin: 1em 0 .5em 0;
	    letter-spacing: .1em;
	    margin-bottom: 1em;
	    text-align: center;
	    -webkit-opacity: 0.30;
	    -moz-opacity: 0.30;
	    opacity: 0.30;
	    -webkit-transition: opacity 3s linear;
	    -moz-transition: opacity 3s linear;
	    -ms-transition: opacity 3s linear;
	    -o-transition: opacity 3s linear;
	    transition: opacity 3s linear;
	}
	/* fades author credit back in on hover */
	h6:hover {
	    -webkit-opacity: 1;
	    -moz-opacity: 1;
	    opacity: 1;
	    -webkit-transition: all 2s ease;
	    -moz-transition: all 2s ease;
	    -ms-transition: all 2s ease;
	    -o-transition: all 2s ease;
	    transition: all 2s ease;
	}
	h6 strong {
	    color: #56a49f;
	    font-weight: bold;
	}
	img {
	    border: 0;
	    padding: 3px;
	    max-width: 100% !important;
    	    max-height: 100% !important;
    	    display: block;
	}
	img a { border: 0 }
	p {
	    line-height: 1.4em;
	    margin: 14px 0 0 0;
	    font-family: "Times";
	    font-size: 20px;
	    color: #333;
	    -webkit-font-smoothing: antialiased;
	}
	a:link {
	    color: #2455c3;
	    text-decoration: none;
	    border-width: 0;
	    border-style: none;
	}
	a:visited {
	    color: #2455c3;
	    text-decoration: none;
	    border: 0;
	    border-width: 0;
	    border-style: none;
	}
	a:hover {
	    color: #999;
	    text-decoration: none;
	    border: 0;
	    border-width: 0;
	    border-style: none;
	}
	/* post styles */
	.post strong { font-weight: bold }
	.post a:link {
	    color: #2455c3;
	    text-decoration: none;

	}
	.post a:visited {
	    color: #2455c3;
	    text-decoration: none;

	}
	.post a:hover {
	    color: #999;

	    text-decoration: none;
	}
	.post ul {
	    margin-top: .5em;
	    font-family: ff-meta-serif-web-pro, Georgia, Cambria, 'Times New Roman', Times, serif;
	    font-size: 1.3em;
	    -webkit-font-smoothing: antialiased;
	}
	.post ol {
	    list-style-type: decimal;
	    padding: .1em 0 0 1.2em;
	    margin-top: .5em;
	    font-family: ff-meta-serif-web-pro, Georgia, Cambria, 'Times New Roman', Times, serif;
	    font-size: 1.3em;
	    -webkit-font-smoothing: antialiased;
	}
	.post li {
	    line-height: 1.45em;
            color: #222;
            font: normal 18px/30px georgia,serif;
	    margin-top: 15px;
	}
	.post li strong { font-weight: bold }
	.post blockquote {
	    border-left: 2px solid #a5abab;
	    margin: 1.8em .8em;
	    padding: 0 1em 0 1em;
	    color: #666;
	    font-family: Open Sans,Helvetica,sans-serif;
	}
	/* line at bottom of post */
	.home_bottom {
	    border-bottom: 1px solid;
	    font-family: Open Sans,Helvetica,sans-serif;
	    font-size: 2em;
	    line-height: 2.5em;
	    padding-bottom: 1em;
            border-color: silver;

	}
	/* previous & next posts at bottom */
	.navigation {float: right; margin-top: 100px; }
	.navigation p {
	    text-transform: uppercase;
	    color: #666;
	    font-size: .7em;
	    letter-spacing: .2em;
	    font-family: Open Sans,Helvetica,sans-serif;
	    font-weight: bold;
	    margin-top: 0;
	    margin-bottom: 1em;
	}
	/* subscription */
	.subscribe p {
	    text-transform: uppercase;
	    color: #666;
	    font-size: 1em;
	    letter-spacing: .2em;
	    font-family: Open Sans,Helvetica,sans-serif;
	    font-weight: bold;
	    line-height: 2em;
	    margin-top: 2em;
	    margin-bottom: 2em;
	    text-align: center;
	}
	/* "see all posts" at bottom of home page */
	.all_posts {
	    font-size: 2.4em;
	    font-weight: bold;
	    line-height: 1.25em;

	}
	.all_posts a { color: #d3d3d3 }
	.all_posts a:visited { color: #d3d3d3 }
	.all_posts a:hover { color: #666 }

	h2.main {
    	font-size: 1.2em !important;
		margin-left: 250px !important;

         }
	/* footer text */
	.footer p {
	    font-size: .8em;
	    letter-spacing: .2em;
	    text-transform: lowercase;
	    color: #333;
	    padding: 0;
	    margin: 0;
	    margin-left: 0;
	    padding-left: 0;
	    font-family: Open Sans,Helvetica,sans-serif;
	    text-align: center;
	}
	.footer a { color: #666 }
	/* for archives page */
	#arc {
	    overflow: hidden;
	    margin: 0 1em 2em .4em;
	    width: 100%;
	}

ol.commentlist{
	margin: 10px 5px;
	padding: 10px;
}
.commentlist .comment-body{
	padding: 10px;
	background: #EFEFEF;
	border: solid thin #DEDEDE;
	margin: 10px 0;
	position: relative;
}
.comment-body a.comment-reply-link{
	position: absolute;
	top: 10px;
	right: 10px;
	color: #AEAEAE;
}
ol.commentlist li{
	list-style: none;
}
ol.commentlist img.avatar{
	padding: 5px;
	background: #DEDEDE;
	border: solid thin #CECECE;
	float: left;
	display: block;
	margin: 15px;
	width: 32px;
	height: 32px;
}
ol.commentlist .comment-author{
	line-height: 25px;
}
.comment-body cite.fn{
	font-size: 14px;
	font-style: normal;
}
.commentmetadata a{
	margin: 0;
	font-size: 11px;
	color: #999;
}
.comment-body p{
	margin: 5px;
}
 
.comment-body .comment-author.vcard{
	margin: 0;
}
}






@media print { 
	body {
	    font-family: Helvetica,sans-serif;
	    font-size: 14px;
	    background: white;
	    color: black;
	    margin: 10;
	    width: auto;
	}
	.container { display: block }
	.navigation { display: none }
	.subscribe { display: none }
	.footer { display: none }
}


code {
    font-size: 14px;
    font-family: "Bitstream Vera Sans Mono","Courier",monospace;
    margin: 0 2px;
    padding: 0 5px;
    white-space: nowrap;
    border: 1px solid #EAEAEA;
    background-color: #EAEAEA;
    border-radius: 3px;
}

.post h2 {
    font-size: 22px;
    line-height: 30px;
    color: #7a2518;;
    margin-top: 36px;
    margin-bottom: 12px;
}

a.more-link {
color: #000 !important;
font-style: italic;
font-weight: bold;
}

	pre {
		font-size: 15px;
		font-family: monospace;
	        font-weight: bold;
	        color: #222
	}
	pre {
		background: rgb(241, 241, 241);
		padding: 1em;
	}
	
	pre {
  word-break: break-all; /* webkit */
  word-wrap: break-word;
	white-space: pre;
	white-space: -moz-pre-wrap; /* fennec */
  white-space: pre-wrap;
	white-space: pre\9; /* IE7+ */
}


.more-link {
    text-align: right !important;
}


.menu {
    top: 32px;
    margin-top: -30px;
    position: relative;
    font-size: 200%;
    font-weight: bolder;
    font-family: verdana;
    color: blueviolet;
    float: right;
}



.dropbtn {
    top: 30px;
    margin-top: -35px;
    position: relative;
    font-size: 200%;
    font-weight: bolder;
    color: #e3292b;
    float: right;
    background-color: white;
    padding: 0px;
    border-color: white;
    border-width: 0px;
    outline: none;
    letter-spacing: 1px;
    transform: rotate(90deg);
    -webkit-font-smoothing: antialiased;
    display: none;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    min-width: 144px;
    top: 20px;
    text-align: right;
    background-clip: padding-box;
}


.dropdown-content a {
    color: #333;
    text-decoration: none;
    display: block;
    font-weight: bolder;
    font-family: Helvetica;
    text-transform: uppercase;
    font-size: .85em;
    letter-spacing: 1px;
    padding-top: 8px;
}



.dropdown:hover .dropdown-content {
    display: block;
}

span.jp-relatedposts-post-date {
    display: none !important;
}

span.jp-relatedposts-post-context {
    display: none !important;
}

span.jp-relatedposts-post-title {
    font-size: 20px;
}

h3.jp-relatedposts-headline {
    font-size: 15px !important;
    color: black;
}

h3.jp-relatedposts-headline {
    font-size: 20px !important;
    color: black;
    font-family: Georgia !important;
    text-align: left !important;
}

#jp-relatedposts h3.jp-relatedposts-headline em:before {
border-top: 0px !important;
width: 80px !important;
margin-bottom: 6px !important;
}


#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post {
    width: 100% !important;
}


h3.jp-relatedposts-headline {
    border-top-color: orangered !important;
    border: 1px solid transparent;
    border-top: 3.5px solid;
    border-bottom: white;
    padding: 4px 10px 8px 10px;
    border-color: silver;
    margin-bottom: -1px !important;
    background-color: white;
}


.jp-relatedposts-items.jp-relatedposts-items-minimal {
    border-top: 1px silver solid;
    padding-top: 30px;
}

em {
    font-style: italic;
}

figcaption {
    text-align: center;
    -webkit-font-smoothing: antialiased;
    font-family: Times;
    font-size: 16px;
    color: #333;
}

.conum[data-value] {
    display: inline-block;
    color: #fff!important;
    background-color: rgba(0,0,0,.8);
    -webkit-border-radius: 100px;
    border-radius: 100px;
    text-align: center;
    font-size: .75em;
    width: 1.67em;
    height: 1.67em;
    line-height: 1.67em;
    font-family: "Open Sans","DejaVu Sans",sans-serif;
    font-style: normal;
    font-weight: bold;
}
pre .conum[data-value] {
    position: relative;
    top: -.125em;
}
pre, pre>code {
    line-height: 1.45;
    color: rgba(0,0,0,.9);
    font-family: monospace;
    font-weight: 400;
    text-rendering: optimizeSpeed;
    margin-top: 8px;
}

.conum[data-value]+b {
    display: none;
}

.conum[data-value]:after {
    content: attr(data-value);
}


table thead tr th, table tfoot tr th, table tbody tr td, table tr td, table tfoot tr td {
    display: table-cell;
    line-height: 1.8;
}



.colist>table tr>td:last-of-type {
    padding: .25em 0;
}

.colist>table tr>td:first-of-type {
    padding: 0 .75em;
    line-height: 1;
}

.literalblock pre, .literalblock pre[class], .listingblock pre, .listingblock pre[class] {
    font-size: 1em;
}

pre, pre>code {
    line-height: 1.45;
    color: rgba(0,0,0,.9);
    font-family: monospace;
    font-weight: 400;
    text-rendering: optimizeSpeed;
}


td {
    line-height: 1.4em;
    margin: 1.5em 0 0 0;
    font-family: "Open Sans";
    font-size: 15px;
    color: #333;
    -webkit-font-smoothing: antialiased;
}

.listingblock {
    margin-top: 10px;
}

h2 a:visited {
    color: #333;
}
h2 a:link {
    color: #333;
}

.navigation p a:visited {
    color: #000;
}
.navigation p a:link {
    color: #333;
}

.subscribe a:visited {
    color: #333;
}
.subscribe a:link {
    color: #333;
}

h1 a:link {
    color: #e3292b;
}

.subscribe {
    margin-top: 58px;
    
}

span.emblem {
    display: block;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 60px;
}

tr.year {
    float: left;
    font-weight: bold;
    color: orangered;
    margin-top: 20px;
    font-size: 20px;
}

tr.month {
    color: gray;
    text-align: left;
    font-weight: bold;
    text-transform: uppercase;
}

.animated,
.home .Header {
    -webkit-animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    -ms-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-duration: 6s;
    -moz-animation-duration: 6s;
    -ms-animation-duration: 6s;
    animation-duration: 6s;
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-moz-keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-o-keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.fadeIn {
    -webkit-animation-name: fadeIn;
    -moz-animation-name: fadeIn;
    -o-animation-name: fadeIn;
    animation-name: fadeIn;
}


.primary-nav>ul a {
    border: 1px solid white;
    font-family: "Neutra Face","Helvetica Neue",Helvetica,Arial,sans-serif; 
    font-weight: bold;
    letter-spacing: 0.03rem;
    line-height: 30px;
    line-height: 3rem;
    white-space: nowrap;
    text-transform: uppercase;
    padding: 6px 5px;
    overflow: hidden;
    border-radius: 3px;
    -webkit-transform: translateX(0);
    transition: border-color 0.2s ease-in-out;
}


.primary-nav>ul li.tny-nav-icon:hover a,
.primary-nav>ul li.tny-nav-icon.active a {
    background-color: transparent !important
}

.primary-nav ul #subscribe #subscribe-rollover:hover,
.primary-nav ul #subscribe.hover #subscribe-rollover,
.primary-nav ul #subscribe:hover #subscribe-rollover {
    display: block
}


.primary-nav > ul li:hover a, .primary-nav > ul li.active a {
    text-decoration: none;
    border-color: #e3e3e3;
    background-color: #e3e3e3;
}

.primary-nav>ul li {
    display: inline-block;
    margin-right: 4px;
    padding-right: 1px;
}

nav.primary-nav {
    border-bottom: 1px solid black;
}


@media only screen and (max-width: 550px) {

h2.main {
	font-size: 1em !important;
    margin-top: 14px !important;
    margin-left: 1px !important;
    float: left;
    width: 320px !important;
    word-wrap: break-word;
}

p {
    font-size: 16px;
}

span.jp-relatedposts-post-title {
    font-size: 16px;
}


th {
    text-align: left;
    max-width: 40px;
}

.post h2 {
    font-size: 13px;
}

h2 {
    font-size: 14px;
	margin-top: 150px;
	
}

h3 {
    font-size: 13px;
}

.post li {
    font-size: 16px;
    font-family: Times;
}

.primary-nav>ul li {
    margin-right: 0px;
}
 
.subscribe p {
    font-size: 12px;
}   

pre {
    font-size: 10px;
}

code {
font-size: 12px;
}

img.attachment-post-thumbnail.size-post-thumbnail.wp-post-image {
    float: left;
    margin-right: 2em;
	  border: solid 1px lightgrey;
	
}



img.attachment {
float: left;		
	}
}



