/* ---------------------------------------------------------------------------------------------

	Theme Name: TDH13
	Text Domain: tdh13
	Version: 1.1.1
	Description: The thirteenth version of the TDH theme, based on <a href="http://oddalice.se">Odd Alice's</a> <em>OAStarter</em> theme and designed by yours truly.
	Author: Thord D. Hedengren
	Author URI: http://tdh.se
	License: GPL3 by Odd Alice
	License URI: http://oddalice.se/license.txt


/* ---------------------------------------------------------------------------------------------


	Terms of Content

	0.	CSS Reset
	1.	Document Setup
	2.  Element Base
	3.	Structure
	4.	Site Header
	5.	Header Menus
	6.  Site Footer
	7.  Media Queries


/* --------------------------------------------------------------------------------------------- */


/* --------------------------------------------------------------------------------------------- */
/*	0. CSS Reset
/* --------------------------------------------------------------------------------------------- */


html, body {
	border: none;
	height: 100%;
	margin: 0 0 0 0;
	min-height: 100%;
	padding: 0 0 0 0;
}

h1, h2, h3, h4, h5, h6, p, blockquote, address, big, cite, code, em, font, img, small, strike, sub, sup, li, ol, ul, fieldset, form, label, legend, button, table, caption, tr, th, td {
	border: none;
	font-size: 100%;
	font-style: normal;
	font-weight: normal;
	line-height: 1;
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	text-align: left;
}

blockquote:before,
blockquote:after {
	content: "";
}

a {
	outline: none;
}


/* --------------------------------------------------------------------------------------------- */
/*	1. Document Setup
/* --------------------------------------------------------------------------------------------- */


html {
	font-size: 62.5%; /* 1rem = 10px */
}

body {
	background: rgba( 255, 255, 255, 1 );
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 1.6rem;
}

*,
*:before,
*:after {
		-webkit-box-sizing: inherit;
		-moz-box-sizing: inherit;
	box-sizing: inherit;
}

::selection {
	background: rgba( 17, 17, 17, 1 );
	color: rgba( 255, 255, 255, 1 );
}


/* Clearing ---------------------------------- */


.group:after,
.entry-content:after {
	clear: both;
	content: "";
	display: block;
}


/* Transitions ------------------------------- */


a {
		-webkit-transition: all .1s ease-in-out;
	transition:             all .1s ease-in-out;
}

 {
		-webkit-transition: all .2s ease-in-out;
	transition:             all .2s ease-in-out;
}


/* WP Required Classes ----------------------- */


.sticky {}
.bypostauthor {}


/* Screen Reader Text ------------------------ */


.screen-reader-text {
	clip: rect( .1rem, .1rem, .1rem, .1rem );
	height: .1rem;
	overflow: hidden;
	position: absolute !important;
	width: .1rem;
}

.screen-reader-text:focus {
	background-color: rgba( 241, 241, 241, 1 );
	border-radius: .3rem .3rem .3rem .3rem;
	box-shadow: 0 0 .2rem .2rem rgba( 0, 0, 0, 0.6 );
	clip: auto !important;
	display: block;
	font-size: 1.4rem;
	font-weight: 700;
	height: auto;
	left: .5rem;
	line-height: normal;
	padding: 1.5rem 2.3rem 1.4rem 2.3rem;
	text-decoration: none;
	top: .5rem;
	width: auto;
	z-index: 100000;
}


/* --------------------------------------------------------------------------------------------- */
/*	2. Element Base
/* --------------------------------------------------------------------------------------------- */

p {
	color: #111;
	line-height: 1.5;
	margin: 0 0 2rem 0;
}

article p,
.archive-header p {
	font-size: 1.8rem;
}

em,
i,
q,
dfn {
	font-style: italic;
}

.promo-title em {
    font-weight: 700;
}

b,
strong {
	font-weight: 700;
}

