.wrapper-timeline {
	display: flex;
	gap: 0 20px;
	max-width: 1100px;
	margin: 0 auto;
	padding: 20px;
	position: relative;
	}

/* Contenitore principale della timeline */
.block-content {
	flex: 1;
}

/* Stile per la nav sticky */
#navDates{
	position: absolute;
	top: 44px;
	right: 65px;
	align-self: flex-start;
	padding: 10px 30px;
	z-index: 9;
	background-color: rgb(255 255 255 / 83%);
}
.wrapper-timeline .date-year{
	padding-top: 110px;
	margin-top: -150px;
}

.wrapper-timeline .w-780 {
	max-width: 700px;
	width: 100%;
	margin: 0 auto;
}
#navDates ul {
	list-style-type: none;
	padding: 0;
}
#navDates ul li a{
	color:  #000 !important;
}
#navDates ul li {
	position: relative;
	margin: 5px 0;
	color:  #000 !important;
	font-size: 1em;
	font-style: normal;
	font-weight: 500;
	line-height: 22px;
}
#navDates ul li ul li{
	position: relative;
	font-size: 16px;
	font-style: normal;
	font-weight: 500;
	line-height: 25px;
}
#navDates ul li ul {
	margin-left: 15px;
	font-size: 0.9em;
	display: none;
	height: 0;
	transition: height 0.5s ease;
}

#navDates ul li.active a {
	color: #1E5FC2 !important;
}

