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

/* Breakpoints: 500 - 768/769 - 992 - 1200 w side-pad 4% */

/* 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(--text-color);
    background: var(--background-color);
    font-family: var(--font-body);  
    font-weight: normal;
    line-height: 1.5em;
    -webkit-font-smoothing: antialiased;
}

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

/* site title 
------------------------------------------------------ */
.siteTitle.flexItem {
	width: 100%;
	min-width: 250px;
	padding-left: 4%;
}
@media only screen and (min-width:951px)	{
	.siteTitle.flexItem {
		width: 70%;
	}
}

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

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

.siteTitle h1	{
	font-weight: bold;
	text-transform: uppercase;
    line-height: 1.5rem;
	font-family: var(--font-siteTitle);
}

@media (max-width: 450px){
	.siteTitle h1 {letter-spacing:0.1em;}
}

.siteTitle span.siteSlogan{
	font-weight: 200;
	text-transform: capitalize;
	font-family: var(--font-siteSubTitle);
}

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

/* for page-titles and section-titles h2 */
h2,
.pageTitle,
.rowHeader{
	padding: 40px 0 30px 0;
	padding: 1.5em 0 2em 0;	
	font-size: 2em;
	font-weight: normal;
	color:var(--pageTitle-color);
}

@media (max-width:768px){
	h2,
	.pageTitle,
	.rowHeader{
		padding: 1em 0;
	}
}


.sectionHeader{
	padding: 1em 0 1em 0;	
	font-size: 2.5em;
	font-weight: bold;
	color:var(--pageTitle-color);
	font-family: var(--font-nav);
}

.postTitle	{
	font-size: 1.8em;
	text-transform: capitalize;
}

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

/* index page post titles */
h3	{ 
	font-size: 1.5em;
	line-height: 1.3em;
	margin: -0.2em auto 0.5em;
}
	
.mainContent ul,
.mainContent ol {
	width: 90%;
	max-width: 44rem;
	margin: 1.8rem auto;
	padding-left: 1.4rem;
}

.mainContent ul li,
.mainContent ol li {
	margin-bottom: 1.5rem;
}

p.entry-date	{
	font-size: .9em;
	margin-top: -16px;	
}

a.button     {
	text-align: center;
	padding: 8px 20px;
	color: var(--button-a-color);
	border: 1px solid var(--button-a-border-color);
	background-color: var(--button-a-background-color);
	border-radius: 2px;
  }
a.button:hover     {
	color: var(--button-a-hover-color);
	background-color: var(--button-a-hover-background-color);
	border: 1px solid var(--button-a-hover-border-color);
}

.readMore {
	font-size: .9em;
	font-weight: normal;
	margin-top: 30px;
	/*text-align: right;*/
	font-family: var(--font-readMore);
	text-align: right;
	padding-right: 1vh;
}

.readMore a.button     {
	color: var(--readMore-a-color);
	padding-right: 20px;
	padding-left: 20px;
	border-radius: 2px;
	background-color: var(--readMore-a-background-color);
	border:  1px solid var(--readMore-a-border-color);
	clip-path: polygon(3% 0, 7% 1%, 11% 0%, 16% 2%, 20% 0, 23% 2%, 28% 2%, 32% 1%, 35% 1%, 39% 3%, 41% 1%, 45% 0%, 47% 2%, 50% 2%, 53% 0, 58% 2%, 60% 2%, 63% 1%, 65% 0%, 67% 2%, 69% 2%, 73% 1%, 76% 1%, 79% 0, 82% 1%, 85% 0, 87% 1%, 89% 0, 92% 1%, 96% 0, 98% 3%, 99% 3%, 99% 6%, 100% 11%, 98% 15%, 100% 21%, 99% 28%, 100% 32%, 99% 35%, 99% 40%, 100% 43%, 99% 48%, 100% 53%, 100% 57%, 99% 60%, 100% 64%, 100% 68%, 99% 72%, 100% 75%, 100% 79%, 99% 83%, 100% 86%, 100% 90%, 99% 94%, 99% 98%, 95% 99%, 92% 99%, 89% 100%, 86% 99%, 83% 100%, 77% 99%, 72% 100%, 66% 98%, 62% 100%, 59% 99%, 54% 99%, 49% 100%, 46% 98%, 43% 100%, 40% 98%, 38% 100%, 35% 99%, 31% 100%, 28% 99%, 25% 99%, 22% 100%, 19% 99%, 16% 100%, 13% 99%, 10% 99%, 7% 100%, 4% 99%, 2% 97%, 1% 97%, 0% 94%, 1% 89%, 0% 84%, 1% 81%, 0 76%, 0 71%, 1% 66%, 0% 64%, 0% 61%, 0% 59%, 1% 54%, 0% 49%, 1% 45%, 0% 40%, 1% 37%, 0% 34%, 1% 29%, 0% 23%, 2% 20%, 1% 17%, 1% 13%, 0 10%, 1% 6%, 1% 3%);
}

  
.readMore  a.button:hover     {
	color: var(--readMore-a-hover-color);
	background-color: var(--readMore-a-hover-background-color);
}

