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

@font-face {
	font-family: Lato;
	src: url('fonts/Lato-Regular.ttf') format('ttf');
	font-weight: 400;
}

@font-face {
	font-family: Lato;
	src: url('fonts/Lato-Bold.ttf') format('ttf');
	font-weight: 700;
}

/**
 * 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%;
	-webkit-text-size-adjust: none;
  	text-size-adjust: none;
	font-size: 56.3%; /* adjust global font size base */
    /*
      font-size:50.0% gives 1.0rem = 8px
      font-size:56.3% gives 1.0rem = 9px (better correlation with XD sizes)
      font-size:62.5% gives 1.0rem = 10px (16px is default browser font size, therefore (62.5/100)*16px = 10px)
    */
}

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

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

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

p {
	margin-bottom: 1.5em;
}

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

blockquote {
	margin: 0;
}

address {
	margin: 0;
}

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;
	margin: 0; padding-left: 20px;
}

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: #4169e1;
}

a:visited {
	color: #800080;
}

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

a:focus {
	outline: thin dotted;
}

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: #193E72;
	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: #193E72;
}

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: 330px;
    justify-content: flex-start;
    padding-left: calc((100vw - 706px) / 18);
}
@media screen and (min-width: 1540px) {
	.main-navigation ul ul a {padding-left:45px;}
}

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

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: flex;
	text-decoration: none;
	align-items: center;
	justify-content: center;
	height: 68px;
	padding:0 10px;
	font-size:1.6rem;line-height: 1.8rem;
	color:#163E72;
	background-color:#ffffff;
	border-top:8px solid rgba(255,255,255,0);
	border-bottom:8px solid rgba(255,255,255,0);
	-webkit-transition: background-color 0.25s ease, color 0.25s ease;
	-moz-transition: background-color 0.25s ease, color 0.25s ease;
	-o-transition: background-color 0.25s ease, color 0.25s ease;
	transition: background-color 0.25s ease, color 0.25s ease;
}
.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a {border-bottom:8px solid #ea5d4e;border-bottom:8px solid #E02E1A;} /* #ea5d4e */
.main-navigation .current-page-ancestor > a,
.main-navigation .current-menu-ancestor > a {border-bottom:8px solid #6567AD ;}
.main-navigation a:hover {background-color:#163E72;color:#fff;}


/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: flex;flex-direction: column;
  	border-left: 1px solid #D9D9D9;
}
@media screen and (min-width: 991px) { /*991px 37.5em*/ 
	/* desktop */
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: flex; flex-direction: row;
		border-left: 1px solid #D9D9D9;
	}
	.main-navigation ul ul {
		flex-direction: column; border: none;
	}
	.main-navigation ul ul li {
		flex-direction: column; border-bottom: 1px solid #D9D9D9; border-right: none!important;
	}
	.main-navigation ul ul li:last-child {border-bottom:none;}
}

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

.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;
}

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

.page-content,
.entry-content,
.entry-summary {
	margin: 0;
}

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

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

/* ===================================================================
    ____       _   ______  ____  __  __
   / __ \___  / | / / __ \/ __ \/ / / /
  / / / / _ \/  |/ / /_/ / /_/ / / / / 
 / /_/ /  __/ /|  / ____/ _, _/ /_/ /  
/_____/\___/_/ |_/_/   /_/ |_|\____/   
						
=======================================================================

#6567AD Purple	AA lg OK		AA sm OK
#F29330 Orange
#2EA9B0 Teal   	AA lg #2AA1A7	AA sm #228287
#EA5D4E Red		AA lg OK		AA sm #E02E1A
#707070 D Gray AAA #595959
#193E72 D Blue

Lato
Regular 400
Bold    700

====================================================================*/

/* 
colour tweaks to make site WCAG AA compliant 

Large text is defined as:
- 14 point (typically 18.66px) and bold or larger, or 
- 18 point (typically 24px) or larger
*/
:root {
	--teal: #2EA9B0;
	--teal-darker: #228287; /* small text */
	--red: #EA5D4E;
	--red-darker: #E02E1A; /* small text */
	--purple: #6567AD;
	--purple-darker: #4D5193; /* small text */
}

