/* 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; width: 100%; }
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 & BASICS
************************/
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;}


h1,h2,h3,h4,h5,p {
	line-height: 1.4em;
	margin: 0 auto 1rem;
	padding: 0;
	font-weight: normal;
}

p{
	font-size: 10pt;
}

h1,h2,h3,h4,h5,h6	{
	color: var(--color-headers);
}

h2 span.line1 {color: var(--color-hero-span-line1);}
h2 span.line2 {color: var(--color-hero-span-line2);}

h1 {font-size: 2.4rem;}
h2 {font-size: 2rem;}
h3 {font-size: 1.6rem;}
h4 {font-size: 1.4rem;}
h5 {font-size: 1.2rem;}
h6 {font-size: 1rem; margin-bottom: .5rem}

.text-blocks{
	font-size: 10pt;
}

.wp-block-heading	{
	margin-top: 1.8rem;
}

.pageIntro	{
	font-size: 1.1em;
	font-style: italic;
	padding-bottom: 5vh;
}

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

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

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

.pageTitle a { 
	color: #999;
	text-transform: lowercase;
	font-size: 20pt;
}

.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);
	margin-top: 30px;
}

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

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

section {
    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 {background-attachment: fixed;}
}

.wrapper	{
	padding: 0 4%;
}

.sectionInner	{
	padding: 1rem 0 1rem;
}

.container {
	max-width: 52rem;
	margin: 0 auto;
}
.row	{
	width: 100%;
}

/*.row:last-child	{
	border-bottom: 1px solid transparent;
	margin-bottom: 0;
	padding-bottom: 0;
}*/

.flex, .flexContainer {
	display: flex; 
}	

.flex-col-12,.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	{ /* needed for social icon use */
	height: 0px;
}

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

.pagination	{
	/*padding: 20px 0 0;
	border-top: 1px solid var(--color-row-border);*/
	margin-bottom: 3vh;
	width: 100%;
	margin-top: -80px;	
}


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

hr.wp-block-separator	{
	margin: calc(20px + 2vw) auto;
	border: none;
	height: 1px;
	background: var(--color-row-border);
}

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

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

section.bannerImage	{
	background-image: url('');
	height: 100vh;
	width: 100%;	
}
	
img.marginBottom {margin-bottom: 30px;}

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

figure, .wp-block-image {
	max-width: 52rem;
	margin: 0 auto 1em;
	padding: 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;
}

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

/* to keep youTube video from growing a taller black BG in mobile portrait views: */
/* the available width (92% of screen) divided by 9/16; -> 52vw */
@media (max-width: 414px)	{
	iframe	{ height: 52vw;}
}

@media (max-width: 600px)	{
	iframe	{ height: 50vw;}
}





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

@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);
	text-transform: lowercase;
}

.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-right: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;
		-webkit-transform:translate3d(0,0,0); /* for Safari */
	}
	.navbar-nav li:hover > ul{
		opacity: 1;
		transform: translateY(0%);
		transition-delay: 0s, 0s, 0.3s;
		visibility: visible; 
		z-index: 999;
		-webkit-transform:translate3d(0,0,0); /* for Safari */
	}
}

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

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




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


/* CONTACT FORM
------------------------------------------------------------------------------------*/
div.wpcf7 {
	max-width: 400px;
	margin: 0 auto 0;
	/*border: 1px solid #eee;*/
	padding: 0 20px 20px;
}

@media (max-width: 440px) {
	div.wpcf7 {max-width: 96%;}
}

.wpcf7 input	{
	width: 100%;
	height: 2rem;
	margin-bottom: .5rem;
	font-family: var(--font-text);
}

@media (max-width: 414px)	{
	.wpcf7 input	{height: 2.6rem;}
}

.wpcf7 textarea	{
	width: 100%;
	margin-bottom: 1rem;
	font-family: var(--font-text);
}

.wpcf7 input.wpcf7-submit	{
	width: 100px;
	height: 40px;
}

.wpcf7 input[type=checkbox] {
	width:20px;
	height: 20px;
}

.wpcf7-list-item {
	margin-left: 0px !important; /* when only one per line */
}

.wpcf7 h3	{
	margin-bottom: 30px;
	text-align: center;
}

div.wpcf7-mail-sent-ok {
	border: 2px solid var(--color-wpcf7-sent-border);
}


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

div.wpcf7-mail-sent-ok,
.wpcf7 form.sent .wpcf7-response-output { 
	border-color: var(--color-wpcf7-sent-border)!important;
	background-color: var(--color-wpcf7-sent-background)!important;
	color: var(--color-wpcf7-sent)!important;
	font-size: 1em;
	padding: 0.5em 1em !important;
}

span.wpcf7-spinner {
	display: none !important;
}

.wpcf7 textarea	{
	height: 7rem;
}

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

.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");	/* white inner element - editable */
}
.iconEle:hover {
	background-image: url("../images/social-icons/round_b_round.svg");	/* black inner element - editable */
}

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

.icon-style {
	fill:grey; /* var(--color-icon-style) just sl. changes the hover color */
    width: 40px;
    height: 40px;
}

.icon-style:hover {
	fill:var(--color-icon-style-hover);
    width: 40px;
    height: 40px;	
}
#undercolor {	
  fill:transparent; /* not doing anything? */
}
	

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

/* debugging 
------------------------------------------------------ */



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

#gallery-1 .gallery-caption {
    margin-left: 0;
    font-size: 10pt;
}