/* 
	Theme Name: TDH11
	Theme URI: http://tdh.me
	Description: The TDH11 theme.
	Version: 1.0.2
	Author: Thord Daniel Hedengren
	Author URI: http://tdh.me
	License: GPL3 by Odd Alice
	License URI: http://oddalice.se/license.txt

*/

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


article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
   display: block; 
}

audio[controls], canvas, video { 
   display: inline-block; 
   *display: inline; 
   *zoom: 1; 
}
   
body { 
   line-height: 1; 
}

blockquote, q { 
   quotes: none; 
}

blockquote:before, blockquote:after, q:before, q:after {
   content: '';
   content: none; 
}

/* <--- Reset */


body {
	font-family: "ff-tisa-web-pro", Georgia, serif;
}

strong, b {
	font-weight: 700;
}

em, i {
	font-style: italic;
}

pre {
	overflow: scroll;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin: 7% auto;
	padding: 0;
	width: 50%;
}

h1, h2, h3, h4, h5, h6,
.menu li, .date-divider p, .promo, .page-nav, #footer-container p,
.book-content, p.the_tags, p.interact {
	font-family: "proxima-nova", Helvetica, Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
}

.entry-header h1 {
	color: #111;
	font-size: 24px;
	line-height: 30px;
	margin-bottom: 9px;
}

.page .entry-header h1,
.book .entry-header h1 {
	border-top: 6px solid #000;
	font-size: 42px;
	font-weight: 700;
	line-height: 50px;
	margin-bottom: 36px;
	padding-top: 18px;
}

.page-template-pagetemplate-newsletter .entry-header h1 {
	border-top: 0;
	padding-top: 0;
}

.category-essay .entry-header h1, h1.page-title {
	font-family: "ff-tisa-web-pro", Georgia, serif;
}

.category-essay .entry-header h1, h1.page-title {
	font-size: 42px;
	line-height: 50px;
	margin: 0 0 36px 0;
	text-align: center;
}

.has-post-thumbnail .entry-header h1 {
/*
	margin: 0 10% 5% 10%;
	text-align: center;
*/
}

h2.title-listing {
	font-weight: 700;
}

h3.widget-title {
	color: #000;
	margin-bottom: 9px;
	text-transform: uppercase;
}

.entry-content h3 {
	margin-top: 24px;
}

.entry-content img, .entry-content object, .entry-content iframe, .entry-content embed {
	max-width: 100%;
}

.entry-content img {
	height: auto;
}

.entry-content p, .entry-content li {
	color: #333;
	font-size: 16px;
	line-height: 24px;
}

.entry-content p, blockquote {
	margin-bottom: 18px;
}

.the_day {
	color: #777;
	font-size: 80%;
}

p.the_tags, p.interact {
	color: #777;
	text-align: center;
}

p.the_tags {
	line-height: 35px;
	margin-top: 50px;
	font-size: 12px;
	text-transform: uppercase;
}

p.interact {
	text-align: center;
}

.category-essay .entry-content p:first-child:first-letter { 
	float: left;
	color: #000; 
	font-size: 75px; 
	line-height: 65px; 
	padding-top: 1px; 
	padding-right: 8px; 
	padding-left: 3px; 
}

.category-essay .entry-content blockquote p:first-child:first-letter {
	color: #333;
	float: none;
	font-size: 16px;
	line-height: 24px;
	padding: 0;
}

.entry-content ul, .entry-content ol {
	margin: 0 18px 14px 36px;
}

.entry-content li {
	margin-bottom: 10px;
}

.entry-content h1, .entry-content h2 {
	color: #111;
	font-size: 17px;
	line-height: 25px;
	margin: 36px 0 9px 0;
}

.entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 {
	color: #111;
	font-size: 14px;
	line-height: 20px;
	margin-bottom: 13px;
	text-transform: uppercase;
}

blockquote {
	font-style: italic;
	border-left: 1px solid #b8b8b8;
}

blockquote p {
	font-style: italic;
}

a:link, a:active, a:visited {
	border-bottom: 1px solid #b8b8b8;
	color: #000;
	text-decoration: none;
}

a:hover {
	border-color: yellow;
}

a.more-link, a.postmeta-main-section, .postmeta-section a {
	background-color: yellow;
	border: 0;
	margin-right: 10px;
	padding: 0 2px;
}

.postmeta-section a {
	margin-right: 4px;
}

a.books-cover-link {
	border-bottom: 0;
}