ins {
	text-decoration: underline;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup { top: -0.5em; }
sub { bottom: -0.25em; }

small {
	font-size: 75%;
}

abbr,
acronym {
	cursor: help;
}

address {
	margin: 0 0 2rem 0;
}

hr {
	border-top: .1rem solid rgba( 221, 221, 221, 1 );
	margin: 4rem 0 4rem 0;
	text-align: center;
}

article.type-page,
article.type-404 {
	border-bottom: 0.1rem solid #ccc;
	padding-bottom: 2.5rem;
}

article.front {
	border: 0;
	padding-bottom: 0;
}


/* Fonts ------------------------------------- */

/* Serifs */
body,
.list-posts p {
	font-family: 'ff-tisa-web-pro', Georgia, 'Adobe Garamond', serif;
}

/* Sans-serifs */
h1, h2, h3, h4, h5, h6,
#site-header,
#site-footer, 
.entry-meta,
.entry-footer,
.list-meta,
.list-continue,
.announcement p {
/*    font-family: 'ff-tisa-sans-web-pro', Helvetica, Arial, sans-serif;*/
    font-family: Helvetica, Arial, sans-serif;
}


/* Headings ------------------------------------- */

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

h1.entry-title,
h1.page-title,
h1.book-title,
h1.archive-title {
	margin: 1.5rem 0 2.5rem 0;
	font-size: 3rem;
	line-height: 1.1;
}

h1.page-title,
h1.archive-title {
    border-top: 0.6rem solid #111;
    padding-top: 1rem;
}

h1.book-title {
	margin-bottom: 2rem;
}

h1.archive-title {
    padding-top: 1rem;
}

h1.archive-title div {
	color: #ccc;
	letter-spacing: -0.2rem;
	margin-left: 1rem;
	float: right;
	font-weight: 400;
}

h1.journal-title {
	margin: 1.5rem 0;
	font-size: 2.2rem;
}

article h1, article h2, article h3, article h4, article h5, article h6 {
    line-height: 1.1;
}

article h1, article h2 {
	margin: 3.5rem 0 1.5rem 0;
	font-size: 2.6rem;
}

article h3 {
	margin: 3.5rem 0 1.5rem 0;
	font-size: 2.2rem;
}

article h4, article h5, article h6 {
	margin: 3.5rem 0 1.5rem 0;
	font-size: 1.6rem;
	text-transform: uppercase;
}



/* Lists ------------------------------------- */


ul,
ol {
	margin: 0 0 2rem 3rem;
}

ul { list-style: square; }
ul ul { list-style: circle; }
ul ul ul { list-style: disc; }

ol { list-style: decimal; }
ol ol { list-style: lower-alpha; }
ol ol ol { list-style: lower-roman; }

li {
	margin: 1rem 0 1rem 0;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 2rem;
}

article ul, article ol {
	margin: 0 0 2rem 5rem;
}

article li {
	font-size: 1.8rem;
	line-height: 1.5;
	margin: 1.5rem 0;
}

dt {
	font-weight: 700;
}

dd + dt {
	margin-top: 1.5rem;
}


/* Quotes ------------------------------------ */


blockquote {
	background-color: #efefef;
	border-left: 0.6rem solid #111;
	color: #333;
	font-style: italic;
	margin: 2rem 0 2rem 0;
	padding: 0.1rem 2rem 0.1rem 3rem;
}

blockquote p {
	color: #333;
	margin: 1.5rem 0 1.5rem 0;
	font-style: italic;
}


/* Code -------------------------------------- */


pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace;
	font-size: 1em;
}


/* Media ------------------------------------- */


img,
embed,
iframe,
object {
	height: auto;
	max-width: 100%;
}

div.wp-caption {
	display: block;
	margin-bottom: 3rem;
}

.alignleft,
.alignright {
	margin-bottom: 2rem;
	max-width: 40%;
}

.alignleft {
	float: left;
	margin-right: 2rem;
}

.alignright {
	float: right;
	margin-left: 2rem;
}

.aligncenter,
.alignnone {
    display: block;
	margin: 0 auto 3rem auto;
}

.wp-caption-text {
	color: #555;
	font-size: 1.2rem;
	line-height: 1.1;
	margin-top: 1rem;
	text-align: center;
}

