.med-bt {
	align-self: center;
}

.mod01.owl-carousel.tagliata .owl-item {
	min-width: unset !important;
}

.mod01 .med-bt {
	align-self: center;
	display: flex;
	width: auto;
}

.owl-stage-outer>div>div>div>a>div>picture {
	margin-left: auto;
	margin-right: auto;
}

.mod01>div>div>div>div>a>div,
.mod01>div>div>div>div>div>div {
	margin-left: auto;
	margin-right: auto;
}

.mod01>div>div>div>div>div>div>div,
.mod01>div>div>div>div>a>div>div>div {
	width: 100%
}

.modtem5 .testo-sotto.var-1 .sfondo_tes {
	background-color: var(--bianco);
	margin-top: -10%;
}

.modtem5 .testo-sotto.var-1.afilo .sfondo_tes {
	margin-top: 0px;
}

.sfondo_tes {
	max-width: unset;
}

.mod01.testo-sotto.owl-carousel .owl-stage {
	display: flex;
}

.mod01.testo-sotto.owl-carousel.owl-drag .owl-item {
	display: flex;
}

.mod01.owl-carousel.testo-sotto a {
	align-content: flex-start;
}

.mod01.disattiva-slide picture {
	display: inline-flex;
}

div[data-modulotemplate="5"] {
	display: flex;
	flex-flow: column;
}

.mod01 {
	order: 3;
}

.modtem5 .testo-slide {
	order: 1;
	margin-bottom: 0px;
	padding: 20px 0px 0px 0px;
}

/* Varianti */
.modtem5 .testo-slide.tagliata-text {
	position: absolute;
	top: 0px;
	max-width: 25vw;
	display: flex;
	flex-flow: row wrap;
	height: 100%;
	align-self: center;
	z-index: 3;
}

.modtem5 .testo-slide.tagliata-text.testo-slide-wrap {
	display: flex;
	flex-flow: column;
}

.mod01.testo-sotto>div>a>div {
	display: flex;
	flex-flow: column;
}

.mod01.testo-sotto>div>a>div>div,
.mod01.testo-sotto .sfondo_tes {
	position: relative;
	display: flex;
	height: unset;
}

/* gestione colori */
.mod01 {
	color: var(--colore-scuro);
}

.mod01 a {
	color: var(--colore-scuro);
}

.sfondo_tes>div {
	position: relative;
	margin: 0 auto;
	width: 100%;
}

/* Dimensione testo */
.modtem5 h2 {
	margin-top: 0px;
	margin-bottom: 0px;
}

.modtem5 h5 {
	margin-top: 0px;
	margin-bottom: 0px;
}

.mod01 .med-par-slide {
	margin-top: 0px;
	margin-bottom: 20px;
}

/* OWl */
.mod01.owl-theme .owl-dots,
.mod01 .owl-theme .owl-nav {
	text-align: center;
	-webkit-tap-highlight-color: transparent
}

.mod01.owl-theme .owl-nav {
	margin-top: 10px
}

.mod01.owl-theme .owl-nav [class*=owl-] {
	color: #696868;
	/*font-size:30px;*/
	margin: 0px;
	padding: 0px;
	background: transparent;
	display: inline-block;
	cursor: pointer;
	border-radius: 0px;
	border: none;
	position: absolute;
}

.mod01.owl-theme .owl-nav .disabled {
	opacity: .5;
	cursor: default;
	display: none;
}

.mod01.owl-theme .owl-nav.disabled+.owl-dots {
	margin-top: 10px
}

.mod01.owl-theme .owl-dots .owl-dot {
	display: inline-block;
	zoom: 1
}

.mod01.owl-theme .owl-dots .owl-dot span {
	width: 10px;
	height: 10px;
	margin: 5px 7px;
	background: #D6D6D6;
	display: block;
	-webkit-backface-visibility: visible;
	transition: opacity .2s ease;
	border-radius: 30px
}

.mod01.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
	background: #869791
}

.mod01 .owl-prev {
	left: 20px;
	top: calc(50% - 28px);
}

