.timeline {
	list-style: none;
	padding: 20px 0 20px;
	position: relative;
}

.timeline:before {
	top: 0;
	bottom: 0;
	position: absolute;
	content: " ";
	width: 5px;
	background-color: #c3c1c1;
	left: 50%;
	margin-left: -2.5px;
}

.timeline > li {
	margin-bottom: 120px;
	position: relative;
}

.timeline > li:before,
.timeline > li:after {
	content: " ";
	display: table;
}

.timeline > li:after {
	clear: both;
}

.timeline > li:before,
.timeline > li:after {
	content: " ";
	display: table;
}

.timeline > li:after {
	clear: both;
}

.timeline > li > .timeline-panel {
	width: 46%;
	float: left;
	vertical-align: middle;
	display: inline-block;
	position: relative;
	text-align: right;
	margin-top: -15px;
}

.timeline > li:nth-child(even) > .timeline-panel {
	float: right;
	text-align: left;
}

.timeline > li > .timeline-panel > .timeline-heading,
.timeline > li > .timeline-panel > .timeline-body{
	float: right;
	min-height: 80px;
	display: table;
}
.timeline > li > .timeline-panel > .timeline-body > ul{
	display: table-cell;
	vertical-align: middle
}
.timeline > li:nth-child(even) > .timeline-panel > .timeline-heading,
.timeline > li:nth-child(even) > .timeline-panel > .timeline-body{
	float: left;
}

.timeline > li:nth-child(odd) > .timeline-panel > .timeline-heading{
	margin-left: 25px;
	width: 100%;
}
.timeline > li:nth-child(even) > .timeline-panel > .timeline-heading{
	margin-right: 25px;
	width: 100%;
}
.timeline > li > .timeline-panel > .timeline-heading > h4{
	line-height: 1.6;
}

.timeline > li > .timeline-panel > .timeline-body{
	text-align: left;
	background-color: #eee;
	border-radius: 8px;
	padding:15px;
}

.timeline > li > .timeline-img{
	width: 46%;
	position: relative;
	margin-top: -20px;
}
.timeline > li:nth-child(odd) > .timeline-img{
	float: right;
}
.timeline > li:nth-child(even) > .timeline-img{
	float:left;
}
.timeline > li > .timeline-img  .timeline-img-item{
	width: 18%;
	padding-top:18%;
	display:block;
	margin:0 10px 10px;
	background: url(../img/celebrity-1.jpg);
	background-repeat: no-repeat;
	background-size:cover;
	background-position: center;
	border-radius: 100%;
	-moz-border-radius: 100%;
	-webkit-border-radius: 100%;
	position: relative;
	border: 1px solid #ccc;
	float:left;
}
.timeline > li > .timeline-img > .timeline-img-item:before{
	content: '';
	position: absolute;
	display: block;
	width: 7px;
	height: 5px;
	background: #c3c1c1;
	top: 50%;
}
.timeline > li:nth-child(odd) > .timeline-img  .timeline-img-item{
	float: left;
}
.timeline > li:nth-child(odd) > .timeline-img > .timeline-img-item:before {
	left: -13px;
}
.timeline > li:nth-child(even) > .timeline-img > .timeline-img-item{
	float: right;
}
.timeline > li:nth-child(even) > .timeline-img > .timeline-img-item:before {
	right: -13px;
}
.timeline > li > .timeline-badge {
	color: #fff;
	width: 35px;
	height: 35px;
	line-height: 35px;
	font-size: 1.4em;
	text-align: center;
	position: absolute;
	top: 10px;
	left: 50%;
	margin-left: -18px;
	z-index: 100;
	background: #fff;
	border-top-right-radius: 50%;
	border-top-left-radius: 50%;
	border-bottom-right-radius: 50%;
	border-bottom-left-radius: 50%;
}
.timeline > li:nth-child(1) > .timeline-badge{
	border: 8px solid #e75280 !important;
}
.timeline > li:nth-child(odd) > .timeline-badge{
	border: 8px #23cdb7 solid;
}
.timeline > li:nth-child(even) > .timeline-badge{
	border: 8px solid #f6712a;
}
.timeline > li > .timeline-badge > i{
	position: relative;
}
.timeline > li > .timeline-badge > i:before{
	content: '';
	position: absolute;
	width: 45px;
	height: 45px;
	border: 5px solid #fff;
	display: block;
	top: -13px;
	left: -22px;
}

.timeline-body > p,
.timeline-body > ul {
	margin-bottom: 0;
}

.timeline-body > p + p {
	margin-top: 5px;
}

@media (max-width: 767px) {
	.timeline-img{
		display:block;
	}
	ul.timeline:before {
		left: 40px;
	}

	ul.timeline > li > .timeline-panel {
		width: calc(100% - 90px);
		width: -moz-calc(100% - 90px);
		width: -webkit-calc(100% - 90px);
	}

	ul.timeline > li > .timeline-badge {
		left: 23px;
		margin-left: 0;
		top: 8px;
	}
	.timeline > li:nth-child(odd) > .timeline-panel > .timeline-heading{
		float: left;
		margin-left: 0;
	}
	
	
	.timeline > li > .timeline-panel > .timeline-body{
		float: left;
		display:inline-block;
	}

	ul.timeline > li > .timeline-panel {
		float: right;
	}

	ul.timeline > li > .timeline-panel:before {
		border-left-width: 0;
		border-right-width: 15px;
		left: -15px;
		right: auto;
	}

	ul.timeline > li > .timeline-panel:after {
		border-left-width: 0;
		border-right-width: 14px;
		left: -14px;
		right: auto;
	}
	
	.timeline > li > .timeline-badge > i:before{
	content: '';
	position: absolute;
	width: 45px;
	height: 45px;
	border: 5px solid #fff;
	display: block;
	top: -13px;
	left: -22px;
	}
	.timeline > li:nth-child(odd) > .timeline-img {
    float: left;
    text-align: right;
    padding-left: 45px;
    width: 100%;
    margin-top: 22px;
	}

	.timeline > li:nth-child(even) > .timeline-img {
    float: right;
    text-align: right;
    padding-left: 45px;
    width: 100%;
    margin-top: 22px;
	}
	.timeline > li:nth-child(even) > .timeline-img > .timeline-img-item {
    float: left;
	}
	.timeline > li > .timeline-panel > .timeline-heading > h4 {
    text-align: left;}
}
@media screen and (min-width: 768px) and (max-width: 991px) {
	.timeline > li > .timeline-badge > i:before{
	content: '';
	position: absolute;
	width: 45px;
	height: 45px;
	border: 5px solid #fff;
	display: block;
	top: -13px;
	left: -22px;
}
	.timeline > li > .timeline-img{
		margin-top: -0.5%;
	}
}
@media screen and (min-width: 992px) and (max-width: 1024px){
.timeline > li > .timeline-badge > i:before{
	content: '';
	position: absolute;
	width: 45px;
	height: 45px;
	border: 5px solid #fff;
	display: block;
	top: -13px;
	left: -22px;
}
		.timeline > li > .timeline-img{
		margin-top: -15px;
	}
}