.the_tags a {
	background-color: #d8d8d8;
	border: 1px solid #c8c8c8;
	border-radius: 10px;
	margin: 0 5px;
	padding: 3px 6px 2px 6px;
	white-space: nowrap;
}

.the_tags a:hover {
	background-color: yellow;
	border-color: yellow;
}

.red {
	color: red;
}

#site-nav a {
	/*border: 1px dotted #333;
	border-radius: 4px;
	padding: 8px 12px;*/
	border: 0;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

#site-nav a:hover {
	/*border-color: #fff;*/
	color: yellow;
}

.entry-title a {
	border: 0;
}

#outer-wrapper {}

#header-container, #main-container, #footer-container {
	float: left;
	width: 100%;
}

#header-container {
	background-color: #111;
}

#site-title {
	float: left;
	font-size: 14px;
	font-weight: 300;
	width: 90px;
}

#site-title img {
	float: left;
	margin-top: 14px;
}

#site-nav {
	float: right;
	text-align: right;
}

#site-nav .menu li {
	float: right;
	font-size: 14px;
	line-height: 52px;
	list-style: none;
	margin: 0 10px;
}

.postmeta-main, .page-header {
	margin-top: 50px;
}

.page-header {
	border-bottom: 1px solid #d8d8d8;
}

.welcome-container {}

a.more-link, .postmeta-main, .book-listing-header, .postmeta-section a,
h1.page-title {
	font-size: 14px;
	text-transform: uppercase;
} /* type */

p.welcome {
	font-size: 18px;
	line-height: 28px;
	margin-bottom: 50px;
	padding: 0 7%;
	text-align: center;
} /* type */

p.welcome img.avatar {
	height: 75px; /* 150/2 */
	margin-bottom: 18px;
	width: 75px; /* 150/2 */
}

h1.page-title {
	font-weight: 400;
	line-height: 14px;
	margin-bottom: 50px;
} /* type */

h1.page-title span, p.welcome span {
	font-weight: 700;
}

article.post, article.page, article.book,
.promo, .page-nav, .books-footer {
	border-bottom: 1px solid #b8b8b8;
	display: block;
	float: left;
	padding-top: 50px;
	width: 100%;
}

.single-book article.book {
	padding-top: 24px;
}

article.post .wrapper, article.page .wrapper, article.book .wrapper,
.promo .wrapper, .page-nav, .books-footer {
	padding-bottom: 32px;
}

.post-thumbnail {
	margin-bottom: 18px;
	text-align: center;
}

.post-thumbnail img, img.avatar {
	border-radius: 10px;
	height: 75px;
	width: 75px;
}

.post-thumbnail img, 
.post-thumbnail-book img,
.attachment-book-small,
img.avatar {
	-webkit-box-shadow: 0 8px 6px -6px black;
	   -moz-box-shadow: 0 8px 6px -6px black;
	        box-shadow: 0 8px 6px -6px black;
}

li.book-listing {
	border-bottom: 1px solid #b8b8b8;
	float: left;
	list-style: none;
	margin-bottom: 24px;
	padding-bottom: 24px;
	width: 100%;
}

li.book-listing:last-child {
	border-bottom: 0;
	margin-bottom: 0;
	padding-bottom: 0;
}

li.book-listing-header {}

.attachment-book-small {
	width: 150px;
	height: auto;
} /* img */

.book-cover {
	float: left;
	width: 30%;
} /* layout */

.book-content {
	float: right;
	width: 70%;
} /* layout */

.book-content .article-header-listing, .book-content .article-excerpt {
	padding-left: 0;
} /* layout */

/*
.has-post-thumbnail {
	background-position: top center;
	background-repeat: no-repeat;
	background-size: 100% auto;
	margin-top: 32px;
}

.has-post-thumbnail .wrapper {
	background-color: #fff;
	margin-top: 25%;
	padding-top: 3%;
	padding-right: 5%;
	padding-left: 5%;
}
*/

.date-divider {
	float: left;
	width: 100%;
}

.date-divider p {
	color: #777;
	font-size: 12px;
	line-height: 12px;
	margin-top: 50px;
	text-transform: uppercase;
}

.books-footer {
	background-color: #eee;
	padding-bottom: 50px;
}

.promo {
	color: #777;
	font-size: 14px;
	line-height: 18px;
}

.promo p {
	font-size: 14px;
}

#newsletter {
	margin-top: 36px;
	text-align: center;
}

