/*!
Theme Name: Canterbury Court (Five One Nine)
Theme URI: https://www.canterburycourt.org/
Author: Five One Nine Marketing
Author URI: https://fonmarketing.com/
Description: Canterbury Court site theme, maintained by Five One Nine Marketing. Forked 2026-09-25 from the "Canterbury Court" theme v1.0.0 (build 1.0.027) by Anstey Hodge, itself based on Underscores. Modified; see readme.txt for the change list.
Version: 2.1.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: canterbury-court
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Original theme "Canterbury Court" (C) Anstey Hodge, GPLv2 or later.
Modifications (C) 2026 Five One Nine Marketing, GPLv2 or later.

Canterbury Court is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> 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;
}

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

/* 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: #000000;
/*	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;*/
	font-size: 1rem;
/*	line-height: 1.5;*/
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

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: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

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: inherit;
}

a:visited {
	color: inherit;
}

a:not('.wp-element-button'):hover,
a:focus,
a:active {
	color: var(--moss);
}


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

/* 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
--------------------------------------------------------------*/

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

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

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

.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-decoration: none;
}

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

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.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 0;
}*/

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

/* Comments
--------------------------------------------- */
.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;
}

/* Theme */
:root {
	--cursive: "beloved-script", cursive; /* Headlines use Bold, 700 */
	--serif: "athelas", serif; /* Headlines use Bold, 700 */
	--sans-serif: "area-normal", sans-serif; /* SemiBold is normal weight, 600 */

	--indigo: #002748;
	--iridium: #403b3d;
	--smurf: #0f88b1;
	--light-blue: #a0d4e2;
	--teal: #49a192;
	--moss: #7d9b69;
	--light-moss: #abd18c;
	--straw: #dcd585;
	--ferrari: #e5322e;
	--jack-o-lantern: #ec6d2d;

	--active-color: var(--moss);
}
.gform_wrapper {
	--gf-form-gap-y: 10px;
	--gf-form-validation-bg-color: rgb(255 230 230);
}
.gform_wrapper.gform_validation_error {
	--gf-form-gap-y: 40px;
}

.gform_page_footer.top_label {
	justify-content: center;
}

html {
	font-size: 18px;
	scroll-behavior: smooth;
}
body {
	text-wrap: pretty;
}
header#masthead {
	display: flex;
	position: absolute;
	left:0;
	right: 0;
	z-index: 10;
	background-color: white;
	width: 100%;
	border-bottom: .5em solid color-mix(in srgb, var(--moss) 50%, transparent);

	box-shadow: 0 0em 0em #00567e3d;
	transition: box-shadow .5s ease-out;
}
/* Inset Header */
.page-template-inset-header-page header#masthead {
	background-color: transparent;
	color: white;
	transition: background-color .5s .5s ease, box-shadow 1s ease-out, filter .5s .5s;
	border-bottom: 0em;

/*	filter: brightness(0) invert(1) ;*/
}
@media all and (min-width:1200px) {
	.page-template-inset-header-page #primary:before {
	    content: "";
	    display: block;
	    position: absolute;
	    top: 0;
	    width: 100%;
	    height: 9vw;
	    min-height: 90px;
	    z-index: 1;
	    background: rgb(0,0,0);
	    background: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
	}

	.page-template-inset-header-page header#masthead:hover, .page-template-inset-header-page header#masthead.on {
		background-color: rgb(from var(--indigo) r g b / .57);
	/*	filter: brightness(1) invert(0);*/
		transition: background-color .5s  0s ease, box-shadow 1s ease-out, filter .5s 0s;
	}
	.page-template-inset-header-page header#masthead.on {
		z-index: 1001;
	}
}
.page-template-inset-header-page header#masthead .custom-logo, .custom-logo-link {
	display: block;
}
.page-template-inset-header-page header#masthead .custom-logo.alternate-logo, .page-template-inset-header-page header#masthead .alt-logo {
	display: none;
}
@media all and (min-width:1200px) {
	.page-template-inset-header-page header#masthead .custom-logo {
		display: none;
	}
	.page-template-inset-header-page header#masthead .custom-logo.alternate-logo, .page-template-inset-header-page header#masthead .alt-logo {
		display: block;
	}

}
.menu-on header#masthead {
	box-shadow: 0 1em 10em #00567e3d;
	transition: box-shadow 1s ease-out;
	z-index: 1001;
}
.closeMenu {
	background-color: black;
}


