/* this file contains the global layout of page */

/* globals */
html, body { background: #FFF; }
a { transition: all .2s ease; }

/* selection */
::selection { background: #444; color: #FFF; }
a::selection, a span::selection { color: #000; }
::-moz-selection { background: #444; color: #FFF; }
a::-moz-selection, a span::-moz-selection { color: #000; }


/* Main Navigation */
nav ul {
	list-style: none;
	padding: 0;
}

#mainNav ul.menu.nav-menu.menu-level-1 {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: flex-end;
	margin: 8px 0px;
}


#mainNav ul.submenu {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: flex-end;
}

/*
.header-inner #mainNav ul.submenu .submenu-wrapper {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: flex-end;
}

 */

#mainNav .submenu-wrapper {
	display: none;
	position: absolute;
	left: 483px;
	transform: translate(0px, 12px);
	padding: 10px 20px;
	z-index: 9999;
	background: #fff;
	background: rgba(255, 255, 255, .8);
}

#mainNav .nav-menu li.active>.submenu-wrapper {
	display: flex;
}

#mainNav ul li:after {
	content: "|";
	display: inline-block;
	margin: 0 10px;
	color: #838383;
}

#mainNav ul li:last-child:after {
	content: "";
	display: none;
}

#mainNav .main-navigation ul li a {
	color: #838383;
	text-decoration: none;
	font-size: 14px;
}

#mainNav .main-navigation .nav-menu .menu-item ul li a {
	font-size: 13px;
}

#mainNav ul li.active > label > a,
#mainNav ul li.active > a{
	color: #2a5469;
}

#logo {
	max-height: 100px;
	max-width: 300px;
	display: block;
	width: 100%;
	height: 100%;
}

#logo a {
	background-image: url(../Img/logo.svg);
	background-position: center;
	background-repeat: no-repeat;
	display: block;
	width: 100%;
	height: 100%;
	text-indent: -9999px;
}

.svg #logo a {
	background-image: url(../Img/logo.svg);
}

/* header-meta */
.header-meta {
	transform: translateY(-50%);
	position: absolute;
	top: 50%;
	right: 0;
	z-index: 1;
}

.header-meta .directory-navigation {
	display: inline-block;
}

.header-meta .directory-navigation a {
	color: #838383;
	text-decoration: none;
}

.header-meta .directory-navigation li.active > a,
.header-meta .directory-navigation a:hover {
	color: #2a5469;
}

.header-meta .directory-navigation:not(:last-child) li::after {
	content: "|";
	display: inline-block;
	margin: 0 10px;
	color: #838383;
}

.header-meta .social-navigation {
}

.social-navigation ul {
	display: flex;
	margin: 0 -10px 0 -5px;
}

.social-navigation ul li {
	padding: 0 10px;
}

.social-navigation a {
	display: block;
}

.social-navigation a,.social-navigation a:hover {
	text-decoration: none;
}

.social-navigation a::after {
	cursor: pointer;
	display: block;
	font-family: "Font Awesome 5 Brands";
	font-weight: 600;
	line-height: 1;
	opacity: .9;
}

.social-navigation a:hover::after {
	opacity: 1;
}

.social-navigation a[href*="tiktok"]::after {
	content: "\e07b";
	font-size: 14px;
}

.social-navigation a[href*="instagram"]::after {
	content: "\f16d";
	font-size: 16px;
}

.social-navigation a .label {
	display: none;
}


/* root */
#inner-wrapper, body > #root { background: #FFF; margin: 0 auto; position: relative; min-height: 100%; width: 100%; }
#inner-wrapper {}
#root { margin: 0 auto; min-height: 100vh; position: relative; }
/* page width */

#content-area {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	max-width: 960px;
}

#mainHeader {
	position: relative;
}

#mainHeader .header-inner {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: flex-end;
	align-content: flex-start;
	width: 100%;
	height: 100px;
	position: relative;
}

#content-area,
#mainHeader,
#mainFooter .outer-wrapper { clear: both; margin: 0 auto; max-width: 960px; }

#mainHeaderWrap { border-bottom: 4px solid #0e556e; }

.navbar-toggler {
	width: 40px;
	height: 40px;
	background: url(../Img/nav.svg) center center no-repeat;
	background-size: 100%;
	position: absolute;
	/* left: 0; */
	top: calc(50% - 15px);
	padding: 0;
}


