@charset "UTF-8";

#sezioneHome6 h3 {
	margin-top: 100px;
}

h1 {
	margin-bottom: 20px;
}

h2 {
	margin-top: 20px;
	margin-bottom: 25px;
	text-align: center;
}

.carousel__item h2{
	text-align: left;
}

#sezioneHome2_1 h2,
#sezioneHome3_2 h2,
#sezioneHome5_1 h2 {
	margin-bottom: 10px;
}

h5 {
	margin-bottom: 70px;
}

h6 {
	/*margin-bottom: 20px;*/
}


.text {
	font-weight: medium;
	font-size: 22px;
}




#bannerHome1 {
	min-height: 850px;
	position: relative;
}

#bannerHome1 .full-width-height {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	min-height: 100%;
	z-index: -1;
}

#bannerHome1 .w3-container {
	min-height: 850px;
	padding-top: 170px;
	padding-bottom: 70px;
	position: relative;
	z-index: 3;
}

#bannerHome1 h3,
#bannerHome1 h4,
#bannerHome1 h5,
#bannerHome1 h6 {
	max-width: 70%;
}

#bannerHome1 h1 {
	/*	margin-top: 170px; */
	margin-bottom: 40px;
	text-shadow: 0px 1px 10px rgba(0, 0, 0, 0.4);
}

#bannerHome1 h4 {
	margin-top: 40px;
}

.carousel__container button {
	margin-top: 100px;
	height: 54px;
}

#sezioneHome1_1 h2,
#sezioneHome4 h2 {
	margin-bottom: 25px;
}

#sezioneHome1_1 h5 {
	margin-bottom: 70px;
}




.carousel__arrow button,
.control button {
	border-radius: 0px;
}

#sezioneHome1 {
	padding-bottom: 90px;
}

#sezioneHome1 h3,
#sezioneHome1 h5,
#sezioneHome4 h3,
#sezioneHome4 h5,
#sezioneHome6 h3,
#sezioneHome6 h5 {
	text-align: center;
}

#sezioneHome4 h3 {
	margin-top: 50px;
	margin-bottom: 20px;
}

#sezioneHome6 h2 {
	margin-bottom: 25px;
}

.sezione h5 {
	margin-bottom: 30px;
}

#sezioneHome6_background .sezione {
	padding-bottom: 90px;
}

#sezioneHome1_2,
#sezioneHome4_2,
#sezioneHome6_2 {
	color: var(--app-color-dark-5);
	font-size: 17px;
	font-weight: 500;
	margin-bottom: 70px;
}

#sezioneHome1_2>*,
#sezioneHome4_2>*,
#sezioneHome6_2>* {
	padding: 20px;
	padding-top: 0;
	padding-bottom: 0;
}

#sezioneHome1_2 h6 {
	color: var(--app-color-brand);
	text-transform: uppercase;
	font-size: 24px;
	font-weight: 800;
	/*line-height: 1;*/
}

#sezioneHome5_1 {
	display: flex;
	flex-direction: row;
	gap: 40px;
}

#sezioneHome5_1_2 {
	max-width: 500px;
}

#sezioneHome5_1_1 {
	min-height: 639px;
	height: 100%;
	margin-bottom: 70px;
}

.sezioneIso {
	max-width: 700px;
}

.sezioneIso h5 {
	margin-bottom: 30px;
}

#sezioneHome5_1_2 a,
#sezioneHome5_1_2 img {
	max-width: 380px;
}

#sezioneHome5 {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

#sezioneHome5 .sezione.sezione-flex-col {
	gap: 0px;
}

#sezioneHome5_1_2 {
	display: flex;
	justify-content: center;
	align-items: center;
}




.scrolltitle {
	display: flex;
	flex-direction: row;
	position: relative;
	top: 0;
	left: 0;
	z-index: 1;
	/* Assicura che stia sopra ma non troppo */
}



#sezioneHome3 h1,
#sezioneHome2 h1 {
	margin-top: 7px;
}

#sezioneHome3 span,
#sezioneHome2 span {
	font-size: 100px !important;
}


