.timeline ul li {
  list-style-type: none;
  position: relative;
  width: 6px;
  margin: 0 auto;
  padding-top: 50px;
  background: #1e6c97;
}
 
.timeline ul li::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 17px;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: inherit;
}

.timeline ul li div {
	/*text-align: justify; */
	color: white;
  position: relative;
  /*font-weight: bold;*/
  font-size: 7px;
  font-family: ebrima;
  bottom: 9px;
  width: 120px;
  padding: 15px;
  background: #1e6c97;
}
 
.timeline ul li div::before {
  content: '';
  position: absolute;
  bottom: 7px;
  width: 0;
  height: 0;
  border-style: solid;
}

.timeline ul li:nth-child(odd) div {
  left: 30px;
}
 
.timeline ul li:nth-child(odd) div::before {
  left: -15px;
  border-width: 8px 16px 8px 0;
  border-color: transparent #1e6c97 transparent transparent;
}

.timeline ul li:nth-child(even) div {
  left: -143px;
}
 
.timeline ul li:nth-child(even) div::before {
  right: -15px;
  border-width: 8px 0 8px 16px;
  border-color: transparent transparent transparent #1e6c97;
}


.timeline ul li::after {
	    background: white;
    box-shadow: 0 0 0 5px #1e6c97;
  /*background: #1e6c97;*/
  transition: background .5s ease-in-out;
}
 
.timeline ul li.in-view::after {
  /*background: #1e6c97;*/
  background: white;
}
 
.timeline ul li div {
  visibility: hidden;
  opacity: 0;
  transition: all .5s ease-in-out;
}
 
.timeline ul li:nth-child(odd) div {
  transform: translate3d(200px,0,0);
}
 
.timeline ul li:nth-child(even) div {
  transform: translate3d(-200px,0,0);
}
 
.timeline ul li.in-view div {
  transform: none;
  visibility: visible;
  opacity: 1;
}


@media (min-width: 1200px){

	.timeline ul li {
	  list-style-type: none;
	  position: relative;
	  width: 6px;
	  margin: 0 auto;
	  padding-top: 50px;
	  background: #1e6c97;
	}
	 
	.timeline ul li::after {
	  content: '';
	  position: absolute;
	  left: 50%;
	  bottom: 0;
	  transform: translateX(-50%);
	  width: 30px;
	  height: 30px;
	  border-radius: 50%;
	  background: inherit;
	}

	.timeline ul li div {
		/*text-align: justify; */
		color: white;
	  position: relative;
	  /*font-weight: bold;*/
	  font-size: 12px;
	  font-family: ebrima;
	  bottom: 0;
	  width: 250px;
	  padding: 15px;
	  background: #1e6c97;
	}
	 
	.timeline ul li div::before {
	  content: '';
	  position: absolute;
	  bottom: 7px;
	  width: 0;
	  height: 0;
	  border-style: solid;
	}

	.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 #1e6c97 transparent transparent;
	}

	.timeline ul li:nth-child(even) div {
	  left: -289px;
	}
	 
	.timeline ul li:nth-child(even) div::before {
	  right: -15px;
	  border-width: 8px 0 8px 16px;
	  border-color: transparent transparent transparent #1e6c97;
	}


	.timeline ul li::after {
		    background: white;
	    box-shadow: 0 0 0 9px #1e6c97;
	  /*background: #1e6c97;*/
	  transition: background .5s ease-in-out;
	}
	 
	.timeline ul li.in-view::after {
	  /*background: #1e6c97;*/
	  background: white;
	}
	 
	.timeline ul li div {
	  visibility: hidden;
	  opacity: 0;
	  transition: all .5s ease-in-out;
	}
	 
	.timeline ul li:nth-child(odd) div {
	  transform: translate3d(200px,0,0);
	}
	 
	.timeline ul li:nth-child(even) div {
	  transform: translate3d(-200px,0,0);
	}
	 
	.timeline ul li.in-view div {
	  transform: none;
	  visibility: visible;
	  opacity: 1;
	}
}
