/*
Theme Name: GeneratePress Child
Theme URI: https://generatepress.com
Template: generatepress
Author: Tom Usborne
Author URI: https://generatepress.com/about
Description: GeneratePress is a lightweight WordPress theme built with a focus on speed and usability. Performance is important to us, which is why a fresh GeneratePress install adds less than 10kb (gzipped) to your page size. We take full advantage of the block editor (Gutenberg), which gives you more control over creating your content. If you use page builders, GeneratePress is the right theme for you. It is completely compatible with all major page builders, including Beaver Builder and Elementor. Thanks to our emphasis on WordPress coding standards, we can boast full compatibility with all well-coded plugins, including WooCommerce. GeneratePress is fully responsive, uses valid HTML/CSS, and is translated into over 25 languages by our amazing community of users. A few of our many features include 60+ color controls, powerful dynamic typography, 5 navigation locations, 5 sidebar layouts, dropdown menus (click or hover), and 9 widget areas. Learn more and check out our powerful premium version at https://generatepress.com
Tags: two-columns,three-columns,one-column,right-sidebar,left-sidebar,footer-widgets,blog,e-commerce,flexible-header,full-width-template,buddypress,custom-header,custom-background,custom-menu,custom-colors,sticky-post,threaded-comments,translation-ready,rtl-language-support,featured-images,theme-options
Version: 3.6.0.1757329159
Updated: 2025-09-08 10:59:19

*/

/* BLOCK STYLINGS */

/* icon separator */

.rotate-icon-bckg svg.stk--shape-icon {
    transform: rotate(45deg) !important;
    left: 0;
    top: 0;
}

/* event listing */

.event-detail { position: relative; }
.event-detail > div { 
    position: absolute;
    bottom: 20px;
    right: 0;
    padding: var(--stk-button-padding);
    background: var(--base);
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
}
.wp-block-query h4 a { color: var(--blue); }
.event-detail > div a, event a {color: var(--blue);}
.event-detail > div a:hover, event a:hover { color: var(--lblue)}
.tax-link a { padding: 6px 12px; background: var(--base); border-radius: 4px; display: inline-block; color: var(--blue)!important;}
.loc-link a { color: var(--goldd)!important;   }
.sticky {
    position: sticky!important;
    top: 80px;
    z-index: 1;
	display: block;	
	height: fit-content;
}


/* TRANSITION */

a:hover { transition: 0.4s;}   

/* GENERIC */

figcaption { font-size: 14px; padding-top: 8px; }
:root :where(.is-layout-flex) { gap: 40px; flex-wrap: nowrap; }
a { text-decoration: none; font-weight: 600;}
h1 { padding-top: 100px; }
blockquote {padding: 0; margin-top: 40px; margin-bottom: 40px;}
.footer-logos img {	filter: grayscale(1); width:30vw!important; margin: auto; }
.footer-logos img:hover {	filter: revert; }
.wp-block-gallery figure { margin-top:auto!important; }
figure.wp-block-gallery.has-nested-images { align-items: center!important;}
#mailpoet_form_1 form.mailpoet_form {padding: revert!important;}
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="tel"], input[type="number"], textarea, input.mailpoet_submit { border-radius: 4px; padding: 12px 16px !important;}
.mailpoet_form_html input[type=submit] { text-transform: uppercase!important; font-weight: 600; letter-spacing: 1px; background-color: var(--lblue);}

/* NAVIGATION */

body {
    --gp-slideout-width:320px;
}

.main-navigation .main-nav ul li > a:not(ul li li a) {
    border-bottom: 10px solid var(--blue);
}
.main-navigation .main-nav ul li > a {
	font-family: 'DM SANS';
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 17px;
}
@media only screen and (min-width: 1000px) {
	.main-navigation .main-nav > ul > li[class*="current-menu-"] > a {
		border-bottom: 10px solid var(--gold);
	}
}

/* Animate Submenu*/

#site-navigation ul ul {
    transform: translatey(6px); 
    transition: 0.15s ease-in;
}

#site-navigation ul li:hover ul {
    transform: translateY(0px); 
        transition: 0.15s ease-in;
}

#site-navigation:not(.toggled) ul ul {
	transition: opacity 0.35s linear;
}

/* Left-align final submenu START */

.dropdown-hover .main-navigation:not(.toggled) ul .open-left ul {
    left: auto;
    right: 0;
}

.dropdown-hover .main-navigation:not(.toggled) ul .open-left li:hover>ul {
    left: auto;
    right: 100%;
}

.main-navigation .main-nav ul .open-left ul li.menu-item-has-children > a {
    padding-left: 0;
    padding-right: 20px;
}

.main-navigation ul .open-left ul .menu-item-has-children .dropdown-menu-toggle {
    float: left;
    padding-left: 20px;
    padding-right: 15px;
}

.main-navigation .open-left .children .dropdown-menu-toggle:before, 
.main-navigation .open-left .sub-menu .dropdown-menu-toggle:before {
    content: "\f104";
}


/* Left-align final submenu END */

.site-logo a {
	position: absolute;
    z-index: 10;
    background: var(--blue);
    border-radius: 100%;
    width: 183px;
    height: 183px;
    bottom: -67px;
}
.navigation-stick .site-logo a { width: 100px; height: 100px; top: 15px;}

.navigation-branding img, .site-logo.mobile-header-logo img {
    height: auto !important;
    width: 100% !important;
    padding: revert !important;
}

/* NEWS */

	.featured-image.page-header-image-single {
		margin-bottom: 20px !important;
	}

/* FOOTER */

.site-footer .footer-logo {
	max-height: 300px;
}

/* Handles the wrapping between the footer logo and 'Warneford 200' text */
.site-footer .stk-block-icon-label .stk-row {
    flex-wrap: unset;
}

.site-footer .footer-link a {
    font-weight: revert !important;
	color: var(--lblue)
}

/* TARGET MOBILE DEVICES */

@media only screen and (max-width: 999px) {
	.site-logo a { position: relative; width: 85px;  height: auto;  bottom: revert; padding: 10px; left: 13px; }
}

@media only screen and (max-width: 768px) {
	
	.home .zero-padding-on-mobile > .stk-column-wrapper {
		padding: 10px;
	}
	
	.main-navigation .main-nav ul li a, .menu-toggle, .main-navigation .menu-bar-item > a { line-height: 60px; }
    /*#mobile-header { position: fixed; padding: 10px 0; }*/
	:root :where(.is-layout-grid) { grid-template-columns: repeat(1, minmax(0, 1fr))!important; text-align: center; }
	:root :where(.is-layout-grid) > div { grid-column: revert; grid-row: revert; max-width: 100%; margin: auto; }
 	.wp-block-gallery { flex-direction: column; }
	.wp-block-gallery figure { width: 100% !important; }
	.w50 { max-width: 50%; }
	.footer-logos { flex-direction: column;}
}

/* FIX FOR TOWN ARCHIVE HERO */

.no-sidebar .site-main .alignfull {
    margin-left: calc(-100vw / 2 + 100% / 2);
    margin-right: calc(-100vw / 2 + 100% / 2);
    max-width: 100vw;
    width: auto !important;
}