#sezioneHome4 {
	padding-bottom: 70px;
}

#sezioneHome4_3 h5 {
	margin-bottom: 40px;
}


#currentItemName,
#currentItemName2 {
	text-align: left;
	font-weight: 900;
	font-size: 22px;
	text-transform: uppercase;
	padding-left: 7px;
}


#currentItemName {

	color: var(--app-color-light-3);
}

#currentItemName2 {
	color: var(--app-color-dark-3);
}

.sezione4Gallery {
	display: flex;
	flex-direction: column;
}

.sezione4GalleryButtonVerticale {
	padding-bottom: 30px;
	padding-right: 5%;
	height: 100%;
	display: flex;
	flex-direction: column;
	gap: 20px !important;
	justify-content: flex-end;
	min-height: 40px;
}

.sezione4GalleryButtonOrizzontale {
	margin-top: 30px;
	padding-bottom: 70px;
	padding-right: 5%;
	height: 100%;
	display: flex;
	flex-direction: row;
	gap: 20px !important;
	justify-content: flex-end;
	min-height: 40px;
}

.scroll-gallery {
	display: flex;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	gap: 16px;
	/*padding: 20px 0;*/
}

#scrollGallery {
	padding-left: 5vw;
}

#sezioneHome3 .sezione,
#sezioneHome2 .sezione {}

#scrollGallery1,
#scrollGallery2 {
	overflow-x: hidden;
	height: 380px;
	display: flex;
	flex-direction: column;
}

#scrollGallery {
	width: 100%;
	display: flex;
	overflow-x: auto;
	scroll-behavior: smooth;
	gap: 16px;
}


.scroll-gallery img {
	flex-shrink: 0;
	max-width: 466px;
	/*min-height: 300px;
	max-height: 354px;*/
	height: 300px;
	object-fit: cover;
	border-radius: 100px;
}

.scroll-arrow {
	padding: 0px 0px 0px 0px !important;
	min-width: 0;
	cursor: pointer;
	border: none;
	background-color: transparent;
	width: 48px;
	height: 48px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	border-radius: 0px 0px;
	position: relative;
}

/* Preload hover/active images to prevent flash on first hover */
.scroll-arrow::after {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
	z-index: -1;
	visibility: hidden;
	content: 
		url('../../img/svg/ArrowSx_LightColour_Hover.svg')
		url('../../img/svg/ArrowSx_LightColour_Active.svg')
		url('../../img/svg/ArrowDx_LightColour_Default-08.svg')
		url('../../img/svg/ArrowDx_LightColour_Active.svg')
		url('../../img/svg/ArrowUp_LightColour_Hover.svg')
		url('../../img/svg/ArrowUp_LightColour_Active.svg')
		url('../../img/svg/ArrowDown_LightColour_Hover.svg')
		url('../../img/svg/ArrowDown_LightColour_Active.svg');
}

/* Stato normale LEFT */
.scroll-arrow.left {
	background-image: url('../../img/svg/ArrowSx_LightColour_Default.svg');
}

/* Stato hover LEFT */
.scroll-arrow.left:hover {
	background-image: url('../../img/svg/ArrowSx_LightColour_Hover.svg');
}

/* Stato active LEFT */
.scroll-arrow.left:active {
	background-image: url('../../img/svg/ArrowSx_LightColour_Active.svg');
}

/* Stato normale RIGHT */
.scroll-arrow.right {
	background-image: url('../../img/svg/ArrowDx_LightColour_Default-07.svg');
}

/* Stato hover RIGHT */
.scroll-arrow.right:hover {
	background-image: url('../../img/svg/ArrowDx_LightColour_Default-08.svg');
}

/* Stato active RIGHT */
.scroll-arrow.right:active {
	background-image: url('../../img/svg/ArrowDx_LightColour_Active.svg');
}


.scroll-arrow.up {
	background-image: url('../../img/svg/ArrowUp_LightColour_Default.svg');
}

/* Stato hover up */
.scroll-arrow.up:hover {
	background-image: url('../../img/svg/ArrowUp_LightColour_Hover.svg');
}

