@font-face {
  font-family: servipiersymbols;
  src: url(../font/servipiersymbols.ttf);
}

.symbol {
	font-family: servipiersymbols;
}

html {
	--servipier-blue: #132a61;
	--light-servipier-blue: #496baa;
	--very-light-servipier-blue: #89a4d6;
	--white-frame: rgba(255, 255, 255, 0.95);
	
	--energypier-green: #15916b;
	--energypier-green-light: #54bd8e;
	--energypier-yellow: #fbc707;
	--energypier-white: #ffffff;
	
	--menu-height: 58pt;
	--menu-bar-height: 6pt;
	--footer-height: 6em;
	
	font-family: 'Montserrat', sans-serif;
	font-weight: 300;
}

a {
	color: #15916b;
	color: var(--energypier-green);
	text-decoration: none;
}

a:hover {
	color: #54bd8e;
	color: var(--energypier-green-light);
	text-decoration: underline;
}


.main {
	position: relative;
	width: 100%;
	min-height: 100vh;
	display: flex;
	flex-flow: column;
}

.bg_deco {
	position: fixed;
	top: 0em;
	height: 100vh;
	width: 100vw;
	z-index: -1;
}

.bg_deco .bg_img_content {
	width: 100vw;
	overflow: hidden;
	position: relative;
}

.bg_deco img {
	width: auto;
	min-width: 100%;
	min-height: 100%;
}

.bg_deco::after {
	content: "";
	width: 100%;
	height: 100%;
	background-image: linear-gradient(rgba(255, 255, 255, 0.0) 50%, rgba(255, 255, 255, 1.0) 70%);
	position: absolute;
	top: 0em;
	left: 0em;
}

/* navigation */

.page-header .top-nav {

	background-color: #15916b;
	background-color: var(--energypier-green);
	height: 58pt;
	height: var(--menu-height);
	border-bottom: 6pt #fbc707 solid;
	border-bottom: var(--menu-bar-height) var(--energypier-yellow) solid;
	position: fixed;
	top: 0em;
	width: 100%;
	z-index: 999;
	box-sizing: content-box;

}

.page-header .top-nav img {
	height: 3em;
	width: auto;
	margin-top: -0.8em;
}

@media screen and (max-width: 700px) {
	.page-header .top-nav-title img {
		width: 4em;
		object-fit: cover;
		object-position: left;
	}
}


#topnavshift{
	flex: 0 1 58pt;
	flex: 0 1 var(--menu-height);
}


.top-nav a, .top-nav .header_menu {

	display: block;
	height: 58pt;
	height: var(--menu-height);
	padding: 12pt;
	padding-top: 22pt;
	text-decoration: none;
	box-sizing: border-box;
	font-weight: 500;

}

.top-nav #main_menu {
	display: none;
	font-size: 2.5em;
	padding-top: 9pt;
}

.top-nav .header_menu {
	position: relative;
}

.top-nav .header_menu .dropdown-content {
	display: none;
	position: absolute;
	background-color: #54bd8e;
	background-color: var(--energypier-green-light);
	z-index: 999;
	right: 0pt;
	top: 58pt;
	top: var(--menu-height);
}

.top-nav .header_menu:hover .dropdown-content {
	display: block;
}

.top-nav .header_menu.opened .dropdown-content {
	display: block;
}

.top-nav-links a, .top-nav-links .header_menu{
	float: right;
}

.top-nav-title a {
	float: left;
	width: auto;
}

.page-header .top-nav a, .page-header .top-nav .header_menu {
	color: white;
}

.top-nav a:hover, .top-nav #linkList a:hover, .top-nav #linkList .header_menu:hover, .top-nav #linkList .header_menu.opened {
	background-color: #54bd8e;
	background-color: var(--energypier-green-light);
}

.top-nav #linkList .header_menu .dropdown-content a {
	width: 100%;
}

.top-nav #linkList .header_menu .dropdown-content a:hover {
	background-color: #15916b;
	background-color: var(--energypier-green);
}

@media screen and (max-width: 700px) {
	
	.top-nav #main_menu {
		display: block;
	}
	
	.top-nav #main_menu.opened {
		display: block;
		background-color: #54bd8e;
		background-color: var(--energypier-green-light);
	}
	
	#linkList {
		display: none;
		border-top: 6pt #fbc707 solid;
		border-top: var(--menu-bar-height) var(--energypier-yellow) solid;
		clear: both;
		width: 100vw;
		height: calc(100vh - 58pt - 6pt);
		height: calc(100vh - var(--menu-height) - var(--menu-bar-height));
		/*background-color: #54bd8e;
		background-color: var(--energypier-green-light);*/
	}
	
	#linkList.opened {
		display: flex;
		flex-direction: column-reverse;
		justify-content: flex-end;
	}
	
	.top-nav-links #linkList > a, .top-nav-links #linkList .header_menu{
		float: none;
		display: block;
		width: 100vw;
		background-color: #15916b;
		background-color: var(--energypier-green);
	}
	
	.top-nav-links #linkList .header_menu{
		padding: 0pt;
		padding-top: 0pt;
	}
	
	.top-nav-links #linkList .header_menu_item{
		height: 58pt;
		height: var(--menu-height);
		padding: 12pt;
		padding-top: 22pt;
		box-sizing: border-box;
	}
	
	.top-nav .header_menu .dropdown-content {
		position: static;
		width: 100vw;
	}
	
	.top-nav .header_menu .dropdown-content a {
		background-color: #54bd8e;
		background-color: var(--energypier-green-light);
		padding-left: 50pt;
	}
	
	.top-nav .header_menu .dropdown-content a {
		display: block;
	}
	
}



