/* RESET
------------------------------------------------------------------------------------*/
html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp,small, strike, strong, sub, sup, tt, var,b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; vertical-align: baseline; /*max-width: 100%;*/ }
html { -moz-text-size-adjust: none;-webkit-text-size-adjust: none;text-size-adjust: none;} /* prevent Safari from auto-resizing your text betw. portrait and landscape */
iframe { max-width: 100%;}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block;}
html, body	{ height:100%; }
a img,:link img,:visited img { border:none }
a, a:hover  { text-decoration:none;} 
table { border-collapse: collapse; border-spacing: 0; }
html { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
*, *:before, *:after {  -webkit-box-sizing: inherit; -moz-box-sizing: inherit; box-sizing: inherit; }
.clearFloat::before, .clearFloat::after { display:table; content:"";}
.clearFloat::after	{ clear:both; }
img	{ max-width: 100%; height: auto; width: auto9; /* ie8 */ }

/* FOCUS
************************/

:is(a, button, input, textarea, summary) {
  --outline-size: max(1px, 0.05em);
  --outline-style: solid;
  --color-outline: #DDD;
}

:is(a, button, input, textarea, summary):focus {
  outline: var(--outline-size) var(--outline-style) var(--color-outline);
  outline-offset: var(--outline-offset, var(--outline-size));
}

:is(a, button, input, textarea, summary):focus-visible {
  outline: var(--outline-size) var(--outline-style) var(--color-outline);
  outline-offset: var(--outline-offset, var(--outline-size));
}

:is(a, button, input, textarea, summary):focus:not(:focus-visible) {
  outline: none;
}

/* BODY, HTML
************************/
body {
	color: var(--color);
    background: var(--color-background);
    font-family: var(--font-body);  
    font-weight: normal;
    line-height: 1.5em;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--color-a); }
a:hover	{ color: var(--color-a-hover); }
.wpcf7 form.sent .wpcf7-response-output {border: 2px solid var(--color-wpcf7-sent)!important;}
div.wpcf7-mail-sent-ok,
.wpcf7 form.sent .wpcf7-response-output {border-color: var(--color-wpcf7-sent)!important;}

/* LAYOUT, CONTAINERS & COLUMNS
====================================================== */

/* add if a section background needs filtering (and add div.sectionInner):
section	{position: relative;}
section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.sectionInner	{position: relative;}
*/

section, section::before {
    background-position: center center;
    background-repeat: no-repeat;
	-o-background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	background-attachment: scroll; /* for ios devices */
}

@media (orientation:landscape) and (min-device-width: 1367px)	{
	section, section::before {background-attachment: fixed;}
}

.sectionInner	{
	padding: 4rem 0 3rem;
	padding: 1rem 0 3rem;
}
.wrapper	{
	margin: 0 auto;
	padding: 0 4%;
}
.container { 
	max-width: 100%; 
	margin: 0 auto; 
}
.row	{
	width: 100%;
}

.flex, .flexContainer {display: flex;}	
.flexContainer {flex-direction: column;}

.flex-col-11,.flex-col-10,.flex-col-9,.flex-col-8,.flex-col-7,.flex-col-6,.flex-col-5,.flex-col-4,.flex-col-3,.flex-col-2,.flex-col-1 {width: 100%;}

div.svg-include	{
	height: 0px;
}

.navbar-wrapper { 
	background-color: var(--color-navbar-wrapper-background); 
}

.sectionTitle	{ padding: 3vh 0; text-align: center;}

.pageIntro	{
	padding-bottom: 5vh;
}

div.right,
div.left	{
	width: 50%;
}
div.right	{
	text-align: right;
}

/* site title 
------------------------------------------------------ */

.siteTitle a:link,
.siteTitle a:visited {
	color: var(--color-siteTitle);
}

.siteTitle  a:hover,
.siteTitle  a:active {
	color: var(--color-siteTitle-hover); 
	text-shadow: .2px .2px .2px var(--color-siteTitle-shadow-hover);
}

.siteTitle .mainSiteTitle	{
	font-family: var(--font-siteTitle);
}

.siteTitle .siteSlogan{
	color: var(--color-siteSlogan);
	font-family: var(--font-siteSubTitle);
}

h1,h2,h3,h4,h5,h6,p,figure,figure.wp-block-image {
	margin: 0 auto 1em;
	padding: 0;
}

.pageTitle{
	color:var(--color-pageTitle);
}