.wp-caption-text a {
	color: #333;
	text-decoration: underline;
}


/* GALLERIES */

.gallery {
	margin-bottom: 3rem;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item { max-width: 50%; }
.gallery-columns-3 .gallery-item { max-width: 33.33%; }
.gallery-columns-4 .gallery-item { max-width: 25%; }
.gallery-columns-5 .gallery-item { max-width: 20%; }
.gallery-columns-6 .gallery-item { max-width: 16.66%; }
.gallery-columns-7 .gallery-item { max-width: 14.28%; }
.gallery-columns-8 .gallery-item { max-width: 12.5%; }
.gallery-columns-9 .gallery-item { max-width: 11.11%; }

.gallery-caption {
	display: block;
	margin-top: 1rem;
}


/* Inputs ------------------------------------ */


label {
	margin: 0 0 0 0;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="week"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="color"],
select,
textarea {
	-webkit-appearance: none;
	-moz-appearance: none;
	background: rgba( 255, 255, 255, 1 );
	border: .1rem solid rgba( 210, 209, 201, 1 );
	display: block;
	margin: 0 0 0 0;
	max-width: 100%;
	outline: none;
	padding: 1.5rem 1.8rem 1.5rem 1.8rem;
	width: 100%;
}

textarea {
	height: 20rem;
	line-height: 1.5;
	width: 100%;
}

input::-webkit-input-placeholder { color: rgba( 153, 153, 153, 1 ); }
input:-ms-input-placeholder { color: rgba( 153, 153, 153, 1 ); }
input::-moz-placeholder { color: rgba( 153, 153, 153, 1 ); }

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
	display: none;
}

button,
.faux-button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: none;
	-moz-appearance: none;
	background: rgba( 17, 17, 17, 1 );
	border: none;
	color: rgba( 255, 255, 255, 1 );
	display: inline-block;
	font-size: 1.4rem;
	padding: 1.4rem 2.4rem 1.4rem 2.4rem;
}

button:hover,
.faux-button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background: rgba( 51, 51, 51, 1 );
	cursor: pointer;
}

button:focus,
.faux-button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus {
	background: rgba( 51, 51, 51, 1 );
}

input.newsletter-email,
input.newsletter-submit {
	border: 0;
	border-radius: 0;
	display: inline-block;
	font-size: 1.4rem;
	line-height: 2rem;
	margin: 0;
	padding: 0.3rem;
	text-transform: uppercase;
}

input.newsletter-email {
	background-color: #fff;
	border-bottom: 0.1rem dotted #ccc;
	color: rgba(231, 76, 60, 1);
	font-style: italic;
	padding-bottom: 0.5rem;
	text-align: center;
	width: 16rem;
}

input.newsletter-submit {
	background-color: #fff;
	color: rgba(231, 76, 60, 1);
	font-weight: 700;
}

input.newsletter-submit:hover {
	background-color: rgba(231, 76, 60, 1);
	color: #fff;
	font-weight: 700;
}

article form.search-form {
    background-color: #eee;
    display: inline-block;
    padding: 2rem 2rem 1.9rem 2rem;
    width: 100%;
}

article form.search-form input.search-field,
article form.search-form input.search-submit {
	height: 5rem;
}

article form.search-form input.search-field {
    border-color: #555;
}

article form.search-form input.search-submit {
    margin-top: 1rem;
    width: 100%;
}

li.search input.search-field {
    border-radius: 5rem;
    line-height: 2.4;
    padding: 0 1rem;
    height: 2.6rem;
    width: 12rem;
}

li.search input.search-submit {
    background: none;
    float: right;
    line-height: 2.4;
    padding: 0 0.1rem;
    position: relative;
    right: 0.6rem;
    top: -3.3rem;
}


/* Tables ------------------------------------ */


table {
	border-collapse: collapse;
	border-spacing: 0;
	empty-cells: show;
	margin-bottom: 3rem;
	max-width: 100%;
	overflow: hidden;
	width: 100%;
}