.navbar-toggler-icon, .navbar-toggler-icon::before, .navbar-toggler-icon::after {
display: none;
background: #969795;
height: 5px;
transition: all .4s ease-in-out;
}

#mainNav .menu li input {
	display: none;
}

/* animation */
.header #logo, .navbar-toggler, .navbar-toggler-icon, .toggleSubNav span { transition: .25s ease-out; }


/** scroll to top */
#ScrollToTop { border-color: #0e556e; }
#ScrollToTop .scroll-top-icon::before { border-color: #0e556e; }
#ScrollToTop .scroll-top-icon::after,
#ScrollToTop.scroll-top-fixed .scroll-top-icon::after { background: #0e556e; }
#ScrollToTop.scroll-top-fixed { background: none; border-color: #0e556e; margin-bottom: -60px; }
#ScrollToTop.scroll-top-fixed .scroll-top-icon::before { border-color: #0e556e; }
#ScrollToTop:hover { border-color: #0e556e; }
#ScrollToTop:hover .scroll-top-icon::before { border-color: #FFF; }
#ScrollToTop.scroll-top-fixed:hover { border-color: #FFF; }
#ScrollToTop.scroll-top-fixed:hover .scroll-top-icon::before { border-color: #FFF; }


/** content area */
#content-area {
	margin-top: 60px;
	margin-bottom: 60px;
	line-height: 1.5em;
}
#content-area::after,
#content-area #content::after { content: ""; clear: both; display: block; width: 100%; }


/** breadcrumbs */
.breadcrumb-list {}
.breadcrumb-list .breadcrumb-item:first-child .breadcrumb-link::before { color: #36A29D; }
.breadcrumb-list .breadcrumb-item:first-child .breadcrumb-link:hover::before { color: #0e556e; }
.breadcrumb-list .breadcrumb-item .breadcrumb-text { color: #000; }
.breadcrumb-list .breadcrumb-item .breadcrumb-link:hover .breadcrumb-text { color: #0e556e; }
.breadcrumb-list .breadcrumb-item.active .breadcrumb-text { color: #0e556e; }
.breadcrumb-list span.separator { color: #000; }


/* main content */
#content-area #content { /* margin: 60px 0; */ line-height: 1.5em; width: 100%; /* change 03-01 width: 85% */ margin: 0;}
#mainContent { width: 640px; float: left; padding-right: 30px; padding-left: 0px }

/* sidebar */
#sidebar {
	display: flex;
	flex-direction: column;
	align-self: flex-start;
	width: 260px;
	padding-left: 30px;
	border-left: 1px solid #0e556e;
	padding-bottom: 20px;
	line-height: 1.5em;
}

#sidebar a {
	color: #000;
	text-decoration: underline;
}

#sidebar a.link-external::after {
	display: none;
}

#sidebar .frame-type-textmedia {
	margin-bottom: 20px;
}

#sidebar .frame-type-dce_dceuid1 {
	margin-bottom: 20px;
}

#sidebar h4 {
	color: #0e556e;
	font-weight: normal;
	margin-top: 0px;
}

#sidebar h5 {
	color: #0e556e;
	font-weight: normal;
	margin: 0 0 14px;
	padding: 0;
	font-size: 15px;
}

#sidebar table.ce-table td { padding: 0; }

/* footer */
#mainFooter {
	border-top: 2px solid #0e556e;
	font-size: 12px;
	padding-top: 15px;
	margin-bottom: calc(80px - 14px);
}

#mainFooter .footer-bottom-after {position: relative;/* font-size: 16px;padding: 0px 0 25px 0; */ display: flex;}
#mainFooter .footer-bottom-after a:after {content: "";}

#mainFooter a {
	color: #222;
}

#mainFooter .outer-wrapper {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: baseline;
	align-content: flex-start;
	width: 100%;
	position: relative;
}

#mainFooter ul.menu.nav-menu.menu-level-1 {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: flex-end;
}

#mainFooter ul li:after {
	content: "|";
	display: inline-block;
	margin: 0 8px;
	color: #838383;
}

#mainFooter ul li:last-child:after {
	content: "";
	display: none;
}

#mainFooter .copyright p:last-child {
	margin-bottom: 5px;
}

#mainFooter .copyright a:after {
	content: "|";
	display: inline-block;
	margin: 0 8px;
	color: #838383;
}

#mainFooter .footer-menu-left {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: baseline;
	text-align: center;
}