.mod01 .owl-next {
	right: 20px;
	top: calc(50% - 28px);
}

.mod01.owl-carousel {
	z-index: 0;
}

.mod01 .owl-next span,
.mod01 .owl-prev span {
	display: none;
}

.mod01 .owl-next:before,
.mod01 .owl-next:after {
	color: inherit;
}

.mod01.owl-theme .owl-nav [class*=owl-]:hover {
	background: transparent;
	color: #000;
	text-decoration: none;
}

.mod01 .owl-prev {
	left: 0px;
	top: calc(50% - 60px);
}

.mod01 .owl-next {
	right: 0px;
	top: calc(50% - 60px);
}

.mod01.owl-theme .owl-dots .owl-dot {
	background-color: transparent;
	border: 1px solid transparent;
	padding-left: 0px;
	padding-right: 0px;
}

.mod01 .med-bt.contorno-da-chiaro-a-scuro.bt-standard.bt-radius.bt-border-0 {
	padding: 10px 40px;
	margin: 10px 0px;
	display: inline-flex;
}

.mod01.disattiva-slide>div {
	width: calc(var(--e-d-l) - (var(--e-d-m-l) * 2));
	margin: var(--e-d-m-l) var(--e-d-m-l);
}

.mod01.disattiva-slide>div {
	display: flex;
}




.mod01.disattiva-slide {
	display: flex;
	flex-flow: row wrap;
}

.mod01.disattiva-slide>div>div {
	display: inline-flex;
}

.mod01.disattiva-slide>div>div>picture,
.disattiva-slide>div>div>picture>* {
	display: inline;
	float: left;
}

.mod01.testo-sotto.disattiva-slide {
	align-items: unset;
}

.mod01.testo-sotto.disattiva-slide .fl .med-bt {
	/*margin-top: auto;*/
}

.mod01.testo-sotto.disattiva-slide>div>a {
	align-content: flex-start;
}

.mod01 picture {
	display: flex;
	margin: 0px auto;
	height: auto;
}

.mod01>div>a>picture {
	display: inline-flex;
}

.mod01>div>a>picture>img {
	align-self: center;
}

.mod01.owl-carousel.testo-sotto a {
	flex-flow: row wrap;
}

.mod01.testo-sotto a {
	flex-flow: column;
}

.mod01.testo-sotto.disattiva-slide a {
	flex-flow: row wrap;
}

a.fakediv {
	cursor: default;
}

a.fakediv:hover {
	color: unset;
	text-decoration: unset;
	border: unset;
}

.video_url {
	display: none;
}

#video_sol {
	display: none;
}

.modid1 .video-slide {
	display: block;
}

.modid1 .video-slide picture {
	opacity: 0 !important;
}

.modid1 .video-slide.mod01.parasi .parallax.pmod01 {
	background-image: none !important;
}

.modid1 .video_sol {
	display: block;
	position: absolute;
	top: 0px;
	z-index: 1 !important;
}

/*.mod01 .image-loaded {min-width: 100%;}*/
@media (min-width:990px) {
	.mod01.parasi .parallax.pmod01 {
		background-attachment: fixed;
		background-position: center;
		background-repeat: no-repeat;
		background-size: auto 95vh;
		width: 100%;
	}

	.mod01.parasi picture {
		opacity: 0;
	}

	.mod01.attiva-mobile-slide>div {
		width: calc(var(--e-d-l) - (var(--e-d-m-l) * 2));
		margin: var(--e-d-m-l) var(--e-d-m-l);
	}

	.mod01.attiva-mobile-slide>div {
		display: flex;
	}
}

@media (max-width:990px) {
	.mod01.parasi .parallax.pmod01 {
		background-attachment: scroll;
		background-image: none !important;
	}

	.fl.parallax.pmod01 img {
		opacity: 1;
		height: auto;
		width: 100vw;
	}
}

@media (max-width:812px) {
	.mod01.owl-carousel .owl-item a {}
}

