/*!
Theme Name: alimentarius
Theme URI: https://designhousestudio.co.uk
Author: William Jeffree @ Design House
Description: This is a custom theme built for Alimentarius, based on the open source Underscores framework
Version: 1.1.1


*/

@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

/*--------------------------------------------------------------

Alimentarius Dark Green: #195726;

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */


html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

#primary {
    float: left;
    width: 100%;
	padding: 35px 0 0;
	background: white;
	position: relative;
}


/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2.5em;
	margin: 30px 0 15px;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */


body,
button,
input,
select,
optgroup,
textarea {
	color: #195726;
	font-family: "Raleway", sans-serif;
	font-size: 1rem;
	line-height: 1.75;
	font-weight: 300;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	text-transform: uppercase;
	font-weight: 400;
	line-height: 1.5em;
}

h3 {
	font-size: 26px;
}

h4 {
    font-size: 22px;
}

p {
	margin-bottom: 1.5em;
	font-size: 17px;
	text-align: justify;
  	text-align-last: center;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #404040;
	border: 0;
	height: 1px;
	margin: 1.5em 0;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #195726;
    transition: all 0.3s linear;
	text-decoration: none;

}

a:visited {
	color: #195726;
}

a:hover,
a:focus,
a:active {
	color: #333;
}

a:focus {
	outline: none;
}

a:hover,
a:active {
	outline: 0;
}

.button {
    padding: 10px 20px;
    border-radius: 25px;
	color: white !important;
	background: #195726;
	text-transform: uppercase;
	cursor: pointer;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}



/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/


.wrap {
    max-width: 910px; /* Adjust the max-width as needed */
    margin: 0 auto; /* Centers the content */
    padding: 0 15px; /* Adds some padding on the sides */
    width: 100%;
	position: relative;
	z-index: 5;
}

#site-navigation {
 	right: 40px;
	margin-top: 45px;
	position: absolute;
	z-index: 10;
}

.site-branding {
	margin-top: 18px;
	margin-left: 0px;
	z-index: 5 !important;
}

/* Extra Colour Rows
--------------------------------------------- */

.colourRow {
    background: pink;
    padding: 80px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
	width: 100%;
}
.colourRow::before {
    content: '';
    position: absolute;
    right: -100px;
    bottom: -40px;
    background: url('/wp-content/uploads/2024/05/WHH-Plant-Background-White.png') no-repeat center center;
    width: 300px;
    height: 330px;
    pointer-events: none; 
    z-index: 1;
    opacity: 0.3;
    background-size: 100% auto;
}

.colourRow h1, .colourRow h2 {
    margin: 25px 0 0;
}
.colourRow .wrap {
    display: flex;
    width: 100%;
    align-items: stretch; /* Ensures columns are of equal height */
}
.colourRow .col-left {
    width: 65%;
    background-size: cover;
    background-position: center;
    position: relative;
}
.colourRow .col-left::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid white; /* Adjust the thickness as needed */
    pointer-events: none; /* Ensures the pseudo-element doesn't interfere with interactions */
    z-index: 1;
}
.colourRow .col-right {
    width: 35%;
    padding-left: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.type2 {
    background: #195726;
}

/* Additional pseudo-elements for other sections */
.reviewRow::before, .contentRow::before {
    content: '';
    position: absolute;
    left: -100px;
    bottom: -10px;
    background: url('/wp-content/uploads/2024/05/WHH-Plant-Background-Blue.png') no-repeat center center;
    width: 300px;
    height: 330px;
    pointer-events: none; 
    z-index: 1;
    opacity: 0.15;
    background-size: 100% auto;
}


.reviewRow {
	padding: 70px 0;
    position: relative;
	overflow: hidden;
	width: 100%;
}
.contentRow {
	position: relative;
	width: 100%;
	padding: 0 0 45px;
}


/* FADE IN
--------------------------------------------- */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    opacity: 0; /* Start hidden */
    transition: opacity 0.4s ease-in;
}

.fade-in.visible {
    opacity: 1; /* Fade to visible */
}


/* Hide Navigation on Homepage
--------------------------------------------- */