/* Stato active up */
.scroll-arrow.up:active {
	background-image: url('../../img/svg/ArrowUp_LightColour_Active.svg');
}

/* Stato normale down */
.scroll-arrow.down {
	background-image: url('../../img/svg/ArrowDown_LightColour_Default.svg');
}

/* Stato hover down */
.scroll-arrow.down:hover {
	background-image: url('../../img/svg/ArrowDown_LightColour_Hover.svg');
}

/* Stato active down */
.scroll-arrow.down:active {
	background-image: url('../../img/svg/ArrowDown_LightColour_Active.svg');
}

#sezioneHome4_3 {
	margin-top: 70px;
	margin-bottom: 0px;
	text-align: left;
}

#sezioneHome4_3 h5 {
	text-align: left;
}

#sezioneHome4_4>* {}

#sezioneHome4_4 img {
	border-radius: 60px;
	border: 8px solid #fff;
}


.sezione-home-col {
	flex-shrink: 0;
}


.sezione-home-col-spacer {
	display: inline-block;
	width: calc(50vw - 110px);
	/* Riduci ulteriormente */
	height: 192px;
	flex-shrink: 0;
}

#sezioneHome6_1 {
	position: absolute;
	left: 0;
	right: 0;
	padding-top: 11px;
}

#sezioneHome6_1>* {

	overflow-y: hidden;
}

#sezioneHome6_1>*>* {
	display: inline-flex;
	flex-direction: row;
	justify-content: start;
	align-items: center;
	flex-wrap: nowrap;
	gap: 14px;
}

#sezioneHome6_img {
	margin-top: 50px;
}

#sezioneHome6_img img {
	width: 170px;
	position: relative;
	z-index: +1;
}

.sezione-home-col {
	display: inline-block;
	width: 150px;
	height: 150px;
}

.sezione-home-6-col1 {
	background: #fff;
}

.sezione-home-6-col2 {
	background: #ecec88;
}

.sezione-home-6-col3 {
	background: #edd8b8;
}

.sezione-home-6-col4 {
	background: #ecccb8;
}

.sezione-home-6-col5 {
	background: #ec88b8;
}

.sezione-home-6-col6 {
	background: #ec88d0;
}

.sezione-home-6-col7 {
	background: #dab8ec;
}

.sezione-home-6-col8 {
	background: #c1c3ed;
}

.sezione-home-6-col9 {
	background: #c1d4ed;
}

.sezione-home-6-col10 {
	background: #c1ede6;
}

.sezione-home-6-col11 {
	background: #d1ecb9;
}




/* #sezioneHome2 */
.sezione-flex-col,
.sezione-flex {
	display: flex;
	flex-direction: row;
	gap: 20px;
	padding-bottom: 90px;
	min-height: 600px;
}

.sezione-flex-col {
	flex-direction: column;
}


.sezione-x-y {
	font-size: 20px;
	overflow: hidden;
}

/* #sezioneHome2_2 */
.sezione-x-y .l4 {
	position: relative;
	overflow: auto;
	margin-top: -110px;
	margin-bottom: -300px;
}

/* #sezioneHome2_2_1 */
.sezione-x-y .l4>* {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
}

/*
#sezioneHome2_2_1 a,
#sezioneHome2_2_1 img
*/
.sezione-x-y .l4 a,
.sezione-x-y .l4 img {
	max-width: 100%;
	display: inline-block;
}

/* #sezioneHome2_2_1 a:first-child */
.sezione-x-y .l4 a:first-child {
	margin-top: 150px;
}

/* #sezioneHome2_2_1 a:last-child */
.sezione-x-y .l4 a:last-child {
	margin-bottom: 370px;
}

/* #sezioneHome2 .control */
.sezione-x-y .control {
	align-self: flex-end;
	width: 40px;
	bottom: -150px;
}

.sezione-x-y.sezione-2-1 .control {
	padding-right: 60px;
	right: 0;
}

.sezione-x-y.sezione-1-2 .control {
	padding-left: 60px;
	left: 0;
}

/* #sezioneHome2 .control > :last-child */
.sezione-x-y .control> :last-child {
	margin-top: 20px;
}