@media (max-width:600px) {
	.mod01.parasi .owl-stage>.owl-item:first-child .parallax {
		background-attachment: scroll;
	}

	.mod01.var-1 p br {
		display: none;
	}

	.mod01.owl-carousel .owl-item>div>a.flbot {
		align-items: flex-end;
	}
}

@media (max-width:990px) {
	.parallax.pmod01 {
		background-position: 200vw 0;
		background-repeat: no-repeat;
		background-size: 100vw 100vh;
		background-attachment: fixed;
	}
}

@media (max-width:990px) {
	.testo_sotto_mobile .sfondo_tes {
		position: relative;
	}

	.mod01 .owl-prev,
	.mod01 .owl-next {
		bottom: 5px;
		top: unset;
	}

	.mod01 .owl-theme .owl-nav {
		margin-top: 0px;
	}

	.mod01.testo_sotto_mobile>div>div>div>div>div>div,
	.mod01.testo_sotto_mobile>div>div>div>div>div>div>div,
	.mod01.testo_sotto_mobile>div>div>div>div>*>div>div {
		position: relative;
		background-color: transparent !important;
	}

	.modtem5 .testo-sotto.var-1>div>div>div>div>div>div,
	.modtem5 .testo-sotto.var-1>div>div>div>div>*>div>div {}
}

@media screen and (max-width:550px) {
	/*.owl-carousel .owl-item{min-width:100vw!important;}*/
}

@media screen and (min-width:950px) and (max-width:1366px) {

	.mod01 h2,
	.mod01 h1,
	.testo-slide-tit {
		/*font-size:30px;*/
		margin: 0px;
	}

	.mod01 p,
	.mod01 p span,
	.testo-slide-par {
		margin: 10px 0px;
	}
}

@media (max-width:950px) and (min-width:1px) {

	.mod01 h2,
	.testo-slide-tit {
		/*font-size:32px;*/
	}

	.mod01 p,
	.mod01 p span,
	.testo-slide-par {
		margin: 7px 0px;
	}
}

@media (min-width:990px) {

	.mod01.text-right h2,
	.mod01.text-right {
		text-align: right;
	}

	.mod01.text-left h2,
	.mod01.text-left {
		text-align: left;
	}

	.mod01>div>div>div>div {
		text-align: center;
	}

	.mod01.text-right>div>div>div>div {
		text-align: right;
	}

	.mod01.text-left>div>div>div>div {
		text-align: left;
	}

	.mod01.text-center>div>div>div>div {
		text-align: center;
	}

	.mod01.text-just>div>div>div>div {
		text-align: justify;
	}

	.mod01.text-left .med-bt {
		align-self: flex-start;
	}

	.mod01.text-right .med-bt {
		align-self: flex-end;
	}

	.mod01.text-left.flcent .med-bt {
		align-self: flex-start;
	}

	.mod01.text-right.flcent .med-bt {
		align-self: flex-end;
	}
}

@media (max-width:990px) {
	.mod01>div>div>div>div>a>div {
		align-items: flex-end;
	}

	.mod01>div>div>div>div>a>div {
		jusitfy-content: center;
	}

	.mod01.or-sx-mob>div>div>div>div>*>div,
	.mod01.or-sx-mob>div>div>div>div>div {
		justify-content: flex-start;
	}

	.mod01.or-dx-mob>div>div>div>div>*>div,
	.mod01.or-dx-mob>div>div>div>div>div {
		justify-content: flex-end;
	}

	.mod01.or-cent-mob>div>div>div>div>*>div,
	.mod01.or-cent-mob>div>div>div>div>div {
		justify-content: center;
	}

	.mod01.vert-up-mob>div>div>div>div>*>div,
	.mod01.vert-up-mob>div>div>div>div>div {
		align-items: flex-start;
	}

	.mod01.vert-down-mob>div>div>div>div>*>div,
	.mod01.vert-down-mob>div>div>div>div>div,
	.mod01.vert-down-mob>div>div>div>div>a {
		align-items: flex-end;
	}

	.mod01.vert-cent-mob>div>div>div>div>*>div,
	.mod01.vert-cent-mob>div>div>div>div>div {
		align-items: center;
	}

	.mod01.text-right-mob>div>div>div>div {
		text-align: right;
	}

	.mod01.text-left-mob>div>div>div>div {
		text-align: left;
	}

	.mod01.text-center-mob>div>div>div>div {
		text-align: center;
	}

	.mod01.text-just-mob>div>div>div>div {
		text-align: justify;
	}

	.mod01.text-left-mob .med-bt {
		align-self: flex-start;
	}

	.mod01.text-right-mob .med-bt {
		align-self: flex-end;
	}

	.mod01.text-left-mob.flcent .med-bt {
		align-self: flex-start;
	}

	.mod01.text-right-mob.flcent .med-bt {
		align-self: flex-end;
	}
}