th,
td {
	line-height: 1.4;
	margin: 0 0 0 0;
	overflow: visible;
	padding: 2.5% 2.5% 2.5% 2.5%;
}

caption {
	border-bottom: 1px solid rgba( 221, 221, 221, 1 );
	font-weight: 700;
	padding-bottom: 2.5% 2.5% 2.5% 2.5%;
	text-align: center;
}

thead {
	vertical-align: bottom;
	white-space: nowrap;
}

th {
	border-bottom: 1px solid rgba( 221, 221, 221, 1 );
	font-weight: 700;
}

tbody > tr:nth-child(even) {
	background-color: rgba( 246, 246, 246, 1 );
}


/* Meta ------------------------------------ */

.entry-meta,
.entry-footer,
.list-meta,
.list-continue {
	font-size: 1.4rem;
	line-height: 1;
	margin-bottom: 1rem;
}

.tags {
	border: 0.1rem solid #111;
	border-width: 0.6rem 0 0.1rem 0;
	margin: 4rem 0 2.5rem 0;
	padding: 1rem 0 1.5rem 0;
}

.tags div {
	color: #111;
	display: block;
	margin-bottom: 0.5rem;
	text-transform: uppercase;
}



/* Links ------------------------------------ */

a {
	color: #000;
	text-decoration: none;
}

a:hover {
	color: rgba(231, 76, 60, 1);
}

main a {
	color: rgba(231, 76, 60, 1);
}

main a:hover {
	color: #000;
}

a,
.list-title a,
.promo-title a {
	color: #000;
	text-decoration: none;
}

a:hover,
.list-title a:hover,
.promo-title a:hover {
	color: rgba(231, 76, 60, 1);
}

.categories a,
.tags a {
	background-color: rgba(231, 76, 60, 1);
	border: 0.1rem solid rgba(231, 76, 60, 1);
	border-radius: 1rem;
	color: #fff;
	display: inline-block;
	font-weight: 700;
	margin: 0.5rem 0.5rem 0 0;
	padding: 0.3rem 0.6rem;
	text-transform: uppercase;
	text-wrap: no-wrap;
}

.categories a:hover,
.tags a:hover {
	background-color: #000;
	border-color: #000;
    color: #fff;
}

.nav-links a {
    font-size: 1.8rem;
    font-style: italic;
}

.nav-links a span {
	font-style: normal;
}

.book-meta a {
	color: yellow;
}

.book-meta a:hover {
	color: rgba(231, 76, 60, 1);
}



/* --------------------------------------------------------------------------------------------- */
/*	3. Structure
/* --------------------------------------------------------------------------------------------- */


#site-header,
#site-content,
#site-footer {
	display: block;
	margin: 0 auto 0 auto;
	max-width: 70rem;
	padding: 2.5rem 0 2.5rem 0;
	position: relative;
	width: 90%;
}

.navigation {
    clear: both;
    float: left;
    margin-bottom: 5rem;
    width: 100%;
}

.post-navigation {
	margin-top: 1rem;
}

.nav-previous {
    float: left;
    width: 50%;
}

.nav-next {
    float: right;
    text-align: right;
    width: 50%;
}


/* Front Page Template --------------------------------- */

img.avatar {
	border-radius: 15rem;
	height: auto;
	width: 15rem;
}

.announcement {
	border-top: 0.1rem solid rgba(231, 76, 60, 1);
	display: block;
	margin: 2.5rem 0;
}

.announcement p {
	border-bottom: 0.1rem solid rgba(231, 76, 60, 1);
	margin: 0 0 1rem 0;
	padding: 1rem 0;
}

.book-block {
	clear: both; 
	display: inline-block; 
	margin-top: 2.5rem; 
	width: 100%;
}

.book-feature {
	float: left; 
	width: 100%;
}

.book-promo {
	background-color: #efefef; 
	display: block; 
	float: left; 
	padding: 1rem; 
	width: 100%;
}

.book-promo img {
	float: left; 
	margin: 0 1.5rem 0 0; 
	height: auto; 
	width: 8.0rem;
}