/* more nav */
.transall-0-5 {transition: all 0.5s ease;-webkit-transition: all 0.5s ease;-moz-transition: all 0.5s ease;-o-transition: all 0.5s ease;}
.menu-toggle {width:30px;height: 30px;border:none;background: transparent;position: relative;padding:0;border-radius: 0;z-index: 30;cursor:pointer}
.menu-toggle span {position: absolute;top:1px;left:0;width:30px;height:2px;background: #193E72;}
.menu-toggle span.bar2 {top:12px;background: #193E72;left:auto;right:0;}
.menu-toggle span.bar3 {top:23px;background: #193E72;}
.toggled-animation .menu-toggle span.bar1 {transform: rotate(-45deg);transform-origin:center right;}
.toggled-animation .menu-toggle span.bar2 {width:0;}
.toggled-animation .menu-toggle span.bar3 {transform: rotate(45deg);transform-origin:center right;}

/* to match mobile menu initiation */
@media screen and (max-width: 990px) {
	/* nav closed ------------------------------------- */
	.main-navigation .menu-main-menu-container, .main-navigation > div > ul {
		transition: all 0.5s ease; /* to match speed in navigation.js file */
		-webkit-transition: all 0.5s ease;
		-moz-transition: all 0.5s ease;
		-o-transition: all 0.5s ease;
	}
	.main-navigation .menu-main-menu-container {
		height: 0;
		overflow: hidden;
		width: 100%;
		position: absolute;
		top: 0px;
		left: 0;
		z-index: 10;
		background: #fff;
	}
	.main-navigation ul {display:block;opacity:0;padding:40px 20px 20px 20px;}
	/* nav opening ------------------------------------- */
	.main-navigation.toggled-animation .menu-main-menu-container {height:calc(100vh - 156px);}
	.main-navigation.toggled-animation ul {display: block;opacity:1;}
	/* nav closing ------------------------------------- */
	.main-navigation.toggled .menu-main-menu-container { }
	.main-navigation.toggled ul {display: block;opacity:0;}
	.main-navigation.toggled ul li.focus ul {position: relative; float:none;padding: 0 40px;box-shadow: none;border:none;}
	.main-navigation.toggled ul li.focus ul li {border:none!important;}
	.main-navigation ul li.focus ul a {width:auto;}
	/* nav open ------------------------------------- */
	.main-navigation.toggled-animation.toggled .menu-main-menu-container {overflow:auto;}
	.main-navigation.toggled-animation ul {display: block;opacity:1;}
	.main-navigation a {height: 50px;}
	.main-navigation .current_page_item > a, .main-navigation .current-menu-item > a {
		background:#ea5d4e;background:var(--red-darker);
		color: #fff;
	  }
	.main-navigation .current-page-ancestor > a, .main-navigation .current-menu-ancestor > a {
		background: #6567AD;background:var(--purple-darker);
		color: #fff;
	}
	.menu-item-has-children > a::after {content:'+';display: block;padding-left:4px;right: 4px;position: absolute;}
	.menu-item-has-children.focus > a::after {content:'-';}
} 

/* end more nav */

.post-thumbnail {line-height: 0;}

#page {width:1920px;max-width:100%;margin: 0 auto;
	/*border-left:1px solid #D9D9D9;border-right:1px solid #D9D9D9;*/
	-webkit-box-shadow: 0px 0px 6px 0px rgba(217,217,217,1);
	-moz-box-shadow: 0px 0px 6px 0px rgba(217,217,217,1);
	box-shadow: 0px 0px 6px 0px rgba(217,217,217,1);
}
.contentinner, .contentinnerfull, .contentinnerfullplus, .entry-content > .wp-block-group > .wp-block-group__inner-container, .contentmaxwidth {
	width:1540px;padding:0px 20px 0 20px;margin:0 auto; max-width: 100%;position: relative;}
.contentinnerfull {width:1500px;padding:0;}
.contentinnerfullplus {width:1580px;padding:0;}
.contentmaxwidth {width:1900px;padding:0;/* 1920px */}/* restrict max screen width for super wide screens */

.bg-white {background:#fff;}
.bg-purple {background:#6567AD;color:#fff;background:var(--purple-darker);}
.bg-orange {background:#F29330;color:#000;}/* black text for contrast reasons */
.bg-teal {background:#2EA9B0;color:#fff;background:var(--teal-darker);}
.bg-red {background:#EA5D4E;background:var(--red-darker);}
.bg-vlgray {background:#f7f7f7;}
.bg-lgray {background:#E2E2E2;}
.bg-mgray {background:#DBDBDB;color:#fff;}
.bg-dgray {background:#707070;color:#fff;}
.bg-dblue {background:#193E72;color:#fff;}

.site-branding {min-height:156px;display: flex;justify-content: space-between;gap:20px;}
.headleft{padding-top:45px;}
.headright{padding-top:25px;display:flex;gap:60px;align-items: flex-start;}
.headsearch, .mobilesearch {display: flex;border-bottom: 1px solid #707070;width:360px;}
.headsearch input, .mobilesearch input {border: none;flex-grow: 1;font-size:1.6rem;padding:0;}
.headsearch button, .mobilesearch button {border: none;background: #fff;}
.socials {display:flex;gap:25px;padding-top:3px;}
.socials a:hover svg path {fill:#EA5D4E!important;fill:var(--red-darker)!important;}

.navbox {border-top:1px solid #D9D9D9;/*border-bottom:1px solid #D9D9D9;*/}
/* #primary-menu {display: flex;border-left:1px solid #D9D9D9;} */
#primary-menu li {flex-grow:1;border-right:1px solid #D9D9D9;min-height:68px;}
.mobile-header-search {display:none;}
@media only screen and (max-width:991px) { 
	.site-branding {/*min-height: 106px;*/}
	.navbox {
		background: #fff;
		height: 69px;
		padding-top: 20px;
		border-top:0;
	  }
	.headsearch {width:200px;}
	.mobile-header-search {
		display: flex;
    	justify-content: center;
		border:none!important;
	}
	.mobile-header-search .mobilesearch {width:100%}
	#primary-menu li {
		flex-grow: 1;
		border-right:none;
		border-bottom: 1px solid #D9D9D9;
		min-height: 50px;
	}
	.main-navigation {
		width: 100%;
		text-align: center;
		display: flex;
		justify-content: center;
	}
}
@media only screen and (max-width:768px) { 
	.headsearch {display:none;}

}
@media only screen and (max-width:600px) { 
	.headleft {padding-top: 25px;}
	.headright {display: none;}
	.site-branding {min-height: 100px;}

}

.projnav {background: #E8E8E8;padding:36px 0;}
.projnav .contentinner {display:flex;gap:20px}
.projnav .projnav1 {flex-grow:1;}
.projnav a, a.btn, button.btn {display: inline-flex;border-radius: 60px;font-size: 2.2rem;font-weight:700;text-decoration: none;
	color: #fff;align-items: center;justify-content: flex-start;padding:8px 50px 8px 20px;
	-webkit-transition: background-color 0.25s ease, color 0.25s ease;
	-moz-transition: background-color 0.25s ease, color 0.25s ease;
	-o-transition: background-color 0.25s ease, color 0.25s ease;
	transition: background-color 0.25s ease, color 0.25s ease;
	background:#6567AD url(/wp-content/themes/denpru/images/arrow.svg) right 15px center no-repeat;
	background-color:var(--purple-darker);
	background-size:16px 18px ;
	min-height: 38px;
}
.projnav .projnav1 a {justify-content: flex-end;padding:8px 20px 8px 50px;background:#6567AD url(/wp-content/themes/denpru/images/arrow-left.svg) left 15px center no-repeat;background-color:var(--purple-darker);background-size:16px 18px ;}
.projnav a:hover {background-color: #2EA9B0; background-color:var(--teal-darker);}
.projnav .projnav2 a {background-color:#EA5D4E;background-color:var(--red-darker);}
.projnav .projnav2 a:hover {background-color: #2EA9B0;background:var(--teal-darker);}
.projnav .projnav1 .nav-next,
.projnav .projnav3 .nav-previous {display:none;}
@media only screen and (max-width:1100px) { 
    /*.projnav {padding: 20px 0;}*/
}
@media only screen and (max-width:660px) { 
	.projnav a, a.btn, button.btn {font-size:1.5rem;}
}
@media only screen and (max-width:600px) { 
	.projnav .contentinner {flex-wrap: wrap;column-gap: 10px;}
	.projnav .projnav1 {order: 1;width: calc(53% - 5px);flex-grow: 0;}
	.projnav .projnav2  {order: 3;width: 50%;flex-grow: 1;text-align: right;}
	.projnav .projnav3 {order: 2;width: calc(47% - 5px);}
}

a.btn, button.btn {background-color: #2EA9B0;min-width: 190px;background-color: var(--teal-darker);}
a:hover.btn, button.btn:hover {background-color:#EA5D4E;background-color:var(--red-darker);}
a.btn.btn-red {background-color: #EA5D4E;background-color:var(--red-darker);}
a:hover.btn.btn-red {background-color:#2EA9B0;background-color: var(--teal-darker);}
a.btn.btn-purple {background-color: #6567AD;background-color:var(--purple-darker);}
a:hover.btn.btn-purple {background-color:#2EA9B0;background-color: var(--teal-darker);}
a.btn.btn-green {background-color: #2EA9B0;background-color: var(--teal-darker);}
a:hover.btn.btn-green {background-color:#6567AD;background-color:var(--purple-darker);}
button.btn {min-width:0;padding-right: 20px;border: none;cursor: pointer;background-image: none;}
button.btn.highlight {background-color:var(--purple-darker);}

.projhero {position: relative;min-height: 400px; background: #193E72;line-height: 0;}

.projhero {
  max-height: 681px;
  overflow: hidden;
}

.projhero img{
  object-fit: cover;
  width: 100%;
  aspect-ratio: 3840/1362;
}

.projintro {position: absolute;left:calc(50vw - 750px - 60px);bottom:0;width:760px;max-width:100%;min-height:400px;background:#fff;padding:60px}
.projintro h1 {font-size:4.0rem;line-height:4.8rem;font-weight: 700;padding-bottom:40px;margin:0;color:#707070;}
.projintro h1::after {display: block;width:44px;height: 4px;background:#EA5D4E;background:var(--red-darker);content: '';margin-top: 40px;}
.projintro p {font-size:2.5rem;line-height:4.0rem;font-weight:400;margin-top:0;color:#707070;}
.home .projintro p {font-size:1.8rem;line-height:3.0rem;}
.projdatebox {/*border-top:1px solid #707070;*/height: 70px;display: flex;align-items: center;}
.projdatebox.start {margin-top:70px;}
.single-post .projintro, .single-event .projintro {min-height:0;padding-bottom: 20px;}
@media only screen and (min-width:1621px) {
    .projintro {
        height: calc(100vh - 343px);
    }
}
@media only screen and (max-width:1620px) { 
	.projintro {left:0;min-height:0;}
}
@media only screen and (max-width:1200px) { 
	.projintro {position:relative;padding:40px;width: 100%;}
	.projintro p {width:750px; max-width:100%}
}
@media only screen and (max-width:991px) {
	.projdatebox.start {margin-top:0;}
}
@media only screen and (max-width:600px) { 
	.projhero {min-height: 0px;}
	.projintro {padding:20px}
	.projintro h1 {font-size:3.0rem;line-height:3.8rem;padding-bottom:20px}
	.projintro h1::after {margin-top: 20px;}
	.projintro p {font-size:2.0rem;line-height:3.0rem;}
}

/* archive page */
.projgrid {
	display:grid;
	grid-template-columns: 1fr 1fr 1fr;
	max-width:100%;margin:0 auto;
}
.projgrid article {position: relative;overflow: hidden;background-color: #707070;}
.projgrid article:nth-child(4n-3) {background-color:#EA5D4E;background-color:var(--red-darker);} /* 1, 5, 9... */
.projgrid article:nth-child(4n-2) {background-color:#6567AD;background-color:var(--purple-darker);} /* 2, 6, 10... */
.projgrid article:nth-child(4n-1) {background-color:#F29330;} /* 3, 7, 11... */
.projgrid article.triofiller {display:none;}
.projgrid .imgbox {width:100%;height:100%;position: absolute;z-index: 1;}
.projgrid .imgbox img {height: 100%; width: auto;
	object-fit: cover;
	width: 100%;
	height: 100%;}
.projgrid .entry-content {height:calc(33vw - 40px);max-height: 471px;width:100%; margin:0;position: relative;z-index: 2;aspect-ratio: 500 / 471;}
.projgrid a.entry-content-inner,
.projgrid span.entry-content-inner {display:block; position: absolute;bottom:0;right:0;width:76% /*380px*/;height:auto;min-height:70% /*330px*/;background:#fff;text-decoration: none;color:#000;
	padding:20px;display: flex;flex-direction: column;
	-webkit-transition: background-color 0.25s ease, color 0.25s ease;
	-moz-transition: background-color 0.25s ease, color 0.25s ease;
	-o-transition: background-color 0.25s ease, color 0.25s ease;
	transition: background-color 0.25s ease, color 0.25s ease;}
.projgrid a:hover.entry-content-inner,
.projgrid a.entry-content-inner.mactive {background:#2EA9B0;background:var(--teal-darker);color:#fff;}

.pdate {font-size:1.2rem;line-height:2.2rem;}
.ptitle {font-size:2.5rem;line-height:3.0rem;font-weight: 700;max-width:260px;min-height: 55px;margin-bottom: 14px;}
.pintro {font-size:1.5rem;line-height:2.0rem;max-width:260px;flex-grow:1;}
.pfoot {font-size:2.0rem;line-height:2.4rem;font-weight: 700;}
.pfoot::before {display: block;width:44px;height: 4px;background:#EA5D4E;background:var(--red-darker);content: '';margin-bottom: 40px;}
.homepanel1 .pfoot::before {background:#fff;margin-bottom: 20px;}
@media only screen and (min-width:1240px) and (max-width:1540px) {
	/* box getting smaller now */
	.projgrid a.entry-content-inner,
	.projgrid span.entry-content-inner {width:88%;}
	.pfoot::before {margin-bottom: 20px;}
}
@media only screen and (max-width:1240px) {
	/* 2 col */
	.projgrid {grid-template-columns: 1fr 1fr;width:1000px;}
	.projgrid .entry-content {height:calc(50vw - 40px);max-height: 471px;}
	.pfoot::before {margin-bottom: 40px;}
	.projgrid article.triofiller {display:block;}
}
@media only screen and (min-width:840px) and (max-width:1040px) {
	/* box getting smaller now */
	.projgrid a.entry-content-inner,
	.projgrid span.entry-content-inner {width:88%;}
	.pfoot::before {margin-bottom: 20px;}
}
@media only screen and (max-width:840px) {
	/* 1 col */
	.projgrid {grid-template-columns: 1fr ;width:500px;}
	.projgrid .entry-content {height:calc(100vw - 40px);max-height: 471px;}
	.pfoot::before {margin-bottom: 40px;}
	.projgrid article.triofiller {display:none;}
}
@media only screen and (max-width:540px) {
	/* box getting smaller now */
	.projgrid a.entry-content-inner,
	.projgrid span.entry-content-inner {width:88%;}
	.pfoot::before {margin-bottom: 20px;}

}
@media only screen and (max-width:400px) {
	.ptitle {font-size: 2.0rem;line-height: 2.4rem;}
	.projgrid a.entry-content-inner,
	.projgrid span.entry-content-inner {width:100%;}
	.pfoot::before {display: none;	}
	.projgrid .entry-content {
		height:calc(150vw - 40px);
		max-height: 471px;
		height: auto;
  		min-height: 381px;
	}
	.projgrid a.entry-content-inner,
	.projgrid span.entry-content-inner {min-height: auto;}
	.projgrid .imgbox img {height: auto;}
}


.archiveheader {height:500px;width:100%;display:flex;}
.extraspacing {padding:100px 0 200px 0;}
.halfleftcontentinner {width:50%;padding-left:calc(50% - 770px + 20px);display: flex;flex-direction: column;justify-content: flex-end;padding-bottom:60px;padding-right:20px;}
.halfleftcontentinner p {font-size: 2.5rem;line-height: 4.0rem;max-width:600px;margin-top:0;}
.halfleftcontentinner p:last-child {margin-bottom:0;}
.halfleftcontentinner h1 {font-size:4.0rem;line-height:4.8rem;font-weight: 700;padding-bottom:40px;}
.halfleftcontentinner h1::after {display: block;width:44px;height: 4px;background:#fff;content: '';margin-top: 40px;}
.halffull {width:50%;overflow: hidden;}
.halffull:first-child > * {padding-right:20px;}
.halffull img {object-fit: cover; width: 100%; height: 100%;}
.halfrightcontentinner {width:50%;padding-right:calc(50% - 770px + 20px);display: flex;flex-direction: column;justify-content: flex-end;padding-bottom:60px;}
.home .halfleftcontentinner p {font-size:2rem; line-height: 2.4rem;max-width:600px;margin-top:0;}

/* over-rides */
.archiveheader {height:680px;}
.halfleftcontentinner {width:40%;padding-left:calc(40% - 600px + 20px);display: flex;flex-direction: column;justify-content: flex-end;padding-bottom:60px;padding-right:40px;}
.halffull {width:60%;}

@media only screen and (max-width:1540px) {
	.halfleftcontentinner {padding-left:20px;}
}
@media only screen and (max-width:991px) {
	.archiveheader {flex-direction: column-reverse;height: auto;}
	.halfleftcontentinner {width: 100%;padding: 40px 20px;z-index: 2;}
	.halffull {width:100%;}
	.bg-teal .halfleftcontentinner {background: #2EA9B0;background:var(--teal-darker);}
	
}
@media only screen and (max-width:781px) { 
	.halffull {width: 100%;min-height: 300px;}
	.relbody2 {flex-direction: column;}
}
@media only screen and (max-width:600px) {
	.halfleftcontentinner h1::after {margin-top: 20px;}
	.halfleftcontentinner h1 {font-size: 3.0rem;line-height: 3.8rem;margin-bottom: 20px;}
	.halfleftcontentinner p { font-size: 2.0rem; line-height: 3.0rem;}
}

/* about us */
.pageheader {height:680px;width:100%;display:flex;}
.pageheader p {font-size: 2.5rem;line-height: 4.0rem;max-width:600px;margin-top:0;}
.pageheader p:last-child {margin-bottom:0;}
.pageintrotext {width:750px; max-width: 100%;}
.fortyleftcontentinner{width:40%;padding-left:calc(40% - 600px + 20px);display: flex;flex-direction: column;justify-content: flex-end;padding-bottom:60px;padding-right:40px;}
.sixtyfull{width:60%;overflow: hidden;}
.sixtyfull img {object-fit: cover;width: 100%; height: 100%;}
.page .site-main h1 {font-size:4.0rem;line-height:4.8rem;font-weight: 700;padding-bottom:40px;margin:0;}
.page .site-main h1::after {display: block;width:44px;height: 4px;background:#EA5D4E;background:var(--red-darker);content: '';margin-top: 40px;}
.flex-me {display: flex;}
.buttonrow {display:flex;gap:20px;flex-wrap: wrap;}
.about-us-intro .halfleftcontentinner .custompad {padding:100px 40px 40px 0;}
.about-us-intro .halfrightcontentinner {padding-bottom:0;}
.about-us-intro .halfrightcontentinner .custompad {padding:100px 0px 40px 40px;color:#fff;}
.about-us-intro .flex-me {align-items: flex-end;gap:60px;padding-top:40px;}
.introtext {max-width:550px;}
.bignumber {font-size:15.0rem;line-height:18.0rem;}


@media only screen and (max-width:1540px) {
	.fortyleftcontentinner {padding-left:20px;}
}
@media only screen and (max-width:991px) {
	.pageheader {flex-direction: column-reverse;height: auto;}
	.fortyleftcontentinner {width: 100%;padding: 40px 20px;z-index: 2;}
	.sixtyfull {width: 100%;height: 300px;}
	.about-us-intro {flex-direction: column;}
	.about-us-intro > div {width: 100%;}
	.about-us-intro .halfrightcontentinner {padding:40px 20px}
	.about-us-intro .halfleftcontentinner .custompad,
	.about-us-intro .halfrightcontentinner .custompad {padding:40px 0;}
}
@media only screen and (max-width:600px) {
	.halfleftcontentinner h1::after {margin-top: 20px;}
	.page .site-main h1 {font-size: 3.0rem;line-height: 3.8rem;}
	.page .site-main h1::after {margin-top: 20px;}
	.pageheader p { font-size: 2.0rem; line-height: 3.0rem;}
	.about-us-intro .halfrightcontentinner .flex-me {flex-direction: column;align-items: flex-start; gap: 20px;}
	.about-us-intro .halfleftcontentinner .custompad,
	.about-us-intro .halfrightcontentinner .custompad {padding:0px 0;}
	.bignumber {font-size: 25vw;line-height: 25vw;}
}

.text14 {font-size:1.4rem;line-height:2.0rem;}
.text15 {font-size:1.5rem;line-height:2.2rem;}
.text20 {font-size:2.0rem;line-height:2.4rem;}
.text25 {font-size:2.5rem;line-height:4.0rem;}
.text30 {font-size:3.0rem;line-height:3.8rem;font-weight: 700;}/*h3*/
.text40 {font-size:4.0rem;line-height:4.8rem;font-weight: 700;}/*h1+h2*/
.text50 {font-size:5.0rem;line-height:6.0rem;font-weight: 700;}/*blockquote*/
.textbold {font-weight: 700;}
.textline {padding-bottom:40px;margin:0;}
.textline::after {display: block;width:44px;height: 4px;background:#EA5D4E;background:var(--red-darker);content: '';margin-top: 40px;}
.textlinewhite {padding-bottom:40px;margin:0;}
.textlinewhite::after {display: block;width:44px;height: 4px;background:#fff!important;content: '';margin-top: 40px;}
@media only screen and (max-width:991px) {
	.text50 {font-size:3.5rem;line-height:4.0rem;font-weight: 700;}/*blockquote*/
}
@media only screen and (max-width:600px) {
	.text25 {font-size:2.0rem;line-height:3.0rem;}
	.text30 {font-size:2.5rem;line-height:2.8rem;}/*h3*/
	.text40 {font-size:3.0rem;line-height:3.8rem;}/*h1+h2*/
	.text50 {font-size:3.0rem;line-height:3.8rem;}/*blockquote*/
}

.simple-page header,
.not-found header {height: 410px; background:#193E72;color:#fff;}
.simple-page header .contentinner,
.not-found header .contentinner {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	height: 100%;
	padding-bottom: 40px;
}
.simple-page .entry-content,
.not-found .entry-content {padding:40px 0 80px 0;}
.widget_recent_entries {padding-top:40px;}
.simple-page .thirds {display: flex;}
.simple-page .thirds a {text-decoration: none;color: #193E72;}
.simple-page .thirds a:hover,.simple-page .thirds a:focus {color: #EA5D4E;color:var(--red-darker);}
.simple-page .thirds div {width:33.33%;padding:40px;background:#F2F2F2;font-size: 2.4rem;font-weight: bold; color: #193E72;}
.simple-page .thirds div:nth-child(2) {background:#E2E2E2;font-size: 2.0rem;font-weight: normal; color: #193E72;}
.simple-page .thirds div:nth-child(3) {padding:0;}
.simple-page .thirds div:nth-child(3) img {object-fit: cover;line-height: 0;height: 100%;}
@media only screen and (max-width:1540px) {
	.simple-page .thirds div {padding:20px;}

}
/* bootstrap breakpoint (good for a single breakpoint between tablet landscape & portrait) */
@media only screen and (max-width:991px) { 
	.simple-page .thirds {flex-wrap:wrap;}
	.simple-page .thirds div {width:50%;}
	.simple-page .thirds div:nth-child(3) {width:100%;}
}
/* wp columns inline at this point */
@media only screen and (max-width:600px) { 
	.simple-page .thirds div {width:100%;}
}

/* .search-results h1 span {color: #e7e7e7;} */

.homepanel1 {padding:80px 0 0 0; }
.home .projgrid a.entry-content-inner {width:340px;height:290px;background:#2EA9B0;background:var(--teal-darker);color:#fff;
	-webkit-transition: background-color 0.25s ease, color 0.25s ease;
	-moz-transition: background-color 0.25s ease, color 0.25s ease;
	-o-transition: background-color 0.25s ease, color 0.25s ease;
	transition: background-color 0.25s ease, color 0.25s ease;}
.home .projgrid article:nth-child(2) a.entry-content-inner {background:#EA5D4E;background:var(--red-darker);}
.home .projgrid article:nth-child(3) a.entry-content-inner {background:#6567AD;background-color:var(--purple-darker);}
.home .projgrid a:hover.entry-content-inner,
.home .projgrid article:nth-child(2) a:hover.entry-content-inner,
.home .projgrid article:nth-child(3) a:hover.entry-content-inner,
.home .projgrid a.entry-content-inner.mactive,
.home .projgrid article:nth-child(2) a.entry-content-inner.mactive,
.home .projgrid article:nth-child(3) a.entry-content-inner.mactive {background:#fff;color:#000;}

@media only screen and (max-width:600px) {
	.home .projgrid a.entry-content-inner { width: 100%;min-height: auto; height: auto;}
	.home .ptitle {min-height: 0;}
	.home .pfoot {margin-top: 14px;}
}

.visually-hidden {
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}
.visually-hidden:focus {
    clip: auto;
    height: auto;
    overflow: auto;
    position: absolute;
    width: auto;
}