/*
Theme Name: Ann Treneman
Theme URI: https://www.beamtwenty3.co.uk
Description: Wordpress Theme By Neil Brown for Ann Treneman
Version: 3.0
Author: Neil Brown
Author URI: https://www.beamtwenty3.co.uk
Text Domain: ann-treneman
*/

/* #Reset & Basics */

	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; }
	blockquote, q {
		quotes: none; }
	blockquote:before, blockquote:after,
	q:before, q:after {
		content: '';
		content: none; }
	table {
		border-collapse: collapse;
		border-spacing: 0; }

/* #Basic Styles */

body {
	background: #f7f2ec;
	font: 14px 'Inter', sans-serif;
	color: #252525;
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
}

main {
	width: 100%;
}
 
/* #Typography */

h1, h2, h3, h4, h5, h6 {
	color: #073742;
	font-weight: 600;
	font-family: "Lora", serif;
}


h1 { 
	font-size: 53px;
	line-height: 66px;
	margin: 40px 0px 35px 0px;
	padding: 0px;
}


h2 {
	font-size: 34px;
	line-height: 44px;
	margin: 40px 0px 20px 0px;
	padding: 0px;
}

h3 {
	font-size: 23px;
	line-height: 27px;
	margin: 0px 0px 20px 0px;
}

h4 { font-size: 21px; line-height: 30px; margin-bottom: 4px; }
h5 { font-size: 17px; line-height: 24px; }
h6 { font-size: 14px; line-height: 21px; }


p {
    margin: 0 0 20px 0;
    color: #4e4e4e;
    font-size: 18px;
    line-height: 32px;
    font-weight: 400;
}

address {
	margin: 0;
	color: #4e4e4e;
	font-size: 16px;
	line-height: 24px;
	font-weight: 400;
	text-align: left;
}


em { 
	font-style: italic;
}

strong { 
	font-weight: 600;
}

small { 
	font-size: 80%;
}

/*	Blockquotes  */