/*header#masthead:before {
	content: '';
	display: block;
	position: absolute;
	inset: 0;
	background: #fff;
	background: linear-gradient(180deg, rgba(256,256,256,1) 70%, rgba(256,256,256,0) 100%);
	opacity: 0;
	transition: opacity .5s;
}
header#masthead:hover:before {
	opacity: 1;
}
header#masthead.on {
	background: #fff;
}
*/


header#masthead .custom-logo, footer.site-footer .custom-logo {
	width: 18vw;
	max-width: 400px;
    min-width: 330px;
    padding: .95em 3em;
}
header#masthead:hover .custom-logo, header#masthead.on .custom-logo {
	filter: brightness(1) invert(0) ;
}
#site-navigation {
	flex-basis: 100%;
	position: relative;
	padding: 1.5em 0;
}
#site-navigation ul {
  font-size: clamp(16px, 1.2vw, 18px);
}
.site-branding {
	line-height: 0;
}
/*.hiddenmenu {
	background: #fff;
}*/
.hiddenmenu:before {
	content: '';
	display: block;
}
ul#menu-mobile {
	list-style: none;
    margin: 0;
    padding: 0;
    text-align: right;
    color: black;
}
ul#menu-mobile li {
	padding:.5em 0;
}
ul#menu-mobile li a {
	padding:.5em 0;
}
ul#menu-mobile li a:hover, ul#menu-mobile li a:focus {
	text-decoration: underline;
}
ul#menu-mobile li ul {
	list-style: none;
	margin-left: 0;
	margin-right:3em;
    margin-top: 1em;
}
ul#menu-mobile form {
	display: flex;
    flex-direction: row-reverse;
}
.page-template-page-templates ul.summenu {
	border-bottom: 1px solid transparent;
	transition: all .5s;
}
.page-template-page-templates .site-header.on ul.summenu {
	border-bottom: 1px solid var(--cool-moss);
}
.page-template-page-templates ul.summenu li:last-child {
	color: var(--straw);
}
ul.summenu li a:after {
    content: '';
    background-image: url(images/plus.svg);
    background-size: cover;
    width: 1em;
    height: 1em;
    line-height: 1;
    margin-left: .25em;
    filter: brightness(0) invert(1);
    vertical-align: bottom;
}
ul.summenu li a.active:after {
	filter: unset;
}
ul.summenu li:last-child a:after {
	color: var(--straw);
	filter: brightness(0) saturate(100%) invert(100%) sepia(67%) saturate(1148%) hue-rotate(340deg) brightness(90%) contrast(91%);
}
ul.summenu li:last-child a.active:after {
	color: var(--active-color);
	filter: unset;
}

ul.summenu, ul#menu-mobile, footer.site-footer nav ul {
	font-family: var(--sans-serif);
    font-weight: 600;
    letter-spacing: .05em;
}
ul.summenu > li, ul#menu-mobile > li {
	padding: 1em clamp(2em, 1.2vw, 3em) 1em 0;
	line-height: 1.2;
}
 ul#menu-mobile > li {
	padding: 1em 2em 1em 0;
 }
ul#menu-mobile > li li {
	font-weight: 600;
}
ul.summenu > li a, ul#menu-mobile > li a, footer.site-footer nav ul > li a {
	text-transform: uppercase;
	color: inherit;
	text-decoration: none;
	padding: .5em 0;
