﻿/*
Theme Name: Spirit of Bradan
Theme URI: https://spiritofbradan.com/
Description: WordPress theme built by <a href="http://www.hedleyenterprises.co.uk">hedley enterprises</a>. <strong>Web design</strong> starts with a coffee and a chat...
Version: 4 Build-0521
Author: <strong>hedley</strong> enterprises
Author URI: https://hedleyenterprises.co.uk

*/
:root {
	--main-color: #707070;
	--lightbrown: #EDE7E3;
	--brown: #D0B6AA;
	--green: #858D79;
	--lgrey: #F5F4F2;
	--white: #FFFFFF;
	--black: rgba(180, 180, 180, 0.2);
	--lightshadow: rgba(180, 180, 180, 0.1);
}
html {
	scroll-behavior: smooth;
}
body {
	font-size:16px;
    font-family: 'Lato', sans-serif;
	margin:0;
	padding:0;
  	color: var(--main-color);
	opacity: 0;
	animation: fade-in 0.3s forwards 0.3s linear;
}
p::selection, h1::selection, h2::selection, h3::selection { background-color: #320101; color: #fff;}
p::-moz-selection, h1::-moz-selection, h2::-moz-selection, h3::-moz-selection { background-color: #320101; color: #fff; }

/* -------------------- Animation -------------------- */

section {
	opacity: 0;
}
.inverse, .show-menu {
	animation: fade-in 0.3s forwards 0.3s linear;
}
@keyframes fade-in {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

/* -------------------- General Styles -------------------- */

.container {
    width: 95%;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}
.easy-reading {
	width: 95%;
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
}
.main {
	width: 80%;
	margin-left: auto;
	margin-right: auto;
	max-width: 750px;
}
a {
  text-decoration: none;
}

h1, h2, h3, h4, .logo, .navigation, .footer-logo, .page-title p, .testimonial-text li {
	font-family: 'Playfair Display', serif;
	font-weight: normal;
}
h2 {
	font-size: 2rem;
}
p, li {
	line-height:1.6;
}
img {
	border-style: none;
}
.center {
	text-align:center;
}
.absol {
	position:relative;
}
.gallery-item a {
	border: none;
}
.easy-reading a {
	color: var(--green);
	font-weight: bold;
	border-bottom: solid 1px var(--brown);
}
.easy-reading a:hover {
	color: var(--brown);
	border-bottom: solid 1px var(--green);
}
hr {
	width: 200px;
	margin: 3em auto;
	border: dotted thin var(--lightbrown);
}
/* -------------------- Padding and Margins -------------------- */
.down {
	margin-top:10em;
}
.drop {
	margin-top:5em;
}
.mini {
	margin-top:3em;
}
.mtb {
	margin-top: 10em;
	margin-bottom: 10em;
}
.alignright {
	float:right;
	padding-left: 20px;
	padding-bottom: 20px;
}
.alignleft {
	float:left;
	padding-right: 20px;
	padding-bottom: 20px;
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
/* -------------------- Header -------------------- */
header {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	position: relative;
	padding-top: 2em;
}
.logo {
	text-align: center;
	width: 100%;
	font-size: 1rem;
	margin-bottom: 1em;
}
.logo p {
	margin: 0;
}
.logo img {
	width: 100%;
	max-width: 100px;
	height: auto;
}

/* -------------------- Mobile Logo -------------------- */
/* -------------------- Navigation -------------------- */
.navigation {
	display: none;
}
/* -------------------- Navigation Mobile -------------------- */
.navigation-mobile {
	width: 0;
	height: 100vh;
	position: absolute;
	top: 0;
	left: 0;
}
#navoverlay {
	background-color: var(--green);
	color: var(--white);
}
.mobile {
	display: none;
	opacity: 0;
}
.close-btn {
	display: block;
}
.menu-btn {
	cursor: pointer;
	width: 30px;
	position: absolute;
	right: 1em;
	top: 1em;
	color: var(--main-color);
}
.mobile {
	position: fixed;
	padding: 2em;
	width: calc(100vw - 4em);
	height: calc(100vh - 4em);
	z-index: 200;
}
.close-btn {
	width: 28px;
	cursor: pointer;
	position: absolute;
	right: 30px;
	top: 10px;
}
.show-menu {
	opacity: 0;
	display: block;
}
ul.sub-menu {
	display:none;
}
.nav .sub-menu {
	margin-top: 20px;
	margin-bottom: 20px;
}
.nav .sub-menu li a {
	font-size: 16px;
	margin: 0;
	padding: 0;
	opacity: 0.8;
}
.nav .sub-menu li {
	margin: 0;
}
.slideDown {
  display: block;
}
.menu-contents {
	display: flex;
	flex-wrap: wrap;
	height: 100vh;
}
.nav ul:nth-child(1) {
	font-size: 1.5rem;
}
.nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.nav ul:nth-child(3) {
	margin: 3em 0 0 0;
}
.nav ul, .contact-nav ul, .social-nav ul {
	flex-wrap: wrap;
}
.nav li, .contact-nav li, .social-nav li {
	width: 100%;
	margin-left: 0;
	margin-bottom: 15px;
}
.nav, .contact-nav, .social-nav {
	align-self: center;
	width: 100%;
	text-align: center;
}
.nav, .contact-nav {
	margin-bottom: 20px;
}
.nav li a, .contact-nav li a {
	color: var(--white);
}
.nav li a:hover {
	color: var(--brown);
}
/* -------------------- Hamburger Icon -------------------- */
#Rectangle_27, #Rectangle_28, #Rectangle_29,
#Rectangle_30, #Rectangle_31, #Rectangle_32 {
	transition: all 0.5s ease-in-out;
}
#Rectangle_27 {
	transition: all 0.5s ease-in-out;
	transform: translate(334px, 30px);
}
#open-menu:hover #Rectangle_27 {
	transform: translate(332px, 30px);
}
#Rectangle_28 {
	transition: all 0.5s ease-in-out;
	transform: translate(334px, 36px);
}
#open-menu:hover #Rectangle_28 {
	transform: translate(326px, 36px);
}
#Rectangle_29 {
	transform: translate(334px, 42px);
}
#open-menu:hover #Rectangle_29 {
	transform: translate(316px, 42px);
}