.book-promo h3 {
	line-height: 1.2;
	margin: 0.2rem 0 0.8rem 0;
}

.book-promo p {
	color: #555; 
	margin: 0;
	padding-left: 9.5rem;
	font-size: 1.6rem;
}

.book-more {
	display: none;
}

.book-more h4,
.book-more ul {
	margin-left: 2rem;
}

.book-more h4 {
	line-height: 1.2;
	margin-top: 1.2rem;
}

.book-more li {
	color: #555;
	line-height: 1.2;
	list-style: square;
	margin: 1.2rem 0 1.2rem 2.5rem;
}

.book-more li.archive {
	list-style: none;
	margin-left: 0.3rem;
}


/* List Archives --------------------------------- */

.archive-header {
    margin-bottom: 5rem;
}

.list-posts {
    border-top: 0.1rem solid #ccc;
    display: inline-block;
	margin-left: 0;
	margin-bottom: 0;
    padding-top: 2.5rem;
}

.list-posts li {
	border-bottom: 0.1rem solid #ccc;
	list-style: none;
    margin: 0 0 2.5rem 0;
	padding-bottom: 2.5rem;
}

li.list-book {
	display: block;
	float: left;
}

.list-image img {
	border-radius: 1rem;
	margin-right: 1rem;
	float: left;
	height: 4.8rem;
	width: 4.8rem;
}

.list-cover img {
	border: 0.1rem solid #ccc;
	float: right;
	height: auto;
	margin: 0 0 0.4rem 1rem;
	padding: 0.3rem;
	width: 9rem;
}

.list-title {
	font-size: 2.2rem;
	line-height: 2.4rem;
	margin: 0.4rem 0 0.8rem 0;
}

.list-meta {
	color: #555;
	font-size: 1.4rem;
	line-height: 1.4rem;
}

.list-categories {
	font-weight: 700;
	margin-right: 0.5rem;
	text-transform: uppercase;
}

.list-posts p {
	font-size: 1.6rem;
	font-style: italic;
	margin: 1rem 0 0 0;
}

.list-continue {
	display: block;
	font-weight: 700;
	line-height: 1.4rem;
	margin: 1.4rem 0 0 0;
	text-transform: uppercase;
	width: 100%;
}

.latest-posts {
	border-top: 0.1rem solid #ccc;
	margin: 2rem 0;
	padding-top: 2rem;
}

.latest-posts ul {
	margin-left: 0;
	width: 100%;
	height: auto;
}

.latest-posts ul li {
	list-style: none;
	margin: 1.8rem 0;
}

 p.latest-posts-meta {
	color: #aaa;
	margin: 0;
	font-size: 1.2rem;
}

span.site-section {
	background-color: #111;
	color: #fff;
	display: block;
	font-size: 1rem;
	margin-bottom: 0.4rem;
	padding: 0.3rem 0 0.3rem 0.3rem;
	text-transform: uppercase;
	width: 8rem;
}


/* Book --------------------------------- */

.book-meta {
	background-color: #111;
	clear: both;
	display: inline-block;
	padding: 1rem 1rem 0 1rem;
	width: 100%;
}

.book-cover {
	float: left;
}

.book-cover img {
	border: 0.1rem solid #555;
	height: auto;
	margin-bottom: 1rem;
	padding: 0.3rem;
	width: 100%;
}

.book-details p,
.book-details ul {
	color: #fff;
}

.book-details p {
	font-size: 1.6rem;
	margin: 0;
}

.book-details ul {
	margin: 0;
}

.book-details ul li {
	font-size: 1.4rem;
	list-style: none;
	margin: 1rem 0;
}

.book-details ul li:first-child {
	border-top: 0.1rem solid #555;
	padding-top: 1rem;
}

.book-details ul li span {
	color: #aaa;
	font-size: 1.2rem;
	text-transform: uppercase;
}


/* Journal --------------------------------- */

article.journal {
	margin-bottom: 5rem;
}