blockquote, blockquote p { font-size: 17px; line-height: 30px; color: #5f5f5f; font-style: italic; }
blockquote { margin: 20px 0 40px 0; padding: 9px 20px 0 19px; border-left: 1px solid #d68796; }
blockquote cite { display: block; font-size: 12px; color: #555; }
blockquote cite:before { content: "\2014 \0020"; }
blockquote cite a, blockquote cite a:visited, blockquote cite a:visited { color: #555; }

hr { 
	border: solid #8ab9c4;
	border-width: 1px 0 0;
	margin: 40px 20% 20px 0;
	height: 0;
	width: 80%;
	float: left;
}


/* #Links */

a, a:visited { 
	color: #882c29;
	text-decoration: none;
	outline: 0;
	-webkit-transition: all .1s linear;
	-moz-transition: all .1s linear;
	-o-transition: all .1s linear;
	-ms-transition: all .1s linear;
	transition: all .1s linear;
}

a:hover, a:focus { 
	color: #882c29;
	text-decoration: underline;
}

/* #Lists */

ul, ol {
	margin: 20px 0 40px 0;
}
ul { list-style: none outside; }
ol { list-style: decimal; }

li { 
	line-height: 18px;
}

.main-page ul {
	margin: 20px 0px 40px 0px;
}

li  {
	margin: 0 0 5px 0;
	color: #4e4e4e;
	font-size: 18px;
	line-height: 32px;
	font-weight: normal;
	list-style: none;	
}

.main-page ul li::before, .news-content ul li::before, .books-content ul li::before, .page-sections ul li::before {
    content: "\2022";
	color: #882c29;
	font-size: 22px;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: 0;
    margin-top: 0;
}

ul.dates-ul {
	width: 100%;
	float: left;
}

ul.dates-ul li {
	float: left;
	width: 25%;
}

/* #Images */

img  {
	max-width: 100%;
	height: auto;
	display: inline-block;
}



/* Video */

.video-wrapper {
	position: relative;
	padding-bottom: 50%;
	padding-top: 25px;
	height: 0;
	z-index: 1;
	margin: 10px 0 0 0;
}

.video-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Buttons */

a.button, .button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  display: inline-block;
  height: auto;
  padding: 0 30px;
  color: #fff !important;
  background: #073742;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  line-height: 43px;
  text-decoration: none;
  white-space: nowrap;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  box-sizing: border-box; 
  -webkit-transition: all .1s linear;
  -moz-transition: all .1s linear;
  -o-transition: all .1s linear;
  -ms-transition: all .1s linear;
  transition: all .1s linear;
}

.wrapper a.button {
	margin-bottom: 60px;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.button:focus,
button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
  color: #ffffff;
  background: #882c29;
  outline: 0;
  border: 0;
}




/* Forms */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
  height: 38px;
  padding: 6px 10px; /* The 6px vertically centers text on FF, ignored by Webkit */
  background: #fff;
  border: 1px solid #D1D1D1;
  box-shadow: none;
  box-sizing: border-box;
  width: 98%;
  }
  
input.wpcf7-mathcaptcha {
  width: 100px;	
}


/* Removes awkward default styles on some inputs for iOS */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="button"],
textarea {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

textarea {
  min-height: 120px;
  padding-top: 6px;
  padding-bottom: 6px; }
input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border: 1px solid #379cc0;
  outline: 0; }
  
label,
legend {
  display: block;
  margin-bottom: 0;
  font-weight: 600;
  margin-bottom: 10px;
}
  
fieldset {
  padding: 0;
  border-width: 0; }
input[type="checkbox"],
input[type="radio"] {
  display: inline; }
label > .label-body {
  display: inline-block;
  margin-left: .5rem;
  font-weight: normal;
}

.google-map {
	position: relative;
	padding-bottom: 33.25%;
	padding-top: 25px;
	height: 0;
	z-index: 1;
	margin: 40px 0 0 0;
}

.google-map iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Hero Video */

.wrapper {
	width: 100%;
	height: 100vh;
	overflow: hidden;
	position: relative;
	z-index: 10;
	margin: 0;
	background-blend-mode: multiply;
	background-color: #7f7f7f !important;
  }
  
  .wrapper__video {
	object-fit: cover;
	width: 100%;
	height: 100%;
  }
  
  .video-content {
	z-index: 100;
	bottom: 0;
	width: 100%;
	margin: 0 auto;
  }

.wp-video {
	margin-bottom: 40px;
}

video {
	mix-blend-mode: overlay;
}

.home-intro {
	position: absolute;
	z-index: 99;
	bottom: 40%;
	width: 100%;
	text-align: center
}

.home-intro .inner {
	padding: 40px 80px 40px 80px
}

.home-intro h2 {
	color: #fff;
	font-size: 40px;
	line-height: 50px;
	text-transform: capitalize;
}

  
/* Header */

.fixed-spacer {
	width: 100%;
	margin: 0 auto;
	padding-top: 175px;
}

.home .fixed-spacer {
	width: 100%;
	margin: 0 auto;
	padding-top: 0px;
}

.top-head {
	position: fixed;
	z-index: 100;
	top: 0;
	left: 0;
	width: 100%;
	padding: 0;
	transition: 400ms linear;
}

.top-head {
	background: #fff;
	box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.1);
}

.home .top-head {
	background: none;
	box-shadow: none;
}

.main-logo {
	width: 38%;
	float: left;
	margin: 0;
}

.home .main-logo span.main-title, footer span.main-title {
	color: #fff;
	font-size: 36px;
	line-height: 50px;
	font-weight: 800;
}

.main-logo span.main-title {
	color: #073742;
	font-size: 36px;
	line-height: 50px;
	font-weight: 800;
}

.main-logo .inner {
	transition: 400ms linear;
	padding: 60px 40px 20px 40px;
}

#main-nav .inner {
	transition: 400ms linear;
	padding: 30px 40px 20px 40px;
}

.top-head.scrolled .main-logo span.main-title {
	transition: 400ms linear;
}

.top-head.scrolled  {
	transition: 400ms linear;
	padding: 10px 0 15px 0;
	background: #ffffff;
}

.top-head.scrolled #main-nav {
	margin: 5px auto 0 auto;
}

.top-head.scrolled #main-nav ul {
	margin: 5px 0px 0px 0px;
	padding: 0px;
}

.top-head.scrolled #main-nav li {
	font-size: 16px;
}

.top-head.scrolled #main-nav ul li a {
	color: #252525;
}

