.wpcf7 .screen-reader-response {
	position: absolute;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	word-wrap: normal !important;
	word-break: normal !important;
}

.wpcf7 .hidden-fields-container {
	display: none;
}

.wpcf7 form .wpcf7-response-output {
	margin: 2em 0.5em 1em;
	padding: 0.2em 1em;
	border: 2px solid #00a0d2; /* Blue */
}

.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.resetting .wpcf7-response-output,
.wpcf7 form.submitting .wpcf7-response-output {
	display: none;
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: #46b450; /* Green */
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
	border-color: #dc3232; /* Red */
}

.wpcf7 form.spam .wpcf7-response-output {
	border-color: #f56e28; /* Orange */
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
	border-color: #ffb900; /* Yellow */
}

.wpcf7-form-control-wrap {
	position: relative;
}

.wpcf7-not-valid-tip {
	color: #dc3232; /* Red */
	font-size: 1em;
	font-weight: normal;
	display: block;
}

.use-floating-validation-tip .wpcf7-not-valid-tip {
	position: relative;
	top: -2ex;
	left: 1em;
	z-index: 100;
	border: 1px solid #dc3232;
	background: #fff;
	padding: .2em .8em;
	width: 24em;
}

.wpcf7-list-item {
	display: inline-block;
	margin: 0 0 0 1em;
}

.wpcf7-list-item-label::before,
.wpcf7-list-item-label::after {
	content: " ";
}

.wpcf7-spinner {
	visibility: hidden;
	display: inline-block;
	background-color: #23282d; /* Dark Gray 800 */
	opacity: 0.75;
	width: 24px;
	height: 24px;
	border: none;
	border-radius: 100%;
	padding: 0;
	margin: 0 24px;
	position: relative;
}

form.submitting .wpcf7-spinner {
	visibility: visible;
}

.wpcf7-spinner::before {
	content: '';
	position: absolute;
	background-color: #fbfbfc; /* Light Gray 100 */
	top: 4px;
	left: 4px;
	width: 6px;
	height: 6px;
	border: none;
	border-radius: 100%;
	transform-origin: 8px 8px;
	animation-name: spin;
	animation-duration: 1000ms;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}

@media (prefers-reduced-motion: reduce) {
	.wpcf7-spinner::before {
		animation-name: blink;
		animation-duration: 2000ms;
	}
}