/* Superwide*/
.mod01.superwide picture.image-loaded {
	width: 100%
}

.mod01.superwide>div,
.mod01.superwide>div>*,
.mod01>div>*>picture>img,
.mod01.superwide>div>div>div>div,
.mod01>div>div>div>div {
	max-width: unset;
	width: 100%;
}

@media (min-width:990px) {

	.wd66 .superwidepercent picture,
	.wd66 .superwidepercent picture img {
		width: 66.6vw;
	}

	.wd33 .superwidepercent picture,
	.wd33 .superwidepercent picture img {
		width: 33.3vw;
	}
}

@media (max-width:990px) {}

.modtem5 h2 {
	max-width: 100%;
}

.modtem5 h2 img {
	max-width: 100%;
	/* width: 100%; */
}

.modtem5 h2 iframe {
	max-width: 100%;
}



@media (min-width:2000px) {

	.mod01.superwide>div>div>div>div,
	.mod01>div>div>div>div {
		max-width: unset;
		margin-left: auto;
		margin-right: auto;
		display: inline-flex;
		width: 100%;
	}

	.mod01>div>div>div>div,
	.mod01>div>div>div>div {
		max-width: 2000px;
		margin-left: auto;
		margin-right: auto;
		display: inline-flex;
	}
}

:root {
	--e-d-m-l: 0px;
	--e-d-l: 100%;
}

@media screen and (min-width:990px) {

	.el-des-mar-0.disattiva-slide,
	.el-des-mar-0.attiva-mobile-slide {
		--e-d-m-l: 0px;
	}

	.el-des-mar-10.disattiva-slide,
	.el-des-mar-10.attiva-mobile-slide {
		--e-d-m-l: 10px;
	}

	.el-des-mar-20.disattiva-slide,
	.el-des-mar-20.attiva-mobile-slide {
		--e-d-m-l: 20px;
	}

	.el-des-mar-40.disattiva-slide,
	.el-des-mar-40.attiva-mobile-slide {
		--e-d-m-l: 40px;
	}

	.el-des-mar-80.disattiva-slide,
	.el-des-mar-80.attiva-mobile-slide {
		--e-d-m-l: 80px;
	}

	.el-1-d.disattiva-slide,
	.el-1-d.attiva-mobile-slide {
		--e-d-l: 100%;
	}

	.el-2-d.disattiva-slide,
	.el-2-d.attiva-mobile-slide {
		--e-d-l: 50%;
	}

	.el-3-d.disattiva-slide,
	.el-3-d.attiva-mobile-slide {
		--e-d-l: 33.3%;
	}

	.el-4-d.disattiva-slide,
	.el-4-d.attiva-mobile-slide {
		--e-d-l: 25%;
	}

	.el-5-d.disattiva-slide,
	.el-5-d.attiva-mobile-slide {
		--e-d-l: 20%;
	}
}

