.timeline-section {
	position: relative;
	overflow: hidden;
}

.timeline-section:before {
	content: '';
	width: 350px;
	height: 350px;
	position: absolute;
	   bottom: -90px;
	left: -50px;
	background: url(https://www.fratellipierozzi.mom/wp-content/themes/pierozzi/icons/archive/archive-ramo-grano.png);
	background-size: contain;
	background-position: center bottom;
	background-repeat: no-repeat;
}

.timeline {
	display: flex;
	overflow: scroll;
	padding-left: calc(50% - 600px);
	padding-right: 50px;
}

.timeline::-webkit-scrollbar {
  display: none;
}

.timeline-container:after {
	content: '';
	width: 100%;
	height: 2px;
	position: absolute;
	background-color: var(--c1);
	top: 50%;
	left: calc(50% - 600px);
}

.timeline-container:before {
	content: '';
	width: 100%;
	height: 2px;
	position: absolute;
	background-color: #eaeaea;
	top: 50%;
	left: 0;
}

.timeline .element {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	flex: 0 0 25%;
	min-height: 350px;
	padding-left: 20px;
}

.timeline .element.large {
	flex: 0 0 50%;
}

.timeline .element.up {
	align-items: flex-start;
}

.timeline .element.down {
	align-items: flex-end;;
}

.timeline .element .timeline-wrap {
	display: flex;
	flex-wrap: wrap;
}

.timeline .element.down .year {
	order: -1;
}

.timeline .element .content {
	position: relative;
	display: flex;
	min-height: 100px;
	font-weight: 500;
	
}

.timeline .element.down .content {
	align-items: flex-end;
}

.timeline .element .year {
	color: var(--c1);
	font-weight: bold;
	white-space: nowrap;
	margin-top: 20px;
	font-size: 20px;
}

.timeline .element.down .year {
	margin-top: 0;
	margin-bottom: 20px;
}

.timeline .element:after {
	content: '';
	width: 12px;
	height: 12px;
	border-radius: 50px;
	background-color: var(--c2);
	position: absolute;
	left: -5px;
	bottom: calc(50% - 6px);
	z-index: 1;
}

.timeline .element:before {
	content: '';
	width: 1px;
	height: 50%;
	background-color: var(--c1);
	position: absolute;
	left: 0;
	top: 0;
}

.timeline .down.element:before {
	left: 0;
	bottom: 0;
	top: auto;
}

@media screen and (max-width: 767px) {
	.timeline .element {
		flex: 0 0 100% !important;
		min-height: 650px;
	}
}