@keyframes spin {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

@keyframes blink {
	from {
		opacity: 0;
	}

	50% {
		opacity: 1;
	}

	to {
		opacity: 0;
	}
}

.wpcf7 [inert] {
	opacity: 0.5;
}

.wpcf7 input[type="file"] {
	cursor: pointer;
}

.wpcf7 input[type="file"]:disabled {
	cursor: default;
}

.wpcf7 .wpcf7-submit:disabled {
	cursor: not-allowed;
}

.wpcf7 input[type="url"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"] {
	direction: ltr;
}

.wpcf7-reflection > output {
	display: list-item;
	list-style: none;
}

.wpcf7-reflection > output[hidden] {
	display: none;
}

/*
Theme Name: Jane Hammett
Author: Stephanie Boucher of Applegreen Websites
Author URI: https://www.applegreenwebsites.com
Description: Theme developed for Jane Hammett
Date started: March 2020
Version: 1.0
*/

/*
	font-family: 'Open Sans', 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, figcaption {
		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 for tenterden np =======================================*/

* { /* needed for mobile nav  */
  box-sizing: border-box
}
body {
		background: #fff
}

h1, h2 {
	color: #645299;
	text-align: center;
	font-family: 'Open Sans', sans-serif;
}
body.page-template-page-fiction h1,
body.page-template-page-fiction h2 {
	color: #4a83a1;
}
h2 {
	text-align: left;
}

h3 {
	color: #645299;
	font-family: 'Open Sans', sans-serif;

}
body.page-template-page-fiction h3 {
	color: #4a83a1;
}

p, form label, table, .wp-caption-text, figcaption, .home-content li {
	 color: #444;
	 font-family: 'Open sans', sans-serif;
	 line-height: 150%;
	 font-size: 105%;
}
.wp-caption-text,
.featured-image-caption {
	 color: #444;
	 font-family: 'Open sans', sans-serif;
	font-size: 90%;
}


nav li a {
	 font-family: 'Open Sans', sans-serif;
	 font-size: 110%;
	 text-decoration: none;
}

table {
	color: #000;
}
a {
	color: #645299;
}
body.page-template-page-fiction .home-content a {
	color: #4a83a1;
}
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,
body.page-template-page-fiction header {
	max-width: 1100px;
	margin: 0 auto;
	padding: 4px 0 10px 0;
}

header p.site-title {
	text-indent: -9999px;
	background: url(http://jane-hammett.co.uk/wp-content/uploads/jane-hammett-logopurple-mobile.jpg) center center no-repeat;
	min-height: 170px;
	max-width: 620px;
	background-size: contain;
	padding-bottom: 1%;
	margin: 0;
}
body.page-template-page-fiction header p.site-title {
	background: url(http://jane-hammett.co.uk/wp-content/uploads/jane-hammett-logoblue-mobile.jpg) center center no-repeat;
	min-height: 170px;
	max-width: 620px;
	background-size: contain;
	padding-bottom: 1%;
	margin: 0;
}


/* alternative navigation */

.nav-container{
	background: #757575;
}

.primary-navigation {
  clear: both;
  margin: 0 auto;
  min-height: 46px;
  position: relative;
  max-width: 1100px;
  background: #757575;
}
.primary-navigation a {
  padding: 15px 13px;
  color: #fff;
  display: block;
  -webkit-transition: background-color 250ms ease;
  transition: background-color 250ms ease;
 border-top: 1px solid #868686; /* whole border here can created boxed nav items */
}
.primary-navigation a:hover {
  background-color: #645299; /* top nav hover */
    padding: 15px 13px;
}


nav .current-menu-item > a,
nav .current-menu-ancestor > a,
nav .current_page_item > a,
nav .current_page_ancestor > a {
	background-color: #645299; /* Current page */
}

body.page-template-page-fiction nav .current-menu-item > a,
body.page-template-page-fiction nav .current-menu-ancestor > a,
body.page-template-page-fiction nav .current_page_item > a,
body.page-template-page-fiction nav .current_page_ancestor > a {
	background-color: #4a83a1; /* Current page */
	color: #fff;
}


.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: #6b6b6a; /* hamburger background colour */
  border-radius: 0;
  cursor: pointer;
  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: #444;
}
.primary-navigation .menu-toggle:before {
  color: #fff;
  content: "\2630";
  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);
}
.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://jane-hammett.co.uk/wp-content/uploads/drop-down-arrow.png) center no-repeat;
  position: absolute;
  width: 48px;
  height: 46px;
  line-height: 46px;
  tranistion: transform 250ms ease;
  top: 0;
  right: 0;
  background-color: rgba(100, 82, 153, 1);
  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: #4a83a1;
   border-top: 1px solid #6899b3;
  padding: 15px 30px;
  font-size: 95%;
  letter-spacing: 0.02em;
}
.primary-navigation .nav-menu  .sub-menu a:hover { /*drop-down hover */
  background-color: #9b8cc0;
     border-top: 1px solid transparent;
}
.primary-navigation.toggled-on .menu-toggle {
  background-color: #444;
}
/* end alternative navigation */

#main {
	margin: 0 auto;
	 background-color: #fff;
	  padding: 20px 4%;
	  max-width: 1100px;
}


h1 {
	font-size: 160%;
	margin-top: 15px;
	margin-bottom: 30px;
	line-height: 135%;
}
h2 {
	font-size: 130%;
	line-height: 140%;
}
h1.page-title {
	text-align: left;
	margin-bottom: 20px;
}
h1.single-title {
	text-align: left;
	margin-bottom: 6px;
}
p.meta,
p.breadcrumbs {
	margin: 0;
	font-size: 100%;
	color: #777 !important;
}

.centre-pic img {
	width: 90%;
	margin: 0 auto;
	padding: 20px 0 10px 0;
	display: block;
}
.featured-image-caption {
	width: 90%;
	margin: 0 auto;
	padding-bottom: 30px;
	display: block;
}

.text-pic {
	float: left;
	margin: 10px 3% 10px 0;
}