@media screen and (max-width:990px) {
	.el-mob-mar-0.disattiva-slide {
		--e-d-m-l: 0px;
	}

	.el-mob-mar-10.disattiva-slide {
		--e-d-m-l: 10px;
	}

	.el-mob-mar-20.disattiva-slide {
		--e-d-m-l: 20px;
	}

	.el-mob-mar-40.disattiva-slide {
		--e-d-m-l: 40px;
	}

	.el-mob-mar-80.disattiva-slide {
		--e-d-m-l: 80px;
	}

	.el-1-m.disattiva-slide {
		--e-d-l: 100%;
	}

	.el-2-m.disattiva-slide {
		--e-d-l: 50%;
	}

	.el-3-m.disattiva-slide {
		--e-d-l: 33.3%;
	}

	.el-4-m.disattiva-slide {
		--e-d-l: 25%;
	}

	.el-5-m.disattiva-slide {
		--e-d-l: 20%;
	}
}

@media screen and (min-width:990px) {
	.med-par-slide.par-des-mar-0 {
		margin-top: 0px;
		margin-bottom: 0px;
	}

	.med-par-slide.par-des-mar-10 {
		margin-top: 10px;
		margin-bottom: 10px
	}

	.med-par-slide.par-des-mar-20 {
		margin-top: 20px;
		margin-bottom: 20px
	}

	.med-par-slide.par-des-mar-40 {
		margin-top: 40px;
		margin-bottom: 40px
	}

	.med-par-slide.par-des-mar-80 {
		margin-top: 80px;
		margin-bottom: 80px
	}


}

@media screen and (max-width:990px) {
	.med-par-slide.par-mob-mar-0 {
		margin-top: 0px;
		margin-bottom: 0px;
	}

	.med-par-slide.par-mob-mar-10 {
		margin-top: 10px;
		margin-bottom: 10px
	}

	.med-par-slide.par-mob-mar-20 {
		margin-top: 20px;
		margin-bottom: 20px
	}

	.med-par-slide.par-mob-mar-40 {
		margin-top: 40px;
		margin-bottom: 40px
	}

	.med-par-slide.par-mob-mar-80 {
		margin-top: 80px;
		margin-bottom: 80px
	}

	.mod01.text-left-mob>div>* {
		text-align: left;
	}
}

@media screen and (min-width:990px) {
	.sfondo_tes.des-larg-testo-auto {
		width: auto;
	}

	.sfondo_tes.des-larg-testo-100 {
		width: 100%;
	}

	.sfondo_tes.des-larg-testo-75 {
		width: 75%;
	}

	.sfondo_tes.des-larg-testo-50 {
		width: 50%;
	}

	.sfondo_tes.des-larg-testo-default {
		width: calc(50% + 40px);
	}
}

@media screen and (max-width:990px) {
	.sfondo_tes.mob-larg-testo-auto {
		width: auto;
	}

	.sfondo_tes.mob-larg-testo-100 {
		width: 100%;
	}

	.sfondo_tes.mob-larg-testo-75 {
		width: 75%;
	}

	.sfondo_tes.mob-larg-testo-50 {
		width: 50%;
	}

	.sfondo_tes.mob-larg-testo-default {
		width: 100%;
		max-width: calc(100vw - 40px);
	}
}

@media screen and (min-width:990px) {
	.sfondo_tes.txt-des-pad-0 {
		padding: 0px;
	}

	.sfondo_tes.txt-des-pad-10 {
		padding: 10px;
	}

	.sfondo_tes.txt-des-pad-20 {
		padding: 20px;
	}

	.sfondo_tes.txt-des-pad-40 {
		padding: 40px;
	}

	.sfondo_tes.txt-des-pad-80 {
		padding: 80px;
	}
}

@media screen and (min-width:990px) {
	.sfondo_tes.txt-des-mob-0 {
		padding: 0px;
	}

	.sfondo_tes.txt-des-mob-10 {
		padding: 10px;
	}

	.sfondo_tes.txt-des-mob-20 {
		padding: 20px;
	}

	.sfondo_tes.txt-des-mob-40 {
		padding: 40px;
	}

	.sfondo_tes.txt-des-mob-80 {
		padding: 80px;
	}
}

@media screen and (max-width:600px) {
	.modid1 .video_sol {
		width: 400%;
		left: -200%;
	}
}