.top-head.scrolled .main-logo .inner, .top-head.scrolled #main-nav .inner {
	transition: 400ms linear;
	padding: 0px 40px 0px 40px;
}

.home .top-head.scrolled .main-logo span.main-title {
	color: #252525;
}


/* Home Page */

.home-slides {
	width: 100%;
	margin: 0 auto;
	height: 800px;
	position: relative;
	z-index: 10;
	background-blend-mode: multiply;
	background-color: #bdbdbd !important;
	border-bottom: 5px solid #882c29;
}

.home-slides .inner {
	width: 63%;
	padding: 0 0 0 40px;
	text-align: left;
	position: absolute;
	bottom: 40px;
	left: 0;
}

.home-slides .inner h2 {
	color: #f6f6f6;
	font-size: 45px;
	line-height: 60px;
	font-weight: 700;
	letter-spacing: 1px;
	margin: 0 0 10px 0;
}

p.slide-text {
	font-size: 26px;
	line-height: 40px;
	font-weight: 400;
	color: #f6f6f6;
	margin: 0 0 20px 0;
}

.full-width {
	width: 100%;
	height: 750px;
	margin: 0 auto;
	position: relative;
	background-blend-mode: multiply;
	background-color: #c5c5c5 !important;
}


/* Masonry */

#masonry-loop {
	width: 100%;
	margin: 40px auto;
}

.masonry-element {
	width: 29%;
	float: left;
	margin: 2%;
	position: relative;
	z-index: 1;
	box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.1);
}

.masonry-element img {
	display: block;
}

.thumb-hover {
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
}

.thumb-hover .inner {
	width: 100%;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

.thumb-hover {
	opacity:0;
	-ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter:alpha(opacity=0); /* For IE8 and earlier */
	-webkit-transition: all .2s linear;
	-moz-transition: all .2s linear;
	-o-transition: all .2s linear;
	-ms-transition: all .2s linear;
	transition: all .2s linear;
	-moz-transform: rotate(0);
}

.masonry-element:nth-child(3n+1) .thumb-hover  {
	background: #073742;
}

.masonry-element:nth-child(3n+2) .thumb-hover  {
	background: #882c29;
}

.masonry-element:nth-child(3n+3) .thumb-hover  {
	background: #ddc4a9;
}

.thumb-hover:hover {
	opacity:1.0;
	filter:alpha(opacity=100); /* For IE8 and earlier */
	cursor: pointer;
	-moz-transform: rotate(0);
}


.thumb-hover h2 {
	text-align: center;
	margin: 0px 10px 0px 10px;
	color: #ffffff !important;
}

.thumb-hover .post-date {
	text-align: center;
	color: #ffffff !important;
	margin: 5px 20px 5px 20px;
}

/* Books */

.books-content {
	width: 70%;
	float: left;
	margin: 0;
}

.books-content .inner {
	padding: 0 40px 0 0;
}

.books-image {
	width: 30%;
	float: left;
	margin: 60px 0 0 0;
}

.books-image img {
	display: block;
	margin: 0 0 20px 0;
}

.books-content h1 {
	margin: 40px 0 10px 0;
}

h2.subtitle {
	font-family: "Inter", sans-serif;
	margin: 0 0 5px 0;
	font-size: 28px;
	line-height: 44px;
	font-weight: 800;
	color: #882c29;
}


/* News Posts */

.single-post img, .eight.columns.image-right .inner img, .eight.columns.image-left .inner img {
	border-bottom: solid 3px #882c29;
}

.single-post .gallery-image img {
	border-bottom: none;
}

.news {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
}

.news-feed {
	flex-grow: 1;
	width: 31%;
	margin: 10px 2% 40px 0;
	text-align: left;
	display: flex;
	flex-direction: column;
	background: #fff;
	box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.1);
}

.news-feed p, .news-feed h3 {
	padding: 0 20px 0 20px;
}

.news-feed.my-products h3 {
	padding: 0 20px 20px 20px;
}

.news-feed a.button {
	width: 200px;
}

p.timestamp {
	font-size: 12px;
	margin: 0 0 10px 0;
}

p.push-button {
	flex-grow: 1;
	font-size: 16px;
	line-height: 26px;
}

