.timeline {
	padding: 50px 0;
}

.default-line {
	content: '';
	position: absolute;
	left: 50%;
	width: 3px;
	background-image: url(/wp-content/uploads/2023/05/timeline-vrticle-line.png);
	background-repeat: repeat;
	background-size: contain;
}

.draw-line {
	width: 4px;
	height: 0;
	position: absolute;
	left: 50%;
	background-image: linear-gradient(#FF1713, #800C0A);
	transition: all .5s ease;
}

.timeline ul li span {
	list-style-type: none;
	position: relative;
	width: 2px;
	margin: 0 auto;
	height: 400px;
}

.timeline ul li {
	display: flex;
	justify-content: space-between;
	padding: 40px 0;
	position: relative;
}

.timeline ul li>div {
	width: 47%;
	text-align: center;
	position: relative;
	font-weight: 400;
}

img.timelineimage {
	width: 100%;
	height: 300px;
	object-fit: cover;
	border-radius: 20px;
	margin: 0 auto;
}

.timeline ul li:nth-child(odd) {
	flex-direction: row-reverse;
}

.img_year {
	display: inline-block;
	border: 5px solid #FF8F8D;
	border-radius: 20px;
	padding: 20px;
	position: relative;
	background: #fff;
}

.img_year>h4 {
	position: absolute;
	left: 36%;
	top: -50px;
	background-color: #fff;
	display: inline-block;
	font-size: 35px;
	color: #111;
	padding: 10px 10px 0 10px;
}

.timelimeContent>div {
	text-align: left;
	line-height: 1.8em;
}

.timelimeContent>h4 {
	text-align: left;
	font-size: 35px;
	color: #111;
	font-weight: 500;
}

img.hover1st,
img.hover2nd {
	position: absolute;
	top: 48%;
	left: 15%;
}

.timeline ul li::after {
	content: '';
	background-image: url(/wp-content/uploads/2023/05/Ellipse-182.svg);
	position: absolute;
	top: 50%;
	left: 48.4%;
	width: 22px;
	height: 22px;
	background-size: 100%;
	background-repeat: no-repeat;
}

li.in-view::after {
	background-image: url(/wp-content/uploads/2023/05/Ellipse-182-2.svg) !important;
}

.timelineMedia_left::after {
	content: '';
	background-image: url(/wp-content/uploads/2023/05/Path-21025.svg);
	position: absolute;
	left: 54%;
	width: 50%;
	height: 3px;
	top: 53%;
	z-index: -1;
	background-repeat: no-repeat;
	background-size: auto;
}

li.in-view .timelineMedia_left::after {
	background-image: url(/wp-content/uploads/2023/05/Path-21025-1.svg);
}

.timeline ul li:nth-child(odd) .timelineMedia_left::after {
	left: -33px;
}

li.in-view .timelineMedia_left .img_year {
	background-image: url(/wp-content/uploads/2023/06/timeline-media-bg.png);
	background-size: 100% 100%;
	background-repeat: no-repeat;
	transition: all .4s ease;
}

li.in-view .timelineMedia_left .img_year {
	border-color: transparent;
}

@media (max-width: 768px) {

	.draw-line,
	.default-line {
		left: 0;
	}

	.timeline ul li::after {
		left: -26px;
	}

	.timelimeContent,
	.timelineMedia_left {
		width: 90% !important;
		margin: 0 auto;
	}

	.timelimeContent {
		margin-top: 30px;
	}

	.timeline ul li {
		display: block;
	}

	.timelineMedia_left::after {
		top: 58px  !important;
		left: -30px !important;
	}

	.timeline ul li::after {
		width: 21px;
		height: 21px;
		top: 90px;
	}

	.timelimeContent>h4 {
		margin-top: 20px;
		font-size: 25px !important;
	}

	.timelimeContent {
		margin-top: 0;
	}

	.img_year {
		padding: 15px;
	}

	img.timelineimage {
		height: 250px;
	}
}