@font-face {
	font-family: 'Questrial';
	src: url('font/Questrial-Regular.woff2') format('woff2'),
		url('font/Questrial-Regular.woff') format('woff');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Poppins';
	src: url('font/Poppins-Regular.woff2') format('woff2'),
		url('font/Poppins-Regular.woff') format('woff');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

* {
	margin: 0;
	padding: 0;
	border: 0;
	box-sizing: border-box;
}

[onclick] {
	cursor: pointer;
}

html,
body {
	width: 100%;
	height: 100%;
	position: relative;
	font-family: 'Helvetica', 'Arial', sans-serif;
	font-weight: 300;
	font-size: 16px;
	color: rgb(51, 51, 51);
	background-color: #FFFFFF;
}

a {
	color: inherit;
	text-decoration: none;
}

ul {
	list-style-position: inside;
}

header {
	position: relative;
	height: 122px;
	border-bottom: 4px solid #044ca3;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 10;
}

ul#header-menu {
	list-style: none;
	display: flex;
	margin-top: 30px;
	font-family: 'Poppins';
}

ul#header-menu>li {
	position: relative;
	padding: 16px 20px;
}

ul#header-menu>li:not(.wpml-ls-item):not(.menu-item-has-children):hover {
	color: rgb(0, 168, 80);
}

ul#header-menu>li.menu-item-has-children:not(.wpml-ls-item)>ul.sub-menu {
	list-style: none;
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	padding: 5px;
	background-color: #ffffff;
	display: none;
}

ul#header-menu>li.menu-item-has-children:not(.wpml-ls-item)>ul.sub-menu li {
	padding: 4px 5px;
	white-space: nowrap;
	text-align: center;
}

ul#header-menu>li.menu-item-has-children:not(.wpml-ls-item)>ul.sub-menu li:hover {
	color: rgb(0, 168, 80);
}

ul#header-menu>li.menu-item-has-children:not(.wpml-ls-item):hover>ul.sub-menu {
	display: flex;
	flex-direction: column;
}

ul#header-menu>li.wpml-ls-item {
	background-color: #f3f3f3;
	border: 1px solid #e8e8e8;
}

ul#header-menu>li.wpml-ls-item>ul.sub-menu {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	list-style: none;
	display: none;
}

ul#header-menu>li.wpml-ls-item:hover>ul.sub-menu {
	display: flex;
}

ul#header-menu>li.wpml-ls-item>ul.sub-menu>li {
	background-color: #f3f3f3;
	border: 1px solid #e8e8e8;
	padding: 16px 20px;
}

ul#header-menu-mobile {
	list-style: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	font-family: 'Poppins';
	margin-top: 60px;
}

ul#header-menu-mobile>li {
	position: relative;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	font-size: 20px;
	line-height: 55px;
}

ul#header-menu-mobile>li.menu-item-has-children:not(.wpml-ls-item)>ul.sub-menu {
	width: 100%;
	list-style: none;
	background-color: rgb(232, 230, 230);
	display: flex;
	flex-direction: column;
	display: none;
}

ul#header-menu-mobile>li.menu-item-has-children:not(.wpml-ls-item)>ul.sub-menu li {
	position: relative;
	width: 100%;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 18px;
	line-height: 55px;
}

ul#header-menu-mobile>li.menu-item-has-children:not(.wpml-ls-item):hover>ul.sub-menu {
	display: flex;
}

ul#header-menu-mobile>li.wpml-ls-item {
	background-color: #f3f3f3;
	border: 1px solid #e8e8e8;
	width: 100px;
	height: 55px;
}

ul#header-menu-mobile>li.wpml-ls-item>ul.sub-menu {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	list-style: none;
	display: none;
}

ul#header-menu-mobile>li.wpml-ls-item:hover>ul.sub-menu {
	display: flex;
}

ul#header-menu-mobile>li.wpml-ls-item>ul.sub-menu>li {
	background-color: #f3f3f3;
	border: 1px solid #e8e8e8;
	padding: 16px 20px;
}