/* -------------------- Page Title / CTA -------------------- */
.page-title strong {
	color: var(--brown);
	font-weight: normal;
}
.inner .page-title {
	max-width: 1000px;
}
.page-title p {
	margin-bottom: -1em;
	color: var(--green);
}
/* -------------------- Welcome Images -------------------- */
.image-grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
	grid-template-rows: 1fr 1fr;
	border-radius: 10px;
	overflow: hidden;
	grid-gap: 2px;
}
.welcome-image:nth-child(1) {
	grid-column: span 3;
	grid-row: span 3;
}
.image-grid img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}
/* -------------------- Col Count -------------------- */
.two-col {
	display: grid;
	grid-template-columns: 1fr;
	grid-gap: 3em;
}
.article-text__extract, .article-text__main {
	column-count: 2;
	column-gap: 50px;
	column-width: 200px;
}
.article-text {
	align-self: center;
}
.article-image {
	align-self: flex-start;
}
.article-text__extract p:nth-child(1), .article-text__main p:nth-child(1) {
	margin-top: 0;
}
.article-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 10px;
}
.home .article-image {
	display: none;
}
.split-col {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
	grid-gap: 30px;
	width: 100%;
	max-width: 1200px;
	margin-left: auto;
}
.move-left {
	width: 100%;
	max-width: 1200px;
	margin-left: auto;
}
.article-text li {
	margin-bottom: 2em;
	padding-bottom: 2em;
	background-color: var(--lgrey);
	border-radius: 10px;
	padding: 1em;
}
.article-text ul {
	margin: 2em 0;
	padding: 0;
	list-style: none;
}
summary {
    padding: 1em 0 0.5em 0;
    cursor: pointer;
    outline: none;
    color: var(--green);
    margin-top: 2em;
	border-bottom: solid thin var(--brown);
}
details p {
	padding-bottom: 2em;
}
details[open] summary {
    border-bottom: solid thin var(--white);
}
details[open] p {
	animation-name: comein;
	animation-duration: 500ms, 200ms;
	animation-delay: 0ms, 500ms;

}
@keyframes comein {
	0% {
	  opacity: 0;
	}
	  100% {
		  opacity: 1;
	}
}
.extracts_image img {
	width: 100%;
	height: auto;
	border-radius: 10px;
}
/* -------------------- Testimonials -------------------- */
.testimonials-grid {
	color: var(--lgrey);
	background-color: var(--green);
	display: grid;
	grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
}
.testimonial-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.testimonial-text {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 3em;
	font-size: 1.17rem;
}
/* -------------------- Upcoming Events -------------------- */
.home .upcoming-events-grid {
	margin-bottom: 3em;
}
.upcoming-events-grid ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}
.upcoming-events {
	border-radius: 10px;
	width: 100%;
	box-sizing: border-box;
	position: relative;
	transition: all 0.1s ease-in-out;
}
.upcoming-events a {
	display: block;
	border: solid thin var(--brown);
	border-radius: 10px;
	padding: 1em;
	box-shadow: 0 5px 1em var(--lightshadow);
}
.upcoming-events a:hover {
	box-shadow: 0 5px 1em var(--black);
}
.upcoming-events p {
	margin: 0;
	line-height: 1.2;
}
.upcoming-events__text h3 {
	margin: 0;
	line-height: 1;
}
.upcoming-events__text {
	color: var(--main-color);
	margin-bottom: 0.5em;
}
.upcoming-events__date {
	color: var(--green);
	font-size: 12px;
}
/* -------------------- Gallery / Banner -------------------- */
.gallery, .grid, .links {
	display: flex;
	flex-wrap: wrap;
}
.space {
	justify-content: space-between;
}
.gallery-item {
	float: left;
	width: 20%;
	flex-grow: 1;
	margin: 5px;
}
.gallery-item img {
	width: 100%;
	height: auto;
}
.blocks-gallery-item img {
	border-radius: 10px;
}
.gallery-item img:hover {
	opacity: 0.6;
}
.blog:nth-child(1) {
	width: 100%;
	text-decoration: underline;
}
.blocks-gallery-grid {
	padding-top: 1em;
	padding-bottom: 1em;
}
ul.blocks-gallery-grid {
	padding-top: 1em;
	padding-bottom: 1em;
}
.feature-banner {
	width: 100%;
	overflow: hidden;
}
.feature-banner__inner {
	width: 98%;
	height: 50vh;
	overflow: hidden;
	margin-left: auto;
	margin-right: auto;
}
.feature-banner img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.feature-banner__inner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.wp-block-image img {
	height: auto;
}
.article-image .gallery-item {
	width: 40%;
}

