/*
Theme Name: Martin Gilbert Theme
Theme URI: http://wordpress.org/themes/twentyfourteen
Author: the WordPress team
Author URI: http://wordpress.org/
Description: In 2014, our default theme lets you create a responsive magazine website with a sleek, modern design. Feature your favorite homepage content in either a grid or a slider. Use the three widget areas to customize your website, and change your content's layout with a full-width page template and a contributor page to show off your authors. Creating a magazine website with WordPress has never been easier.
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, green, white, light, dark, two-columns, three-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
Text Domain: twentyfourteen

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.
*/

/* Support a widely-adopted but non-standard selector for text selection styles
 * to achieve a better experience. See http://core.trac.wordpress.org/ticket/25898.
 */

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

audio,
canvas,
video {
	display: inline-block;
	max-width: 100%;
}

html {
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

legend {
	white-space: normal;
}

button,
input,
select,
textarea {
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
	color:#2d2d2d; font-family: 'Lato', sans-serif; font-weight:400; margin:0; line-height:1.7; font-size:14px;
    margin: 0;
	max-width: 100%;
	vertical-align: baseline;
}

button,
input {
	line-height: normal;
}

input,
textarea {
	background-image: -webkit-linear-gradient(hsla(0,0%,100%,0), hsla(0,0%,100%,0)); /* Removing the inner shadow, rounded corners on iOS inputs */
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
input[disabled] {
	cursor: default;
}

input[type="checkbox"],
input[type="radio"] {
	padding: 0;
}

input[type="search"] {
	-webkit-appearance: textfield;
}

input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
	vertical-align: top;
}

/* Input fields */

input,
textarea {
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 2px;
	color: #2b2b2b;
	padding: 8px 0px 7px 8px;
}

textarea {
	width: 100%;
}

input:focus,
textarea:focus {
	border: 1px solid rgba(0, 0, 0, 0.3);
	outline: 0;
}

/* Buttons */

button,
.button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	background-color: #443664;
	border: 0;
	border-radius: 0px;
	color: #fff;
	padding: 10px 30px 11px;
	text-transform: uppercase;
	vertical-align: bottom;
}

button:hover,
button:focus,
.button:hover,
.button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
	background-color: #777;
	color: #fff;
}

button:active,
.button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	background-color: #2d9acf;
}


/* Placeholder text color -- selectors need to be separate to work. */

::-webkit-input-placeholder {
	color: #939393;
    text-transform:uppercase;
}

:-moz-placeholder {
	color: #939393;
    text-transform:uppercase;
}

::-moz-placeholder {
	color: #939393;
	opacity: 1; /* Since FF19 lowers the opacity of the placeholder by default */
    text-transform:uppercase;
}

:-ms-input-placeholder {
	color: #939393;
    text-transform:uppercase;
}



/* Colours 
light grey background: #eeeeee
font color :#2d2d2d;
header span color:#999999
purple background:#443664;
*/