.wp-block-image figcaption 	{
	font-size: .8em;
	margin-top: .1em !important;
}

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

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

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


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

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 {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
	}	
}

/* CONTAINERS & COLUMNS
====================================================== */
section	{padding: 1vh 0 2vh;}

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

@media (min-width:600px) {
.flexContainer {flex-direction: row;}
	h3.archive.post_title.mobileOnly {display:none;}
	h3.archive.post_title.desktopOnly {display:block;}
	.flex-col-11 {width: 91.7%;padding: 0 1%;}
	.flex-col-10 {width: 83.3%;padding: 0 1%;}
	.flex-col-9 {width: 75%;padding: 0 1%;}
	.flex-col-8 {width: 66.7%;padding: 0 1%;}	
	.flex-col-7 {width: 58.3%;padding: 0 1%;}
	.flex-col-6 {width: 50%;padding: 0 1%;}
	.flex-col-5 {width: 41.7%;padding: 0 1%;}
	.flex-col-4 {width: 33.3%;padding: 0 1%;}
	.flex-col-3 {width: 25%;padding: 0 1%;}
	.flex-col-2 {width: 16.7%;padding: 0 1%;}
	.flex-col-1 {width: 8.3%;padding: 0 1%;}
}

.sectionInner {padding: 4rem 4% 3rem 4%;}
section.footer {min-height: 120px;}
section.footer .sectionInner { padding: 3rem 4% 1rem 4%; }

.container {width: 100rem; max-width: 92%; margin: 0 auto;}
.navbar-wrapper .container {max-width: 100%;}
.navbar-wrapper{ padding: calc(1vh + 1.8rem) 0 1vh 0; min-height: 100px; background-color: var(--navbar-wrapper-background-color); }

.mainContent	{min-height: calc(100% - 60px);}

.row	{background-color: TRANSPARENT; }
.row.nothingHere	{ /*404*/
	width: 700px;
	max-width: 100%;
	margin: 10% auto 0;
	text-align: center;
}

.one-col, .two-col	{
	margin: 0 auto;
	width: 65rem;
	max-width: 100%;
}
.two-col {width: 70rem;}


	
/* HEADER 
================================================================================== */

.navbar-collapse {}

.menu-main-navigation-container ul.nav.navbar-nav>li.menu-item>a{
    display: inline-block;
    padding: 0 10px 0 0.4em;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 0.09em;
    font-family: var(--font-nav);
}

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

@media only screen and (min-width:951px)	{
	.mainNavigation.flexItem { width: 30%; padding-right: 4%;}
	.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 {
    position: relative;
    height: 30px;
    padding: 0 0 0 1.5rem;
}

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

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

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

.sub-menu {
	width: 180px;
	font-size: 0.8em;
	text-transform: uppercase;
	padding-top:10px;	
}

@media (max-width: 951px)	{
	.sub-menu	{width: 100%;}
}

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

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

/*.navbar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}*/

/*.navbar-nav .menu-item {
    text-decoration: none;
    padding:10px;
    display: block;
    line-height: 30px;
}*/

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

.icon-bar {
    display: block;
    width: 25px;
    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;
    background-color: var(--siteTitle-color);
}

.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(--siteTitle-hover-color);
}

