
/* ================ The Timeline ================ */

.timeline-year {
    display: table;
    margin: 25px auto 10px;
    position: relative;
    z-index: 999;
    background: #000;
    color: #fff;
    padding: 5px 20px;
    border-radius: 5px;
	font-weight:700;
	font-size:19px;
	letter-spacing:3px;
}

.timeline {
  position: relative;
  width: 100%;
  margin: 0 auto;
  margin-top: 0px;
  padding: 0 0px 25px;
  list-style-type: none;
}

.timeline:before {
  position: absolute;
  left: 50%;
  top: 0;
  content: ' ';
  display: block;
  width: 3px;
  height: 100%;
  margin-left: -3px;
  background: #ffb400;

  z-index: 5;
}

.timeline li {
  padding: 1em 0 0;
}

.timeline li:after {
  content: "";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.direction-l {
  position: relative;
  width: 46.7%;
  float: left;
}

.direction-r {
  position: relative;
  width: 46.9%;
  float: right;
}

.flag-wrapper {
  position: relative;
  display: inline-block;
  
  text-align: center;
}

.flag {
  position: relative;
  display: inline;
  background:#1abc9c;
  padding: 6px 10px;
  border-radius: 5px;
  font-size:16px;
  font-weight: 700;
  text-align: left;

color:#fff;
}

.direction-l .flag {
  -webkit-box-shadow: -1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
  -moz-box-shadow: -1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
  box-shadow: -1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
}

.direction-r .flag {
  -webkit-box-shadow: 1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
  -moz-box-shadow: 1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
  box-shadow: 1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
}

.direction-l:before {
  position: absolute;
  top: 15px;
  right: -50px;
  content: ' ';
  display: block;
  width: 30px;
  height: 30px;
  margin-top: -10px;
  background: #ffb400;
  border-radius: 50%;
  border: 5px solid #fff;
  z-index: 10;
}

.direction-r:before {
  position: absolute;
  top: 15px;
  left: -50px;
  content: ' ';
  display: block;
  width: 30px;
  height: 30px;
  margin-top: -10px;
  background: #ffb400;
  border-radius: 50%;
  border: 5px solid #fff;
  z-index: 10;
}

.direction-l .bg:after {

  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  height: 0;
  width: 0;
  margin-top: -8px;
  border: solid transparent;
  border-left-color: #1abc9c;
  border-width: 8px;
  pointer-events: none;
}

.direction-r .bg:after {

  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  height: 0;
  width: 0;
  margin-top: -8px;
  border: solid transparent;
  border-right-color: #1abc9c;
  border-width: 8px;
  pointer-events: none;
}

.time-wrapper {
  display: inline;
  
  line-height: 1em;
  font-size: 0.66666em;
  color: rgb(250,80,80);
  vertical-align: middle;
}

.direction-l .time-wrapper {
  float: left;
}

.direction-r .time-wrapper {
  float: right;
}

.time {
  display: inline-block;
  padding: 4px 6px;
  background: rgb(248,248,248);
}

.desc {
  margin: 20px 0.75em 0 0;
  font-size: 13px;
  line-height: 1.5em;
	color:#666;
}

.direction-l .desc img {
width:70px;
height:70px;
border-radius:50%;
padding:3px;
border:1px solid #bbb;
display:block;
margin:0px;
float:right;
}

.direction-r .desc img {
width:70px;
height:70px;
border-radius:50%;
padding:3px;
border:1px solid #bbb;
display:table;
margin:0px;
float:left;
}

.direction-l .desc-inner {
margin-right:95px;
}

.direction-r .desc-inner {
margin-left:95px;
}

/* ================ Timeline Media Queries ================ */

@media screen and (max-width: 660px) {

.timeline {
 	width: 100%;
	padding: 0em 0 1em 0;
}

.timeline li {
	padding: 1em 0;
}

.direction-l,
.direction-r {
	float: none;
	width: 100%;

	text-align: center;
}

.flag-wrapper {
	text-align: center;
}

.flag {
	z-index: 15;
}

.direction-l .flag:before,
.direction-r .flag:before {
  position: absolute;
  top: -30px;
	left: 50%;
	content: ' ';
	display: block;
	width: 12px;
	height: 12px;
	margin-left: -9px;
	background: #fff;
	border-radius: 10px;
	border: 4px solid rgb(255,80,80);
	z-index: 10;
}

.direction-l .flag:after,
.direction-r .flag:after {
	content: "";
	position: absolute;
	left: 50%;
	top: -8px;
	height: 0;
	width: 0;
	margin-left: -8px;
	border: solid transparent;
	border-bottom-color: #1abc9c;
	border-width: 8px;
	pointer-events: none;
}


.time-wrapper {
	display: block;
	position: relative;
	margin: 4px 0 0 0;
	z-index: 14;
}

.direction-l .time-wrapper {
	float: none;
}

.direction-r .time-wrapper {
	float: none;
}

.desc {
	position: relative;
	margin: 1em 0 0 0;
	padding: 1em;
	background: rgb(245,245,245);
	-webkit-box-shadow: 0 0 1px rgba(0,0,0,0.20);
	-moz-box-shadow: 0 0 1px rgba(0,0,0,0.20);
	box-shadow: 0 0 1px rgba(0,0,0,0.20);
	
  z-index: 15;
}

.direction-l .desc,
.direction-r .desc {
	position: relative;
	padding: 1em;
	
  z-index: 15;
}


.direction-l .desc img {
margin:5px auto 10px;
float:none;
}

.direction-r .desc img {
margin:5px auto 10px;
float:none;
}

.direction-l .desc-inner {
margin-right:0px;
margin-bottom:10px;
}

.direction-r .desc-inner {
margin-left:0px;
margin-bottom:10px;
}

.direction-l:before {display:none;}

.direction-r:before {display:none;}

}

/* Note: Design for a width of 768px */
@media only screen and (min-width: 768px) and (max-width: 999px) {


.timeline {
  width: 90%;
}

.direction-l {
  position: relative;
  width: 46% !important;
  float: left;
  text-align: right;
}

.direction-r {
  position: relative;
  width: 46% !important;
  float: right;
}


}


/* Note: Design for a width of 768px */
@media only screen and (min-width: 1000px) and (max-width: 1150px) {

.direction-l {
  position: relative;
  width: 46.5% !important;
  float: left;
  text-align: right;
}

.direction-r {
  position: relative;
  width: 46.5% !important;
  float: right;
}


}