/* -------------------- Newsletter Sign up -------------------- */
.newsletter-background {
	background-color: var(--lgrey);
}
.newsletter-grid {
	display: grid;
	grid-template-columns: 1fr;
	grid-gap: 30px;
	padding-top: 5em;
	padding-bottom: 5em;
}
.newsletter-intro {
	align-self: center;
	font-size: 1.5rem;
}
.newsletter-form {
	align-self: center;
}

/* -------------------- Podcast -------------------- */
.wp-playlist-item {
	padding-top: 1em;
}
.wp-playlist-current-item .wp-playlist-item-artist, .wp-playlist-caption, .wp-playlist-current-item .wp-playlist-item-title {
	white-space: normal!important;
}
.wp-playlist-caption {
	padding-bottom: 10px;
	padding-top: 10px;
}
.wp-playlist-item-length {
	top: 10px;
}
a.wp-playlist-caption {
	font-weight: normal;
	border-bottom: none;
}
.wp-playlist-current-item {
	height: 100%!important;
}
/* -------------------- Details Grid -------------------- */
.details-grid {
	display: grid;
	grid-template-columns: 1fr;
}
.details ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.details h3 {
	color: var(--green);
}
.details__date h3, .details__date p {
	margin: 0;
}
.details__time h3, .details__time p {
	margin: 0;
}
.details__location h3, .details__location p {
	margin: 0;
}
.details__date, .details__time, .details__location {
	margin-bottom: 2em;
}
/* -------------------- Writing Posts -------------------- */