/* Sections */

.section, footer, #footer-wrap{
	color: black;
	box-sizing: border-box;
	width: 1000pt;
	margin-left: calc(50vw - 500pt);
	margin-top: 0em;
	margin-bottom: 0em;
	padding: 3em 8em;
	background-color: rgba(255, 255, 255, 0.95);
	background-color: var(--white-frame);
	box-sizing: border-box;
	flex: 0 1 auto;
}

@media screen and (max-width: 1400px) {
	.section, footer, #footer-wrap{
		width: 100vw;
		margin: 0pt;
	}
}

@media screen and (max-width: 1000px) {

	.section, footer {
		padding: 3em 6em;
	}

}

@media screen and (max-width: 650px) {

	.section, footer {
		padding: 2em 3em;
	}

}


.section.header {
	position: relative;
	padding: 0em;
	/*border-bottom: 8px #15916b solid;
	border-bottom: 8px var(--energypier-green) solid;*/
	
}

.section.header img.full-width{
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.section.header.singleBlock::before{
	content: "";
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	/* --energypier-green */
	background-image: linear-gradient(to right, rgba(21, 145, 107, 0.8) 50%, rgba(21, 145, 107, 0.0) 80%);
	z-index: 1;
	
}

.section.header.doubleBlock::before{
	content: "";
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	background-image: linear-gradient(to right, rgba(255, 255, 255, 0.8) 50%, #15916b 80%);
	background-image: linear-gradient(to right, rgba(255, 255, 255, 0.8) 50%, var(--energypier-green) 80%);
	z-index: 1;
	
}

.section.header .titlebox, .section.header .decoblock{
	display: inline-block;
	position: relative;
	z-index: 2;
	width: 50%;
	vertical-align: middle;
}

@media screen and (max-width: 650px) {
	.section.header .titlebox, .section.header .decoblock{
		width: 100%;
	}
	.section.header.doubleBlock::before{
	background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.8) 50%, #15916b 80%);
	background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.8) 50%, var(--energypier-green) 80%);
	}
	.section.header.singleBlock::before{
		background-image: linear-gradient(to right, rgba(21, 145, 107, 1.0) 50%, rgba(21, 145, 107, 0.8) 80%);
		
	}
	
}

.section.header .titlebox {
	color: #15916b;
	color: var(--energypier-green);
	padding: 100pt 40pt;
	box-sizing: border-box;
}

.section.header.singleBlock .titlebox {
	color: white;
}

.section.header .titlebox p {
	margin: 10pt 0pt;
	text-align: left;
	font-size: 1.8em;
}

.section.header .titlebox p:first-of-type {
	font-weight: 500;
	font-size: 2.4em;
}

@media screen and (max-width: 1000px) {
	.section.header .titlebox {
		padding: 40pt 20pt;
	}


	.section.header .titlebox p {
		font-size: 1.4em;
	}

	.section.header .titlebox p:first-of-type {
		font-size: 2em;
	}
}

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

	.section.header .titlebox p {
		font-size: 1.2em;
	}

	.section.header .titlebox p:first-of-type {
		font-size: 1.5em;
	}
}

@media screen and (max-width: 650px) {

	.section.header .titlebox {
		padding: 20pt 20pt;
	}

}

.section.header.doubleBlock .decoblock{
	height: 100%;
	padding: 40pt;
	box-sizing: border-box;
	object-fit: contain;
	
}

@media screen and (max-width: 1000px) {
	.section.header.doubleBlock .decoblock{
		padding: 20pt;
	}
}

@media screen and (max-width: 650px) {
	.section.header.doubleBlock .decoblock{
		padding: 20pt 60pt;
	}
}

/*.section:last-of-type {
	margin-bottom: 3em;
}*/

.section.noPadding {
	padding: 0;
}

.section.noPadding img.full-width{
	width: 100%;
	height: auto;
}

.section .title {
	font-size: 2.3em;
	font-weight: 500;
	text-align: left;
}

@media screen and (max-width: 1000px) {
	.section .title {
		font-size: 2em;
	}
}

@media screen and (max-width: 850px) {
	.section .title {
		font-size: 1.6em;
	}
}

@media screen and (max-width: 650px) {
	.section .title {
		text-align: center;
	}
}

.section.righttitle h1, .section.righttitle h2, .section.righttitle h3, .section.righttitle h4 {
	text-align: right;
}

