.main-timeline {
	position: relative;
}

.main-timeline:before,
.main-timeline:after {
	content: "";
	display: block;
	width: 100%;
	clear: both;
}

.main-timeline:before {
	content: "";
	width: 100%;
	height: 5px;
	background: #DEDEDE;
	margin: auto 0;
	position: absolute;
	top: 50%;
	margin-top: -2px;
	left: 0;
}

.main-timeline .timeline {
	width: 22%;
	float: left;
	margin-left: 3%;
	position: relative;
}

.main-timeline .timeline:after {
	content: "";
	width: 5px;
	height: 35px;
	border-left: 9px dotted #DEDEDE;
	position: absolute;
	top: 54%;
	left: 71px;
}

.main-timeline .timeline-content {
	padding: 10px;
	height: 120px;
	margin-bottom: 80px;
	border-radius: 15px;
	border: 5px solid #DEDEDE;
	text-align: left;
	background: #F9F1ED;
	z-index: 1;
	position: relative;
}


.main-timeline .timeline-content:after {
	content: "";
	width: 40px;
	height: 40px;
	background: #F9F1ED;
	border-bottom: 5px solid #DEDEDE;
	border-right: 5px solid #DEDEDE;
	position: absolute;
	bottom: -23px;
	left: 50px;
	transform: rotate(45deg);
	z-index: -1;
}


.main-timeline .description {
	font-size: 14px;
	color: #495355;
}

.main-timeline .read-more {
	display: inline-block;
	padding-right: 15px;
	font-size: 16px;
	font-weight: bold;
	color: #495355;
	text-transform: capitalize;
	position: relative;
}

.main-timeline .year {
	display: inline-block;
	width: 85px;
	height: 85px;
	line-height: 85px;
	background: #F56C30;
	border-radius: 5px;
	border: 5px solid #DEDEDE;
	text-align: center;
	margin-left: 34px;
	transform: rotate(45deg);
	position: relative;
}


.main-timeline .year span {
	display: block;
	font-size: 20px;
	font-weight: bold;
	color: #fff;
	transform: rotate(-45deg);
}

.main-timeline .timeline.bottom {
	margin: -7.7% 0 0 7%;
}

.main-timeline .timeline.bottom:nth-child(5n+1),
.main-timeline .timeline.bottom:last-child {
	margin-left: 3%;
}

.main-timeline .timeline.bottom:before {
	top: auto;
	bottom: 30px;
}

.main-timeline .timeline.bottom:after {
	top: auto;
	left: auto;
	bottom: 54%;
	right: 60px;
	border-color: #DEDEDE;
}

.main-timeline .timeline.bottom .timeline-content {
	margin: 80px 0 0 0;
	padding: 10px;
}

.main-timeline .timeline.bottom .timeline-content:after {
	border: none;
	border-top: 5px solid #DEDEDE;
	border-left: 5px solid #DEDEDE;
	bottom: auto;
	top: -23px;
	left: auto;
	right: 40px;
}

.main-timeline .timeline.bottom .year {
	top: 0px;
	margin-left: 132px;
}

@media only screen and (max-width: 1199px) {
	.main-timeline:before {
		width: 5px;
		height: 100%;
		top: 0;
		left: 5%;
	}

	.main-timeline .timeline,
	.main-timeline .timeline.bottom,
	.main-timeline .timeline.bottom:nth-child(5n+1),
	.main-timeline .timeline.bottom:last-child {
		width: 85%;
		float: none;
		margin: 0 0 20px 15%;
	}

	.main-timeline .timeline:after,
	.main-timeline .timeline.bottom:after {
		width: 60px;
		height: 5px;
		top: 50px;
		left: -58px;
		border-top: 9px dotted #fff;
	}

	.main-timeline .timeline-content,
	.main-timeline .timeline.bottom .timeline-content {
		margin: 0;
	}

	.main-timeline .year,
	.main-timeline .timeline.bottom .year {
		width: 65px;
		height: 65px;
		line-height: 60px;
		margin: 0;
		position: absolute;
		top: 20px;
		left: -15.5%;
		z-index: 1;
	}

	.main-timeline .timeline .timeline-content:after {
		display: none;
	}

	.main-timeline .timeline.bottom:before {
		bottom: auto;
		top: 30px;
		left: -2px;
	}
}
@media only screen and (max-width: 990px) {

	.main-timeline .year,
	.main-timeline .timeline.bottom .year {
		left: -16.8%;
	}
}

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

	.main-timeline .timeline:after,
	.main-timeline .timeline.bottom:after {
		display: none;
	}

	.main-timeline .year,
	.main-timeline .timeline.bottom .year {
		width: 30px;
		height: 30px;
		border: 3px solid #fff;
		left: -13.5%;
	}

	.main-timeline .year span {
		display: none;
	}
}

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

	.main-timeline .year,
	.main-timeline .timeline.bottom .year {
		left: -15.5%;
	}
}
