/*
Theme Name: You By You Books
Author: Stephanie Boucher of Applegreen Websites
Author URI: https://www.applegreenwebsites.com
Description: Theme developed for Anna Foster
Date started: May 2025, WP June 2025
Version: 1.0
*/


/*
	font-family: book antiqua, times, serif;
    font-family: 'Hind Siliguri', sans-serif;

*/



/*Reset info ===========================================================*/

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; }		
body {
		line-height: 1; }
ol, ul {
		list-style: none; }
	p {
		margin: 1.2em 0; /*returns normal margins to <p>, Applegreen */
		line-height: 160%;
		} 
/* giving <ul> a margin of 0 in the <nav> element is essential for the drop-down menu to work, if there is one. */


/* general styles  ==============================================*/

* { /* needed for mobile nav  */
  box-sizing: border-box;
}
body {

}

h1 {
	color: #003399;
	font-family: book antiqua, times, serif;
	font-weight: 600;
}
h2 {
	font-family: book antiqua, times, serif;
	text-align: left;
	color: #003399;
}

h3 {
	font-family: book antiqua, times, serif;
	text-align: left;
	color: #003399;
}


p, form label, table, .wp-caption-text, figcaption, #main li, footer li, blockquote {
	 color: #3c3c3c;
	 font-family: 'Hind Siliguri', sans-serif;
	 line-height: 160%;
	 font-size: 115%;
}
nav li a {
	font-family: 'Hind Siliguri', sans-serif;
	 font-size: 110%;
	 text-decoration: none;
}


a {
	color: #003399;
}
a:hover {
text-decoration: none;
}
.bold, strong, b {
	font-weight: bold;
}
.italic, em, i {
	font-style: italic;
}
sup {
    vertical-align: super;
    font-size: smaller;
} 
sub {
    vertical-align: sub;
    font-size: smaller;
} 
.clear {
		clear: both;
}
.offscreen { /* for skip navigation link */
	position:absolute;
	left:-10000px;
	top:auto;
	width:1px;
	height:1px;
	overflow:hidden;
}

/* mobile styles=========================================================*/

.header-container {
	background: #d4edfb;
}
header {
	padding-top: 5px;
}

.identity {
	margin: 0 auto;
	padding-bottom: 10px;
	padding-top: 10px;
	padding-right: 0.5%;
	padding-left: 0.5%;
	height: auto;
}
.identity-container {
	max-width: 1200px;
	margin: 0 auto;
}
.identity img {
	width: 100%;
}

p.site-title {
	text-indent: -9999px;
	margin: 0;
	height: 0;
}
p.site-description {
	margin: -11px 0 0 2%;
	font-weight: 600;
}

.logo-pic {
	display: none;
}


/* alternative navigation */

.nav-container{
	background: transparent;
	margin-top: -10px;
}

.primary-navigation {
  clear: both;
  margin: 0 auto;
  min-height: 46px;
  position: relative;
  max-width: 1200px;
}
.primary-navigation a {
  padding: 15px 13px;
  color: #000;
    border-top: 1px solid #fff;
  display: block;
  -webkit-transition: background-color 250ms ease;
  transition: background-color 250ms ease;
  background: #e7d9d4; /* top nav bg in mobile view */
  font-weight: 600;
}
.primary-navigation a:hover {
  background-color: #e1d0c9; /* top nav hover */
    padding: 15px 13px;
}
/* the following item is needed when the nav has a transparent bg, to cover over the main content when the hamburger is in use  */
.primary-navigation.toggled-on {
	background: #e1d0c9; 
}/* to contrast when hamurger is in use */