ul#header-menu-mobile li.current_page_item {
	color: rgb(0,87,225);
}

.headercarousel {
	position: relative;
	width: 100%;
	height: 650px;
	overflow: hidden;
}

.headercarousel img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 1.5s ease-in-out;
}

.headercarousel img.active {
	opacity: 1;
}

@keyframes fade {

	0%,
	100% {
		opacity: 0;
	}

	50% {
		opacity: 1;
	}
}

main {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

#text1_cont {
	width: 980px;
	padding: 40px 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 25px;
	text-align: center;
	font-family: 'Questrial', sans-serif;
	letter-spacing: 0.8px;
	line-height: 20.8px;
}

#text2_cont {
	width: 1200px;
	padding: 40px 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 25px;
	text-align: center;
	font-family: 'Questrial', sans-serif;
	letter-spacing: 0.8px;
	line-height: 20.8px;
}

h1 {
	font-size: 48px;
	font-weight: 400;
	line-height: 48px;
	color: rgb(4, 76, 163);
	font-family: 'Poppins';
}

#green_band {
	width: 100%;
	background-color: rgb(0, 168, 80);
	color: #ffffff;
	padding: 50px 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	font-size: 22px;
	letter-spacing: 0.44px;
	line-height: 28.6px;
	text-align: center;
}

#green_band h3 {
	color: #ffffff;
	font-size: 28px;
	letter-spacing: 0.56px;
	line-height: 36.4px;
	font-weight: 400;
}

.text_image {
	display: flex;
	gap: 25px;
	text-align: left;
}

.text_image b, .text_image strong {
	font-size: 18px;
	line-height: 24px;
}

.text_image img {
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.53);
	border-radius: 2px
}

.text_alert {
	font-family: 'Questrial', sans-serif;
	letter-spacing: 0.02em;
	font-size: 20px;
	color: #D10808;
	line-height: 1.3em;
	text-align: center;
	margin-top: 30px;
}

.carousel-container {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.carousel {
	display: flex;
	transform: translateX(0px);
	transition: transform 10s linear;
}

.arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background-color: transparent;
	border: none;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	z-index: 10;
}

.arrow.left {
	left: 10px;
}

.arrow.right {
	right: 10px;
}

#imageViewer {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
	display: none;
}

.controls {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: 100%;
}

.button {
	position: absolute;
	top: 20px;
	color: white;
	font-size: 20px;
	background: none;
	border: none;
	cursor: pointer;
	z-index: 10;
}

.fullscreenOff {
	display: none;
	top: 30px;
	left: 35px;
}

.close {
	top: 30px;
	right: 30px;
}

.nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	color: white;
	font-size: 30px;
	background: none;
	border: none;
	cursor: pointer;
}

.prev {
	left: 30px;
}

.next {
	right: 30px;
}

#imageContainer {
	width: 80%;
    height: 80%;
    margin-left: 10%;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

#imageContainer img {
	max-width: 100%;
	max-height: 100%;
	display: none;
	transition: opacity 0.5s ease-in-out;
	position: absolute;
}

#imageContainer img.active {
	display: block;
	opacity: 1;
}

#imageContainer img.fade-out {
	opacity: 0;
}

#footer1 {
	position: relative;
	background-color: #1F1F1F;
	padding: 50px 0;
	color: #ffffff;
	font-family: 'Questrial', sans-serif;
	font-size: 16px;
	line-height: 1.3em;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 15px;
}

#footer1 h3 {
	font-size: 20px;
	font-weight: normal;
	font-family: 'Poppins';
}

#footer2 {
	position: relative;
	background-color: #000000;
	padding: 40px 0;
	color: #ffffff;
	font-family: 'Questrial', sans-serif;
	font-size: 12px;
	line-height: 1.4em;
	text-align: center;
}

#gotop_button {
	position: absolute;
	width: 47px;
	height: 47px;
	background-color: #1F1F1F;
	border-radius: 50%;
	left: 80%;
	top: 0;
	bottom: 0;
	margin: auto;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
}