.journal-content {
	padding: 2.2rem 2.2rem 0.1rem 2.2rem;
	background-color: #fdf3dc;
}



/* --------------------------------------------------------------------------------------------- */
/*	4. Site Header
/* --------------------------------------------------------------------------------------------- */


#site-header {
		-webkit-align-items: center;
	align-items: center;
		display: -webkit-flex;
	display: flex;
		-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
		-webkit-justify-content: space-between;
	justify-content: space-between;
	
	color: #333;
}

.site-title img {
	height: 2.4rem;
	width: 6.9rem;
}


/* --------------------------------------------------------------------------------------------- */
/*	5. Header Menus
/* --------------------------------------------------------------------------------------------- */


#site-header ul {
	list-style: none;
}

#site-header ul li {
	font-size: 1.4rem;
	font-weight: 700;
	text-transform: uppercase;
}

li.search {
    max-height: 3.3rem;
    overflow: hidden;
    top: 0.2rem;
}


/* Main Menu --------------------------------- */


@media all and ( max-width: 728px ) { /* Saves us an overwrite when switching to desktop styling */

	.main-menu {
		border-top: 0.1rem solid #555;
		display: none;
			-webkit-flex: 100%;
		flex: 100%;
		margin: 0 0 0 0;
		position: relative;
		z-index: 1;
	}

	.main-menu.active {
		display: block;
	}

	.main-menu li {
		border-bottom: 0.1rem solid #555;
		margin: 0 0 0 0;
		padding: 0 0 0 0;
		text-align: right;
	}
	
	.main-menu li a {
		display: block;
		width: 100%;
		padding: 1rem 0;
	}
    
    li.search {
        max-height: 5.2rem;
        padding: 1rem 0;
    }
    
    li.search form {
        display: inline-block;
    }
    
    li.search input.search-field {
    	height: 3.3rem;
		width: 18rem;
    }

    li.search input.search-submit {
		top: -3.5rem;
    }

}

.main-menu li {
	line-height: 2.4rem;
}


/* Navigation Toggle ------------------------- */


.nav-toggle {
	cursor: pointer;
	height: 3rem;
	margin-top: -2.4rem;
	position: relative;
	width: 5rem;
}

.nav-toggle .bar {
	background-color: rgba( 51, 51, 51, 1 );
	display: block;
	height: .2rem;
	position: absolute;
		right: 0;
		top: calc( 50% - .1rem );
	transition: transform 0.2s ease-in, opacity 0s ease-out 0.2s, margin 0.2s ease-out 0.2s;
	width: 2.2rem;
}

.nav-toggle .bar:nth-child(1) { margin-top: -0.7rem; }
.nav-toggle .bar:nth-child(2) { margin-top: -0.1rem; }
.nav-toggle .bar:nth-child(3) { margin-top: 0.5rem; }

.nav-toggle.active .bar {
	transition: margin 0.2s ease-in, opacity 0s ease-in 0.2s, transform 0.2s ease-out 0.25s;
}

.nav-toggle.active .bar:nth-child(1) {
	margin-top: -0.1rem;
		-webkit-transform: rotate( 45deg );
	transform:             rotate( 45deg );
}

.nav-toggle.active .bar:nth-child(2) {
	opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
	margin-top: -0.1rem;
		-webkit-transform: rotate( -45deg );
	transform:             rotate( -45deg );
}



/* --------------------------------------------------------------------------------------------- */
/*	6. Site Footer
/* --------------------------------------------------------------------------------------------- */


#site-footer {
	color: #555;
}

#site-footer p {
	font-size: 1.4rem;
	margin: 0 0 1rem 0;
}

#site-footer a {
	color: #111;
	font-weight: 700;
}

.newsletter {
	display: block;
	margin-bottom: 2.5rem;
	text-align: center;
}

.newsletter-want {
	font-size: 1.8rem;
	font-style: italic;
	margin: 4.6rem 0 2.5rem 0;
	text-align: center;
}

.newsletter-want span {
	display: none;
}



/* --------------------------------------------------------------------------------------------- */
/*	7. Media Queries
/* --------------------------------------------------------------------------------------------- */


