/* INTRO SECTION */
.intro {
	padding: 45px 0 0;
	color: #000;
}

.timeline-container {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
	text-align: center;
}

.timeline {
	padding-top: 40px;
}

.timeline ul li {
	list-style-type: none;
	position: relative;
	width: 3px;
	margin: 0 auto;
	padding-top: 0;
	background: #085b8a;
	padding-bottom: 60px;
}

.timeline ul li::after {
	content: '';
	position: absolute;
	left: 50%;
	top: 0;
	transform: translateX(-50%);
	width: 45px;
	height: 45px;
	border-radius: 50%;
	background: inherit;
}

.timeline ul li div {
	position: relative;
	bottom: 0;
	width: 400px;
	padding: 0;
	background: transparent;
}

.timeline ul li div::before {
	content: '';
	position: absolute;
	bottom: 7px;
	width: 0;
	height: 0;
	border-style: solid;
}

.timeline ul li:nth-child(even) div {
	left: 45px;
	top: 0;
}

.timeline ul li:nth-child(even) div::before {
	left: -15px;
	border-width: 8px 16px 8px 0;
	border-color: transparent #fff transparent transparent;
}

.timeline ul li:nth-child(odd) div {
	left: -439px;
	top:0;
}

.timeline ul li:nth-child(odd) div::before {
	right: -15px;
	border-width: 8px 0 8px 16px;
	border-color: transparent transparent transparent #fff;
}

time {
	display: block;
	font-size: 1.2rem;
	font-weight: bold;
	margin-bottom: 25px;
	color: #085b8a;
	font:300 45px/47px roboto,sans-serif;
}

.timeline ul li div p {
	font:400 18px/20px roboto,sans-serif;
	color: #363636;
	margin:0 0 19px;
}

.timeline ul li::after {
	transition: background .5s ease-in-out;
}

.timeline ul li.in-view::after {
	background: #8cbb4c;
	border:5px solid #085b8a;
}

.timeline ul li div {
	visibility: hidden;
	opacity: 0;
	transition: all .5s ease-in-out;
}

.timeline ul li:nth-child(even) div {
	transform: translate3d(200px, 0, 0);
}

.timeline ul li:nth-child(odd) div {
	transform: translate3d(-200px, 0, 0);
}

.timeline ul li.in-view div {
	transform: none;
	visibility: visible;
	opacity: 1;
}

.timeline-nav {
	padding-left: 0;
	margin-bottom: 0;
	list-style: none;
	padding-bottom: 20px;
}

.timeline-nav ul {
	width: 100%;
}

.timeline-nav ul>li {
	display: table-cell;
	width: 1%;
	float: none;
	font:300 22px/24px roboto,sans-serif;
}

.timeline-nav ul>li:not(:last-child) {
	border-right: 1px solid #8dc74b;
}

.timeline-nav ul>li a {
	text-decoration: none;
	color: #363636;
}

/* Stickyness */
#sticky {
	background-color: #ffffff;
}

#sticky.stick {
	margin-top: 0 !important;
	position: fixed;
	left:0;
	width: 100%;
	z-index: 1029;
}

@media (max-width: 575px) {
	.timeline ul li {
		text-align: left;
		margin-left: 20px;
	}

	.timeline ul li div {
		width: calc(100vw - 91px);
	}

	.timeline ul li::after {
		width: 30px;
		height: 30px;
	}

	.timeline ul li div p {
		word-wrap: break-word;
		width:80%;
	}

	.timeline ul li:nth-child(odd) div {
		left: 45px;
	}

	.timeline ul li:nth-child(odd) div::before {
		left: -15px;
		border-width: 8px 16px 8px 0;
		border-color: transparent #fff transparent transparent;
	}
}

@media (min-width: 576px) {
	.timeline ul li:nth-child(odd) div {
		text-align: right;
		left: -289px;
	}
	.timeline ul li:nth-child(even) div {
		text-align: left;
	}
}

@media (max-width: 991px) {
	.timeline ul li div {
		width: 250px;
	}

	.timeline ul li:nth-child(odd) div {
		right: 289px;
	}

	.timeline-nav {
		display: none;
	}
}

@media (min-width: 992px) {
	.intro {
		width: 100%;
		z-index: 9999;
		overflow: hidden;
	}
	.timeline ul li:nth-child(odd) div {
		text-align: right;
		left: -439px;
	}
}

/* RTL */

html.rtl .timeline ul li:nth-child(odd) div {
	left: 0;
	right: -439px;
}

html.rtl .timeline ul li:nth-child(even) div {
	left: 0;
	right: 45px;
}

html.rtl .timeline ul li::after {
	left: 0;
	right: 50%;
	transform: translateX(50%);
}

html.rtl time:nth-child(even) {
	text-align: right;
}

html.rtl .timeline-nav ul>li:not(:last-child) {
	border-right: 0;
	border-left: 1px solid #8dc74b;
}

@media (max-width: 575px) {
	html.rtl .timeline ul li {
		margin-left: 0;
		margin-right: 20px;
	}

	html.rtl .timeline ul li div {
		width: calc(100vw - 91px);
	}

	html.rtl .timeline ul li:nth-child(odd) div {
		left: 0;
		right:45px;
	}

	html.rtl .timeline ul li:nth-child(odd) div::before {
		left: 0;
		right: -15px;
	}

	html.rtl .timeline ul li div p {
		text-align: right;
	}

	html.rtl time {
		text-align: right;
	}

	html.rtl .timeline ul li:nth-child(odd) div {
		text-align: left;
		right: 45px;
	}
}

@media (min-width: 576px) {
	html.rtl .timeline ul li:nth-child(odd) div {
		text-align: left;
		right: -295px;
	}

	html.rtl .timeline ul li:nth-child(even) div {
		text-align: right;
	}
}

@media (min-width: 992px) {
	html.rtl .timeline ul li:nth-child(odd) div {
		right: -439px;
	}
}