.news-feed img {
	display: block;
	border-radius: none;
}

.news-feed h3 {
	font-family: "Lora", serif;
	margin: 20px 0 0 0;
	font-size: 26px;
	line-height: 33px;
}

.post-type-archive-book .news-feed h3 {
	margin: 20px 0 10px 0;	
}

.news-feed.blank {
	background: none;
	box-shadow: none;
}

.single h1 {
	margin: 40px 0px 5px 0px;	
}

.single p.timestamp {
	display: block;
	border-bottom: solid 1px #e5dfd8;
	margin-bottom: 40px;
}

.subtitle-news {
	font-family: "Inter", sans-serif;
	margin: 0 0 30px 0;
	font-size: 38px;
	line-height: 56px;
	font-weight: 300;
	color: #882c29;
}

/* Pages */

.container.page-sections {
	background: #fff;
	margin-bottom: 60px;
	box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.1);
}

.eight.columns.image-right .inner {
	padding: 40px;
}

.eight.columns.image-left .inner {
	padding: 40px;
}

.eight.columns.text-left .inner, .eight.columns.text-right .inner {
	padding: 0px 40px 40px 40px;
}

.single-post .the-quote img {
	border-bottom: 0px;	
}

.single-post header img, .single-post footer img {
	border: none;
}


.eight.columns.text-right {
	float: right;
}

/* Testimonials */

.testimonial {
	width: 100%;
	float: left;
	margin: 0 auto;
	padding: 60px 0 80px 0;
}

.testimonial .inner {
	padding: 20px 250px 20px 250px;
}

.the-quote {
	width: 100%;
	float: left;
	position: relative;
	z-index: 10;	
}

.the-quote img {
	position: absolute;
	top: 0;
	left: 0;
	width: 150px;
	z-index: -1;
	opacity: 0.5;
}

.testimonial .inner p {
	padding: 60px 0 0 40px;
	font-size: 18px;
	line-height: 32px;
	font-style: italic;
}

/* Gallery */

.gallery-images {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
}

.gallery-image {
	flex-grow: 1;
	width: 18%;
	margin: 10px 2% 20px 0;
	text-align: center;
	padding: 5px;
	background: #fff;
	-webkit-transition: all .2s linear;
	-moz-transition: all .2s linear;
	-o-transition: all .2s linear;
	-ms-transition: all .2s linear;
	transition: all .2s linear;
}

.gallery-image img {
	display: block;
}

.gallery-image:hover {
	background: #882c29;	
}

.gallery-image.blank {
	background: none;
}

.news-feed img {
	opacity:1;
	filter:alpha(opacity=100); /* For IE8 and earlier */
	-webkit-transition: all .2s linear;
	-moz-transition: all .2s linear;
	-o-transition: all .2s linear;
	-ms-transition: all .2s linear;
	transition: all .2s linear;
	-moz-transform: rotate(0);
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	backface-visibility: hidden;
	display: block;
}

.news-feed img:hover {
	opacity:0.6;
	filter:alpha(opacity=60); /* For IE8 and earlier */
	-moz-transform: rotate(0);
}

#swipebox-overlay {
	background: #ede4de; !important;
}

#swipebox-bottom-bar, #swipebox-top-bar {
	text-shadow: none !important;
	background: #6c6c6c;
	opacity: 1;
}

#swipebox-slider .slide img {
	max-height: 80% !important;
}

/* Main Navigation */

#main-nav {
	width: 62%;
	padding: 0px;
	margin: 23px auto 0 auto;
	float: left;
}

#main-nav ul {
	list-style: none;
	margin: 20px 0px 0px 0px;
	padding: 0px;
	width: 100%;
	text-align: right;
	transition: 200ms linear;
}

#main-nav li {
	display: inline;
	font-size: 18px;
	letter-spacing: 1px;
	padding: 0px;
	font-weight: 600;
	margin: 0px;
}

#main-nav a {
	display: inline-block;
	line-height: 30px;
	padding: 0px;
	margin: 0px 0px 0px 25px;
	text-decoration: none;
}

#main-nav a:link,
#main-nav a:visited {
	color: #2b2929;
}

.home #main-nav a:link,
.home #main-nav a:visited {
	color: #fff;
}