#newsletter p {
	margin-top: 18px;
	padding-left: 18px;
	padding-right: 18px;
	font-size: 80%;
	font-style: italic;
	text-align: center;
}

#fusion_ad {}

#fusion_ad a {
	border: 0;
	color: #333;
}

#fusion_ad img {
	float: left;
	margin: 0 15px 10px 0;
}

.fusionentire {
	font-size: 13px;
	line-height: 16px;
	margin-top: 5px;
}

.fusionpromo {
	float: left;
	font-size: 12px;
	line-height: 12px;
	width: 100%;
}

.fusionlink {
	color: #777;
	font-size: 11px;
}

.widget-list {
	margin: 0;
}

.widget-container {
	float: left;
	list-style: none;
}

.widget-container ul li, .widget-container ol li {
	margin: 10px 0 10px 20px;
	padding: 0;
}

.widget-container p {
	margin-bottom: 9px;
}

.page-nav {
	float: left;
	padding-top: 32px;
	width: 100%;
}

.page-nav div {
	width: 50%;
}

.page-nav a {
	border: 0;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}

.page-nav-previous {
	float: left;
}

.page-nav-next {
	float: right;
	text-align: right;
}

#footer-container {
	padding: 50px 0;
}

#footer-container img {
	margin-bottom: 15px;
}

#footer-container p {
	color: #777;
	line-height: 18px;
	font-size: 14px;
	text-align: center;
}

#footer-container p.colophon {
	font-size: 12px;
}


/* WordPress styles */
.alignnone {
	margin-bottom: 24px;
}

p .alignnone {
	margin-bottom: 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 0 auto 24px auto;
}

.alignright {
    float:right;
    margin: 0 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 0 20px 20px 0;
}

.wp-caption {
	border-bottom: 1px solid #d8d8d8;
    max-width: 100%;
    padding: 10px 0 12px 0;
    text-align: center;
}

.wp-caption img {
	margin-bottom: 0;
}

.wp-caption-text {
	color: #777;
    font-size: 14px;
    font-style: italic;
    line-height: 18px;
    margin: 9px 0 0 0;
    padding: 0;
}


/* Small screesn */
@media only screen and (max-width: 610px) {

	#site-title img {
		margin-left: 13px;
	}

	.date-divider .wrapper, .postmeta-main .wrapper, .books-footer .wrapper,
	.entry-header, .entry-content,  #footer-container p,
	.page-nav a {
		margin: 0 25px;
	}
	
	.entry-header h1.entry-title {
		font-size: 22px;
		line-height: 26px;
	}
	
	.category-essay .entry-header h1.entry-title {
		font-size: 28px;
		line-height: 34px;
		margin-bottom: 24px;
	}
	
	.promo {
		padding-top: 25px;
	}

	.widget-list {
		margin: 0 25px;
	}

	.widget-container {
		margin-bottom: 25px;
		width: 100%;
	}
	
	.widget-container:last-child {
		margin-bottom: 15px;
	}
	
	.book-cover img {
		max-width: 80%;
		height: auto;
	}

	h2.title-listing {
		font-size: 22px;
		line-height: 28px;
		margin-bottom: 9px;
	}
	
	.article-excerpt p {
		font-size: 14px;
		line-height: 20px;
	}
	
	blockquote {
		margin-left: 4px;
		padding-left: 18px;
	}
	
	p.interact {
		margin: 24px 0 0 0;
	}
	
	.entry-content img.alignleft, .entry-content img.alignright,
	.entry-content div.alignleft, .entry-content div.alignright,
	.entry-content .wp-caption.alignleft, .entry-content .wp-caption.alignright {
		max-width: 37.5%;
		height: auto;
	}

}

/* Larger screens */
@media only screen and (min-width: 611px) {

	.wrapper {
		margin: 0 auto;
		max-width: 610px;
	}

	#site-title img {
		margin-left: -13px;
	}

	#site-nav .menu li:first-child {
		margin-right: 0;
	}
	
	.page-nav a {
		margin: 0 5%;
	}

	.widget-container {
		width: 47%;
		margin-bottom: 40px;
	}
	
	.widget-container:last-child {
		float: right;
	}

	h2.title-listing {
		font-size: 28px;
		line-height: 34px;
		margin-top: 9px;
		margin-bottom: 18px;
	}
	
	.article-excerpt p {
		line-height: 24px;
	}
	
	blockquote {
		margin-left: 18px;
		padding-left: 18px;
	}

	p.interact {
		margin: 24px 15% 0 15%;
	}

}