/*added for section*/
.section.bg-image.has-timeline::before {
  position: absolute;
  content: "";
  top: 0; left: 0; bottom: 0; right: 0;
  background-color: rgba(0,0,0,0.8);
}


/* rows */
.ul-element-timeline .ul-element-timeline-item > .row {
  display: flex;
  flex-flow: row nowrap;
  min-height: 75px;
}
.ul-element-timeline .ul-element-timeline-item > .row  > .col-xs-6:first-child {
  border-width: 0 5px 0 0;
  border-style: solid;
  border-color: rgba(255,255,255,0.2);
  padding-right: 20px;
  padding-bottom: 10px;
}
.ul-element-timeline .ul-element-timeline-item:nth-child(2n) > .row > .col-xs-6:first-child {
  order: 1;
  border-width: 0 0 0 5px;
  padding-right: 0; 
  padding-left: 20px;
  margin-left: -5px;
  margin-right: 5px;
}

/* 1st row */
.ul-element-timeline .ul-element-timeline-item > .row:first-child  > .col-xs-6:last-child {
  flex: 1;
  align-self: flex-end;
}
.ul-element-timeline .timeline-image > img {
  float: right;
  width: 75%;
  box-shadow: 3px 2px 5px rgba(0,0,0,0.5);
  min-height: 50px;
}
.ul-element-timeline .ul-element-timeline-item:nth-child(2n) .timeline-image > img {
  float: left;
}
.ul-element-timeline .timeline-year {
	clear: both;
	float: right;
	margin-right: 30px;
  margin-top: -.6em;
  margin-bottom: 0;
	color: #FFF;
	font-size: 5em;
  text-shadow: 0 0 5px rgba(0,0,0,1);
  min-height: 77px;
}
.ul-element-timeline .ul-element-timeline-item:nth-child(2n) .timeline-year {
  float: left;
  margin-right: 0px;
  margin-left: 30px;
}
.ul-element-timeline .timeline-date {
	display: inline-block;
	padding: 5px 0px;
	margin-bottom: 25px;
	margin-left: -5px;
	border-left: 5px solid rgba(255,255,255,0.7);
	height: 50px;
	vertical-align: middle;
}
.ul-element-timeline .ul-element-timeline-item:nth-child(2n) .timeline-date {
	margin-right: 0px;
	margin-left: 0px;
	border-right: 5px solid rgba(255,255,255,0.7);
  border-left: none;
  text-align: right;
}

.ul-element-timeline .timeline-date-day {
	position: absolute;
	height: 50px;
	width: 50px;
	line-height: 50px;
	background-color: #FFF;
	border-radius: 50%;
	left: -28px;
	text-align: center;
	top: 0px;
}
.ul-element-timeline .ul-element-timeline-item:nth-child(2n) .timeline-date-day {
  right: -27px;
  left: inherit;
}
.ul-element-timeline .timeline-date-day > span {
  font-size: 1.6em;
}

.ul-element-timeline .timeline-date-inner {
	display: inline-block;
	padding: 0 25px;
	height: 40px;
	line-height: 40px;
  vertical-align: middle;
  margin-left: 5px;
}
.ul-element-timeline .ul-element-timeline-item:nth-child(2n) .timeline-date-inner {
  margin-left: 0;
  margin-right: 5px
}

.ul-element-timeline .timeline-date-inner > span {
  color: #FFF;
  font-size: 2em;
  font-weight: 100;
}

/* 2nd row */
.ul-element-timeline .timeline-content {
  padding-left: 13%;
  color: #CCC;
  font-size: 1.15em;
}
.ul-element-timeline .ul-element-timeline-item:nth-child(2n) .timeline-content {
  padding-left: 10px;
  padding-right: 13% !important;
}
.ul-element-timeline .timeline-header > h3 {
	margin-left: 15px;
	color: #FFF;
	margin-top: 0;
	font-size: 30px;
	font-weight: 100;
}
.ul-element-timeline .ul-element-timeline-item:nth-child(2n) .timeline-header > h3 {
  margin-right: 20px;
  margin-left: 0;
  text-align: right;
}
.ul-element-timeline .timeline-spacer {
  height: 100px;
}