/* Alterations ------------------------------- */

.medium-up { display: none; }



/*  Small (410px)
/* ------------------------------------------- */

@media all and ( min-width: 410px ) {

	h1.entry-title,
	h1.page-title,
	h1.book-title,
	h1.archive-title {
		font-size: 4.2rem;
		line-height: 1.1;
	}

    article form.search-form input.search-field {
        float: left;
        width: 70%;
    }

    article form.search-form input.search-submit {
        float: right;
        margin-top: 0;
        width: 28%;
    }


	/* Book ------------------------------- */
	
	.book-cover img {
		margin-bottom: 0;
		width: 15rem;
	}

	.book-details p,
	.book-details ul {
		padding-left: 17rem;
	}

}



/*  Medium (728px)
/* ------------------------------------------- */

@media all and ( min-width: 728px ) {


	#site-header,
	#site-content,
	#site-footer {
		width: 80%;
	}
    
	h1.entry-title,
	h1.page-title,
	h1.book-title,
	h1.archive-title {
		font-size: 4.4rem;
	}
	
	/* Alterations ------------------------------- */

	.medium-up { display: inline; }
	

	/* Header Menus ------------------------------- */

	.nav-toggle {
		display: none;
	}

	.main-menu {
			display: -webkit-flex;
		display: flex;
		position: relative;
		z-index: 1;
	}

	.main-menu li {
		display: block;
		margin: 0 0 0 1rem;
		position: relative;
	}
    
    li.search {
        margin-left: 1.2rem;
    }

	.main-menu li a {
		display: block;
	}
	
	.menu-item a {
		border-bottom: 0.6rem solid #fff;
		padding-top: 0.4rem;
	}

	.main-menu ul {
		opacity: 0;
		margin: 1rem 0 0 0;
		position: absolute;
			left: -9999rem;
			top: 100%;
		transition: opacity 0.2s ease-in-out, margin 0.2s ease-in-out;
	}

	.main-menu li:hover > ul {
		margin: 0 0 0 0;
		opacity: 1;
	}

	.main-menu li:hover > ul {
		left: 0;
	}

	.main-menu ul li:hover > ul {
		left: 100%;
		top: 0;
	}
	
	.main-menu li a:hover,
	.custom-active a,
	.current-menu-item a,
	.current_page_item a,
	.single-post .current_page_parent a,
	.current_active a {
		border-bottom: 0.6rem solid #111;
		padding-top: 0.4rem;
	}
	
	.post-type-archive-book .current_page_parent a,
	.post-type-archive-journal .current_page_parent a, {
		color: #111;
	}
	
	
	/* Front Page ------------------------------- */
	
	.book-feature {
		width: 50%;
	}
	
	.book-more {
		display: block;
		float: right;
		width: 50%; 
	}
	

	/* Main Content ------------------------------- */
	
	article p,
	.archive-header p {
		font-size: 2.2rem;
		line-height: 1.55;
		margin-bottom: 2.2rem;
	}
	
	article li {
		font-size: 2.2rem;
		line-height: 1.55;
	}
	
	.wp-caption-text {
		font-size: 1.6rem;
		line-height: 1.2;
	}
	
	.newsletter-want {
		font-size: 2.2rem;
	}
	
	.list-cover img {
		float: left;
		margin: 0 1.5rem 0.5rem 0;
		width: 15rem;
	}
	

	/* Promo ------------------------------- */
	
	.newsletter-want span {
		display: inline;
	}
	
	input.newsletter-email,
	input.newsletter-submit {
		font-size: 1.6rem;
	}
	
	input.newsletter-email {
		width: 18rem;
	}
	
	
	/* Book ------------------------------- */
	
	.book-meta {
		padding: 2rem 2rem 1rem 2rem;
	}

}



/*  Large (1025px)
/* ------------------------------------------- */

@media all and ( min-width: 1025px ) {



}



/*  HD (1281px)
/* ------------------------------------------- */

 @media all and ( min-width: 1281px ) {



}