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

/* 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(--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); }
div.wpcf7-mail-sent-ok {border: 2px solid var(--color-wpcf7-sent);}
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--color-wpcf7-sent);}

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

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

.siteTitle h1 .mainSiteTitle{
	font-family: var(--font-siteTitle);
	font-size: 1.8em;
	font-weight: bold;
	line-height: .6rem;
	text-transform: uppercase;
}

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

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

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

h1 {
	font-size: 1.3em;
	line-height: 2em;
	font-weight: 600;
}

h2.pageTitle {
	font-size: 1.1em;
}

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

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

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

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

.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(--color-a-button);
	border: 1px solid var(--color-a-button-border);
	background-color: var(--color-a-button-background);
	border-radius: 2px;
  }
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);
	font-size: .9em;
	font-weight: normal;
	margin-top: 30px;
	text-transform: uppercase;
}

.readMore a.button     {
	color: var(--color-readMore-a);
	padding-right: 20px;
	padding-left: 20px;
	border-radius: 2px;
	background-color: var(--color-readMore-a-background);
	border:  1px solid var(--color-readMore-a-border);
  }
  
.readMore  a.button:hover     {
	color: var(--color-readMore-a-hover);
	background-color: var(--color-readMore-a-hover-background);
}

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

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%;
	}	
	.navbar-collapse.collapse
	{
		background: rgb(17, 86, 151);
	}
	
}

/* CONTAINERS & COLUMNS
====================================================== */
@media (min-width:768px) {
	.flex, .flexContainer{display: flex;}	
}
.navbar-toggle:focus .icon-bar, .navbar-toggle .icon-bar {
    background-color: #9accfd;
}

.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:768px) {
.flexContainer {flex-direction: row;}
}
@media (min-width:501px) {

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

.sectionInner {padding: 4rem 4% 3rem 4%;}
section.footer {min-height: 120px;}
section.footer .sectionInner { padding: 3rem 4% 1rem 4%; }
.wrapper {margin 0 auto; padding: 0 4%;}
.container {margin: 0 auto;max-width: 92%; }
.navbar-wrapper{ padding: calc(1vh + 1.8rem) 0 1vh 0; min-height: 60px; background-color: var(--color-navbar-wrapper-background); }

.mainContent	{min-height: calc(100% - 0px);/*margin-top: 100px;*/}

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

.one-col, .two-col	{
	margin: 0 auto;
	width: 100%;
	max-width: 60rem;
	border: 1px solid transparent;
}
.two-col {width: 70rem;}


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

.navbar-collapse {}

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

/*@media (max-width:500px) {
.menu-main-navigation-container ul.nav.navbar-nav>li.menu-item>a {
		padding: 0 10px 0 0.4em;
		border: 1px solid red;
	}
}*/
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:501px)	{
	.mainNavigation.flexItem { width: 55%;}
	.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 {
	font-size: 0.8em;
	padding-top:10px;	
	text-transform: uppercase;
	width: 180px;
}

@media (max-width: 768px)	{
	.sub-menu	{width: 100%;}
	.navbar-wrapper .container
	{
		max-width:100%!important;
		width:100%!important;
	}
}

.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-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}*/

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

.navbar-toggle {
    align-items: center;
    background-color: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    height: 40px;
    justify-content: center;
    margin-top: 40px;
    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: 4.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);
}

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

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

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

#navbar.opened .navbar-links {
    max-height: none;
    padding: 1em;
}
.collapse {
    visibility:hidden;
    opacity: 0;
    -moz-transition: opacity 1s, visibility 1.3s;
    -webkit-transition: opacity 1s, visibility 1.3s;
    -o-transition: opacity 1s, visibility 1.3s;
    transition: opacity 1s, visibility 1.3s;
}
.collapse.in {
	 visibility:visible;
    opacity: 1;
    -moz-transition: opacity 1s, visibility 1.3s;
    -webkit-transition: opacity 1s, visibility 1.3s;
    -o-transition: opacity 1s, visibility 1.3s;
    transition: opacity 1s, visibility 1.3s;
}

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

    #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%;
    }
}
@media screen and (min-width: 501px) {
    #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: 768px) {
.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: var(--color-mob-menu-li-background-color);
		text-align: center;
	}

}
@media screen and (max-width: 768px) {
	.navmenu_align.mainNavigation{
		width: 100%;
	}
	.navbar-header.navbar-icon {
		text-align: center;
		margin: 0 auto;
	}

	.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;
		width: 100%;
	}
	.navbar-nav {border-top:  1px solid var(--color-mob-menu-li-border);}
	
	
	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: #dddddd;
	}
	/* .navbar-nav > li.current-menu-item .sub-menu{
		display: block;
	} */
}

/* active page
------------------------------------------------------------------------------------*/
@media only screen and (min-width: 501px)	{
	li.current_page_item a	{color: var(--color-current-menu-item);}
}

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

/* misc
------------------------------------------------------------------------------------*/

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;
	height: 100vh;
	width: 100%;	
}

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

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

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

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


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

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

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;
	text-align: center;
}

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


/*SOCIAL MEDIA LINKS
**********************************************/
div.svg-include	{
	height: 0px;
}

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

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

.icon-style {
	fill: var(--color-social-icon);
    width: 40px;
    height: 40px;
    stroke:var(--color-social-icon);	
}

.icon-style:hover {
	fill:var(--color-social-icon-hover);
    width: 40px;
    height: 40px;	
}
#undercolor {	
  fill:transparent;
}
.carousel-control
{
	position: absolute;
    bottom: 45vh;
    width: 15%;
    font-size: 20px;
    color: #fff;
    text-align: center;
    text-shadow: 0 1px 2px rgb(0 0 0 / 60%);
    background-color: rgba(0,0,0,0);
    filter: alpha(opacity=50);
    opacity: .5;
}
.left.carousel-control 
{
	left: 0;
}
.right.carousel-control 
{
	right: 0;
}	
.currentmenu
{
	color:white!important;
}

.hamburger .line{
  width: 25px;
  height: 2px;
  background-color: #9accfd;
  display: block;
  margin: 4px auto;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.hamburger:hover{
  cursor: pointer;
}

/* ONE */

.hamburger.is-active .line:nth-child(2){
  opacity: 0;
}

.hamburger.is-active .line:nth-child(1){
  -webkit-transform: translateY(6px) rotate(45deg);
  -ms-transform: translateY(6px) rotate(45deg);
  -o-transform: translateY(6px) rotate(45deg);
  transform: translateY(6px) rotate(45deg);
}

.hamburger.is-active .line:nth-child(3){
  -webkit-transform: translateY(-6px) rotate(-45deg);
  -ms-transform: translateY(-6px) rotate(-45deg);
  -o-transform: translateY(-6px) rotate(-45deg);
  transform: translateY(-6px) rotate(-45deg);
}

