/*
Theme Name: Church Farm Village
Template: generatepress
Theme URI: https://www.natterjackcreative.co.uk
Author: Jamie Ward
Author URI: https://www.jam1e.co.uk
Description: This is the Natterjack Creative child theme for GeneratePress for use to build our clients websites upon.
Version: 0.9
Text Domain: njc
*/

:root {
	--box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}

html {
	scroll-behavior: smooth;
}

.site-header {
	position: fixed;
	top: 0;
	z-index: 9999;
	width: 100%;
}

.site-header .inside-header {
	background-color: var(--brand);
	padding: 0px;
	margin: 0px auto;
	margin-bottom:0px;
	box-shadow: var(--box-shadow);
	transform:translateY(70px);
	align-items:end;
	height:60px;
	filter: drop-shadow(1px 6px 3px rgba(0,0,0,.25));
}

.inside-header:before, .inside-header:after {
    content: "";
    position: absolute;
    display: block;
    border: 1.4em solid #a61116;
    z-index: -1;
    border-left-color: transparent;
    left: -2em;
    height: 55px;
}
.inside-header:after {
    border-right-color: transparent;
    right: -2em;
}

.site-logo {
    position:absolute;
    bottom:-8px;
    left:3vW;
    z-index:999;
}
.site-logo img {
filter: drop-shadow(2px 4px 6px black);
}
.below-banner {
	height: 100%;
}

.main-navigation.toggled .main-nav>ul {
	margin-top: -28px;
	background-color: var(--brand);
}

.footer-shape {
	z-index: 2;
	margin-bottom: -10px;
}

.site-footer .wp-block-social-link:hover {
	transform: scale(1);
}

.footer-widget-2 .widget {
//	margin-top: 32px;
}

.footer-widget-2 .mas-logo img {
    max-width:120px;
    mix-blend-mode: screen;
    filter: invert(1) brightness(1);
    float:right;
}
.footer-widget-2 .mas-logo {
    display:flex;
}
.footer-widgets-container {
	padding: 20px 5px;
}

.inside-site-info {
	padding: 20px 0;
}

.copyright-bar {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
}

.copyright-bar a {
	text-decoration: none !important;
}

.built-by {
	margin-top: 10px;
	display: inline-flex;
	text-decoration: none;
	color: #37a963;
}

.built-by:hover {
	color: #2c874f;
}

.built-by img {
	margin-right: 10px;
	width: 40px;
}

.built-by span {
	color: red;
	padding: 0 4px;
}

.plan-your-visit a {
	text-decoration: none !important;
}

.plan-your-visit a:hover {
	color: inherit;
}

.timeline .gb-inside-container .has-text-align-right {
	position: relative;
	text-align: left !important;
}

.timeline p {
	margin: 0;
}

.timeline .gb-inside-container .gb-grid-wrapper:nth-child(odd) div:nth-child(even) {
	position: relative;
}

.inside-footer-widgets aside {
	padding: 0 !important;
	margin-bottom: 10px !important;
}

.site-footer .footer-widgets-container .inside-footer-widgets {
    margin-left:0;
}
.footer-widget-1 aside {
    display:flex;
    height:100%;
}
/* Tablet and above */
@media (min-width: 769px) {

	.below-banner {
		height: 40px;
	}

	.site-header {
		width: 100%;
	}

	.site-header .inside-header {

		height: 60px;
	}
	
	.timeline .gb-inside-container .has-text-align-right:after {
		position: absolute;
		top: 8px;
		right: -27px;
		content: ' ';
		display: block;
		width: 12px;
		height: 12px;
		margin-left: -9px;
		background: #fff;
		border-radius: 10px;
		border: 4px solid var(--brand-dark);
		background-color: var(--brand-dark);
		z-index: 10;
	}

	.timeline .gb-inside-container .gb-grid-wrapper:nth-child(odd) div:nth-child(even):before {
		position: absolute;
		content: ' ';
		width: 0;
		height: 0;
		left: 26px;
		top: calc( 50% - 15px );
		border-top: 15px solid transparent;
		border-bottom: 15px solid transparent;
		border-right: 15px solid var(--base-2);
	}


	.copyright-bar {
		flex-direction: row;
	}

	.built-by {
		margin-top: 0px;
	}

	.main-navigation.toggled .main-nav>ul {
		margin-top: 0;
	}
}

.mec-container {
  //  margin-top:7em;
}