/* HEADER */
header {
	position: fixed;
	top: 0;
	width: 100%;
	background-color: #fff;
	z-index: 5000;
}
header.scrolled {
	box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 20px 0px;
}
.toolbar-horizontal header {
	top: 39px;
}
.toolbar-horizontal.toolbar-tray-open header {
	top: 79px;
}
#header-inner {
	position: relative;
}

/* LOGO */
#logo {
	margin: 0;
	padding: 10px 0 20px;
	font-size: 0 !important;
    line-height: 1em !important;
	transition: all 600ms ease-in-out;
}
#logo img {
	transition: all 600ms ease-in-out;
}
header.scrolled #logo {
	padding: 3px 0 7px;
}
header.scrolled #logo img {
	height: 50px;
}

/* MENU */
#menu {
	position: absolute;
	top: 28px;
	right: 0;
	/*margin-right: 12rem;*/
	transition: all 600ms ease-in-out;
}
header.scrolled #menu {
	top: 10px;
}

/* Mobile NAV */
nav#block-mobile-menu,
nav#block-mobile-menu .menu,
.mobile-button {
	display: none;
}

/* Main NAV */
nav#block-main-menu > ul {
	/*padding: 0 2rem;*/
	/*text-align: right;*/
}
nav#block-main-menu > ul > li {
	display: inline-block;
	vertical-align: top;
	margin-left: 2em;
}
nav#block-main-menu > ul > li > a,
nav#block-main-menu > ul > li > span {
	display: block;
	position: relative;
	z-index: 0;
	padding: 0 1em;
	line-height: 1.8em;
	font-family: almaq-refined, sans-serif;
	font-size: 1.4em;
	font-weight: 400;
	color: var(--darkgreen);
	letter-spacing: 0px;
	cursor: pointer;
	transition: all 600ms ease-in-out;
}
nav#block-main-menu > ul > li > a:hover,
nav#block-main-menu > ul > li > span:hover {
	text-decoration: none;
	color: var(--green);
}
nav#block-main-menu > ul > li > a::after,
nav#block-main-menu > ul > li > span::after {
	content: '';
	position: absolute;
	z-index: -1;
	inset: 0; /* top/right/bottom/left: 0 */
	background-image: url('../images/menu-item-bg-hover.svg');
	background-repeat: no-repeat;
	background-size: 100% 100%;
	background-position: center;
	opacity: 0;
	transition: opacity 600ms ease-in-out;
}
nav#block-main-menu > ul > li > a:hover::after,
nav#block-main-menu > ul > li > span:hover::after {
	text-decoration: none;
	opacity: 1;
}
nav#block-main-menu > ul > li > a.is-active {
	color: var(--green);
}

nav#block-main-menu > ul > li:last-child > a,
nav#block-main-menu > ul > li:last-child > span {
	padding: 0 2em 0 1.4em;
	border-radius: 0.1em;
	color: var(--white);
	background-image: url('../images/arrow-right_white.svg'), url('../images/button-bg_green.svg');
	background-repeat: no-repeat, no-repeat;
	background-size: auto 0.7em, cover;
	background-position: calc(100% - 1em) center, center;
}
nav#block-main-menu > ul > li:last-child > a:hover,
nav#block-main-menu > ul > li:last-child > span:hover {
	color: var(--green);
	background-image: url('../images/arrow-right_green.svg'), url('../images/button-bg_lightgreen.svg');
	text-decoration: none;
}
nav#block-main-menu > ul > li:last-child > a::after,
nav#block-main-menu > ul > li:last-child > span::after {
	display: none !important;
}