/*	text-wrap: nowrap;*/
	font-weight: inherit;
}
footer.site-footer nav ul > li a {
	color: var(--indigo);
}
footer.site-footer nav ul > li a:hover {
	color: var(--moss);
}
ul.summenu > li a:hover, ul#menu-mobile > li a:hover, footer.site-footer nav ul > li a:hover {
}
.page-template-inset-header-page {
	--active-color: var(--light-moss)
}
ul.summenu > li a.active,
 .hiddenmenu li a.active,
 ul#menu-mobile > li.current-page-ancestor > a,
 ul#menu-mobile li.current-menu-item a,
 body.page-id-152 a[href*="#independent"],
 body.parent-pageid-152 a[href*="#independent"],

 body.page-id-475 a[href*="#lifestyle"],
 body.parent-pageid-475 a[href*="#lifestyle"],

 body.page-id-708 a[href*="#about"],
 body.parent-pageid-708 a[href*="#about"],

 body.page-id-723 a[href*="#health"],
 body.parent-pageid-723 a[href*="#health"],

  body.page-id-152 ul#menu-mobile > li a[href*="#independent"],
 body.parent-pageid-152 ul#menu-mobile > li a[href*="#independent"],

 body.page-id-475 ul#menu-mobile > li a[href*="#lifestyle"],
 body.parent-pageid-475 ul#menu-mobile > li a[href*="#lifestyle"],

 body.page-id-708 ul#menu-mobile > li a[href*="#about"],
 body.parent-pageid-708 ul#menu-mobile > li a[href*="#about"],

 body.page-id-723 ul#menu-mobile > li a[href*="#health"],
 body.parent-pageid-723 ul#menu-mobile > li a[href*="#health"] {
	color:var(--active-color);
	text-decoration: underline;
    text-underline-offset: .2em;
}
/*ul.summenu > li a.active:after {
	filter: invert(55%) sepia(98%) saturate(273%) hue-rotate(154deg) brightness(85%) contrast(89%); //Close to Azure Blue
}
*/
.active .hamburger-inner, .active .hamburger-inner::before, .active .hamburger-inner::after {
	background-color: var(--moss);
}

/*#menu-mobile > li > a[href*="tel:"] {
	background-color: var(--indigo);
	color: white;
	align-self: center;
	padding: 1em;
	display: block;
}*/
#menu-mobile > li > a[href*="tel:"]:before, header .phone a[href*="tel:"]:before, footer .phone a[href*="tel:"]:before {
	content: '';
	display: inline-block;
	width: 1em;
	height: 1em;
	background-image: url(images/phone.svg);
	background-size: contain;
    vertical-align: bottom;
    margin: 0 0.4em 0 0;
}
.page-template-inset-header-page header a[href*="tel:"]:before {
	filter: invert(1);
}
footer a[href*="tel:"]:before {
    vertical-align: middle;
}
#menu-mobile > li:has(a[href*="tel:"]) {
    text-align: center;
    padding: 1em 1em 2em;
}
#menu-mobile > li > a[href*="tel:"]:after {
	display: none;
}

.phone a {
	text-decoration: none; 
	padding: 2.45em clamp(2em, 1.2vw, 3em) 1em 0; 
	line-height: 1.2;
	font-weight: 600; 
	letter-spacing: .05em;
	display: block;
}

/* Specialty Classes */
.balance {
	text-wrap: balance;
}
.background-multiply {
	background-blend-mode: multiply;
}
.text-align-right {
	text-align: right;
}
.scale-origin-right {
	scale: 1.1;
    transform-origin: right;
}
.z-index-2 {
	z-index: 2;
}
a[href*="youtube.com/e"] img {
    cursor: -webkit-zoom-in;
    cursor: -moz-zoom-in;
    cursor: zoom-in;
}
a[href*="tel:"] {
	white-space: nowrap;
}
.has-athelas-font-family mark, .has-athelas-font-family span {
	font-family: var(--cursive);
	white-space: nowrap;
	line-height: 0;
	font-size: 1.3em;
	font-variant-ligatures: common-ligatures;
	-moz-font-feature-settings: "liga", "clig";
	-webkit-font-feature-settings: "liga", "clig";
	font-feature-settings: "liga", "clig";
}
.has-beloved-script-font-family {
	font-variant-ligatures: common-ligatures;
	-moz-font-feature-settings: "liga", "clig";
	-webkit-font-feature-settings: "liga", "clig";
	font-feature-settings: "liga", "clig";
}
.extraordinary mark, .extraordinary span {
	background-image: url(images/extraordinary.svg);
    background-size: contain;
    display: inline-block;
    overflow: hidden;
    text-indent: -9999px;
    height: 1.15em;
    width: 4em;
    margin-bottom: -.5em;
    margin-top: -.03em;
    margin-left: -.1em;
    vertical-align: top;
}
.swap-stack-order div.wp-block-group div:last-child {
    line-height: 1.1;
}
.contact-accent {
	position: relative;
}
.contact-accent:after {
	--size: 5em;
	content: '';
	position: absolute;
	top:calc(50% - (var(--size) / 2));
	left:calc(50% - (var(--size) / 2));
	width: var(--size);
	height: var(--size);
	background-color: inherit;
	border-radius: 100%;
	background-image: url('images/cc-white-leaves.svg');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
}
@media all and (max-width: 781px) {
	.contact-accent:after {
		top: 400px;
	}
}
.floorplan-section.teal-hover .is-style-underline a:after {
	background-color: var(--teal);
}

