/* Header */
header {
	position:relative;
	min-height: 480px;
	background-color: #fff;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}
.home::after {
	position: absolute;
	content: "";
	display: block;
	top: 0;
	z-index: 1;
	left: 80%;
	min-width: 300px;
	height: 100%;
	max-height: 99vh;
	background: transparent url("../../img/rain-green.png") no-repeat;
}

[data-bg] {
	background-image: var(--bg-url);
}

/* Navigation */
.top-nav {
	position: relative;
	z-index: 3;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: transparent;
	background-size: 600px auto;
}
#home .top-nav {
	max-height: 0;
	/* overflow: hidden; */
	-webkit-transition: max-height .8s ease-in-out .5s;
	transition: max-height .8s ease-in-out .5s;
}
#home .top-nav.show,
.top-nav.show {
	max-height: 100vh;
}
.top-nav nav {
	font-family: "Rois", "Helvetica Neue",Arial, sans-serif;
	font-weight: normal;
	margin: 8px 0;
}
#menu-item-home {
	line-height: 1;
}
.top-nav img {
	height: 75px;
	padding: 0 15px;
	width: auto;
}
.top-nav ul {
	list-style: none;
	margin: 0;
	padding: 5px 0 0;
	transition-duration: 0.5s;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.top-nav ul ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	background: #fff;
	padding: 10px 0;
	min-width: 200px;
	z-index: 999;
}
.top-nav li {
	color: #000;
	display: inline-block;
	text-align: center;
	width: 100%;
	max-width: 20%;
	padding: 8px 30px;
	font-size: 1.25em;
	position: relative;
	text-decoration: none;
}
.top-nav li li {
	max-width: none;
}
.top-nav li.two-lines {
	max-width: 280px;
}
.top-nav li.two-lines-small {
	max-width: 200px;
	text-align: center;
}
.top-nav li a {
	position: relative;
	color: #000;
}
.top-nav li:focus a {
	outline: none;
}
.top-nav li:hover a,
.top-nav li.current_page_item > a,
.top-nav li.current-menu-ancestor a {
	color: #00576B;
}

/* Header Image */
header .header {
	display: flex;
	min-height: 500px;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}
.postid-258 header .header {
	background-position: top center;
}
#home header .header {
	min-height: 650px;
	background-size: cover;
	background-position: 50% 15%;
	/* max-width: 1280px; */
	margin: 0 auto;
}
.header-info {
	width: 85%;
	position: relative;
}
.header_content {
	max-height: 0;
	overflow: hidden;
	background: #cbdbecff;
	border-radius: 25px;
	max-width: 450px;
	position: relative;
	top: 22%;
	left: 5%;
	-webkit-transition: all.8s ease-in-out .8s;
	transition: all .8s ease-in-out .8s;
}
.header_content.show {
	padding: 24px 30px 10px;
	max-height: 100px;
}
.header_content p {
	color: #00576B;
	font-family: "Rois", "Helvetica Neue",Arial, sans-serif;
	font-weight: bold;
	font-size: 1.4em;
	line-height: 1.25em;
	text-align: center;
	margin: 0;
}

/* Mobile Nav */
.mobile-nav {
	display: none;
}
.mobile-nav .mobile-logo {
	margin: 5px auto;
}
.mobile-nav nav {
	display: flex;
	max-height: 0;
	height: 0;
	-webkit-transition: height .8s cubic-bezier(0.17, 0.04, 0.03, 0.94), max-height .8s cubic-bezier(0.17, 0.04, 0.03, 0.94);
	transition: height .8s cubic-bezier(0.17, 0.04, 0.03, 0.94), max-height .8s cubic-bezier(0.17, 0.04, 0.03, 0.94);
	overflow: hidden;
}
.mobile_nav_trigger {
	position: absolute;
	top: -9999px;
	left: -9999px;
}

@media screen and (min-width: 781px) {
	.top-nav li.menu-item-has-children:hover > ul.sub-menu {
		display: block;
		border-radius: 0 0 10px 10px;
		border-top: 1px solid #00576B24;
	}
}

@media screen and (max-width: 1680px) {
	#home header .header {
		min-height: calc(100vh - 110px);
		background-size: cover;
	}
}

@media screen and (max-width: 1280px) {
	.top-nav nav {
		margin: 0px -.9375rem;
	}
	.top-nav li {
		padding: 8px 20px;
	}
	.row.desktop-nav {
		max-width: 100% !important;
	}
}