.sectionHeader,
.rowHeader {
	color: var(--color-pageRowHeader);
}

.pageTitle a { color: var(--color-pageTitle); }

.pageTitle.overBanner,
.pageTitle.overBanner a	{
	color: var(--color-overBanner);
}

a.button     {
	text-align: center;
	color: var(--color-a-button);
	border: 1px solid var(--color-a-button-border);
	background-color: var(--color-a-button-background);
	transition: background-color 0.2s ease-in-out,
                transform 0.2s ease-in-out,
                opacity 0.2s ease-in-out;
  }
a.button:hover     {
	color: var(--color-a-button-hover);
	background-color: var(--color-a-button-background-hover);
	border: 1px solid var(--color-a-button-border-hover);
}


.readMore {
	font-family: var(--font-readMore);
}

.readMore a.button     {
	color: var(--color-readMore-a);
	background-color: var(--color-readMore-a-background);
	border:  1px solid var(--color-readMore-a-border);
  }
  
.readMore  a.button:hover     {
	background-color: var(--color-readMore-a-background-hover);
	color: var(--color-readMore-a-hover);
}

.screen-reader-text {display: none;}

p::-moz-selection { color: WHITE; background: GREY;}
p::selection { color: WHITE; background: GREY; }

p.editLink a	{	
	font-size: 14px;
	padding: 2px 4px 0px 5px;
	margin-right: 3px;
	border-radius: 2px;
	color: var(--color-editLink);
}
p.editLink a:hover	{
	background: #66ff66;
}

p.screensize {display: block;} /* SWITCH OFF FOR LIVE */
p.screensize	{font-size: .5em; line-height: .6em;margin-bottom: 4px;max-width: 100%;text-align: right; padding-right: 10px; color: green;}

@media (max-width: 992px) {p.screensize	{color: orange;}}
@media (max-width: 768px) {p.screensize	{color: red;}}


/* IMAGES, MEDIA
------------------------------------------------------------------------------------*/

section.bannerImage	{
	background-image: url('');
}

.bannerImage {
	background-position: center top;
	background-repeat: no-repeat;
	-o-background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	background-attachment: scroll;
	/*max-height: 300px;
	top: 0px;
	text-align: center;
	font-size: 1.6rem;
	line-height: 2rem;
	color: #333;
	text-shadow: 1px 1px 1px rgb(193 205 217 / 50%);*/
}
	
img.marginBottom {margin-bottom: 30px;}

.wp-block-image img	{margin-bottom: 0;}  /* ??? */

@media (max-width:768px) {
	.videowrapper {
		float: none;
		clear: both;
		width: 100%;
		position: relative;
		padding-bottom: 56.25%;
		padding-top: 25px;
		height: 0;
	}
	.videowrapper iframe {
		height: 100%;
		left: 0;
		position: absolute;
		top: 0;
		width: 100%;
	}	
}

.featuredImageTop	{
	margin-bottom: 20px;
}

/* duplication here (from holland)... */

.iframe-container {
  overflow: hidden;
  padding-top: 56.25%;
  position: relative;
}

.iframe-container iframe {
   border: 0;
   height: 100%;
   left: 0;
   position: absolute;
   top: 0;
   width: 100%;
}

.mp4_parent{
	 padding-top: 0!important;
}
	
/* MAIN NAVIGATION 
================================================================================== */

.menu-main-navigation-container ul.nav.navbar-nav>li.menu-item>a{
    display: inline-block;
    font-family: var(--font-nav);
}

ul.navbar-nav.flexContainer	{
	flex-wrap:wrap;
	justify-content: flex-end;
	list-style: none;
	margin: 0;
    max-width: none;
    padding-left: 0;
    position: relative;
    z-index: 9999;
}

@media only screen and (min-width:992px)	{
	.menu-main-navigation-container ul.nav.navbar-nav>li.menu-item {text-align: center;}
	.menu-main-navigation-container ul.nav.navbar-nav>li.menu-item>a{padding: 16px 10px 16px 0.4em;}
}

@media only screen and (min-width: 482px) {
	.primary-navigation .primary-menu-container > ul > .menu-item { display: flex;}
	.primary-navigation > div > .menu-wrapper li { margin: 0; width: inherit; }
}

.navbar-nav > li {
    height: 30px;
    padding: 0 0 0 1.5rem;
    position: relative;
}

.navbar-nav > li.menu-item-home {
	padding-left: 0;
}

.navbar-nav li a {
	color: var(--color-mainNav-text-link);
}