/* Slider Gradient Adjustment */
.n2-ss-slider .n2-ss-slide-background .n2-ss-slide-background-color[data-overlay="1"] {
	width: 70%;
}

/* Mobile Menu */
#menuToggle {
    border: 0;
    border-radius: 0;
    background: transparent;
    text-transform: uppercase;
    font-size: 58%;
    font-weight: 600;
    text-align: center;
    line-height: 1;
    padding: .2rem;
    width: 40px;
    cursor: pointer;
    margin-left: auto;
    margin-right: clamp(1px, 8%, 3em);
    display: none;
}
#menuToggle svg {
	width: 100%;
}


#mobile-navigation  {
	background: #fff;
	margin-left: auto;
  display: none;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s ease-out;
}

#mobile-navigation.toggled{
  grid-template-rows: 1fr;
}

.menu-mobile-container {
  overflow: hidden;
}

#menu-mobile > li > a:after {
	content: '';
    display: inline-block;
    width: .5em;
    height: .5em;
    rotate: 45deg;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    margin: 0 .5em;
    transition: rotate .5s;
}
#menu-mobile > li.active > a {
	color: var(--active-color);
    text-decoration: none !important;
}
#menu-mobile > li.active > a:after {
    border-right: 2px solid var(--active-color);
    border-bottom: 2px solid var(--active-color);
    rotate: 225deg;
}


/* Mobile submenu toggle */
#menu-mobile .sub-menu {	
	max-height:0;
	overflow: hidden;
  transition: max-height 0.5s ease-out;
}

#menu-mobile li.active ul.sub-menu {
	max-height:1000px;
}



/* Search */
.position-relative {
	position: relative;
}
.hiddenmenu .menu-search {
/*	position: absolute;
    inset: 0;*/
    margin: 0;
    padding: 2em 0 0;
    display: flex;
    align-items: center;
    max-width: 90%;
/*    width:0;
    overflow: hidden;
    visibility: hidden;
   transition: width .5s, visibility 0s .5s;
    background-color: rgb(from var(--indigo) r g b / .9);
*/ }
.hiddenmenu .menu-search form {
	flex-basis: 100%;
}
.hiddenmenu .menu-search.active {
	width: 100%;
    visibility: visible;
    transition: width .5s;
}
.search-form {
	display: flex;
}
.menu-search .wp-block-search__button, #searchform button {
	margin-left: 0;
	border-radius: 0 2em 2em 0;
    padding: .5em 1em .5em .5em;
    background: #fff;
    border: 1px solid #ccc;
    border-left: 0;
	color: var(--indigo);
	vertical-align: middle;
	cursor: pointer;
}
.wp-block-search__button svg, #searchform button svg {
    height: 1.25em;
    min-height: 24px;
    min-width: 24px;
    width: 1.25em;
    fill: currentColor;
    vertical-align: text-bottom;
}
.menu-search .wp-block-search__button:hover, #searchform button:hover {
	color: var(--smurf);
}
.menu-search input, #searchform input {
    padding: .5em .5em .5em 1em;
    border-radius: 2em 0 0 2em;
    border: 1px solid #ccc;
    border-right: 0;
    font-family: var(--sans-serif);
	vertical-align: middle;
	font-size: var(--wp--preset--font-size--normal);
	max-width: 90%;
	width:100%;
}
.menu-search input::placeholder, #searchform input::placeholder {
	text-transform: uppercase;
	color: var(--smurf);
}


#page {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
#page > * {
	order:3;
}
#page > .skip-link {
	order: 0;
}
#page > .collapsiblebanner {
	order: 1;
}
#page > #masthead {
	order:2;
}

#primary {
	flex-basis: 66%;
	padding: 4em 1em;
	max-width: 720px;
}
#secondary {
	flex-basis: 34%;
	max-width: 440px;
	background: #f6f6f6;
    padding: 4em 2em;
}
body.page #primary, body.single-l #primary, body.single-thank-you #primary {
	flex-basis: 100%;
	padding: 0;
	max-width: none;
	position: relative;
}
body.single-stories #primary {
	flex-basis: 100%;
	max-width: 800px;
}
@media all and (min-width:1201px) {
	body:not(.page-template-inset-header-page) #primary, body:not(.page-template-inset-header-page) #secondary, body .tribe-common, body.single-tribe_events #tribe-events-pg-template {
		margin-top: 6rem;
	}
}
body.single-team #primary {
	flex-basis: 100%;
	max-width: 1400px;
}