blockquote {
	font-style: italic;
	border-left: 9px solid #9589bd;
	padding: 0 0.3em 0.3em 1em;
	width: 85%;
	margin: 30px 0 30px 6%;
}
blockquote p,
.blockquote-footer p {
	margin: 0;
}
blockquote:nth-of-type(even) {
	border-left: 9px solid #8caac0;
}
.blockquote-footer p {
	color: #585857;
	font-size: 90%;
	font-family: 'Open Sans', sans-serif;
	font-style: normal;
	font-weight: 300;
	padding-top: 6px;
}
.blockquote-footer p:before {
	content: '\2014';
	padding-right: 4px;
}

/* portfolio images ========*/

h2.collection-title {
	margin-bottom: 20px;
}

#thumbnails-container {
	width: 100%;
	text-align: center;
}
.thumbnail {
	/*width: 100%;*/
	height: 160px;
	width: auto;
}

#thumbnails-container .book-thumbnail {
	display: inline-block;
	margin: 2px 0.5%;
	padding: 2px;
	text-align: center;
	margin-bottom: 20px;
	vertical-align: top;
}

.wp-image-22 { /* applegreen logo */
	vertical-align: middle;
}

/* sidebar ================= */
h2.entry-title a {
	text-decoration: none;
}
h2.entry-title a:hover {
	text-decoration: underline;
}
.post-content {
	margin: 30px 0;
	border-bottom: 1px solid #dedede;
}
.post-content:last-of-type {
	border-bottom: none;
}

.sidebar {
	margin-top: 50px;
}
.widget {
	background: #f5f5f5;
	padding: 20px 5% 20px 5%;
	border-top: 2px solid #645299;
	border-bottom: 2px solid #4a83a1;
	margin-bottom: 40px;
}
.widget-title {
	margin-bottom: 10px;
	font-size: 110%;
}
.widget p {
	font-size: 90%;
}
.widget a {
	text-decoration: none;
}
.widget a:hover {
	text-decoration: underline;
}
.widget-pic {
	border-radius: 2px;
}
.sidebar ul li {
	line-height: 145%;
	margin-bottom: 6px;
	font-size: 90%;
	list-style-type: disc;
	vertical-align: middle;
	font-family: 'open sans';
	color: #444;
}


#main ul {
	margin-left: 3%;
	margin-top: 1.2em;
}
#main ol {
	margin-left: 5%;
	margin-top: 1.2em;
}
.home-content ul li {
	line-height: 145%;
	margin-bottom: 6px;
	font-size: 100%;
	background: url(https://jane-hammett.co.uk/wp-content/uploads/bird-purple-20.png) 3px 3px no-repeat transparent;
	padding: 0 0 4px 26px;
	vertical-align: middle;
}

body.page-template-page-fiction #main ul li {
	background: url(https://jane-hammett.co.uk/wp-content/uploads/bird-teal-20.png) 3px 3px no-repeat transparent;
}

#main ol li {
	line-height: 145%;
	margin-bottom: 6px;
	font-size: 100%;
	list-style-type: roman;
	vertical-align: middle;
}

.blog-title {
	text-align: left;
}

/* contact form ===========*/

form input:not(.wpcf7-submit) {
	width: 80%;
	height: 26px;
	border: solid 1px #5c5c5c;
	border-radius: 2px;
}
form textarea {
	width: 80%;
	border: solid 1px #5c5c5c;
	border-radius: 2px;
}
input.wpcf7-submit {
	color: #fff;
	background-color: #645299;
	border-radius: 3px;
	padding: 6px 18px 6px 18px;
	min-height: 30px;
	border: none;
	font-size: 110%;
}
input.wpcf7-submit:hover {
	background-color: #4a83a1;
}

/* footer columns ============================*/
#css-table {
	clear: both;
	border-collapse: separate;
	border-collapse: separate;
    border-spacing: 15px;
	padding-top: 20px;
}

#css-table .topic-table {
	width: 100%;
	margin: 20px auto 0 auto;
	padding: 0 0 10px 0;
	vertical-align: top;
	padding: 10px 2% 10px 2%;
}
.topic-table h3 {
	text-align: left;
	font-size: 120%;
	margin-bottom: 15px;
	padding: 5px 0;
}
.topic-table p {
	text-align: left;
	color: #333;
	font-size: 95%;
	margin: 0.5em 0;
}
.topic-table a {
	color: #333;
}
.accreditation {
	display: block;
	margin-bottom: 8px;
}