.home #site-navigation {
 	display: none;
}

/* MASTHEAD WITH IMAGE
--------------------------------------------- */

.site-header {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
	
	display: flex;
	justify-content: center;
	align-items: center;
}


.mastheadInner
{
  position: absolute !important;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 60px;
	z-index: 3 !important;
}
.mastheadInner h1
{
  color: white;
	animation: fadeIn 3s ease-in-out;
	margin: -50px 0 0;
}


/* MODAL CONTACT FORM
--------------------------------------------- */

.contact--form__bg {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(9, 36, 87, 0.8); /* blue w/ opacity */
}

.contact--form {
    background-color: #fefefe;
    margin: 10% auto; /* Increase top margin to center vertically, adjust as needed */
    padding: 0 20px;
    border: 1px solid #888;
    width: 65%; /* Adjust based on desired width */
    /* Centering the modal content vertically and horizontally */
    position: relative; /* Adjusted for centering */
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19); /* Optional: adds shadow for better visibility */
}

/* Ensure the modal content doesn't close when clicked */
.contact--form {
    background-color: #fefefe;
    /* Other styles remain the same */
}

/* The Close Button */
.popup--close {
  right: 23px;
  top: 7px;
  position: absolute;
  font-size: 55px;
  font-weight: 300;
  line-height: 1em;
}

.popup--close:hover,
.popup--close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* When form is active */
.form-active {
  display: block; /* Show the modal */
}

.overflowFixedForm {
  overflow: hidden; /* Prevent scrolling on body */
}

@media (min-width: 650px) {
	.mobileOnly {
		display: none;	
	}
}


/*  
    Ninja Forms
    ---------------------------------------
*/

.nf-form-title, .nf-before-form-content, .nf-field-label {
    display: none;
}

.nf-form-content input[type="submit"] {
    cursor: pointer;
	border-radius: 0 !important;
	background: transparent !important;
	border: 1px solid #CBC8C8  !important;
	color: #bbbbbb !important;
	width: 100% !important;
  	text-transform: uppercase;
}
.nf-form-content input[type="submit"]:hover {
	color: #fff !important;
	background: #bbbbbb !important;
}

.nf-field-element::after {
    display: none;
}

.nf-element {
    border: 1px solid #CBC8C8  !important;
    font-size: 16px;
    font-weight: 400;
    font-family: 'PT Sans', sans-serif;
    border-radius: 0px !important;
	background: #F7F7F7 !important;
}

.nf-field-container {
    margin-bottom: 15px !important;
}

.nf-error-msg {
    font-size: 13px;
    font-weight: 400;
    font-family: 'PT Sans', sans-serif;
}

.nf-error .nf-error-msg {
  display: none;
}

.nf-field-element textarea {
    height: 330px !important;
}

.nfLeft {
	float: left;
	width: calc(50% - 10px);
	clear: none !important;
}

.nfRight {
	float: right;
	width: calc(50% - 10px);
	clear: none !important;
}
@media only screen and (max-width: 750px) {
	.nfLeft, .nfRight {
		width: 100%;
		margin-right: 0%;
	}
}



/* VIDEO BANNER
--------------------------------------------- */

.video-banner {
    position: relative;
    width: 100%;
	height: 600px;
    overflow: hidden;
}

.video-banner iframe {
    width: 100vw;
    height: 56.25vw; /* 16:9 Aspect Ratio */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	z-index: 0;
}

.overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
	z-index: 3;
}


img.videoLogo {
    max-width: 420px;
	margin-bottom: 20px;
	animation-delay: 2s;
	animation: fadeIn 8s ease-in-out;
}

.banner-logo {
    max-width: 200px; /* Adjust as needed */
    margin-bottom: 20px;
	animation-delay: 2s;
    animation: fadeIn 20s ease-in-out;
}