.writing-posts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	grid-gap: 60px 30px;
}
.writing-image {
	background-position: center;
	background-size: cover;
	height: 200px;
	overflow: hidden;
	border-radius: 0;
	background-color: var(--green);
	border-radius: 10px;
	box-shadow: 0 5px 1em var(--black);
}
.writing-gallery-link {
	display: flex;
	justify-content: center;
	height: 100%;
	opacity: 0;
	color: var(--white);
	transition: opacity 0.5s ease-in-out;
}
.writing-gallery-link:hover {
	  background-color: var(--main-color);
	  opacity: 0.7;
}
.writing-gallery-link h2 {
	margin: 0;
	font-size: 1rem;
	align-self: center;
}
.writing-gallery-link a {
	display: block;
	text-align: center;
}
/* -------------------- Testimonials / Comments -------------------- */
ul.bxslider {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bx-controls-direction {
	/* display: flex; */
	margin-top: 30px;
	text-align: center;
}
.bx-prev {
	margin-right: 10px;
}
.bx-controls-direction a {
	color: var(--white);
	font-weight: bold;
	text-decoration: none;
}
.bx-controls-direction a:hover {
	color: var(--main-color);
}
.bx-default-pager {
	display: flex;
}
.bx-pager-item {
	display: none;
}
.bx-pager-link {
	padding: 5px;
	align-items: center;
}
/* -------------------- Button -------------------- */
.btn a {
	display: inline-block;
	min-width: 150px;
	text-align: center;
	border-radius: 50px;
	padding: 10px;
}
.btn-outline a {
	color: var(--white);
	border: solid 1px var(--green);
	background-color: var(--green);
	box-shadow: 0 0.5em 1em var(--lightshadow);
}
.btn a:hover {
	background-color: var(--brown);
	color: var(--white);
	border: solid 1px var(--brown);
}
/* -------------------- Enquiry Form -------------------- */
.newsletter-form form {
	display: flex;
	flex-wrap: wrap;
}
.enquiry-form-grid {
	display: grid;
	grid-template-columns: 1fr;
	grid-gap: 30px;
	margin-top: 5em;
	margin-bottom: 5em;
}
.enquiry-form__details form {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.enquiry-form__input:nth-child(6) {
	width: 100%;
}
.enquiry-form__title {
	margin-bottom: 4em;
}
.enquiry-form__input textarea,
.enquiry-form__input input,
.enquiry-form__input select {
	width: 100%;
}
.enquiry-form__input {
	width: 100%;
	margin-bottom: 1em;
}
.enquiry-form__input textarea, .enquiry-form__input input, .enquiry-form__input select {
	width: 100%;
	border: solid thin var(--black);
	padding: 10px;
	box-sizing: border-box;
	border-radius: 10px;
	transition: all 0.5s ease-in-out;
}
.enquiry-form__input textarea {
	height: 50px;
}
.enquiry-form__input textarea:focus {
	height: 100px;
	border: solid thin var(--brown);
	color: var(--brown);
}

input[type=text]:focus,
input[type=email]:focus {
	border: solid thin var(--brown);
	color: var(--brown);
}

input[type=submit] {
	color: var(--white);
	background-color: var(--brown);
	border: none;
	width: 200px;
	border-radius: 10px;
	cursor: pointer;
}
.smalltext {
	font-size: 12px;
}
/* -------------------- Footer -------------------- */
footer {
	display: grid;
	grid-template-columns: 1fr;
	grid-gap: 30px;
	padding-top: 3em;
	padding-bottom: 3em;
	text-align: center;
}
.footer-logo img {
	width: 100%;
	max-width: 100px;
}
footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
footer h4 {
	font-size: 1.2rem;
}
.footer-logo p {
	margin: 0;
}
footer a, .copyright a {
	color: var(--main-color);
}
footer a:hover, .copyright a:hover {
	color: var(--green);
}
.copyright {
	text-align: center;
	font-size: 12px;
}
.grecaptcha-badge {
	opacity: 0;
}

/*

	Author:				hedleyenterprises.co.uk - web design starts with a coffee and a chat...
	Description:	CSS Stylesheet for Desktop Devices


*/

/* -------------------- 800 -------------------- */

@media all and (min-width: 50em) {
/* -------------------- Navigation -------------------- */
.navigation {
	display: block;
}
.menu-btn {
	display: none;
}
.navigation-mobile {
	display: none;
}
h1 {
	font-size: 3.5rem;
}
.logo {
	font-size: 1.5rem;
}
.logo img {
	max-width: 180px;
}
.image-grid {
	grid-gap: 0;
}
.welcome-image:nth-child(1) {
	grid-column: 1;
	grid-row: span 3;
}
.enquiry-form__input {
	width: 50%;
}
.move-right {
	text-align: right;
}
.newsletter-form label {
	display: none;
}
.page-title p {
	margin-bottom: -2em;
}
/* -------------------- Drop-Down -------------------- */
.sub-menu {
	margin-top: -5px;
}
nav ul ul {
	display: none;
}
nav ul li:hover > ul {
	display: block;
	z-index: 10;
	border-radius: 0 10px 10px 10px;
	overflow: hidden;
}
nav ul {
	padding: 0px 5px 0px 5px;
	list-style: none;
	position: relative;
}
nav ul:after {
	content: ""; clear: both; display: block;
}
nav ul li {
	float: left;
}
nav ul li:hover {
	background-color: var(--brown);
	border-radius: 5px;
}
nav ul li:hover a {
	color: #fff;
}
nav ul li a {
	display: block;
	padding: 10px;
	color: var(--main-color);
	text-decoration: none;
}
nav ul ul {
	background: var(--brown); border-radius: 0px; padding: 0;
	position: absolute; top: 100%;
}
nav ul ul li {
	float: none;
	position: relative;
}
nav ul ul li a {
	padding: 10px;
	color: var(--white);
	font-weight: normal!important;
}
nav ul ul li a:hover {
	background: var(--green);
	color: var(--white);
}
nav ul ul ul {
	position: absolute; left: 100%; top:0;
}
.current_page_item a {
	background-color: var(--brown);
	color: var(--white);
	border-radius: 5px;
}
}


/* -------------------- 1200 -------------------- */

@media all and (min-width: 75em) {
.two-col {
	grid-template-columns: 1fr 2fr;
}
.home .article-image {
	display: block;
}
.newsletter-grid {
	grid-template-columns: 1fr 2fr;
}
.newsletter-intro {
	font-size: 2rem;
}
footer {
	grid-template-columns: repeat(4,1fr);
	text-align: left;
}
.footer-logo {
	text-align: center;
}
.details-grid {
	grid-template-columns: 1fr 1fr;
}
}

/*

	Author:				hedleyenterprises.co.uk - web design starts with a coffee and a chat...
	Description:	CSS Stylesheet for Desktop Devices with bigger screens


*/


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

}