.navbar-nav li a:hover {
	color: var(--color-mainNav-text-link-hover);
}

.sub-menu {
	padding-top:10px;
}

.sub-menu > li {
	background: var(--color-sub-menu-li-background);
	border: 1px solid var(--color-sub-menu-li-border);
    padding:10px;
	margin-top: 0px;
    position: relative;
}

.sub-menu > li:hover	{
	background: var(--color-sub-menu-li-background-hover);
}

.navbar-toggle {
    align-items: center;
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 40px;
    justify-content: center;
    width: 40px;
}

.icon-bar {
    background-color: var(--color-siteTitle);
    display: block;
    height: 4px; /* fat */
    margin: 2px;
    transition: background-color 0.2s ease-in-out,
                transform 0.2s ease-in-out,
                opacity 0.2s ease-in-out;
    width: 25px;
}

.icon-bar,
.navbar-toggle:focus .icon-bar, 
.navbar-toggle:hover .icon-bar	{
	height: 2px;
	margin: 2.5px;
}

.navbar-toggle:focus .icon-bar,
.navbar-toggle:hover .icon-bar {
    background-color: var(--color-siteTitle-hover);
}

#navbar.opened .navbar-toggle .icon-bar:first-child,
#navbar.opened .navbar-toggle .icon-bar:last-child {
    margin: 0;
    position: absolute;
    width: 30px;
}

#navbar.opened .navbar-toggle .icon-bar:first-child {
    transform: rotate(45deg);
}

#navbar.opened .navbar-toggle .icon-bar:nth-child(2) {
    opacity: 0;
}

#navbar.opened .navbar-toggle .icon-bar:last-child {
    transform: rotate(-45deg);
}

.collapse {
    display: none;
}
.collapse.in {
    display: block;
}
.sub-menu .sub-menu, .sub-menu{ }

@media screen and (min-width: 992px) {
    .navbar-toggle {
        display: none;
    }   
    #navbar .navbar-menu,
    #navbar.opened .navbar-menu {
        display: block!important;
        height: 100%;
        opacity: 1;
        position: static;
        visibility: visible;
    }

    #navbar .navbar-links,
    #navbar.opened .navbar-links {
        box-shadow: none;
        flex-direction: row;
        height: 100%;
        list-style-type: none;
       margin: 0;
        max-height: max-content;
        padding: 0;
        position: static;
        width: 100%;
    }

    #navbar .navbar-link:last-child {
        margin-right: 0;
    }
	.sub-menu {
		left: -24px;
		list-style: none;
		margin: 0;
		max-width: 200px;
		opacity: 0;
		padding: 0;
		position: absolute;
		top: 30px;
		transform: translateY(-2em);
		transition: all 0.5s ease-in-out 0s, visibility 0s linear 0.5s, z-index 0s linear 0.01s;
		visibility: hidden;
		width: 200px;
	}
	.navbar-nav li:hover > ul{
		opacity: 1;
		transform: translateY(0%);
		transition-delay: 0s, 0s, 0.3s;
		visibility: visible; 
		z-index: 999;
	}
}

@media screen and (max-width: 991px) {
	.navmenu_align.mainNavigation{
		float: right;
		width: 100%;
	}
	.navbar-header.navbar-icon{
		float: right;
		/*margin: -76px 5% 0 0;*/
		position: absolute;
		right: 20px;
		top: 10px;
	}
	.siteTitle.flexItem{
		float: left;
	}
	.navbar.flexContainer, .navbar-nav.flexContainer{
		display: block;
	}
	.navbar-nav > li{
		float: revert;
		height: auto;
		width: 100%;
	}
	#menu-main-navigation{
    	background-color: transparent;
		margin-bottom: 0px;
		margin-left: -4%;
		width: 100%;
	}
	.navbar-nav {border-top:  1px solid var(--color-mob-menu-li-border);}
	.navbar-nav > li.menu-item {
		display: block;
		border-bottom: 1px solid var(--color-mob-menu-li-border);
		border-left: 1px solid var(--color-mob-menu-li-border);
		border-right: 1px solid var(--color-mob-menu-li-border);
		padding: 20px 0;
		background-color: var(--color-mob-menu-li-background-color);
		text-align: center;
	}
	
	ul.navbar-nav.flexContainer	{
		/*margin-top: -27px;*/
	}
	.navbar-collapse
	{
		position: absolute;
		width: 100%;
	}
	ul.navbar-nav, ul.navbar-nav li {
		list-style: none;
	}
	.navbar-nav > li .caret{
		border-left: 8px solid transparent;
		border-right: 8px solid transparent;
		border-top: 8px dashed;
		border-top: 8px solid\9;
		height: 0;
		margin-left: 2px;
		position: absolute;
		right: 15px;
		top: 20px;
		width: 0;
		vertical-align: middle;
	}
	.navbar-nav .sub-menu > li.menu-item {
		padding: 14px 0;
		text-align:center;
	}

	.navbar-nav .sub-menu li .sub-menu > li.menu-item a {
		padding-left: 40px;
	}
	.sub-menu.open{
		display: block;
	}
	.navbar-nav  li.current-menu-item{
		background: var(--color-mob-menu-li-current-background-color);
	}
	/* .navbar-nav > li.current-menu-item .sub-menu{
		display: block;
	} */
}