.banner-text {
    font-size: 22px; /* Adjust as needed */
    color: #fff;
    animation: fadeIn 14s ease-in-out;
    animation-delay: 2s;
    max-width: 650px;
    opacity: 0; /* Set initial opacity to 0 */
    animation-fill-mode: forwards; /* Add this line */
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Adjustments for screens smaller than 768px */
@media (max-width: 1080px) {
	.video-banner {
		position: relative;
		width: 100%;
		height: 75vh; /* Adjust based on your needs */
		overflow: hidden;
	}

	.video-banner iframe {
		/* Make the video "cover" the container */
		position: absolute;
		left: 50%;
		width: 340%;
		height: 200%;
		max-width: none;
		transform: translate(-50%, -50%);
		z-index: 1;
	}
	img.videoLogo {
    	width: 50%; 
	}
	.banner-text {
		font-size: 20px; 
		max-width: 80%;
	}
}



/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation Area
--------------------------------------------- */
.site-header {
	position: relative;
    height: 200px;
	border-bottom: 1px solid #195726;
}

/*
.site-header::before, .video-banner::before, .parallaxRow1::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
	background: -webkit-linear-gradient(rgba(77,111,128,0) 20%, rgba(77,111,128,1) 100%);
	background: -o-linear-gradient(rgba(77,111,128,0) 20%, rgba(77,111,128,1) 100%);
	background: linear-gradient(rgba(77,111,128,0) 20%, rgba(77,111,128,1) 100%);
    z-index: 2; 
}
*/
.site-header > * {
    position: relative;
    z-index: 2; /* Higher than the pseudo-element */
}


.site-header .custom-logo {
    max-width: 380px; 
    height: auto;
}


/* Custom Nav Toggle
--------------------------------------------- */

.menu-toggle {
    flex-direction: column;
    justify-content: space-around;
    width: 40px; /* Adjust as needed */
    height: 50px; /* Adjust as needed */
    cursor: pointer;
	position: absolute;
	right: 30px;
	top: 40px;
	z-index: 15;
	
}

.bar {
    height: 3px; /* Adjust as needed */
    width: 90%;
    background-color: #fff; /* Adjust as needed */
    transition: all 0.3s ease;
	margin-bottom: 8px;
}

.menu-toggle:hover .bar {
    width: 110%; /* Lines get slightly longer on hover */
}

/* Active (open) state styles */
.menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 5px);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(10px, -9px);
}


/* Nav Structure
--------------------------------------------- */


.main-navigation ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-navigation li {
    margin-left: 40px; /* Space between menu items */
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-transform: uppercase;
	color: #fff;
	font-weight: 400;
}
.main-navigation a:hover {
	color: #ccc;
}

/* Small menu.
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}
 */

.menu-toggle {
		display: none;
	}
.main-navigation ul {
		display: flex;
	}
	



@media (max-width: 768px) {
	/*
    .main-navigation ul {
        display: none;  Hide the desktop menu 
    }
	.main-navigation li {
	  margin-left: 0px;
		font-size: 26px;
	}
	.main-navigation {
		opacity: 0;
		transition: all linear 0.3s;
    }
	#site-navigation {
		  right: 0px;
		  margin-top: 0px;
	}
	*/
	/* 
    .menu-toggle {
        display: block; Make sure the mobile toggle is visible
    }
	 */
}




.main-navigation.toggled {
	width: 100%;
	height: 100%;
	text-align: center;
	opacity: 1;
	
	background: rgba(0, 0, 0, 0.9);
  	display: flex;
  	align-items: center;
  	justify-content: center;
}


.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0px;
	text-align: center;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

.columnLeft {
	width: 60%;
	float: left;
}
.columnRight {
	width: 35%;
	float: right;
	margin-bottom: 20px;
}

@media screen and (max-width: 999px) {
	.columnLeft, .columnRight {
		width: 100%;
	}
}
@media screen and (max-width: 1400px) {
	.entry-content {
	}
}




/* Basic Page adjustments
--------------------------------------------- */


.testimonialTitle {
    width: 60%;
    text-align: center;
    border-bottom: 1px solid #999;
	color: black;
	margin-bottom: 35px;
	margin-left: 20%;
}

.centredDiv {
    text-align: center;
    margin-top: 60px;
    height: 40px;
}

/* Parallax Rows
--------------------------------------------- */