@media screen and (max-width: 1024px) {
	.top-nav {
		padding: 0;
	}
	.top-nav nav {
		font-size: 12px;
	}
	.top-nav img {
		height: 40px;
	}
	.top-nav li {
		padding: 8px 15px;
	}
}
@media screen and (max-width: 780px) {
	.desktop-nav {
		display: none;
	}
	#menuToggle {
		overflow: hidden;
		position: absolute;
		right: 10px;
		top: 10px;
		width: 50px;
		height: 50px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	#menuToggle input {
		display: flex;
		width: 60px;
		height: 60px;
		position: absolute;
		cursor: pointer;
		opacity: 0; /* hide input */
		z-index: 1; /* top of the menu */
	}
	#menuToggle span {
		width: 55px;
		height: 8px;
		margin-bottom: 10px;
		background: #7f8fa6;
		border-radius: 4px;
		-webkit-transition: all .5s cubic-bezier(.08,.81,.87,.71);
		-moz-transition: all .5s cubic-bezier(.08,.81,.87,.71);
		-ms-transition: all .5s cubic-bezier(.08,.81,.87,.71);
		-o-transition: all .5s cubic-bezier(.08,.81,.87,.71);
		transition: all .5s cubic-bezier(.08,.81,.87,.71);
	}
	#navline1 {
		transform-origin: 4px 0px;
	}
	#navline2 {
		transform-origin: bottom right;
	}
	#menuToggle input:checked ~ #navline1 {
		background-color: #000;
		transform: rotate(45deg) translate(8px);
	}
	#menuToggle input:checked ~ #navline2 {
		background-color: #000;
		transform: rotate(495deg) translate(4px);
	}
	#menuToggle input:checked ~ #navline3 {
		background-color: #000;
		transform: rotate(45deg);
		opacity: 0;
	}
	.mobile-nav {
		display: flex;
		flex-flow: column wrap;
		width: 100vw;
		text-align: center;
		padding: 10px;
	}
	.mobile-nav label {
		display: block;
		position: absolute;
		right: 20px;
		top: 20px;
		cursor: pointer;
		font-family: "Rois";
		font-size: 1.25em;
		color: #000;
	}
	.mobile_nav_trigger:checked ~ nav {
		max-height: 100vh;
		height: calc(360px);
		justify-content: center;
		align-items: flex-start;
	}
	.top-nav .mobile-nav ul {
		width: 100%;
		margin: 3em 25px auto;
		font-size: 1.5em;
		-webkit-transition: all .5s ease-in-out;
		transition: all .5s ease-in-out;
		flex-flow: column wrap;
	}
	.top-nav .mobile-nav li {
		display: block;
		padding: 10px 0;
		max-width: none;
	}
	.top-nav .mobile-nav li:nth-of-type(2) a {
		display: inline-block;
		max-width: 65vw;
	}
	.top-nav {
		background-position: -100% 33%;
	}
	.top-nav .mobile-nav ul ul.sub-menu {
		display: block;
		position: static;
		transform: none;
		background: transparent;
		min-width: auto;
		padding: 0;
		margin: 10px 0 10px 10px;
		font-size: 1em;
		opacity: .95;
	}
	.top-nav .mobile-nav li.menu-item-has-children {
		padding-bottom: 0;
	}
	.top-nav .mobile-nav li.menu-item-has-children > ul.sub-menu li {
		font-size: 0.9em;
		padding: 4px 0;
	}
}


@media screen and (max-width: 54.786em) {
	header,
	header .header,
	#home header .header {
		min-height: 300px;
	}
	.page-id-1487 header .header {
		min-height: 250px;
	}
	.home::after {
		min-width: 0;
		width: 160px;
		height: 100vh;
		background-size: 180px;
		left: -31vw;
		top: -3vh;
	}
	.header-info {
		width: 100%;
		max-width: inherit;
		margin: 0;
		padding: 0;
	}
	.header_content {
		max-height: inherit;
		top: 0px;
		left: 20px;	
		text-align: center;
		padding: 5px 20px;
		margin: auto 0 30px;
		max-width: calc(100vw - 40px);
	}
	.header_content.show {
		padding: 10px 20px;
	}
	.header_content p {
		max-width: 90%;
		font-size: 16px;
		margin: 0 auto;
	}
}