/* MAIN */
main {
	margin: 100px 0 0;
	padding-top: 0;
	min-height: 400px;
}
.page-title,
.news-title,
.doc-title {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 200px;
	padding-bottom: 40px;
	background-image: url('../images/header-full.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}
.page-title::after,
.news-title::after,
.doc-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 40px;
	background-image: url('../images/section-sep-diag-bottom_white.svg');
	background-repeat: no-repeat;
	background-size: 100% 100%;
}
.page-title h2 {
	margin: 0;
	text-align: center;
	color: var(--white);
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.section-title h2,
.block-title h3 {
	display: inline-block;
	text-transform: uppercase;
	background-image: url('../images/title-bg.svg');
	background-repeat: no-repeat;
	background-size: 100% 0.8em;
	background-position: 5px calc(100% - 5px);
}

/* HOME */
#intro {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 70vh;
	padding-bottom: 80px;
	background-image: url('../images/header-full.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}
#intro::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 80px;
	background-image: url('../images/section-sep-diag-bottom_white.svg');
	background-repeat: no-repeat;
	background-size: 100% 100%;
}
.intro-content {
	text-align: center;
	color: var(--white);
}
.intro-content h2 {
	margin-bottom: 0.6em;
	/*font-size: 3em;
	line-height: 1.2em;*/
	color: var(--white);
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.intro-content p {
	font-size: 1.2em;
	font-weight: 400;
}
.intro-link {
	margin-top: 1.8em;
}
.intro-content .button:hover {
	color: var(--white);
	background-image: url('../images/arrow-right_white.svg'), url('../images/button-bg_darkgreen.svg');
	text-decoration: none;
}
.block-views-blockhome-blocks-block-1 {
	position: relative;
	margin: 6em 0;
	padding: 2em 0;
	background-color: var(--lightyellow2);
}
.block-views-blockhome-blocks-block-1::before {
	content: '';
	position: absolute;
	top: -46px;
	left: 0;
	width: 100%;
	height: 46px;
	background-image: url('../images/section-sep-top_lightyellow2.svg');
	background-repeat: no-repeat;
	background-size: 100% 100%;
}
.block-views-blockhome-blocks-block-1::after {
	content: '';
	position: absolute;
	bottom: -72px;
	left: 0;
	width: 100%;
	height: 72px;
	background-image: url('../images/section-sep-bottom_lightyellow2.svg');
	background-repeat: no-repeat;
	background-size: 100% 100%;
}
.block-views-blockhome-blocks-block-1 .field-img {
	margin-right: 2em;
}
.block-views-blockhome-blocks-block-1 .node__content {
	display: flex;
	align-items: flex-start;
	gap: 2em;
}
.block-views-blockhome-blocks-block-1 .field-img {
	flex-shrink: 0;
	max-width: 40%;
	margin-top: -30px;
}
.block-views-blockhome-blocks-block-1 .field-img img {
	display: block;
	width: 100%;
	height: auto;
}
.block-views-blockhome-blocks-block-1 .content {
	flex: 1;
	min-width: 0;
}
@media (max-width: 767px) {
	.block-views-blockhome-blocks-block-1 .node__content {
		flex-direction: column;
	}

	.block-views-blockhome-blocks-block-1 .field-img img {
		max-width: 100%;
	}
}

/* NEWS */
.news-title h2,
.doc-title h2 {
	margin: 0;
	text-align: left;
	font-size: 2.2em;
	color: var(--white);
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.news-link,
.documents-link  {
	margin-top: 1em;
	margin-bottom: 0.2em;
}
.news-link a,
.documents-link a {
	font-weight: 700;
	color: var(--white) !important;
	text-decoration: none !important;
}
.news-title .news-date,
.doc-title .doc-date {
	margin-top: 0.8em;
	margin-bottom: 1em;
}
.news-date .field,
.doc-date .field {
	display: inline-block;
	padding: 0.3em 1em;
	font-weight: 700;
	color: var(--white);
	background-image: url('../images/label-bg.svg');
	background-repeat: no-repeat;
	background-size: 100% 100%;
	background-position: center;
}
.view-news-block .section-title {
	margin-bottom: 2em;
	text-align: center;
}
.trees {
	display: inline-block;
	width: 60px;
	height: 60px;
	margin-left: 8px;
	background-image: url('../images/trees-green.svg');
	background-repeat: no-repeat;
	background-size: 60px 60px;
	background-position: center bottom;
	vertical-align: text-bottom;
}
.view-news .view-content {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	gap: 4em;
}
.news-teaser {
	width: 300px;
	text-align: left;
}
@media (max-width: 640px) {
	.view-news .news-teaser {
		width: 100%;
	}
}
.news-teaser img {
	transition: filter 0.6s ease;
}
/*news-teaser:hover img {
	filter: sepia(80%) hue-rotate(200deg) saturate(150%);
}*/
.news-img {
	/*position: relative;*/
	width: 100%;
	height: 200px;
	text-align: center;
}
.news-teaser .news-date {
	margin-top: -17px;
	margin-left: -6px;
}
.news-content {
	margin-top: 25px;
}
.news-body {
	margin-top: 0.8em;
}
.news-teaser .links {
	margin-top: 0.8em;
}
.news-teaser .links a {
	font-weight: 700;
}

/* DOCUMENT */
.view-documents .view-content {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	gap: 4em;
}
.document-teaser {
	width: 300px;
	text-align: left;
}
@media (max-width: 640px) {
	.view-documents .document-teaser {
		width: 100%;
	}
}
.doc-block {
	padding: 1em 2em;
	background-image: url('../images/block-bg2.svg');
	background-repeat: no-repeat;
	background-size: 100% 100%;
	background-position: center;
}
.doc-block h3 {
	margin: 0;
	font-size: 1.4em;
}
.doc-block .field--name-field-doc-date {
	font-size: 0.9em;
	font-weight: 700;
	color: var(--green);
}
.doc-block p {
	margin: 0;
	font-size: 0.9em;
}
.doc-block .link {
	margin-top: -10px;
	text-align: right;
}
a.doc-link {
	display: inline-block;
	width: 30px;
	height: 30px;
	background-image: url('../images/icon-download_green.svg');
	background-repeat: no-repeat;
	background-size: 100% 100%;
	background-position: center;
	text-indent: 9999px;
	overflow: hidden;
	transition: all 600ms ease-in-out;
}
a.doc-link:hover {
	background-image: url('../images/icon-download_darkgreen.svg');
}

/* FOOTER */
footer {
	position: relative;
	padding-top: 80px;
	width: 100%;
}
footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 80px;
	background-image: url('../images/section-sep-footer.svg');
	background-repeat: no-repeat;
	background-size: 100% 100%;
}
footer.sticky {
	position: fixed;
	bottom: 0;
	margin-bottom: 0;
	z-index: 6000;
}
#footer-inner {
	color: var(--white);
	background-color: var(--darkgreen);
}
footer a {
	color: var(--white);
}
.region-footer {
	display: flex;
	flex-wrap: wrap;
	gap: 2em;
}
#block-footer-contact {
	flex: 0 0 350px;
	color: var(--white);
}
#block-footer-contact h3 {
	margin: 0.8em 0 0.4em -8px;
	padding: 5px 0 0 5px;
	line-height: 1em;
	font-size: 2.6em;
	color: var(--white);
	background-image: url('../images/title-bg2.svg');
	background-size: 100% 0.8em;
	background-position: 0;
}
.contact-fields {
	margin-top: 1.4em;
}
.contact-field {
	margin-bottom: 0.6em;
}
#block-footer-contact-webform {
	flex: 1 1 300px;
}
#block-footer-contact-webform .webform-submission-form {
	margin-top: 0;
}

/* COPYRIGHT */
#copyright {
	font-size: 0.8em;
	text-align: center;
	color: var(--lightgreen);
}
#copyright a {
	color: var(--lightgreen);
}
#copyright a.lemoncom {
	color: inherit;
}