#main-nav .menu-item a {
  text-decoration: none;
  position: relative;
}

#main-nav .menu-item a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  -webkit-transform: scaleX(0);
		  transform: scaleX(0);
  -webkit-transform-origin: right;
		  transform-origin: right;
  transition: -webkit-transform 150ms ease-in;
  transition: transform 150ms ease-in;
  transition: transform 150ms ease-in, -webkit-transform 150ms ease-in;
  background: #882c29;
}

#main-nav .menu-item a:hover::after {
  -webkit-transform: scaleX(1);
		  transform: scaleX(1);
  -webkit-transform-origin: left;
		  transform-origin: left;
	background: #882c29;
}


/* Accordion */

.accordion {
	width: 97%;
	margin-bottom: 80px;
}

.accordion-toggle {
	cursor: pointer;
	width: 100%;
	border-bottom: solid 1px #559b9b;
}

.accordion-toggle span {
	margin-left: 25px;
	color: #d68796;
	float: right;
}

.accordion-content {
	display: none;
	overflow: hidden
}
.accordion-content.default {
	display: block;
}

.accordion .accordion-toggle {
	color: #421657 !important;
	line-height: 40px;
	font-size: 23px;
	text-align: left;
	width: 100%;
	margin: 10px 0 10px 0;
	padding: 20px 10px 20px 10px;
	font-weight: 600;
}

.accordion-content p {
	margin: 10px 10px 20px 10px;
	color: #0c0b0b;
	font-size: 18px;
	line-height: 32px;
	font-weight: normal;
}

.accordion-content h2 {
	margin-left: 10px;
}
 
 
/* Footer */

footer {
	width: 100%;
	background: #073742;
	margin: 40px auto 0 auto;
	text-align: left;
	padding: 20px 0px 60px 0px;
	position: relative;
	z-index: 1000;
}

footer a:link, footer a:visited {
	color: #fff;
	font-weight: 400;
	font-size: 16px;
	line-height: 28px;
}

footer a:hover {
	text-decoration: underline;
}

footer p, footer li {
	font-size: 16px;
	line-height: 28px;
	color: #fff;
	font-weight: 400;
	margin: 0;
}

footer ul {
	margin: 0;
}

footer.copy {
	background: #882c29;
	padding: 10px 0 10px 0;
	margin: 0;
	text-align: right;
}

footer.copy p {
	font-size: 14px;
	line-height: 23px;
	color: #fff;
	font-weight: 400;
	margin: 0;
}

footer.copy a {
	font-size: 14px;
	line-height: 23px;	
}

footer address {
	margin: 0 0 20px 0;
	color: #ffffff;
}

.social {
	margin-top: 0px;
}

.social p {
	margin: 0 0 10px 0;
}

.social a:link, .social a:visited {
	font-size: 23px;
	margin-right: 10px;
}

/* =WordPress Core  */

.alignnone {
    margin: 5px 20px 20px 0;
}

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

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

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

.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

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

a img.alignnone {
    margin: 5px 20px 20px 0;
}

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

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

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 12px 8px 10px 8px;
    text-align: center;
	-webkit-box-shadow: 0 10px 6px -6px #ececec;
	-moz-box-shadow: 0 10px 6px -6px #ececec;
	box-shadow: 0 10px 6px -6px #ececec;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

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

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

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 100%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
	font-size: 18px;
	line-height: 24px;
	margin: 0;
	font-weight: 600;
	padding: 6px 5px 3px 5px;
}
    margin: 0;
    padding: 6px 5px 3px 5px;
}

span.wpcf7-list-item {
	margin: 0;
}

div.wpcf7 {
	margin: 0px 0px 0px 0px !important;
	padding: 0;
}

div.wpcf7-mail-sent-ok {
	border: 0px solid #398f14 !important;
	color: #666 !important;
}

div.wpcf7-mail-sent-ng {
	border: 0px solid #ff0000 !important;
	color: #666 !important;
}

div.wpcf7-spam-blocked {
	border: 0px solid #ffa500 !important;
	color: #666 !important;
}

div.wpcf7-validation-errors {
	border: 0px solid #398f14 !important;
	color: #666 !important;
}

.wpcf7 {
	position: relative;
	z-index: 1;
}

@media print {

}