#navbar.opened .navbar-toggle .icon-bar:first-child,
#navbar.opened .navbar-toggle .icon-bar:last-child {
    position: absolute;
    margin: 0;
    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);
}

/* .navbar-menu {
    position: fixed;
    top: var(--navbar-height);
    bottom: 0;
    transition: opacity 0.2s ease-in-out,
                visibility 0.2s ease-in-out;
    opacity: 0;
    visibility: hidden;
    left: 0;
    right: 0;
}

#navbar.opened .navbar-menu {
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 1;
    visibility: visible;
} */

.navbar-links {
    list-style-type: none;
    max-height: 0;
    overflow: hidden;
    position: absolute;
    background-color: hsl(251deg 18% 19%);
    display: flex;
    flex-direction: column;
    align-items: center;
    left: 0;
    right: 0;
    margin: 1.4rem;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

#navbar.opened .navbar-links {
    padding: 1em;
    max-height: none;
}
.collapse {
    display: none;
}
.collapse.in {
    display: block;
}
.sub-menu .sub-menu, .sub-menu{
	/*display: none;*/
}
@media screen and (min-width: 952px) {
    .navbar-toggle {
        display: none;
    }   
    #navbar .navbar-menu,
    #navbar.opened .navbar-menu {
        visibility: visible;
        opacity: 1;
        position: static;
        display: block!important;
        height: 100%;
         /*margin: 0 5% 0;   ??? */
    }

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

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

@media screen and (max-width: 951px) {
	.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;
		width: 100%;
		height: auto;
	}
	#menu-main-navigation{
		width: 100%;
    background-color: transparent;
		margin-bottom: 0px;
	}
	.navbar-nav {border-top:  1px solid #dddddd;}
	.navbar-nav > li.menu-item {
		display: block;
		border-bottom: 1px solid #dddddd;
		border-left: 1px solid #dddddd;
		border-right: 1px solid #dddddd;
		padding: 20px 0;
		background: #eeeeee;
		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{
		position: absolute;
		right: 15px;
		top: 20px;
		width: 0;
		height: 0;
		margin-left: 2px;
		vertical-align: middle;
		border-top: 8px dashed;
		border-top: 8px solid\9;
		border-right: 8px solid transparent;
		border-left: 8px solid transparent;
	}
	.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: #dddddd;
	}
	/* .navbar-nav > li.current-menu-item .sub-menu{
		display: block;
	} */
}

/* active page
------------------------------------------------------------------------------------*/
@media only screen and (min-width: 951px)	{
	li.current_page_item a	{border-bottom: 1px dotted transparent;}
}

.home ul#menu-main-navigation li.current_page_item	{
	display: none;
}





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

section.footer	{
	background-color: var(--footer-background-color);
	border-top: 1px solid var(--footer-border-color);
	color: var(--footer-color);
	padding: 30px 15px 0px;
	text-align: center;
	/*clear:both;*/
	line-height: 1.2rem;
}

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

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

section.footer a.button	{
	border: 1px solid var(--footer-button-color);
	padding: 1em 2em;
	background: var(--footer-button-background-color);
	color: var(--footer-button-color);
}

@media (max-width: 300px)	{
	section.footer a.button	{padding: .5em 1em;}
}

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

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


@media (max-width: 500px){
	.footer .flexContainer {flex-direction: column;}
	.footer .flexContainer .flexItem1 {width: 98%; text-align: center; order: 1}
	.footer .flexContainer .flexItem2 {width: 98%; text-align: center; order: 3}
	.footer .flexContainer .flexItem3 {width: 98%; text-align: center; order: 2}
}

.footer p.email	{
	text-align: center;
	margin: 1.5em auto 3em;
}


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

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

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