/* #sezioneHome2 .control > :last-child span */
.sezione-x-y .control> :last-child span {
	margin-top: 2px;
}




#sezioneHome3_2 {
	height: 100%;
}

#sezioneHome3_1 {
	display: flex;
	flex-direction: row;
}


#scrollGallery1 img,
#scrollGallery2 img {
	max-width: 380px;
	max-height: 380px;
}

#sezioneHome5_2 {
	margin-top: 70px;
}

/* Desktop: Hide paragraph text in mobile-paragraph-item, show only images */
.mobile-paragraph-item {
	display: contents;
}

.mobile-paragraph-item > p {
	display: none;
}

/* Gallery text switching */
.gallery-text-container {
	position: relative;
	min-height: 100px;
}

.gallery-text {
	display: none;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.gallery-text.active {
	display: block;
	opacity: 1;
}


@media only screen and (max-width: 993px) {
	.indicatoreCarosello {
		display: none !important;
	}

	.sezione-flex {
		flex-direction: column;
	}

	.scrolltitle h6 {
		display: none;
	}

	#sezioneHome5_1 {
		flex-direction: column;
		justify-items: center;
	}

	#sezioneHome5_1_2 img {
		max-width: 50%;
	}

	.sezione4GalleryButtonOrizzontale,
	.sezione4GalleryButtonVerticale {
		display: none;
	}

	#scrollGallery1,
	#scrollGallery2 {
		display: flex;
		height: 100%;
		justify-content: center;
		align-items: center;
		flex-direction: column;
		/*max-width: 800px;*/
		width: 100%;
		gap: 40px;
		margin: auto;
	}

	#scrollGallery1 img,
	#scrollGallery2 img {
		max-width: 250px;
		min-width: 250px;
		margin: auto;
	}

	#sezioneHome2,
	#sezioneHome3 {
		flex-direction: column;
	}

	#sezioneHome3 .sezione-flex {
		flex-direction: column-reverse;
	}

	#sezioneHome2_1,
	#sezioneHome2_2,
	#sezioneHome3_1,
	#sezioneHome3_2 {
		padding-left: 40px;
		padding-right: 40px;
	}

	#sezioneHome2_1 .w3-container.position-relative,
	#sezioneHome2_2 .w3-container.position-relative,
	#sezioneHome3_1 .w3-container.position-relative,
	#sezioneHome3_2 .w3-container.position-relative {
		padding: 0;
	}

	/* Mobile: Show all paragraphs, hide the gallery text container */
	#sezioneHome2 .gallery-text-container,
	#sezioneHome3 .gallery-text-container {
		display: none;
	}

	/* Mobile: Show all paragraph items in galleries */
	#scrollGallery1 .mobile-paragraph-item,
	#scrollGallery2 .mobile-paragraph-item {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		text-align: left;
		gap: 20px;
		width: 100%;
	}

	#scrollGallery1 .mobile-paragraph-item p,
	#scrollGallery2 .mobile-paragraph-item p {
		display: block !important;
		font-weight: medium;
		width: 100%;
		margin: 0;
	}

	#scrollGallery1 .mobile-paragraph-item a,
	#scrollGallery2 .mobile-paragraph-item a {
		align-self: center;
	}

	#sezioneHome2 #scrollGallery1 .mobile-paragraph-item p {
		color: var(--app-color-light-3);
	}

}

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

	#bannerHome1 h1 {
		font-size: 50px;
	}

	#sezioneHome5_2 button {
		margin-bottom: 40px;
	}

	#sezioneHome4_4 img {
		max-width: 300px;
	}

	#scrollGallery1 img,
	#scrollGallery2 img {
		max-width: 180px;
		min-width: 180px;
		margin: auto;
	}

	.carousel__item button {
		margin-bottom: 40px;
	}

	.sezione4GalleryButton .button {
		width: 60px !important;
	}
}


@media only screen and (min-width:501px) and (max-width: 993px) {
	#bannerHome1 h4 {
		font-size: 25px !important;
	}

	#sezioneHome2,
	#sezioneHome3 {
		max-height: none !important;
	}
}