nav .current-menu-item > a,
nav .current-menu-ancestor > a,
nav .current_page_item > a,
nav .current_page_ancestor > a {
	background-color: #e1d0c9; /* current page */
	color: #000;
}

	body#home .home,
	body#about .about,
	body#blog .blog,
	body#testimonials .testimonials,
	body#portfolio .portfolio,
	body#services .services,
	body#plant-gallery .plant-gallery,
	body#extra .extra /*  nonexistant page helps with navigation */
	nav li a { /* specify nav li a, not just a, so that only the top-level link remains highlighted if using a drop-down. Remove the classes on the drop-down menu links, but reinstate them for the mobile menu if doing the Brightside model */
		background-color: #e1d0c9; /* current page */
		color: #000;
	} 

.primary-navigation .screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  overflow: hidden;
  position: absolute !important;
  height: 1px;
  width: 1px;
}
.primary-navigation .menu-toggle {
  background-color: #003399; /* hamburger background colour */
  border-radius: 0;
  cursor: pointer;
  width: 48px;
  height: 46px;
  margin: 0;
  overflow: hidden;
  padding: 0;
  position: absolute;
  top: 0;
  right: 0;
  text-align: center;
  width: 46px;
  -webkit-transition: background-color 250ms ease;
  transition: background-color 250ms ease;
  outline: 0;
}
.primary-navigation .menu-toggle:hover {
  background-color: #1c92da;
}
.primary-navigation .menu-toggle:before {
  color: #fff;
  content: "\2630"; /* lines of the hamburger */
  padding: 10px 16px 25px;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-size: 18px;
  text-decoration: inherit;
  vertical-align: text-bottom;
}
.primary-navigation .nav-menu  {
  display: none;
  width: calc(100% - 48px); /* cancelled later to allow right-justified menu */
}
.primary-navigation .nav-menu  li.menu-item-has-children {
  transition: all 250ms ease;
  position: relative;
}
.primary-navigation .nav-menu  li.menu-item-has-children:before {
  content: '';
  display: block;
  color: red;
  background: url(https://wordpress.youbyyou.co.uk/wp-content/uploads/2025/06/drop-down-arrow-dark.png) center no-repeat;
  position: absolute;
  width: 48px;
  height: 46px;
  line-height: 46px;
  tranistion: transform 250ms ease;
  top: 0;
  right: 0;
  background-color: #e1d0c9;
  cursor: pointer;
}
.primary-navigation .nav-menu  li.menu-item-has-children.open:before {
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}
.primary-navigation .nav-menu  li.menu-item-has-children > a {
  width: calc(100% - 78px);
}
.primary-navigation .nav-menu  .sub-menu {
  display: none;
}
.primary-navigation .nav-menu  .sub-menu a { /* drop-down children */
  background-color: #2d73ba;
   color: #fff;
  padding: 15px 30px;
  font-weight: 400;
}
.primary-navigation .nav-menu  .sub-menu a:hover { /*drop-down hover */
  background-color: #1c92da;
}
.primary-navigation.toggled-on .menu-toggle {
  background-color: #444;
}
/* end alternative navigation */


#main {
	background-color: #fff;
}

.home-content {
	max-width: 1200px;
	margin: 0 auto;
	padding: 10px 4%;
}

h1 {
	font-size: 160%;
	padding-top: 15px;
	margin-bottom: 30px;
	line-height: 135%;
    text-align: center;
}

h2 {
	font-size: 150%;
	line-height: 140%;
}

.intro-text {
	margin: 0 auto;
	padding: 10px 1% 20px 1%;
	border: 1px solid #c4d6a2;
	background: #f2f9e4;
	border-radius: 3px;
}

h1.blog-title {
	margin-bottom: 0;
}

h2.entry-title a {
	text-decoration: none;
	color: #000;
}
h2.entry-title a:hover {
	text-decoration: underline;
    color: #3c3c3c;
}