.blog article, .search article, .archive article:not(.tribe_events), article.team {
	display: flex;
    flex-wrap: wrap;
    gap: 1em 2em ;
    margin-bottom: 2em;
}
.blog article header, .search article header, .archive article header, article.team header {
	flex-basis: 100%;
}
.blog h1, .search h1, .archive h1 {
	margin-top:0;
}
.blog article header h2, .search article header h2, .archive article header h2 {
	margin: 0;
	font-family: var(--sans-serif);
	line-height: 1.2;
}
.blog article header h2 a, .search article header h2 a, .archive article header h2 a {
	font-weight: 600;
}
article header .entry-meta, article footer {
	font-size: var(--wp--preset--font-size--small);
}
article.team h1, article h1 {
	margin-top: .1em;
	margin-bottom: .1em;
}
article.team .post-thumbnail, .blog article .post-thumbnail, .search article .post-thumbnail, .archive article .post-thumbnail {
	flex-basis: 30%;
    width: unset;
    height: unset;
    max-height: 80vh;
    position: relative;
    z-index: 1;
}
article.team .post-thumbnail img, .blog article .post-thumbnail img, .search article .post-thumbnail img, .archive article .post-thumbnail img {
	width: unset;
    height: unset;
    object-fit: unset;
    position: relative;
    inset: auto;
    display: block;
}
article.team .entry-content, .blog article .entry-content, .search article .entry-summary, .archive article .entry-content {
	flex-basis: calc(70% - 2em);
}
article.team .entry-content, .blog article .entry-content p, .search article .entry-summary p, .archive article .entry-content p {
	margin:0;
}
:root :where(article .wp-block-list) {
	line-height: inherit;
}
aside#secondary ul {
	margin:0;
}

.post-navigation {
	border-top: 1px solid var(--provincial-blue);
}

footer.site-footer {
	padding: .5em 2em 2em;
	display: flex;
	gap: 3em;
	width: 100%;
}
footer.site-footer .custom-logo {
 	padding: 0;
 }
footer.site-footer nav {
	flex-grow: 2;
	display: flex;
    flex-direction: column;
    flex-basis: 40%;
    justify-content: space-between;
    margin-top: 1.5em;
}
footer.site-footer nav ul {
	list-style: none;
    padding: 0;
    margin: 0 1em 0 3em;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}
footer.site-footer nav ul > li {
	padding: 0em 0 1em 3em;
	line-height: 1.2;
}
footer.site-footer nav .footer-social img {
    height: 1em;
    vertical-align: inherit;
}
.footer-seals {
	margin-top: 1.5em;
}
.footer-seals figure {
	text-align:right;
}
.bottom {
	background: var(--indigo);
/*	text-align: center;*/
	color: #fff;
	padding: .5em 2em;
	flex-basis: 100%;
	font-size: .7em;
}
.bottom p {
	line-height: 1.2;
/*	display: flex;
    justify-content: space-evenly;
    gap: 1em;
*/}
.bottom a {
	color: inherit;
	margin-left: 1em;
}

.single-team .post-thumbnail {
	width: 100%;
    height: 80vh;
    max-height: 80vh;
    position: relative;
    z-index: 1;
}
.single-team .post-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	inset: 0;
	display: block;
}
.single .post-thumbnail {
	height: unset;
}
/*.single .post-thumbnail img {
	width: unset;
	height: unset;
	position: unset;
}*/