.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.5);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 1000;
}

/* --- Modal Box --- */
.modal-box {
	background: #fff;
	width: 90%;
	max-width: 1000px;
	display: flex;
	border-radius: 8px;
	position: relative;
	overflow: hidden;
	font-family: sans-serif;
}

.modal-left
 {
    width: calc(50% - 20px);
    display: flex
    align-items: start;
    justify-content: center;
    padding: 10px;
}

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

.modal-right {
	width: 50%;
	padding: 30px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: start;
	text-align: left;
}

.modal-title {
	font-size: 22px;
	font-weight: bold;
	margin-bottom: 20px;
}

.nutrition-table thead th,
.nutrition-table tbody td {
	text-align: left;
}

.tabs {
	display: flex;
	gap: 20px;
	margin-bottom: 15px;
	border-bottom: 1px solid #ccc;
	width:100%
}

.modal-right .tabs { border-bottom: none; 
 overflow: hidden; flex-direction: row; display: flex; justify-content: flex-start; gap: 10px; margin: 0px auto; align-items: center; max-width: 1366px; width: 100%; box-sizing: border-box; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; list-style: none; padding: 20px 0px; scrollbar-width: thin; }
#technicaldetails-btn.download-button:hover { background-color: #fff; border: 1px solid #000; }
.tab.active {
	color: #000;
	border-bottom: 2px solid #000;
}

.tab-content {
	display: none;
	font-size: 15px;
	line-height: 1.5;
	width:100%;
}

.owl-carousel .owl-item img { display: block; width: fit-content; max-width: calc(100% - 40px); padding: 20px; }


@media (max-width: 768px) {
	.close-btn { top: 10px; right: 10px; z-index: 20; }
	.modal-box .tab { font-size: 12px!important; }
	.owl-carousel .owl-item img { display: block; width: fit-content; max-width: calc(100% - 20px); padding:0px;}
}

.tab-content.active {
	display: block;
cursor:pointer;
}
.tab:hover { cursor: pointer; }
.tab.active { cursor: pointer; }
.modal-box .tab { font-size: 14px; }

.download-button { margin-top: auto; padding: 10px 20px; background-color: #333; color: white; border: none; border-radius: 6px; font-weight: bold; cursor: pointer; width: fit-content; border-radius: 20px; }
@media (max-width: 768px) {
	.download-button { width: calc(100% - 20px); margin-top: 20px; margin-bottom: 20px; padding: 20px 10px; text-align: center; }
}
/* Alternanza righe: chiaro e beige */
.nutrition-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.nutrition-table tbody tr:nth-child(odd) {
  background-color: #f4f2eb;
}
.close-btn {
	position: absolute;
	top: 10px;
	right: 15px;
	font-size: 24px;
	font-weight: bold;
	color: #999;
	background: none;
	border: none;
	cursor: pointer;
}

.close-btn:hover {
	color: #000;
}

.nutrition-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.nutrition-table thead th {
	background-color: #f07e28;
	color: white;
	text-align: left;
	padding: 8px 12px;
}

.nutrition-table tbody td {
	padding: 8px 12px;
	border-top: 1px solid #eee;
	vertical-align: top;
}

.nutrition-table .sub-row {
	background-color: #f4f2eb;
}

.nutrition-table small {
	font-size: 12px;
	color: #555;
}

@media (max-width: 768px) {
  .modal-box {
    flex-direction: column;
    width: 95%;
    max-height: 95vh;
    overflow-y: auto;
  }

  .modal-left,
  .modal-right {
    width: 100%;
  }

  .modal-left {
    padding: 10px;
  }

  .modal-right {
    padding: 20px;
  }

  .close-btn {
    top: 10px;
    right: 10px;
  }

  .tabs {
    flex-wrap: wrap;
    gap: 10px;
  }

  .nutrition-table {
    font-size: 13px;
  }

  .nutrition-table td,
  .nutrition-table th {
    padding: 6px 8px;
  }
}