blockquote {
	padding: 12px 2%;
	background: url(https://wordpress.youbyyou.co.uk/wp-content/uploads/2025/06/parchback.jpg) #e1d0c9;
	width: 80%;
	border: 1px solid #dbdb95;
	border-radius: 3px
}
blockquote p {
	font-family: book antiqua, times, serif !important;
	color: #000;
	font-size: 110%;
	margin: 0.5em 0;
}

.how-works-container {
	background: #e7d9d4
}
.how-works-container p {
	font-size: 110%;
}

.post-content {
	margin: 30px 0;
	border-bottom: 1px solid #dedede;
	padding-bottom: 10px;
}
.post-content:last-of-type {
	border-bottom: none;
}
.blog-pic {
	width: 80%;
	border-radius: 3px;
}

/* search box styling */
.search-box {
	margin-top: 4px;
	float: left;
	margin-bottom: 6px;
	display: none;
}
input[type="search"] {
	border: 1px solid #b1b1b1;
	border-radius: 3px;
	height: 26px;
	padding-left: 4px;
}
input[type="submit"] {
	border-radius: 3px;
	height: 24px;
	background: #003399;
	color: #fff;
	font-size: 95%;
	font-family: font-family: 'Hind Siliguri', sans-serif !important;
	border: 1px solid #003399;
	padding: 0 4% 2px 4%;
}
input[type="submit"]:hover {
	background: #d4edfb;
	color: #000;
	border: 1px solid #003399;
	transition: all 0.5s ease-out;
}

/* Numeric pagination styles */
.navigation li a,
.navigation li a:hover,
.navigation li.active a,
.navigation li.disabled {
    color: #fff;
    text-decoration:none;
}
 
.navigation li {
    display: inline;
}
.navigation li::before {
  content: none !important;
}
 
.navigation li a,
.navigation li a:hover,
.navigation li.active a,
.navigation li.disabled {
    background-color: #1c92da; /* resting state */
    border-radius: 3px;
    cursor: pointer;
    padding: 12px;
    padding: 0.75rem;
}
 
.navigation li a:hover,
.navigation li.active a {
    background-color: #003399; /* active/hover state */
}


/* home selected books section =====*/
.home-books {
	background: #d4edfb;
}

.home-books-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 10px 1%;
}
#thumbnails-container {
	width: 100%;
	text-align: center;
	margin-top: 10px;
}
.thumbnail {
	height: 170px;
	width: auto;
}

#thumbnails-container .book-thumbnail {
	display: inline-block !important;
	margin: 2px 0.6%;
	padding: 2px;
	text-align: center;
	margin-bottom: 10px;
	vertical-align: top;
}

.right {
	text-align: right;
	margin: 0 0.5em;
	font-style: italic; 
}

/* == end home selected books section =====*/


/* === our books ===================================*/
#our-books-container {
	margin: 0 auto;
	padding: 10px 0 5px 0;
	width: 100%;
	text-align: center;
	display: flex;
	flex-wrap: wrap;
}


.featured-image img {
	width: 60%;
	border: 1px solid #dedede;
	margin: 3px 0 7px 0;
}


#our-books-container .category-buttons {
	padding: 10px 1.5% 5px 1.5%;
	text-align: center;
	vertical-align: top;
	border-radius: 4px;
	width: 44%;
	margin: 5px 2% 10px 2%;
	border: solid 1px #cbcbcb;
	box-shadow: 1px 1px 5px #dedede, -1px 1px 5px #dedede, 1px -1px 5px #dedede, -1px -1px 5px #dedede;
}

#our-books-container h2 {
	margin-bottom: 5px;
	margin-top: 5px;
	text-align: left;
	font-size: 115%;
	text-align: center;
	 font-family: 'Hind Siliguri', sans-serif;
	 line-height: 125%;
	 overflow-wrap: break-word;
}

#our-books-container p {
	text-align: center;
	font-size: 105%;
	margin: 0.5em 0;
	overflow-wrap: break-word;
	line-height: 120%;
}

/* === end of our books ===================================*/

/* books for sale ============*/

#booksale-container {
	width: 100%;
	text-align: left;
	margin: 20px auto 30px auto;
}
.thumbnail {
	height: 250px;
	width: auto;
}