/* Grid for cards/hyperlink group block */
body .grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
	gap: 2rem;
	margin: 0;
}
body .grid.five {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
body .grid > a, body .grid > div, body .wp-block-query .grid a.wp-block-tiptip-hyperlink-group-block {
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 3;
	color:inherit;
	border-radius: 3px;
	overflow: clip;
	transform: translate(0px, 0px);
	box-shadow: 0px 0px 1px #00000000;
	transition: all .5s;
	gap: 0;
	font-family: inherit;
	font-weight: inherit;
	margin: 0;
	height: 100%;
}
body .grid > a:hover, body .grid > a:focus, body .wp-block-query .grid a.wp-block-tiptip-hyperlink-group-block:hover, body .wp-block-query .grid a.wp-block-tiptip-hyperlink-group-block:focus {
	transform: translateY(-10px);
	box-shadow: 0px 10px 10px #00000033;
}
body .grid a figure, body .grid.five figure {
	margin:0;
}

strong {
	font-weight: 600;
}

/* Video Image Hover */
a[href*=".mp4"]:not(.wp-element-button), a[href*="youtube.com/e"]:not(.wp-element-button) {
	display: block;
	position: relative;
	cursor: zoom-in;
	overflow: hidden;
}
a[href*=".mp4"]:not(.wp-element-button) img, a[href*="youtube.com/e"]:not(.wp-element-button) img {
	scale:1.1;
	transition: all .5s ease-in-out;
}
a[href*=".mp4"]:not(.wp-element-button):hover img, a[href*="youtube.com/e"]:not(.wp-element-button):hover img, a[href*=".mp4"]:not(.wp-element-button):focus img, a[href*="youtube.com/e"]:not(.wp-element-button):focus img {
	scale:1;
}

a[href*=".mp4"]:not(.wp-element-button):before, a[href*="youtube.com/e"]:not(.wp-element-button):before {
	content: '';
	position: absolute;
	inset: 0;
	background-color:var(--mykonos-blue);
	opacity:0;
	transition: all .5s ease-in-out;
	z-index: 1;
}
a[href*=".mp4"]:not(.wp-element-button):hover:before , a[href*="youtube.com/e"]:not(.wp-element-button):hover:before, a[href*=".mp4"]:not(.wp-element-button):focus:before , a[href*="youtube.com/e"]:not(.wp-element-button):focus:before {
	opacity: 0.3;
}
a[href*=".mp4"]:not(.wp-element-button):after, a[href*="youtube.com/e"]:not(.wp-element-button):after {
	content: '';
	position: absolute;
	inset: 0;
	background-image: url(images/play-button.svg);
	background-repeat: no-repeat;
	background-size: 30%;
	background-position: center;
	filter: drop-shadow(0px 0px 10px #00000099);
	transition: all .5s ease-in-out;
	z-index: 2;
}
a[href*=".mp4"]:not(.wp-element-button):hover:after, a[href*="youtube.com/e"]:not(.wp-element-button):hover:after, a[href*=".mp4"]:not(.wp-element-button):focus:after, a[href*="youtube.com/e"]:not(.wp-element-button):focus:after {
	background-size: 35%;
	filter: drop-shadow(0px 0px 0px transparent);
}

/* Embeded Videos */
.wp-block-embed iframe {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
}


/* MetaSlider customizations */

/*.alignnormal .metaslider .flexslider .flex-direction-nav li a {
	height:60px!important;
	width: 40px;
	background-color: #0003;
	background-color: transparent;
	filter: drop-shadow(.1em 0 .1em #0003);
	margin: -30px 0 0;
	background-repeat: no-repeat!important;
	right: 20px;
}
.alignnormal .metaslider .flex-direction-nav .flex-next, .alignnormal .metaslider .flex-direction-nav .flex-next:focus {
	background-image: url('images/next-arrow.svg')!important;
	background-size: 60%!important;
	background-position: center!important;
}
.alignnormal .metaslider .flex-direction-nav .flex-prev, .alignnormal .metaslider .flex-direction-nav .flex-prev:focus {
	background-image: url('images/prev-arrow.svg')!important;
	background-size: 60%!important;
	background-position: center!important;
}
.alignnormal .metaslider .flexslider .flex-direction-nav li a {
	opacity: .8;
}*/


/* Search Results */
.search h1 {
	color: var(--mykonos-blue);
	font-size: var(--wp--preset--font-size--large);	
}
.search h1 span {
	font-family: var(--serif);
    color: black;
    text-transform: none;
    font-weight: 400;
}
.search article.team {
	gap: 1em;
	flex-wrap: wrap;
}
.search article.team header.entry-header {
	flex-basis: 100%;
}
.search article.team .entry-summary {
	flex-basis: 60%;
}

/* Hover state for Buttons */
:root :where(.wp-element-button, .wp-block-button__link) {
    transform: translate(0px, 0px);
    box-shadow: 0px 0px 1px #00000000;
    filter: brightness(1);
    transition: all .5s;

}
:root :where(.wp-element-button:hover, .wp-block-button__link:hover,.wp-element-button:focus, .wp-block-button__link:focus) {
/*    transform: translateY(-5px);*/
    filter: brightness(1.1);
/*    box-shadow: 0px 5px 5px #00000055;*/
}
:root :where(.wp-element-button:active, .wp-block-button__link:ative) {
/*    transform: translateY(1px);*/
    box-shadow: 0px 0px 0px #00000000;
    transition: all 0s;
}

.wp-block-query ul {
	margin:0;
}

@media all and (max-width:1431px) {
	.phone {
		display: none;
	}
}
@media all and (max-width: 1199px) {
	header#masthead {
		flex-wrap: wrap;
		position: relative;
	}
	.page-template-inset-header-page header#masthead {
		filter: none ;
		position: relative;
	}
	.page-template-inset-header-page header#masthead .custom-logo {
		padding: .5em 1em;
		min-width: 300px;
	}
	.site-branding {
		flex-basis: 75%;
	}
	#menuToggle {
		display: block;
	}
	#mobile-navigation  {
		display: grid;
	}
	#site-navigation  {
		display: none;
	}
	.phone {
		display: block;
		width: 100%;
        text-align: center;
	}
	.on .phone {
		display: none;
	}
	#menu-mobile > li > a[href*="tel:"], .phone a {
		background-color: var(--indigo);
		color: white;
		align-self: center;
		padding: 1em;
		display: block;
	}
	#menu-mobile > li > a[href*="tel:"]:before, .phone a[href*="tel:"]:before {
		filter: invert(1);
	}

}