.sectionBreak {
	display: block;
	position: relative;
	margin-bottom: 6em;
}

.sectionBreak a {
	position: absolute;
	top: -58pt;
	top: -var(--menu-height);
}

.section p {
	line-height: 1.3;
	text-align: justify;
	margin-bottom: 1em;
}

.section li {
	padding-left: 20pt;
	margin-bottom: 0.8em;
	text-align: justify;
}

.section img {
	max-width: 100%;
	height: auto;
}

@media screen and (max-width: 650px) {
	.section p {
		text-align: center;
	}
	
	.section li {
		text-align: left;
	}
}

.section.flexsec {
	padding: 0pt;
	display: flex;
	flex-wrap: wrap;
	/*flex-direction: row-reverse;*/
}

.section.flexsec .text {
	padding: 40pt;
	box-sizing: border-box;
	flex: 50%;
}

.section.flexsec .actionBlock {
	display: flex;
	flex: 100pt;
	background-color: #15916b;
	background-color: var(--energypier-green);
	color: white;
	justify-content: center;
	align-items: center;
	padding: 40pt 20pt;
}

@media screen and (max-width: 650px) {
	.section.flexsec {
		flex-direction: column;
	}
	.section.flexsec.reverse-column {
		flex-direction: column-reverse;
	}
}

.section.flexsec .messageBlock {
	flex: 100pt;
	background-color: #15916b;
	background-color: var(--energypier-green);
	color: white;
	text-align: center;
	font-size: 2.5em;
	padding: 40pt;
}

@media screen and (max-width: 800px) {
	.section.flexsec .messageBlock {
		font-size: 2em;
	}
}


@media screen and (max-width: 650px) {
	.section.flexsec .messageBlock {
		font-size: 1.6em;
	}
}


.section.flexsec .image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.section.flexsec .productBlock {
	display: flex;
	margin: auto;
}

.section.flexsec .productBlock .image {
	display: inline-block;
	width: 200pt;
	height: 200pt;
	padding: 20pt 10pt;
}

.section.flexsec .productBlock .infoblock {
	width: 150pt;
	display: flex;
	flex: 100pt;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	font-size: 0.8em;
}

.section.flexsec .productBlock .infoblock p {
	font-size: 1.5em;
	display: block;
}

@media screen and (max-width: 1000px) {

	.section.flexsec .productBlock {
		width: 200pt;
		flex-flow: column;
		padding: 10pt;
	}

	.section.flexsec .productBlock .image {
		padding: 5pt 0pt;
	}
	
	.section.flexsec .productBlock .infoblock {
		width: 200pt;
	}
	
	.section.flexsec .productBlock .infoblock p {
		margin: 2pt 0pt;
	}
}

.section.flexsec .spacing {
	display: flex;
	flex: 50pt;
}

#footer-wrap {
	flex: 1 1 auto;
	padding: 0;
}

footer {
	border-top: 8px #15916b solid;
	border-top: 8px var(--energypier-green) solid;
	/*position: absolute;
	bottom: 0pt;*/
}

footer #footer-first-block {
	display: inline-block;
	width: 50%;
	text-align: left;
}

footer #footer-third-block {
	display: inline-block;
	width: 49%;
	text-align: right;
}

@media screen and (max-width: 1000px) {
	
	footer #footer-first-block, footer #footer-third-block {
		width: 100%;
		text-align: center;
	}
	
	footer #footer-third-block {
		margin-top: 1em;
	}

}

/* Links */

a.linkbutton {
	border: 2pt white solid;
	border-radius: 8pt;
	background-color: #15916b;
	background-color: var(--energypier-green);
	color: white;
	padding: 10pt 20pt;
	font-size: 1.5em;
	text-decoration: none;
	display: inline-block;
	margin: 10pt 0pt;
	text-align: center;
}

a.linkbutton:hover {
	background-color: #54bd8e;
	background-color: var(--energypier-green-light);
}

/* Tables */

.section table {
	width: 100%;
	border-collapse: collapse;
}

.section table td, .section table th {
  padding: 10pt;
  text-align: right;
}

.section table td:nth-child(1), .section table th:nth-child(1) {
  text-align: left;
}

.section table tr:nth-child(even){background-color: #f2f2f2;}
.section table tr:nth-child(odd){background-color: #fafafa;}

.section table tr:hover {background-color: #ddd;}

.section table th {
  padding-top: 12pt;
  padding-bottom: 12pt;
  background-color: #15916b;
  background-color: var(--energypier-green);
  color: white;
}

.section table th a{
  color: white;
}


/* basket */

.basket p {
	text-align: right;
	font-weight: 600;
}

/* Button tool boxes */

.buttontoolbox {
	text-align: left;
}

.buttontoolbox.right {
	text-align: right;
}

.buttontoolbox .linkbutton{
	margin: 10pt 10pt;
	margin-left: 0pt;
}

.buttontoolbox.right .linkbutton{
	margin-left: 10pt;
	margin-right: 0pt;
}