/* 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 { 
	display: block; 
	margin: 20px auto;
}

/* WP captions and tables =====================================*/
.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-table table {
	width: 100%;
}
.wp-block-table td, th {
	padding: 0.4375em;
	text-align: left;
}

.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;
	border: solid 1px #d1d1d1;
}

footer {
	clear: both;
	margin-top: 20px;
	background: #e5e5e5;
	min-height: 200px;
}
.footer-text-container {
	margin: 0 auto;
	max-width: 1100px;
}

.footer-pipe {
	margin-left: 1%;
	margin-right: 1%;
}


/*================ media queries for larger screen sizes====*/


@media screen and (min-width:350px) {
  
}

@media screen and (min-width:500px) {

	h1 {
		font-size: 180%;
		margin-top: 15px;
		line-height: 140%;
	}
		
}

@media screen and (min-width:600px) {
	
	header,
	body.page-template-page-fiction header {
		padding: 8px 0 20px 0;
	}

	
	header p.site-title {
		background-image: url(https://jane-hammett.co.uk/wp-content/uploads/jane-hammett-logopurple-desktop.jpg);
		background-position: 0 50%;
		max-width: 750px;
	}
	body.page-template-page-fiction header p.site-title {
		background-image: url(https://jane-hammett.co.uk/wp-content/uploads/jane-hammett-logoblue-desktop.jpg);
		background-position: 0 50%;
		max-width: 750px;
	}
	
	#css-table {
		padding-top: 0;
	}
	
	#css-table .topic-table {
		margin: 20px 1%;
		width: 29%;
		display: table-cell;
	}

	
	h2 {
		font-size: 140%;
		margin-top: 1.5em;
	}
	
	.centre-pic img,
	.featured-image-caption	{
		width: 70%;
	}
	
	.post-content-container	{
		float: left;
		width: 65%;
		margin-right: 4%;
	}
	.sidebar {
		float: left;
		width: 30%;
		padding-left: 3%;
		margin-top: 50px;
	}
	.widget-pic {
		width: 100%;
	}
	
	form input:not(.wpcf7-submit),
	form textarea {
		width: 70%;
	}
	
		/* 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:900px) { /* navigation changes */

  
  /* alternative nav */
   .menu-toggle {
    display: none;
  }
  
  .nav-menu  {
		text-align: center;
	}
	ul.sub-menu {
		text-align: left;
	}
  

  .primary-navigation .nav-menu  {
    display: block !important;
  }
  
  .primary-navigation a {
	  border-top: none; /* removes top border on wider screens */
  }

    .primary-navigation .nav-menu ul:not(.sub-menu) > li { 
		display: inline-block;
		 margin-right: -5px; /* this cancels a spacing between the tab elements */

  }
  .primary-navigation .nav-menu ul:not(.sub-menu) > li a {
	  padding-right: 25px;
	 padding-left: 25px;
  }
  .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;
  }
  
  
  h1 {
		font-size: 200%;
		margin-top: 15px;
		line-height: 145%;
	}
	h2 {
		font-size: 150%;
	}
	form input:not(.wpcf7-submit),
	form textarea {
		width: 50%;
	}
	
 /* 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: 1100px) {

	
	#main {
		padding-right: 0;
		padding-left: 0;
	}
	
	.desktop {
		width: 100%;
	}
	h2 {
		font-size: 160%;
	}
	
	.centre-pic img,
	.featured-image-caption {
		width: 60%;
	}
	
	.caption figcaption {
		color: rgba(255,255,255,0.7);
		position: absolute;
		top: 87%;
		font-size: 90%;
		letter-spacing: 0.02em;
		text-shadow: 1px 1px rgba(88,88,88,0.5);
	}
	
	#category-container .category-buttons {
		margin: 2px 0.3%;
		width: 19%;
		padding: 12px 3px;
	}
	
	form input:not(.wpcf7-submit),
	form textarea {
		width: 40%;
	}
	
	.footer-text-container {
		padding: 8px 0;
	}
}