.parallaxRow1, .parallaxRow2 {
    background-image: url(''); /* Using JavaScript to set the background-image URL, on page template Video Banner, as well as others maybe */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; 
    min-height: 420px; 
    width: 100%;
    position: relative;
    color: #fff;
	padding: 40px 0;
}


.parallaxRow2::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.9), /* Dark at the top */
        rgba(255, 255, 255, 0.7)  /* More transparent at the bottom */
    );
    z-index: 1; /* Ensure it's above the background image, but below the content */
}



.parallax-content {
    padding: 50px 20px;
    position: relative;
    z-index: 2;
	text-align: center;
}

.parallax-logo {
    max-width: 200px; /* Adjust as needed */
    margin-bottom: 20px;
}

.parallax-text {
    margin-bottom: 20px;
}
.parallax-text p {
    font-size: 21px;
    font-weight: 300;
}

.parallax-button {
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    display: inline-block;
}


/* Footer
--------------------------------------------- */

#colophon {
	background: white;
	padding: 50px 0;
	float: left;
	width: 100%;
}
.site-footer h1 {
  text-align: center;
	margin-bottom: 0px;
}
h2.widget-title {
    color: white;
	margin: 0 0 15px;
	border-bottom: 1px solid #fff;
	font-size: 20px;
}
.textwidget p {
    margin: 0 !important;
	color: #195726;
	text-align: center;
	font-size: 20px;
}
.footer-widgets {
	display: flex;
	justify-content: space-between;
}

.footer-widget-area {
    padding: 0 0px; 
	color: white;
}

.footer-widget-area .button {
    border: 1px solid #fff;
}
.footer-widget-area ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.footer-widget-area a, .footer-widget-area svg {
	color: white;	
}
.footer-widget-area a:hover {
	color: #ccc;	
}

.footer-widget-area.footer-widget-1 {
    padding-top: 12px;
}

.footer-widget-1 .widget-title {
	display: none;
}
.footerLogo {
	width: 100%;
	margin: 25px auto 52px;
	text-align: center;
}
.footerLogo img {
	max-width: 210px !important;
}

.footer-widget-2 {
}
.footer-widget-3 {
}
.footer-widget-4 {
}


.widget_media_image {
  padding: 0 57px !important;
}
.widget_media_image img {
  margin: 50px 0 0 !important;
}

@media (max-width: 768px) {
    .footer-widgets {
        flex-direction: column;
		text-align: center;
    }

    .footer-widget-1, .footer-widget-2 {
        flex: none;
        width: 100%;
    }
	.footer-widget-area.footer-widget-1 {
	  margin-bottom: 20px;
	}
}



/* Site Info Strip
--------------------------------------------- */

.site-info {
	width: 100%;
	font-size: 0.9em;
	display: flex;
    justify-content: space-between;
	border-top: 1px solid #195726;
	margin-top: 50px;
	padding: 12px 0 0;
	text-transform: uppercase;
	color: #195726;
	float: left;
}

.footer-left, .footer-right {
	display: flex;
	width: 100%;
  text-align: center;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 768px) {
	.site-info {
		flex-direction: column;
	}
	.footer-left {
		margin: 10px 0 0;
	}
	.footer-left, .footer-right {
		width: 100%;
		justify-content: center;
	}
	.site-info ul {
		margin: 0 0;
	}
}


/* Footer menu styling */
#menu-footer-menu {
    list-style: none; /* Remove default list styles */
    padding: 0; /* Remove default padding */
	margin: 0;
}

.menu ul {
  list-style: none;
	padding: 0;
	margin: 0;
}
#menu-footer-menu li {
	float: left;
    margin: 0 0px 0 0px; /* Add spacing between menu items */
}

#menu-footer-menu a {
    text-decoration: none; /* Remove default underline from links */
    color: #666; /* Set the color of menu item text */
    font-weight: 300; 
}

/* Optionally, style hover effect */
#menu-footer-menu a:hover {
    text-decoration: none; /* Underline link on hover */
	color: #000;
}



/* Comments
--------------------------------------------- */

.comments-area {
    display: none;
}

.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}


/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}