/* * * screen width */
@media screen and (max-width: 1300px) { /* before full width of design */
}/* design */

@media screen and (max-width: 1200px) { /* width of design */
}/* design */

@media screen and (max-width: 1024px) { /* ipad - landscape */
}/* 1024px */

@media screen and (max-width: 1023px) { /* smaller than ipad - landscape */
}/* 1023px */

@media screen and (max-width: 992px) {
}/* 992px */

/* main navi - as sidebar */
@media screen and (max-width: 991px), (min-width: 992px) and (max-width: 1024px) and (pointer: coarse) {
	html { overflow-x: hidden; overflow-y: auto; }
	#content-area, #mainHeader, #mainFooter .outer-wrapper { width: 85%;}

	.header-meta { display: none; }
	.navbar-toggler, #mainNav .toggle--sub-nav { display: block; }
	/* #mainNav {
		background: rgba(255,255,255,.95);
		box-shadow: 2px 2px 10px rgb(0 0 0 / 40%);
		clear: both;
		align-self: center;
		width: 100%;
		padding: 0 10px;
		text-align: left;
		overflow: hidden;
		position: absolute;
		margin: 0 auto;
		top: calc(100% + 4px);
		left: 0;
		bottom: auto;
		z-index: 9999;
		max-height: 0px;
		transition: max-height 2s ease-in-out;
	}

	 */

	#mainNav {backface-visibility: hidden;
		background: rgba(255,255,255,.95);
		box-shadow: 2px 2px 10px rgb(0 0 0 / 40%);
		padding: 0px 10px;
		/* opacity: 0; */
		transform: rotateX(-90deg);
		transform-style: preserve-3d;
		transform-origin: top center;
		transition: transform .5s cubic-bezier(0.25, 0.46, 0.45, 0.94) /*,opacity .1s .1s */;
		position: absolute;
		top: calc(100% + 4px);
		left: 0;
		z-index: -1;
		width: 100%;}
	/*{
		box-shadow: 2px 2px 10px rgb(0 0 0 / 40%);
		position: absolute;
		left: 0;
		transform-style: preserve-3d;
		transform-origin: top center;
		transition: transform .5s cubic-bezier(.2,.7,.7,1.3),opacity .1s .1s;
		opacity: 0;
		backface-visibility: hidden;
		padding: 0px 10px;
		top: 100%;
		z-index: 9999;
		width: 100%;}

	 */

	#mainNav .nav-menu a {
		border: 0 none;
		font-size: 14px;
		margin-right: 0;
	}

	#mainNav .nav-menu li.active>.submenu-wrapper {
		display: none;
	}
/*
	#nav-toggle:checked ~ #outer-wrapper #inner-wrapper #mainNav {
		max-height: 100vh;
	}

 */
	#nav-toggle:checked ~ #outer-wrapper #inner-wrapper #mainNav {
		transform: rotateX(0) translateZ(0);
		/*opacity: 1;*/
		z-index: 9999;
	}

	#nav-toggle:checked ~ #outer-wrapper #content-area {
		overflow: visible;
	}

	#mainNav .menu li input {
		display: block;
		position: absolute;
		right: 0px;
		height: 20px;
		width: 20px;
		z-index: 99;
		opacity: 0;
	}

	#mainNav .menu li input:checked ~ .submenu-wrapper{
		display: flex;
		position: relative;
		left: 0;
		padding: 0px;
		z-index: 9999;
		background: none;
		border-top: 1px solid #838383;
	}

	#mainNav ul li.menu-item.has--child-items>a {
	}

	#mainNav ul.submenu {
		width: 100%;
	}

	#mainNav ul.submenu li {
		padding: 10px 20px;
		border-top: none;
	}

	#mainNav ul li.has--child-items label:after {
		content: '';
		display: inline-block;
		width: 20px;
		height: 20px;
		background: url(../Img/mobile-nav.svg) right center no-repeat;
		background-size: contain;
		position: absolute;
		right: 0;
		top: 10px;
		margin: 0;
	}

	#mainNav ul li.has--child-items input + label:after{
		transform: rotate(0deg);
		transition: transform 300ms ease;
	}

	#mainNav ul li.has--child-items input:checked + label:after{
		transform: rotate(180deg);
		transition: transform 300ms ease;
	}

	#mainNav nav.site-navigation.main-navigation {
		width: 100%;
	}

	#mainNav ul.menu.nav-menu.menu-level-1 li {
		width: 100%;
		position: relative;
	}

	#mainNav ul li {
		font-size: 16px;
		padding: 10px 0;
		border-top: 1px solid #838383;
		color: #4e4e4e;
	}

	#mainNav ul li:first-child {
		border-top: 0px;
	}

	#mainNav ul li:after {
		display: none;
	}

	#mainHeader .header-inner {/* flex-direction: row-reverse;*/ }

	#content-area {
		flex-direction: column;
	}

	#content-area #mainContent {
		width: 100%;
		max-width: 640px;
		margin-bottom: 30px;
		padding: 0;
	}

	#content-area #sidebar {
		border-top: 1px solid #0e556e;
		border-left: none;
		flex-direction: row;
		align-content: center;
		width: 100%;
		max-width: 640px;
		margin: auto;
		padding-top: 20px;
		padding-left: 0;
	}

	#content-area #sidebar .sidebar-lower {
		margin-left: 20px;
	}

	#mainFooter .outer-wrapper {
		flex-direction: column;
		align-items: center;
	}

	#mainFooter .footer-menu-left {
		justify-content: center;
		margin-bottom: 8px;
	}

	#content-area #sidebar p:last-child {
		margin-bottom: 0;
		margin-top: 0;
	}

	#content-area .row {
		justify-content: center;
	}
}