ul#footer1-menu {
	list-style: none;
	display: flex;
	gap: 15px;
	font-family: 'Poppins';
	font-size: 12px;
	text-decoration: underline;
}

ul#footer1-menu>li.wpml-ls-item {
	position: absolute;
	height: 55px;
	padding: 16px 20px;
	left: 20%;
	top: 0;
	bottom: 0;
	margin: auto;
	background-color: #f3f3f3;
	border: 1px solid #e8e8e8;
}

ul#footer1-menu>li.wpml-ls-item>ul.sub-menu {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	list-style: none;
	display: none;
}

ul#footer1-menu>li.wpml-ls-item:hover>ul.sub-menu {
	display: flex;
}

ul#footer1-menu>li.wpml-ls-item>ul.sub-menu>li {
	background-color: #f3f3f3;
	border: 1px solid #e8e8e8;
	padding: 16px 20px;
}

#map_cont {
	width: 100%;
	height: 350px;
	overflow: hidden;
}

.link_contattaci {
	padding: 8px 25px;
	color: #00A850;
	font-family: 'Poppins';
	font-size: 16px;
	text-decoration: none;
	letter-spacing: 1.6px;
	border: 2px solid #00A850;
}

.link_contattaci:hover {
	background-color: #00A850;
	color: #ffffff;
}

#text1_image_cont {
	position: relative;
	width: 100%;
	display: flex;
	justify-content: space-between;
	gap: 20px;
}

#text1_image_cont img {
	width: calc(50% - 10px);
	display: block;
}

#text_form_cont {
	display: flex;
	gap: 20px;
	text-align: left;
}

#text_form_info {
	width: calc(40% - 10px);
	display: flex;
	flex-direction: column;
	gap: 60px;
}

.text_form_contact {
	font-family: 'Questrial', sans-serif;
	font-size: 16px;
	line-height: 1.3em;
	margin-bottom: 10px;
}

.text_form_contact b {
	font-size: 18px;
}

#text_form_form {
	width: calc(60% - 10px);
}

#text_form_form .gfield_label {
	font-family: 'Questrial', sans-serif;
	font-size: 16px;
	margin-bottom: 0;
}

#text_form_form .gform_fields {
	row-gap: 15px;
}

#text_form_form .ginput_container textarea {
	min-block-size: 120px;
	resize: none;
}

#text_form_form .gform_button {
	width: 100%;
	background-color: rgb(4, 76, 163);
	font-family: 'Questrial', sans-serif;
	font-size: 16px;
}

#products_band {
	width: 980px;
	padding: 30px 0;
}

#products_mosaic {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	gap: 10px 2%;
}

.products_mosaic_elem {
	position: relative;
	background-size: 100%;
	background-position: center;
	transition: background-size 0.5s ease;
	overflow: hidden;
}

.products_mosaic_elem:hover {
  	background-size: 110%;
}

.products_mosaic_elem_0, .products_mosaic_elem_1 {
	width: 49%;
	height: 300px;
}

.products_mosaic_elem_2, .products_mosaic_elem_3, .products_mosaic_elem_4 {
	width: 32%;
	height: 200px;
}

.products_mosaic_elem_shadow {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background-color: rgba(0,0,0,0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	font-family: 'Poppins';
	font-size: 16px;
	color: #ffffff;
}

.products_mosaic_elem:hover .products_mosaic_elem_shadow {
	display: none;
}

#popup_intro_sf {
	position: fixed;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background-color: rgba(0,0,0,0.6);
	justify-content: center;
	align-items: center;
	display: none;
	z-index: 100;
}

#popup_intro {
	position: relative;
	padding: 25px 60px;
	background-color: #ffffff;
}

#popup_close {
	position: absolute;
	top: 10px;
	right: 10px;
}

.menu-button {
	width: 27px;
	height: 24px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	cursor: pointer;
	position: relative;
	display: none;
	z-index: 15;
}