#booksale-container .book-thumbnail {
	display: inline-block;
	margin: 2px 1.5%;
	padding: 2px 0;
	text-align: center;
	margin-bottom: 20px;
	vertical-align: top;
}

#booksale-container .book-thumbnail p {
	font-size: 100% !important;
	line-height: 115%;
	margin-top: 0.4em;
	margin-bottom: 0.4em;
}
figure.books a:hover {
	opacity: 0.8;
}

/* == end of books for sale ========*/

/* sidebar ================= */

.sidebar {
	margin-top: 50px;
}

.widget {
	padding: 12px 2%;
	background: url(https://wordpress.youbyyou.co.uk/wp-content/uploads/2025/06/parchback.jpg) #e1d0c9;
	border: 1px solid #dbdb95;
	border-radius: 3px;
	margin-bottom: 30px;
}

.widget-title {
	color: #003399;
	font-size: 140%;
	margin-bottom: 20px;
}
.widget p {
	font-size: 115%;
	line-height: 145%;
	margin-top: 1em;
	margin-bottom: 2px;
}
.widget-pic {
	border-radius: 2px;
}

#main ul,
#main ol {
	margin: 1.2em 0 1.2em 7%;
}
#main li {
	line-height: 145%;
	margin-bottom: 4px;
}
#main ul li::before {
  content: "\25CF"; /* circle */ 
  color: #003399;
  display: inline-block; 
  width: 1em;
  margin-left: -1.4em;

}
#main ol li {
	list-style-type: roman;
}

.shadow {
	box-shadow: 5px 5px 7px #888;
}
.left,
.right {
	margin: 10px 2% 20px 2%;
}

p.meta {
	font-size: 105%;
	color: #6f6f6f;
	margin-top: 4px !important;
	font-weight: 300;
}
.four-oh-four {
	font-size: 700%;
	color: #003399;
	line-height: 100%;
	margin: 0;
	font-family: book antiqua, times, serif;
	letter-spacing: 0.02em;
}
.center {
	text-align: center;
}

.breadcrumbs {
	font-size: 95%;
	color: #6f6f6f;
	letter-spacing: 0.03em;
	margin-top: 0.5em;
	margin-bottom: 0;
}

hr.wp-block-separator {
	clear: both;
	border: 1px solid #dedede !important; /* border gives hr its solid colour */
	margin: 10px 0;
}

.wp-container {
	display: flex;
	gap: 0.5em;
	flex-wrap: wrap;
	margin-bottom: 15px;
}


.wp-block-button__link {
	background: #003399;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	text-decoration: none;
	word-break: break-word;
	padding: 10px 23px 10px 20px;
	font-family: 'Hind Siliguri', sans-serif;;
	border-radius: 3px;
	letter-spacing: 0.03em;
	-webkit-transition: background-color 250ms ease;
	transition: background-color 400ms ease;
}
.wp-block-button__link {
    font-weight: 600;
}
.wp-block-button__link::after {
	border-style: solid;
	border-width: 0 0 0.15em 0.15em;
	content: '';
	display: inline-block;
	height: 0.4em;
	width: 0.4em;
	left: 0.4em;
	position: relative;
	top: 0.2em;
	transform: rotate(-135deg);
	vertical-align: top;
	-webkit-transition: left 250ms ease;
	transition: left 250ms ease;
}
.wp-block-button__link:hover {
	background: #004ce4;
	-webkit-transition: background-color 250ms ease;
	transition: background-color 400ms ease;
}
.wp-block-button__link:hover::after {
	left: 0.6em;
	-webkit-transition: left 250ms ease;
	transition: left 250ms ease;
	
}

.wp-block-columns {
	padding: 30px 40px;
	width: 90%;
	border-radius: 10px;
	margin: 0 auto;
}
.wp-block-column blockquote {
	width: 100% !important;
	background: none !important;
	border: none !important;
}

