﻿html, body {
  font-family: "Open Sans", sans-serif;
}
section#timeline {
  width: 80%;
  margin: 0 auto;
  position: relative;
}
section#timeline:before {
  content: '';
  display: block;
  position: absolute;
  left: 50%;
  top: 0;
  margin:0;
  width: 3px;
  height: 100%;
  background: rgba(0,0,0,0.2);
}
section#timeline article {
  width: 100%;
  margin: 0 0 20px 0;
  position: relative;
}
section#timeline article:after {
  content: '';
  display: block;
  clear: both;
}
section#timeline article div.inner {
  width: 45%;
  float: left;
  margin: 5px 0 0 0;
  border-radius: 6px;
}
section#timeline article div.inner span.date2 {
  display: block;
  width: 6px;
  height: 6px;
  padding: 0 0;
  position: absolute;
  top: 0;
  left: 50%;
  margin: 30px 0 0 -2px;
  border-radius: 100%;
  background: #25303B;
  color: rgba(255,255,255,0.5);
  /*border: 2px solid rgba(255,255,255,0.2);*/
  box-shadow: 0 0 0 7px #25303B;
}
section#timeline article div.inner span.date {
  display: block;
  width: 70px;
  height: 70px;
  padding: 5px 0;
  position: absolute;
  top: 0;
  left: 50%;
  margin: 0 0 0 -32px;
  border-radius: 100%;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  background: #25303B;
  color: rgba(255,255,255,0.5);
  border: 2px solid rgba(255,255,255,0.2);
  box-shadow: 0 0 0 7px #25303B;
}
section#timeline article div.inner span.date span {
  display: block;
  text-align: center;margin-top:12px
}
section#timeline article div.inner span.date span.day {
  font-size: 10px;
}
section#timeline article div.inner span.date span.month {
  font-size: 18px;
}
section#timeline article div.inner span.date span.year {
  font-size: 18px;
}
section#timeline article div.inner h2 {
  padding: 15px;
  margin: 0;
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: -1px;
  border-radius: 6px 6px 0 0;
  position: relative;
}
section#timeline article div.inner h2:after {
  content: '';
  position: absolute;
  top: 20px;
  right: -5px;
  	width: 10px; 
	  height: 10px;
  -webkit-transform: rotate(-45deg);
}
section#timeline article div.inner p {
  padding: 15px;
  margin: 0;
  font-size: 12px;
  background: rgba(0,0,0,0.1);
  color: #656565;
  border-radius: 0 0 6px 6px;
}
@media (max-width:420px){
section#timeline article div.inner h2 {
  font-size: 13px;
}
section#timeline article div.inner p {
  font-size: 9px;
}
section#timeline article div.inner {
  width: 40%;
}
}
section#timeline article:nth-child(2n+2) div.inner {
  float: right;
}
section#timeline article:nth-child(2n+2) div.inner h2:after {
  left: -5px;
}
section#timeline article div.inner .backcolor {
  background: #30B3EA;
}
section#timeline article div.inner .backcolor:after {
  background: #30B3EA;
}
section#timeline article div.inner .backcolor2 {
  background: #e74c3c;
}
section#timeline article div.inner .backcolor2:after {
  background: #e74c3c;
}
section#timeline article div.inner .backcolor3 {
  background: #909394;
}
section#timeline article div.inner .backcolor3:after {
  background: #909394;
}


/*section#timeline article:nth-child(1) div.inner h2 {
  background: #30B3EA;
}
section#timeline article:nth-child(1) div.inner h2:after {
  background: #30B3EA;
}
section#timeline article:nth-child(2) div.inner h2 {
  background: #30B3EA;
}
section#timeline article:nth-child(2) div.inner h2:after {
  background: #30B3EA;
}*/