.menu-button div {
	width: 100%;
	height: 3px;
	background-color: rgb(51, 51, 51);
	border-radius: 1px;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-button.active div:nth-child(1) {
	transform: translateY(8.5px) rotate(45deg);
}

.menu-button.active div:nth-child(2) {
	opacity: 0;
}

.menu-button.active div:nth-child(3) {
	transform: translateY(-12.5px) rotate(-45deg);
}

#menu-mobile-cont {
	position: fixed;
	width: 100%;
	height: 100%;
	left: 0;
	top: -100%;
	background-color: #ffffff;
	z-index: 14;
	transition: top 0.5s ease;
	display: none;
}

#menu-mobile-cont.active {
	top: 0;
}

@media (max-width: 1024px) {
	html,
	body {
		font-size: 19px;
	}

	header {
		height: 85px;
		display: flex;
		justify-content: space-around;
	}

	img#header_logo {
		height: 45px;
	}

	img#header_bollo {
		height: 60px;
	}

	ul#header-menu {
		display: none;
	}

	.headercarousel {
		height: 280px;
	}

	#text1_cont {
		width: 100%;
		padding: 20px 15px;
		line-height: 25px;
	}
	
	#text2_cont {
		width: 100%;
		padding: 20px 15px;
		line-height: 25px;
	}

	h1 {
		font-size: 32px;
		line-height: 32px;
	}

	#green_band {
		padding: 35px 15px;
		font-size: 20px;
		line-height: 23.6px;
	}
	
	#green_band h3 {
		font-size: 22px;
		line-height: 26.4px;
	}

	.text_image {
		flex-direction: column;
	}

	.text_image b, .text_image strong {
		font-size: 21px;
		line-height: 27px;
	}
	
	.text_image img {
		width: 100%;
	}
	
	.text_alert {
		font-size: 20px;
		line-height: 24px;
		margin-top: 15px;
	}

	.carousel img {
		width: 280px;
	}

	.fullscreen {
		display: none!important;
	}

	.nav {
		display: none;
	}

	#imageContainer {
		width: 100%;
		margin-left: 0;
	}

	#footer1 {
		padding: 25px 15px;
	}
	
	#footer1 h3 {
		font-size: 17px;
	}

	#footer2 {
		padding: 20px 15px;
		font-size: 14px;
	}
	
	#gotop_button {
		display: none;
	}

	ul#footer1-menu {
		align-items: center;
	}

	ul#footer1-menu>li.wpml-ls-item {
		position: relative;
		left: auto;
		top: auto;
		bottom: auto;
		margin: auto;
	}
	
	#popup_intro {
		max-width: 90%;
		padding: 25px 0;
	}
	
	#popup_intro_img {
		width: 100%;
	}

	#map_cont {
		height: 240px;
	}
	
	.link_contattaci {
		padding: 5px 15px;
		font-size: 15px;
	}
	
	#text1_image_cont {
		flex-direction: column;
	}
	
	#text1_image_cont img {
		width: 100%;
	}
	
	#text_form_cont {
		flex-direction: column;
		gap: 50px;
	}
	
	#text_form_info {
		width: 100%;
		gap: 30px;
	}
	
	.text_form_contact {
		font-size: 18px;
		margin-bottom: 15px;
	}
	
	.text_form_contact b {
		font-size: 20px;
	}
	
	#text_form_form {
		width: 100%;
	}
	
	#text_form_form .gfield_label {
		font-size: 20px;
	}
	
	#text_form_form .ginput_container textarea {
		min-block-size: 80px;
	}
	
	#text_form_form .gform_button {
		font-size: 18px;
	}
	
	#products_band {
		width: 100%;
		padding: 10px 0;
	}
	
	#products_mosaic {
		width: 100%;
		flex-direction: column;
		gap: 10px ;
	}
	
	.products_mosaic_elem_0, .products_mosaic_elem_1, .products_mosaic_elem_2, .products_mosaic_elem_3, .products_mosaic_elem_4 {
		width: 100%;
		height: 250px;
	}

	.menu-button {
		display: flex;
	}

	#menu-mobile-cont {
		display: block;
	}

	.products_mosaic_elem_shadow {
		font-size: 18px;
	}
}