.news-strip {
	margin: 0 auto;
	padding: 5px 0 3px 0;
	width: 100%;
	background: #e1d0c9;
}
.news-strip-limiter {
	max-width: 1200px;
	margin: 0 auto;
	padding-right: 2%;
	padding-left: 2%;
}
.news-strip p {
	font-family: book antiqua, times, serif;
	font-size: 120%;
	color: #000;
	margin: 0.2em 0;
}
.news-strip a {
	text-decoration: none;
}
.news-strip a:hover {
	text-decoration: underline;
}

.news-strip .contacts {
	text-align: center;
}
.news-strip img {
	margin: 0 1%;
	vertical-align: middle;
}
/* WP Galleries===================================================*/

.gallery-item {
	display: inline-block;
	text-align: left;
	vertical-align: top;
	margin: 0 0 1.5em;
	padding: 0 0.5em 0 0;
	width: 50%;
}

.gallery-columns-1 .gallery-item {
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-item a,
.gallery-item a:hover,
.gallery-item a:focus,
.widget-area .gallery-item a,
.widget-area .gallery-item a:hover,
.widget-area .gallery-item a:focus {
	-webkit-box-shadow: none;
	box-shadow: none;
	background: none;
	display: inline-block;
	max-width: 100%;
}

.gallery-item a img {
	display: block;
	-webkit-transition: -webkit-filter 0.2s ease-in;
	transition: -webkit-filter 0.2s ease-in;
	transition: filter 0.2s ease-in;
	transition: filter 0.2s ease-in, -webkit-filter 0.2s ease-in;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.gallery-item a:hover img,
.gallery-item a:focus img {
	-webkit-filter: opacity(60%);
	filter: opacity(60%);
}

.gallery-caption {
	display: block;
	text-align: left;
	padding: 0 10px 0 0;
	margin-bottom: 0;
}

/* WP images ==================================================*/

img,
video {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

img.alignright,
img.alignleft,
img.aligncenter,
.alignright,
.alignleft,
.aligncenter { 
	width: 100%; /* prevents text riding up next to photo on very small screens */
}
.home-pic img {
	display: block;
	max-width: 50% !important;
}

/* WP block styles =====================================*/
.wp-caption { /* caption div can force image out of its container if not added here */
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}
.wp-block-image figcaption {
	font-style: italic;
	font-size: 100%;
}


.price-table {
	margin-top: 20px;
	margin-bottom: 20px;
	padding-bottom: 0;
	border: 1px solid #f0f0f0;
}

.wp-block-table td, th {
	padding: 0.4375em;
	text-align: left;
	color:  #3c3c3c;
}

.wp-block-table table, th, td {
	border-collapse: separate;
	border-spacing: 0;
	border-width: 1px 0 0 1px;
	margin: 0 0 1.75em;
	table-layout: fixed;
	word-wrap: break-word;
}


footer {
	background: url(https://wordpress.youbyyou.co.uk/wp-content/uploads/2025/06/parchback.jpg) #e1d0c9;
	clear:both;
	padding-top: 10px;
}

.footer-text-container {
	margin-left: auto;
	margin-right: auto;
	max-width: 1200px;
	padding: 4px 4%;
    text-align: center;
	clear: both;
}

footer a,
footer p,
footer h2 {
	color: #3c3c3c;
	text-decoration: none;
}
footer a:hover {
	text-decoration: underline;
}

footer li {
	padding-bottom: 5px;
	margin: 0;
	font-size: 95%;
	letter-spacing: 0.02em;
}

#footer-table {
	clear: both;
	text-align: center;
	margin-top: 10px;
	padding: 4px 0.5%;
	display: flex;
	flex-wrap: wrap;
}

#footer-table .column {
	width: 85%;
	margin: 5px auto;
	border: 1px solid #c7c7c7;
	background: rgba(255, 255, 255, 0.5);
	padding: 10px;
	vertical-align: top;
	position: relative;
	border-radius: 3px;
	border: 1px solid #fff;
}

.column h2 {
	margin-bottom: 20px;
	font-size: 120%;
}
.column img {
	width: 100%;
}
.column p,
.column ul {
	text-align: left;

}
.column p,
footer li {
	padding-bottom: 7px;
	margin: 0;
	font-size: 110%;
	letter-spacing: 0.02em;
}

.footer-text-container p {
	font-size: 100%;
	letter-spacing: 0.02em;
}
footer li {
	line-height: 125%;
}
footer ul {
	margin-bottom: 10px;
}
.footer-block-container img {
	max-width: 100%;
	display: block;
	margin-bottom: 15px;
}
p.low-footer {
	font-size: 95%;
}
.footer-pipe {
	margin-left: 1%;
	margin-right: 1%;
	color: #000;
}



/*================ media queries for larger screen sizes====*/

@media screen and (min-width:500px) {
	

	h1 {
		font-size: 180%;
		margin-top: 15px;
		line-height: 140%;
	}
	
	 /* Gallery */
	
	img.alignright,
	img.alignleft,
	img.aligncenter,
	.alignright,
	.alignleft,
	.aligncenter {
		display: block; 
		margin: 20px auto;
		width: auto;
	}
}

@media screen and (min-width:600px) {
	
	
    h1.home-title {
        text-align: left;
    }
	
    .post-content-container {
        float: left;
		width: 60%;
		margin-right: 4%;
    }

    .sidebar {
        float: left;
		width: 30%;
		padding-left: 3%;
		margin-top: 30px;
    }

	.widget-pic {
		width: 100%;
	}
	
	#category-container{
		padding: 20px 0 10px 0;
	}
	#category-container h2 {
		font-size: 140%;
	}
	
	#our-books-container .category-buttons {
		margin: 10px 2%;
		width: 29%;
	}
	.featured-image img {
		width: 55%;
	}
	
	.left {
		float: left;
		margin: 10px 3% 30px 2% !important;
	}
	.right {
		float: right;
		margin: 10px 2% 30px 3%;
	}
	.range-right {
	float: right;
}

		/* Gallery Columns */

	.gallery-item {
		max-width: 25%;
	}

	.gallery-columns-1 .gallery-item {
		max-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%;
	}
}