html{background: #eeeeee; margin: 0px; padding: 0px;}
body{background:#fff; color:#2d2d2d; font-family: 'Lato', sans-serif; font-weight:300; margin:0; line-height:1.7; font-size:16px;}

h1, h2{font-weight:100; font-family: 'Libre Baskerville', serif; }
h1{font-size:31px;}
h2{font-size:25px;}
h3{text-transform:uppercase; font-weight:400; font-size:16px;}
h4{text-transform:uppercase; font-family: 'Lato', sans-serif; font-weight:300;}
h1 span{font-size:28px; color:#999; display:block;line-height:1.2}
.widget-title{border-bottom:1px solid #e5e5e5; padding-bottom:10px;}
.site{text-align:center;}
.wrapper {max-width:1100px; margin:auto; padding:0 20px; text-align:left;}
.clear{clear:both;}
hr{clear:both; margin:10px auto 40px auto; padding:20px 0; width:90%; border:none; border-bottom:1px solid #e5e5e5;; background: none;}
#masthead{height: 100px; width: 100%; background: #FFF; position: fixed; top: 0px; left: 0px; z-index: 100; -moz-box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.1);
	-webkit-box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.1);
	box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.1);}
#masthead.scrolled{height: 70px;}
#masthead.scrolled .logo{width: 10%;}
#masthead.scrolled .primary-navigation .menu-topnav-container{margin-top: 8px; margin-left: 4.primary-navigation0px;}
#masthead.scrolled .search-box{margin: 17px 10px 0 0;}
.logo{width:15%; float:left; height:100px; position:relative;left:0px; z-index:2;}
.logo img{max-width:100%; height:auto;}
.logo a{background:#443664; display:block; border-bottom:1px solid #2d2342; border-right:1px solid #2d2342;}
.screen-reader-text{display:none;}
em{font-style: italic;}

blockquote{font-size:16px; display: block; margin:2em; font-style:italic; clear:right;font-weight: 400; line-height: 1.9; color:#2d2d2d; font-family: 'Libre Baskerville', serif; }

a{color:#8477a1;}


#masthead, .menu-topnav-container, .primary-navigation, .search-box, .logo, .home-quote h2, .home-quote p, .widget_links li a{webkit-transition: all 0.4s ease-in-out; -moz-transition: all 0.4s ease-in-out; -o-transition: all 0.4s ease-in-out; transition: all 0.4s ease-in-out;}

.home-picture{position:relative; background:#000; text-align:center; line-height:0; z-index:0;}
.home-picture img{display: none;}
.home-quote{position:absolute; bottom:0px; line-height:1.2; color:#fff; text-align:center; width:100%; padding-bottom:50px; font-size:130%;}
.home-quote h1{display:none;}
.home-quote h2, .home-quote p{opacity: 0; margin:auto; max-width:960px;}
.home-quote h2{ font-size:140%;}
.home-quote p{margin-top:20px; line-height:1.5; font-family: 'Libre Baskerville', serif; font-size:100%;}
.home-quote span{display:block; font-size:200%; text-transform:uppercase; text-decoration:none !important; margin-top:5px;}

.home-featured{position:absolute; top:0px; right:10px; width:250px; background:#fff; border:1px solid #e9e9e9; text-align:left; padding:10px; display:none;}
.home-featured-content{width:66.6%; float:left;}
.home-featured-thumb{width:33.3%; float:right; text-align:right;}
.home-featured-thumb img{width:90%;}
.home-featured-content p, .home-featured-content h4{font-size:12px; line-height:1.5; margin:4px 0;}
.home-featured-content p span{display:none;}
.home-featured-content a{color:#2d2d2d; text-decoration:none; }

.home .entry-content{width:100%; max-width:1200px; margin:auto;}

.home .view-collection{width: 90%; background: #eeeeee; padding: 30px 5%; margin-bottom: 20px;}
.home .view-collection a{text-decoration: none; font-size: 27px; color: #333;}

.home-blog-articles{clear:both; width:100%; margin:50px auto 50px auto;}

.home-blog-articles ul{list-style-type:none; margin:10px auto 10px auto; padding:0;}
.home-blog-articles li{margin:10px 2% 30px 2%; padding:0 0 30px 0; width:29.333%; float:left;  text-align:left; line-height:1.6; border-bottom:1px solid #ddd;}
.home-blog-articles li:nth-child(n+4){border-bottom:none;}
.home-blog-articles li div {height:280px; max-height:280px; position:relative; overflow:hidden;}
.home-blog-articles li img{width:100%; border-bottom:1px solid #fff;}
.home-blog-articles li a {color:#2d2d2d; text-decoration:none;}
.home-blog-articles li h2{line-height:1.2; font-size:130%; }
.home-blog-articles li h2:after{content: ""; width:50%; margin-top:20px; height:1px; display:block; border-bottom:2px solid #2d2d2d;}
.home-read-more { 
	position: absolute; 
	bottom: 0; left: 0;
	width: 100%; 
	text-align: left; 
	margin: 0; padding: 20px 0 0px 0; 
    border-bottom:10px solid #FFF;
    line-height:1;
	box-shadow: 0px -30px 50px #FFF;
	-moz-box-shadow: 0px -30px 50px #FFF;
	-webkit-box-shadow: 0px -30px 50px #FFF;
	background: #FFF;
}

figure img{width: 100%;}
.home-slider{margin:25px 0 0 0; padding:0px 0 50px 0;}
.home-slider h3{display:none;}
.home-slider h2:after{content: ""; width:100px; margin: 0 auto; margin-top:20px; height:1px; display:block; border-bottom:2px solid #2d2d2d;}
.home-slider .slider-image{padding:16px;}
.home-slider .slider-image img{border:8px solid #fff; max-width: 92%;}

.home .site-main{background: #FFF;}
.site-main{margin-top:100px;}
.site-main, .site-footer{clear:both;}


.books-category-intro .wrapper, .book-single-intro .wrapper{display: none; opacity: 0.5;}
.singular .site-content{display: none;}

#secondary{width:22%; float:right;}
#main-content{width:75%; float:left;}
.full-width #main-content{width:100%;}
.content-area, .primary-sidebar{padding:80px 0 50px 0;}
.page .primary-sidebar, .archive .primary-sidebar{ margin-top: 10px;}
.single-post .primary-sidebar{ margin-top: -20px;}
.single-book #primary.content-area{margin-right: 60px;}
.sidebar-nib img{width:90%; margin:auto;}
.category-content{padding-right:10%; padding-bottom: 100px;}

.site-main{background: #eeeeee;}
.tax-book_categories .site-main, .single-book .site-main{background:#fff;}
.entry-header a{color:#2d2d2d;}
.entry-header a{text-decoration:none;}
.books-category-intro, .book-single-intro{background: #eeeeee;}
.collection-link{display:inline-block; text-align:center; line-height:50px; border:1px solid #443664; background:#fff; text-decoration:none; padding:0 30px; color:#443664;  font-size:20px; font-weight:400; float:right; margin:5px 0 50px 50px;}

.books-category article{border-bottom:1px solid #e5e5e5; padding:20px 0; margin-bottom:20px;}
.paged-2 .books-category-intro{display:none;}
.book-cover{float:left; width:15%; border:5px solid #fff; -webkit-box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.2);
-moz-box-shadow:    0px 0px 4px 0px rgba(0, 0, 0, 0.2);
box-shadow:         0px 0px 4px 0px rgba(0, 0, 0, 0.2); line-height: 0;}
.single-book .book-cover{float:right; width:25%; margin-right:2%; border:8px solid #fff;}
.single-book .book-cover img{}
.book-cover img{width:100%;}


/*.classic .book-cover{width:30%; float:right; margin-right:3%;}
.favorite .book-cover{width:20%;}
.classic .book-details{margin-left:0%; margin-right:36%;}
.favorite .book-details{margin-left:23%;}
.classic .read-more span, .favorite .read-more span{display:inline-block;}
.classic .book-details h1, .single-book .book-details h1{font-size:31px;}
.classic .book-details h1 span, .single-book .book-details h1 span{font-size:25px;}
.favorite .book-details h1{font-size:25px;}
.favorite .book-details h1 span{font-size:20px;}*/


.books-category article:nth-child(1) .book-cover{width:26%; float:right; margin-right:3%;}
.books-category article:nth-child(2) .book-cover, .books-category article:nth-child(3) .book-cover{width:20%;}
.books-category article:nth-child(1) .book-details{margin-left:0%; margin-right:36%;}
.books-category article:nth-child(2) .book-details, .books-category article:nth-child(3) .book-details{margin-left:23%;}
.books-category article:nth-child(1) .read-more span, .books-category article:nth-child(2) .read-more span, .books-category article:nth-child(3) .read-more span{display:inline-block;}
.books-category article:nth-child(1) .book-details h1, .single-book .book-details h1{font-size:31px;}
.books-category article:nth-child(1) .book-details h1 span, .single-book .book-details h1 span{font-size:25px;}
.books-category article:nth-child(2) .book-details h1, .books-category article:nth-child(3) .book-details h1{font-size:25px;}
.books-category article:nth-child(2) .book-details h1 span, .books-category article:nth-child(3) .book-details h1 span{font-size:20px;}

.book-details{margin-left:18%;}
.single-book .book-details{margin-left:0px; margin-right:35%;}
.read-more span{display:none;}
.book-details h1{margin-top:0; line-height:1.2; font-size:22px;}
.book-details h1 span{font-size:17px;}
.book-details p{margin-bottom:0px;}
.book-details a{text-decoration:none; color:#2d2d2d;}
.book-details h1:after{content: ""; position:absolute; width:15%; margin-top:10px; height:1px; display:block; border-bottom:1px solid #000;}

.book-extras{list-style-type:none; margin:10px 0 10px -15px; padding:0;}
.book-extras li{margin:20px 5px; padding:0; border-right: 1px solid #333; display:inline-block;}
.book-extras li:last-child{border-right:none;}
.book-extras li a{display:block; line-height:25px; padding:0 10px 0 0px; text-decoration: none; color: #333;}

.book-attributes{list-style-type:none; margin:50px 0; padding:0; text-transform:capitalize; font-size:13px;}
.book-attributes li{border-bottom:1px solid #e5e5e5; padding:5px 0;}
.book-attributes li span{text-transform:uppercase; display:inline-block; width:150px; }
.book-attributes a{text-decoration:none;}

.buy-buttons{list-style-type:none; margin:30px 0; padding:0; max-width:600px;}
.buy-buttons li{margin:0 1% 0 0; display:inline-block; padding:0; width:30%;}
.buy-buttons li.call-to-action{display:block; width:100%; padding:10px 0; font-size:14px; font-weight:400;}
.buy-buttons a{display:block; text-indent:-10000px; line-height:40px; width:100%; border:1px solid #000; }
.buy-buttons .amazonuk a{background:#fff url(images/amazon-uk.png) no-repeat center center; background-size:90% auto;}
.buy-buttons .amazonus a{background:#fff url(images/amazon-us.png) no-repeat center center; background-size:90% auto;}
.buy-buttons .amazonca a{background:#fff url(images/amazon-ca.png) no-repeat center center; background-size:90% auto;}

.search-box{background: #eeeeee; float:right; margin:32px 10px 0 0;}
.search-box .search-field{width:100px;}
.search-box .search-field, .search-box .search-submit{border:none; background:transparent;}
.search-box .search-submit{margin:0; width:50px; height:35px; background:url(images/search-button.png) no-repeat center center; background-size:100% auto; text-indent:-10000px; cursor:pointer;}
.search-box .search-submit:hover{background:url(images/search-button-hover.png) no-repeat center center; background-size:100% auto;}
#secondary .widget_search input[type="submit"]{margin-top:10px;}
#secondary .widget_search input[type="text"]{width:100%;}
#secondary aside{margin-bottom:50px;}
aside ul{margin:10px 0px 0px 0px; list-style-type:none; padding:0;}
aside ul li{margin:5px 0; padding:0;}
aside a{color:#2d2d2d; text-decoration:none;}


.blogroll{display:inline-block; margin:0 auto 20px auto;}
.blogroll li{display:inline-block; line-height:44px; width:44px; margin:4px;}
.blogroll li a{display:block; height:100%; background:#eeeeee url(images/social-icons.png) no-repeat; text-indent:-10000px; text-align:left; background-size:auto 100%;}
.blogroll li a:hover{background:#eeeeee url(images/social-icons-hover.png) no-repeat; background-size:auto 100%;}
.blogroll li:nth-child(2){display: none;}
.blogroll li:nth-child(1) a, .blogroll li:nth-child(1) a:hover{background-position:-57px top;}
.blogroll li:nth-child(2) a, .blogroll li:nth-child(2) a:hover{background-position:-176px top;}
.blogroll li:nth-child(3) a, .blogroll li:nth-child(3) a:hover{background-position:-117px top;}
.blogroll li:nth-child(4) a, .blogroll li:nth-child(4) a:hover{background-position:-0px top;}
.primary-sidebar .blogroll li a{background-color:#fff;}
.tax-book_categories .primary-sidebar .blogroll li a, .single-book .primary-sidebar .blogroll li a{background-color:#eeeeee;}
.site-footer .widget_links{background:url(images/gilbert-pen-nib.png) no-repeat center bottom; background-size:40px auto; padding-bottom:100px;}
.site-footer .widget_links h3{display:none;}

.site-footer{
	position: relative;
	padding-top: 240px;
	margin-top: 100px;
}
.site-footer #mc4wp_form_widget-2{
	background: #eeeeee;
	padding: 20px 0px;
	width: 100%;
	position: absolute;
	left: 0px;
	top: 0px;
}
.site-footer #mc4wp_form_widget-2 input{
	width: 260px;
	max-width: 100%;
	margin: 0px;
	padding: 10px;
	display: block;
	float: left;
	text-transform: lowercase;
	vertical-align: top;
	font-size: 17px;
	font-weight: 300;
}
.mc4wp-form ::-webkit-input-placeholder {
   text-transform: lowercase;
}

.mc4wp-form :-moz-placeholder { /* Firefox 18- */
   text-transform: lowercase;
}

.mc4wp-form ::-moz-placeholder {  /* Firefox 19+ */
  text-transform: lowercase;
}

.mc4wp-form :-ms-input-placeholder {  
   text-transform: lowercase;
}
.site-footer #mc4wp_form_widget-2 input[type="submit"]{
	width: 120px;
	padding: 10px 10px;
	margin-left: 5px;
	border: 1px solid #eeeeee;
	font-family: 'Lato', sans-serif;
}

.site-footer #mc4wp_form_widget-2 label{
	display: inline-block;
	font-size: 25px;
	margin-right: 0px;
}
.site-footer #mc4wp_form_widget-2 .inputs{
	display: inline-block;
}
.site-footer #mc4wp_form_widget-2 .widget-title{
	border-bottom: none;
}
.fa-input {
  font-family: FontAwesome;
}

.mc4wp-form input{
	max-width: 370px;
	padding: 20px;
	margin-bottom: 10px;
}

.mc4wp-form form, .mc4wp-form input, .mc4wp-form label{
	text-transform: inherit;
	font-size: 17px;
}
.mc4wp-form .inputs input, .mc4wp-form .inputs label{
	padding: 10px;
}

footer aside{text-align:center;}
#menu-footernav li:nth-child(1){width: 100%;}
#menu-footernav li{display:inline-block; margin:0 5px; line-height:50px; text-transform:uppercase; font-size:14px; font-weight:400;}
#menu-footernav li a{padding:0 5px;}

.pagination{text-align:right;}
.pagination .page-numbers{line-height:40px; display:inline-block; padding:0 10px; background:#ededed; border:1px solid #cdcdcd;}
.pagination a{ color:#2d2d2d; text-decoration:none;}
.pagination  .current {color:#999;}

.summarize-posts{margin:0; padding:0; line-height:1.2; list-style-type:none;
-webkit-column-count: 3; /* Chrome, Safari, Opera */
    -moz-column-count: 3; /* Firefox */
    column-count: 3}
.page-id-1271 .summarize-posts{-webkit-column-count: 1; /* Chrome, Safari, Opera */
    -moz-column-count: 1; /* Firefox */
    column-count: 1}
.summarize-posts li, .summarize-posts li ul li{margin:20px 0; padding:0; list-style-type:none;}

/* Navigation */

	/* Primary Navigation */

.menu-toggle {
display:none;
background:url(images/menu2.png) no-repeat center 7px;
border-radius: 0;
cursor: pointer;
font-size: 0;
height: 54px;
margin: 0;
overflow: hidden;
padding: 0;
position: absolute;
top: 13px;
right: 20px;
text-align: center;
width: 80px;
}

.menu-toggle:before {
color: #fff;
content: "\f419";
display: inline;
margin-top: 16px;
}


.menu-toggle:hover, menu-toggle:active, .menu-toggle:focus{background:url(images/menu2.png) no-repeat center -53px;}

.menu-toggle:focus {
outline: none;
}


.site-navigation ul {
	list-style: none;
	margin: 0;
    padding:0px;
}

.site-navigation li {

}

.site-navigation ul ul {
	margin-left: 20px;
}

.site-navigation a {
	color: #282828;
	display: block;
    text-decoration:none;
}

.site-navigation a:hover {
	color: #666;
}

.site-navigation .current_page_item > a,
.site-navigation .current_page_ancestor > a,
.site-navigation .current-menu-item > a,
.site-navigation .current-menu-ancestor > a {
	background:rgba(238,238,238,1);
}

/* Primary Navigation */

.primary-navigation {
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
	font-size: 15px;
	font-weight:400;
	padding-top: 24px;
	margin-left: 7% !important;
}
#masthead.scrolled .primary-navigation{margin-left: 10%;}

.primary-navigation .nav-menu {
	display: block;
}


.primary-navigation a {
	padding: 7px 0;
}


.primary-navigation {
		float: left;
		font-size: 14px;
		margin: 0 1px 0 0px;
		padding: 0;
		text-transform: uppercase;
}

.primary-navigation .menu-topnav-container{margin-top:23px;}


	.primary-navigation .nav-menu {
		border-bottom: 0;
		display: block;
	}


	.primary-navigation li {
		border: 0;
		display: inline-block;
		height: 55px;
		line-height: 53px;
		position: relative;
        margin:0; 
        padding:0;
	cursor: pointer;
	}

	.primary-navigation a {
		display: inline-block;
		padding: 0 12px;
    
	}



	.primary-navigation ul ul {
		background:rgba(221,221,221,1);
		float: left;
		margin: 0;
		padding:0;
		position: absolute;
		top: 53px;
		left: -999em;
		z-index: 99999;
		display: none;
	}

	.primary-navigation li li {
		border: 0;
		display: block;
		height: auto;
		line-height: 1.0909090909;
	}

	.primary-navigation ul ul ul {
		left: -999em;
		top: 0;
	}

	.primary-navigation ul ul a {
		padding: 18px 12px;
		white-space: normal;
		width: 176px;
	}

	.primary-navigation li:hover > a,
	.primary-navigation li.focus > a {
		background:rgba(238,238,238,1);
		
	}

	.primary-navigation ul ul a:hover,
	.primary-navigation ul ul li.focus > a {
		background:rgba(200,200,200,1);
	}

	.primary-navigation ul li > ul,
	.primary-navigation ul li > ul {
		left: auto;
	}

	.primary-navigation ul ul li > ul,
	.primary-navigation ul ul li > ul {
		left: 100%;
	}

	.primary-navigation .menu-item-has-children > a,
	.primary-navigation .page_item_has_children > a {
		padding-right: 26px;
	}

	.primary-navigation .menu-item-has-children > a:after,
	.primary-navigation .page_item_has_children > a:after {
		-webkit-font-smoothing: antialiased;
		content: "\f502";
		display: inline-block;
		font: normal 8px/1 Genericons;
		position: absolute;
		right: 12px;
		top: 25px;
		vertical-align: text-bottom;
	}

	.primary-navigation li .menu-item-has-children > a,
	.primary-navigation li .page_item_has_children > a {
		padding-right: 20px;
		width: 168px;
	}

	.primary-navigation .menu-item-has-children li.menu-item-has-children > a:after,
	.primary-navigation .menu-item-has-children li.page_item_has_children > a:after,
	.primary-navigation .page_item_has_children li.menu-item-has-children > a:after,
	.primary-navigation .page_item_has_children li.page_item_has_children > a:after {
		content: "\f501";
		right: 8px;
		top: 25px;
	}

.site-navigation li .current_page_item > a,
.site-navigation li .current_page_ancestor > a,
.site-navigation li .current-menu-item > a,
.site-navigation li .current-menu-ancestor > a {
color: #ddd;
background:rgba(0,0,0,0.4);

}

.search article img, .tag article img{width: 15%; margin: 27px 20px 20px 0px; display: inline-block; float: left;}

.search article h1, .tag article h1{font-size: 23px;}
.search article, .tag article{width: 100%; display: inline-block;}
.search article .cat-links, .tag article .cat-links{display: none;}
.single-post .post-navigation{display: none;}

.category article, .search article, .tag article{border-bottom: 1px solid #e5e5e5; margin-bottom: 20px;}
.search article, .tag article{padding-bottom: 20px;}

/*
 * Responsive images
 *
 * Fluid images for posts, comments, and widgets
 */
.entry-content img,
.entry-summary img,
.comment-content img,
.widget img, .category-content img,
.wp-caption {
	max-width: 100%;
}

/* Make sure images with WordPress-added height and width attributes are scaled correctly. */
.entry-content img,
.entry-summary img,
.comment-content img[height],
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
	height: auto;
}

img.size-full,
img.size-large,
img.wp-post-image {
	height: auto;
	max-width: 100%;
}

/* Make sure videos and embeds fit their containers. */
embed,
iframe,
object,
video {
	max-width: 100%;
}


/* Images */

img.aligncenter, img.alignnone, img.alignleft, img.alignright, .wp-caption.alignleft, .wp-caption.alignright, .wp-caption.alignnone, .wp-caption.aligncenter {-webkit-box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.2);
-moz-box-shadow:    0px 0px 4px 0px rgba(0, 0, 0, 0.2);
box-shadow:         0px 0px 4px 0px rgba(0, 0, 0, 0.2); padding:10px; background:#fff;}

.alignleft {
	float: left;
}

.alignright {
	float: right;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

figure.wp-caption.alignleft,
img.alignleft {
	margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
	margin: 5px 10px 5px 0;
}

figure.wp-caption.alignright,
img.alignright {
	margin: 5px 0 5px 20px;
}

.wp-caption.alignright {
	margin: 5px 0 5px 10px;
}

img.aligncenter {
	margin: 5px auto;
}

img.alignnone {
	margin: 5px 0;
}



.wp-caption .wp-caption-text,
.entry-caption,
.gallery-caption {
	color: #999;
	font-size: 16px;
	font-style: italic;
	font-weight: 300;
	margin: 0 0 0 0;
    text-align:center;
}

div.wp-caption.alignright img[class*="wp-image-"] {
	float: right;
}

div.wp-caption.alignright .wp-caption-text {
	padding-left: 10px;
}

img.wp-smiley,
.rsswidget img {
	border: 0;
	border-radius: 0;
	box-shadow: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

.wp-caption.alignleft + ul,
.wp-caption.alignleft + ol {
	list-style-position: inside;
}


.royalSlider{margin: 0 auto;}

.back-to-top{opacity: 0; cursor: pointer; line-height: 40px; text-align: center; padding: 0; margin: 0; position: fixed; z-index:1; bottom: 10px; right: 10px; font-size: 20px; background: #443664; width: 40px; height: 40px; color: #FFF;}

.home-content{width: 100%; max-width: 750px; margin: 50px auto 20px auto; font-size: 16px; font-family: 'Libre Baskerville', serif; color:#2d2d2d;}

.explore-index{text-decoration: none; color: #443664;}


@-ms-viewport {
	width: device-width;
}

@viewport {
	width: device-width;
}
@media screen and (min-width: 701px) {
.primary-navigation .nav-menu{display: block!important;}
}

@media screen and (min-width: 1300px) {
.logo{left:-100px; margin-right:-90px;}
#masthead.scrolled .logo{left: -26px !important;}

}
@media screen and (max-width: 1150px) {
	.primary-navigation li span{display:none;}
}

@media screen and (max-width: 1024px) {
	.blogroll li{width: 39px; line-height: 39px;}
	.blogroll li:nth-child(1) a, .blogroll li:nth-child(1) a:hover{background-position: -52px top;}
	.blogroll li:nth-child(2) a, .blogroll li:nth-child(2) a:hover{background-position: -157px top;}
	.blogroll li:nth-child(3) a, .blogroll li:nth-child(3) a:hover{background-position: -104px top}
	
}

@media screen and (max-width: 1000px) {
	.menu-item-46 a{text-indent:-10000px; background:url(images/home-icon.png) no-repeat center center; width:30px; background-size:24px auto;}
	
	.home-quote{ font-size:100%; padding-bottom:20px;}
	.summarize-posts{
	-webkit-column-count: 2; /* Chrome, Safari, Opera */
	    -moz-column-count: 2; /* Firefox */
	    column-count: 2}
	#masthead.scrolled .logo{width: 80px;}
	.content-area h2, .content-area figure, .content-area img{display: inline-block; width: 100%;}
	.content-area figure, .content-area p img{float: none; width: 60% !important; margin-left: 20% !important; margin-bottom: 20px !important;}
	.div.wpcf7 img.ajax-loader{float: none; width: 16px !important; margin-left: auto !important; margin-bottom: auto !important;}
	.content-area figure img, .category article img, .single article img{width: 100% !important; margin-left: 0% !important;}
	.search article img{width: 15% !important; margin-left: 0% !important;}
	.content-area .book-cover img{width: 100% !important; margin-left: 0% !important;}
	.search-box{display: none; }
	.home-content{padding-left: 5%;  padding-right: 5%; width: 90%;}
}

@media screen and (max-width: 800px) {
	.primary-navigation a{padding: 0 7px;}
	.primary-navigation{margin-left: 1% !important;}
	#masthead.scrolled .primary-navigation{margin-left: 2%;}
	.blogroll li{line-height:44px; width:44px;}
	.blogroll li:nth-child(1) a, .blogroll li:nth-child(1) a:hover{background-position:-57px top;}
	.blogroll li:nth-child(2) a, .blogroll li:nth-child(2) a:hover{background-position:-176px top;}
	.blogroll li:nth-child(3) a, .blogroll li:nth-child(3) a:hover{background-position:-117px top;}
	.blogroll li:nth-child(4) a, .blogroll li:nth-child(4) a:hover{background-position:-0px top;}
	
}

@media screen and (max-width: 700px) {
body{font-size:18px;}
h1{font-size:24px !important;}
h2, h1 span{font-size:18px !important;}
.home-quote p, #secondary, .search-box, .home-featured{display:none;}
#main-content{width:100%; float:none;}
.content-area, .primary-sidebar{padding:40px 0 50px 0;}
.collection-link{display:block; float:none; margin:0 auto 10px auto; padding:0;}
.book-cover{float:right !important; width:25% !important;}
.book-details{margin:0 !important;}
.book-details h1:after{width:50%;}
.home-quote{ font-size:80%; padding-bottom:10px;}
.home-blog-articles li div {height:none; max-height:500px;}
.home-blog-articles li, .home-blog-articles li:nth-child(n+4){width:96%; border-bottom:1px solid #ddd;}
.summarize-posts{
-webkit-column-count: 1; /* Chrome, Safari, Opera */
    -moz-column-count: 1; /* Firefox */
    column-count: 1}
.primary-navigation{padding: 0; float:none; position:initial; border-bottom: 0; margin: 0;}

.logo{width:96px; height:60px;}
#masthead{height: 60px;}
.site-main{margin-top: 60px;}
.menu-item-46 a{text-indent:0px; background:none; width:auto;}
.primary-navigation li span{display:inline-block;}
.primary-navigation .nav-menu {display: none; overflow: scroll; clear:both; background:rgba(238,238,238,1); border-bottom: thin solid #ccc;}
.primary-navigation li {display: block; position:relative; height:auto;}
.primary-navigation a {display: block;}

.primary-navigation ul ul {
background:none;
float: none;
clear:both;
position: relative;
top: auto;
left: 0;
width:100%;
}

.primary-navigation li li {border: 0;display: block;height: auto;}
.primary-navigation ul ul a {padding: 18px 12px;white-space: normal;width: auto;}
.menu-toggle {top:3px; display:block;}
.primary-navigation .menu-topnav-container{margin-top:0;}
#masthead.scrolled{height: 60px;}
#masthead.scrolled .logo{width: 52px;}
#masthead{height: 60px;}
#masthead .logo{width: 52px;}
.home-blog-articles li div{height: auto;}
.home-blog-articles li div p{margin-bottom: 50px;}
#masthead.scrolled .primary-navigation .menu-topnav-container{margin-top: 0px;}
.primary-navigation li li{width: 90%; padding-left: 10%;}
figure.alignleft, figure.alignright, figure.alignnone, figure.aligncenter, img.alignleft, img.alignright, img.alignnone, img.aligncenter{width: 96% !important; padding: 2% !important; margin: 0px 0px 20px 0px!important;}
.home-blog-articles{margin: 0px;}
.primary-navigation ul ul a:hover, .primary-navigation ul ul li.focus > a {
	background:transparent;
	}
.primary-navigation li{border-bottom: thin solid #ccc;}
.primary-navigation li li{border-bottom: thin solid #dedede;}
.primary-navigation li li:last-child{border-bottom: none;}
.primary-navigation li:first-child{border-top: thin solid #ccc;}
.search article img{width: 30% !important; margin-left: 0% !important;}
.toggledPage #masthead{ height:100%; position:relative;}
.toggledPage .site-main{margin-top: 0px;}


}

@media screen and (max-width: 500px) {
.slick-dots{display: none !important;}
.slick-slider{margin-bottom: 0px;}
#masthead.scrolled .logo{width: 52px;}
#masthead .logo{width: 52px;}
#masthead .wrapper{padding: 0px;}
.home-featured{display: none !important;}
.menu-toggle{right: 5px;}
.home-slider{padding: 0px;}
.home-slider .slider-image img{margin-left: auto; margin-right: auto;}
.home-quote span{font-size: 100%;}
.single-book #primary.content-area{margin-right: 0px;}
.home-slider .slider-image{padding: 10px 0px 10px 0px;}
.book-extras li a{padding-bottom: 10px; border-bottom: 1px solid #ccc;}
.book-extras li{margin: 5px 5px; border-right: none; padding: 10px;}
.book-extras{margin:10px 10px 10px -15px;}
.home-quote h2{padding: 0px 5%;}
.primary-navigation{margin-left: 0px !important;}
.primary-navigation a{padding: 0px 5%; width: 90%;}
.primary-navigation .nav-menu{overflow: hidden;}
.primary-navigation .menu-item-has-children > a:after, .primary-navigation .page_item_has_children > a:after{right: 5%;}
.royalSlider, .rsOverflow{width: 100% !important;}
.site-footer{padding-top: 340px;}
.site-footer #mc4wp_form_widget-2 label{width: 200px; margin: 0 auto;}
.site-footer #mc4wp_form_widget-2 .inputs{width: 90%; margin: 0 auto;}
.site-footer #mc4wp_form_widget-2 input, .site-footer #mc4wp_form_widget-2 input[type="submit"]{width: 100%; margin: 5px 0;}
}