/* full cover background images
------------------------------------------------------------------------------------*/

section.bannerImage	{
	background-position: center top;
	background-repeat: no-repeat;
	-o-background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	background-attachment: scroll; /* for ios */
	height: 100vh;
	width: 100%;	
}

/* active page
------------------------------------------------------------------------------------*/
/*@media only screen and (min-width: 992px)	{
	li.current_page_item a	{color: var(--color-currentPageLink);}
}*/
@media only screen and (min-width: 992px)	{
	li.current_page_item a:hover	{
		color: var(--color-mainNav-text-link);
		cursor: default;
	}
}

/* misc
------------------------------------------------------------------------------------*/
.page-template-page-instructions .mainContent a {
	text-decoration: underline;
}

/* PAGINATION
------------------------------------------------------------------------------------*/

.page-prev { /* for get_next_post() ie « Previous */
    display:flex;
    order: 1;
    margin-right: 15px;
    margin-bottom: 8px;
    padding: 3px;
    border: 0px dotted #525665;
}

.page-next { /* for get_previous_post() ie Next » */
    display:flex;
    order: 2;
    margin-left: 15px;
    margin-bottom: 8px;
    padding: 3px;
    border: 0px dotted #525665;
}

/* for archive page pagination (eg 1 2 »): */

.page-numbers {
	padding: 6px 8px 2px;
	margin: 1px;
}

.page-numbers.current {
	border: 1px solid grey;	
}


/* FOOTER
------------------------------------------------------------------------------------*/

section.footer	{
	background-color: var(--color-footer-background);
	border-top: 1px solid var(--color-footer-border);
	color: var(--color-footer);
}

section.footer a	{
	color: var(--color-footer-a);
}

section.footer a:hover	{
	color: var(--color-footer-a-hover);
}

.footer .flexContainer {
	display: flex; 
	flex-direction: row;
	flex-wrap:wrap;
	margin-bottom: 10px;
	padding: 10px;
} 
.footer .flexContainer .flexItem { 
	margin: 10px 1%;
	transition: width .2s;
	width: 31%; 
}
.footer .flexContainer .flexItem1 { text-align: left;}
.footer .flexContainer .flexItem2 { text-align: left;}
.footer .flexContainer .flexItem3 { text-align: right;}


p.copyright	{
	font-size: .9rem;
	margin: 0 auto 2px;
}

p.copyright a,
p.copyright a:hover	{
	cursor:text;
	color: var(--color-footer);
}
	
p.credit	{
	font-size: .7em;
	color: var(--color-footer-credit);
	margin: 1em auto 20px;
}

p.credit a	{color: var(--color-footer-credit-a);}
p.credit a	{color: var(--color-footer-credit-a);}	
p.credit a:hover	{color: var(--color-footer-credit-a-hover);}		


/*SOCIAL MEDIA LINKS (hover color needs fixing)
**********************************************/

.social-icons {
	width: auto;	
	max-height:62px;
	display:flex;
	justify-content:center;
}

.social-icon	{
	height: 40px;
	margin: 0 12px;
	width: 40px;
}

.iconEle {
	background-image: url("../images/social-icons/round_w_round.svg");	/* change color in svg */
}
.iconEle:hover {
	background-image: url("../images/social-icons/round_b_round.svg");	
}

.cls-1,
.cls-2{
	stroke:transparent;
}

.iconStyle { /* change color in round_w_round.svg */
    width: 40px;
    height: 40px;
}

.iconStyle:hover {
	fill:var(--color-icon-style-hover);
    width: 40px;
    height: 40px;	
}
#undercolor {	
  fill:transparent;
}
	