@media screen and (min-width:765px) {
		
	.identity img {
		width: auto;
	}
	#our-books-container .category-buttons {
		margin: 10px 2%;
		width: 21%;
	}
	.featured-image img {
		width: 60%;
	}
	body.single .featured-image img {
		width: 40%;
	}
	
	#footer-table .column {
		margin: 10px 2%;
		width: 29%;
	}
}


@media screen and (min-width:900px) { /* navigation changes */
		
  
  /* alternative nav */
   .menu-toggle {
    display: none;
  }
  .primary-navigation {
	  width: auto;
	  margin-bottom: -2px; /* closes a gap below */
  }
 
  .nav-menu  {
		text-align: right;
		letter-spacing: 0.01em;
	}
	ul.sub-menu {
		text-align: left;
		font-size: 95%;
		margin-left: 1px; /* makes up for loss of left border */
	}
  

  .primary-navigation .nav-menu  {
    display: block !important;
	width: 100%; /* cancels a setting on mobile view */
  }

   .primary-navigation .nav-menu ul:not(.sub-menu) > li { 
    display: inline-block;
	margin-right: -3px; /* this cancels a spacing between the tab elements */
  }
  .primary-navigation .nav-menu ul:not(.sub-menu) > li a {
	 padding-right: 20px;
	 padding-left: 20px;
	  }
  .primary-navigation .nav-menu ul:not(.sub-menu) > li a { 
	   border-left: 1px solid #fff;
  }
	.primary-navigation .nav-menu ul:not(.sub-menu) > li:last-of-type a { 
	  border-right: 1px solid #fff;
	  border-top-right-radius: 3px;
  }
  .primary-navigation .nav-menu ul:not(.sub-menu) > li:first-of-type a { 
	  border-right: 1px solid #fff;
	  border-top-left-radius: 3px;
	  margin-right: -4px; /* this cancels a spacing between the tab elements */
  }
  
  .primary-navigation .nav-menu  li.menu-item-has-children > a {
    width: auto;
  }
  
   
   nav .menu-item-has-children a::after { /* adds a chevron to top menu items with drop-downs */
		border-style: solid;
		border-width: 0 0 0.15em 0.15em;
		content: '';
		display: inline-block;
		height: 0.4em;
		width: 0.4em;
		left: 0.6em;
		position: relative;
		top: 0.2em;
		transform: rotate(-45deg);
		vertical-align: top;
		/* can't apply a text-shadow to a border element. Use genericons, see code above, if it really matters */
	}	 
	
	nav .menu-item-has-children li a::after { /* cancels chevron from actual drop-down items */
		border-style: none;
	}
	/* NOTE: sometimes the chevron code makes the navigation jump about. Remove if it's a problem */
  
  
  .primary-navigation .nav-menu  li.menu-item-has-children:before {
    display: none;
  }
  .primary-navigation .nav-menu  li.menu-item-has-children:hover .sub-menu {
    position: absolute;
    display: block;
   z-index: 99;
    min-width: 100px;
  }
  .primary-navigation .nav-menu  li.menu-item-has-children:hover .sub-menu a {
    white-space: nowrap;
	border-top: none; /* cancels border that applies to top-level elements */
  }
  
	blockquote {
		width: 60%;
	}
  h1 {
		margin-top: 10px;
		line-height: 145%;
		font-size: 200%;
	}

	h1.blog-title {
		padding-top: 20px;
		text-align: left;
	}

	#category-container{
		padding: 40px 0 30px 0;
	}
	#category-container .category-buttons {
		width: 30%;
		margin: 0 1% 15px 1%;
	}
	#category-container h2 {
		margin-top: 0.2em;
	}
	
	p.site-description {
		margin: -14px 0 10px 2%;
	}
	.news-strip p {
		font-size: 130%;
	}
	.news-strip .contacts {
		float: right;
		min-width: 290px;
		text-align: right;
	}
	.news-strip img {
		margin: 0 0 0 1%;
	}
	
	/* Gallery Columns */

	.gallery-columns-5 .gallery-item {
		max-width: 20%;
	}
	.gallery-columns-6 .gallery-item {
		max-width: 17%;
	}
	.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%;
	}
	
	/* images */
	
	img.alignright { float: right; margin: 0 0 0.5em 30px; }
	img.alignleft { float: left; margin: 0 2em 1em 0; }
	img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
	.alignright { float: right; margin: 0 0 0.5em 30px;}
	.alignleft { float: left; }
	.aligncenter { display: block; margin-left: auto; margin-right: auto; }

}

@media screen and (min-width: 1000px) {
	
	#our-books-container .category-buttons {
		margin: 10px 1% 20px 1%;
		width: 18%;
	}
	.featured-image img {
		width: 65%;
	}
}

@media screen and (min-width: 1200px) {
	.logo-pic {
		margin: 0;
		margin-top: -20px;
	}
	
	
	.primary-navigation .nav-menu ul:not(.sub-menu) > li a {
		 padding-right: 35px;
		 padding-left: 35px;
	}

	#category-container h2 {
		font-size: 150%;
	}
	.page-container {
		margin-top: 10%;
	}
			
	.footer-text-container {
		padding: 10px 0;
	}
}


@media screen and (min-width: 1210px) {
	  #main,
	  .news-strip-limiter,
	 .home-books-container
	 .home-content {
		padding-right: 0;
		padding-left: 0;
	}
	

}