@media screen and (max-width: 900px) {
}/* 900px */

@media screen and (max-width: 812px) { /* iphone X - landscape  */
}

@media screen and (max-width: 804px) {
	#mainFooter .copyright a:after {
		display: none;
	}

	#mainFooter .footer-menu-left {
		flex-direction: column;
	}

	#mainFooter .footer-menu-left {
		align-items: center;
	}
}

@media screen and (max-width: 800px) {
}/* 800px */

@media screen and (max-width: 768px) { /* ipad - portrait */
}/* 768px */

@media screen and (max-width: 767px) { /* smaller than ipad - portrait */
	/* #nav-toggleecked ~ #outer-wrapper #inner-wrapper { transform: translateX(-60%); } */
	/* #mainNav { width: 60%; } */
	#content-area #mainContent {
		width: 100%;
		max-width: 740px;
		margin-bottom: 30px;
		padding: 0;
	}
}/* 767px */

@media screen and (max-width: 736px) { /* iphone 6+ - landscape */
}/* 736px */

@media screen and (max-width: 735px) { /* smaller than iphone 6+ - landscape */
	/* #mainNav { padding-top: 20px; } */
}/* 735px */

@media screen and (max-width: 667px) { /* iphone 6 - landscape */
}/* 667px */

@media screen and (max-width: 666px) { /* smaller than iphone 6 - landscape */
}/* 666px */

@media screen and (max-width: 592px) {
	#content-area #sidebar {
		flex-direction: column;
		width: 100%;
		max-width: 640px;
	}

	#content-area #sidebar .sidebar-lower {
		margin-left: 0;
	}
}/* 592px */

@media screen and (max-width: 568px) { /* iPhone5 - landscape */
	#mainFooter .footer-bottom-after {flex-direction: column;}
}/* 568px */

@media screen and (max-width: 567px) { /* smaller than iPhone5 - landscape */
	#content-area #mainContent {
		/* max-width: ; */
	}
}/* 567px */

@media screen and (max-width: 480px) { /* iPhone4 - landscape */
}/* 480px */

@media screen and (max-width: 479px) { /* smaller than iPhone4 - landscape */
	/* #nav-toggle:checked ~ #outer-wrapper #inner-wrapper { transform: translateX(-70%); }
	#mainNav { width: 70%; } */
	#logo {
		width: 70%;
	}
}/* 479px */

@media screen and (max-width: 414px) { /* iPhone6+ - portrait */
}/* 414px */

@media screen and (max-width: 375px) { /* iPhone6 - portrait */
}/* 375px */

@media screen and (max-width: 374px) { /* smaller than iPhone6 - portrait */
	/* #nav-toggle:checked ~ #outer-wrapper #inner-wrapper { transform: translateX(-80%); }
	#mainNav { width: 100%; } */
}/* 374px */

@media screen and (max-width: 320px) { /* iPhone4/5 - portrait */
}

@media screen and (max-width: 319px) { /* smaller devices */
}/* smaller */


/* eof */