#navDates ul li.active ul{
	display: block !important;
	height: 100%;
}
#navDates ul li.parent::before{
	content: '';
	width: 16px;
	height: 2px;
	background: #000;
	position: absolute;
	top: 10px;
	left: -25px;
}
#navDates ul li.active::before{
	background: #1E5FC2 !important;
}
#navDates ul li.parent ul li::before{
	content: '';
	width: 7px;
	height: 7px;
	border-radius: 100%;
	background: #c1c1c1;
	position: absolute;
	top: 8px;
	left: -35px;
	z-index: 2;
}
#navDates ul li.parent ul li::after{
	content: '';
	width: 1px;
	height: 27px;
	background: #c1c1c1;
	position: absolute;
	top: 13px;
	left: -32px;
}
#navDates ul li.parent ul li[data-pin-color="#a6a27d"]::before{
	border: 2px solid #a6a27d !important;
	background: #c6bd78 !important;
	left: -36px!important;
	width: 9px!important;
	height: 9px!important;
}
#navDates ul li.parent ul li:last-child:after{
	content: none;
}
#navDates ul li ul li:last-child{
	margin-bottom: 20px;
}
.wrapper-timeline .line{
	position: relative;
	width: 1px;
	height: 100px;
	margin: 0 auto;
	background: #c1c1c1;
	z-index: 1;
}
.wrapper-timeline .line::before{
	content: '';
	width: 5px;
	height: 5px;
	border-radius: 100%;
	background: #c1c1c1;
	position: absolute;
	right: -2px;
	bottom: 0;
}
.wrapper-timeline .line::after{
	content: '';
	width: 5px;
	height: 5px;
	border-radius: 100%;
	background: #c1c1c1;
	position: absolute;
	right: -2px;
	top: 0;
}
.wrapper-timeline .block-year-parent .year .date-year,
.wrapper-timeline .block-year-parent .year .sub-title{
	color: #292929;
	font-size: 1.5em;
	font-style: normal;
	font-weight: 500;
	line-height: 30px;
}
.wrapper-timeline .block-year-parent .year .date-year{
	text-transform: uppercase;
}
.wrapper-timeline .block-year-parent .year .sub-title{
	font-weight: bold !important;
}
.wrapper-timeline .block-year-parent .year .content-text p{
	color: #000;
	font-size: 1.125em;
	font-style: normal;
	font-weight: 500;
	line-height: 30px;
	padding-top: 25px;
}
.wrapper-timeline .block-year-parent .year.golden-year::before{
	content: '';
	width: 11px;
	height: 11px;
	border-radius: 100%;
	position: absolute;
	top: -5px;
	left: calc(50% - 6px);
	z-index: 3;
	border: 2px solid #a6a27d !important;
	background: #c6bd78 !important;
}
.wrapper-timeline .block-year-parent .year.golden-year::after{
	content: '';
	width: 11px;
	height: 11px;
	border-radius: 100%;
	position: absolute;
	bottom: -6px;
	left: calc(50% - 6px);
	z-index: 3;
	border: 2px solid #a6a27d !important;
	background: #c6bd78 !important;
}
.wrapper-timeline .block-year-parent .year.golden-year{
	position: relative;
	border: 2px solid #a6a27d;
	margin-top: -3px;
	padding: 32px;
}
.wrapper-timeline .block-year-parent .year.golden-year .date-year{
	border-top: 32px solid transparent;
}
.wrapper-timeline .block-year-parent .year.golden-year .sub-title{
	color: #8D8860 !important;
}
.wrapper-timeline .block-year-parent .year.golden-year .date-year{
	color: #8D8860 !important;
	font-size: 1.875em;
	font-style: normal;
	font-weight: 500;
	line-height: 35px;
}
.swiper-block-gallery .swiper-pagination {
	display: block !important;
	opacity: 1 !important;
	visibility: visible !important;
}
.swiper-block-gallery .swiper-pagination-bullet-active{
	background: #000000 !important;
}
.swiper-block-gallery .swiper-pagination-bullet{
	background: #FFFFFF;
	opacity: 0.8 !important;
}
.wrapper-timeline .block-year-parent .year-parent{
	padding-top: 150px;
	margin-top: -140px;
}
@media screen and (min-width:1100px){
	.swiper-block-gallery .swiper-pagination {
		bottom: 40px !important;
	}
	#navDates{
		height: auto;
		max-height: 600px;
		overflow-y: auto;
	}
	/* Scrollbar container */
	#navDates::-webkit-scrollbar {
		height: 8px;
		width: 8px;
	}
	/* Track (sfondo della scrollbar) */
	#navDates::-webkit-scrollbar-track {
		background: #ffffff;
		border-radius: 4px;
	}
	
	#navDates::-webkit-scrollbar-thumb {
		background: #ffffff;
		border-radius: 4px;
	}
}
@media screen and (max-width:1100px){
	#navDates ul li.active ul {
		display: none !important;
	}
	.wrapper-timeline .w-780 {
		max-width: 100%;
		width: 100%;
		margin: 0 auto;
	}
	.swiper-block-gallery{
		overflow: hidden !important;
		width: auto !important;
	}
	#navDates{
		right: -0px;
		padding: 5px 0px !important;
	}
	#navDates ul li ul {
		display: none !important;
	}
	#navDates ul li.active::before,
	#navDates ul li::before{
		content: none !important;
	}
	#navDates ul li a{
		font-size: 12px !important;
		line-height: 14.5px !important;
		display: inline-block;
		margin-bottom: 10px !important;
		opacity: 0.5;
	}
	#navDates ul li.active a{
		color: #000 !important;
		opacity: 1;
	}
	#navDates ul li.active a span{
		border-bottom: 1px solid #000;
	}
	.block-year-parent{
		position: relative;
		max-width: 100vw;
		width: 100%;
	}
	.wrapper-timeline{
		display: block;
		padding: 0px;
	}
	.wrapper-timeline .block-year-parent .year.golden-year{
		padding: 5px;
	}
	.wrapper-timeline .year-parent{
		font-size: 1.5em;
		line-height: 30px;
	}
	.wrapper-timeline .block-year-parent .year .date-year,
	.wrapper-timeline .block-year-parent .year .sub-title{
		font-size: 1.125em;
		line-height: 22px;
	}
	.wrapper-timeline .block-year-parent .year .content-text p{
		font-size: 0.875em;
		line-height: 30px;
		padding-top:0 !important;
	}
	.wrapper-timeline .block-year-parent .year.golden-year .date-year {
		font-size: 1.125em;
		line-height: 24px;
		font-weight: bold;
	}
}
@media screen and (max-width:768px){
	.swiper-block-gallery .swiper-slide .p-relative{
		height: 139px !important;
	}
	.swiper-block-gallery .swiper-slide .p-relative img{
		object-position: bottom center !important;
	}
}