@media all and (max-width: 1062px) {
	body:not(.page-template-inset-header-page) #primary {
		flex-basis: 100%;
	    padding: 1em;
	}
	/*.bottom {
		padding: .5em 2em 140px;
	}*/
}

@media all and (max-width: 781px) {
	footer.site-footer {
		flex-wrap: wrap;
	}
	.mobile-no-background {
		background-image: none!important;
	}
	.scale-origin-right {
		scale: 1;
	}

}
@media all and (max-width: 768px) {
	body .grid {
		display:block;
	}
	body .grid > a, body .grid > div, body .wp-block-query .grid a.wp-block-tiptip-hyperlink-group-block {
		margin-bottom: 1em;
	}
}

@media all and (max-width: 480px) {
	.desktop {
		display: none;
	}
	.mobile-center {
		text-align: center;
	}
	.mobile-center .wp-block-buttons {
		justify-content: center;
	}
	article.team {
		flex-direction: column;
	}
	footer.site-footer ul#menu-footer {
		flex-direction: column;
        text-align: center;
	}
	.footer-seals figure {
		text-align:center;
	}
	.bottom p {
		display:flex;
		text-align: center;
		flex-direction: column;
	}
	.slider-text * {
		text-align: center!important;
		font-weight: bold!important;
	}
	.n2-ss-slider .n2-ss-slide-background .n2-ss-slide-background-color[data-overlay="1"]{
		background: #000000ab!important;
		width: 100%;
	}
	div:has(.more-purpose) {
		background-size: 250% !important;
        background-position-x: 0% !important;
  	}
	.more-purpose {
		background:linear-gradient(180deg,rgba(0, 38, 71, 0.68) 56%,rgb(0, 38, 71, 0.68) 56%)!important;
	}

	.wp-block-cover.mobile-reset {
		display: block;
		padding: 0;
		min-height: auto!important;
	}
	.wp-block-cover.mobile-reset .wp-block-cover__image-background {
		position: relative;
		margin-bottom: -2em;
	}
	.background-multiply {
		background-image: none!important;
	}
	.swap-stack-order div:first-child {
		order:1;
	}
	.swap-stack-order div:last-child {
		order:0;
	}
	footer.site-footer {
		justify-content: center;
	}
	footer.site-footer *.is-layout-flex {
		justify-content: center;
	}
	footer p {
		text-align: center;
	}
	footer.site-footer nav ul {
		margin:1em;
	}
	footer.site-footer nav ul > li {
		padding: 0em 0 1em;
	}
	.offset-right-margin {
		margin-right: -3em;
	}
	.offset-left-margin {
		margin-left: -3em;
	}
}
