h1,
h2,
h3 {
  font-weight: 300;
}

.container {
  padding: 1em;
}

.timeline {
  position: relative;
  overflow: auto;
}
.timeline:before {
  content: '';
  position: absolute;
  height: 100%;
  width: 5px;
  background: #dddddd;
  left: 0;
}
.timeline h2 {
  background: #dddddd;
  max-width: 6em;
  margin: 0 auto 1em;
  padding: 0.5em;
  text-align: center;
  position: relative;
  clear: both;
}
.timeline .titlecrono {
  max-width: 60%;
}
.timeline ul {
  list-style: none;
  padding: 0 0 0 1em;
  z-index: 1;
}
.timeline li {
  background: #dddddd;
  /* padding: 1em; */
  margin-bottom: 1em;
  position: relative;
}
.timeline li:before {
  content: '';
  width: 0;
  height: 0;
  border-top: 1em solid #dddddd;
  border-left: 1em solid transparent;
  position: absolute;
  left: -0.9em;
  top: 0;
}
.timeline h3 {
  margin-top: 0;
}
.timeline time {
  font-style: italic;
}
.timeline, .timeline a{
  color: #21465d;
  text-decoration:none;
}
.timeline a{
  padding: 1em;
  display: block;
  transition:all 2s:
  -webkit-transition: all 1s ease-out;
  -moz-transition: all 1s ease-out;
  -o-transition: all 1s ease-out;
  transition: all 1s ease-out; 

background: rgb(255,255,255);
background: -moz-linear-gradient(45deg,  rgba(255,255,255,1) 0%, rgba(221,221,221,1) 60%);
background: -webkit-linear-gradient(45deg,  rgba(255,255,255,1) 0%,rgba(221,221,221,1) 60%);
background: linear-gradient(45deg,  rgba(255,255,255,1) 0%,rgba(221,221,221,1) 60%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#dddddd',GradientType=1 );


}
.timeline a:hover {
  background: white;
  
}
.timeline a:hover > span{
  background:#fcff77;
}

.timeline a img{
  width:100%;
}
.timeline a h3{
  font-weight:600;
  border-bottom:1px solid #2e596f;
  padding: 0 0 5px 0;
  margin:4px 0 0 0;
}
.timeline a p{
  padding: 0 0 5px 0;
  margin:7px 0 0 0;
}
.timeline a span{
  position:absolute;
  background: #edf21c;
  right:8px;
  padding:3px;
  border-bottom:1px solid;
}


@media screen and (min-width: 40em) {
  .container {
    max-width: 1000px;
    margin: 0 auto;
  }

  .timeline:before {
    left: 50%;
  }
  .timeline ul {
    padding-left: 0;
    max-width: 700px;
    margin: 0 auto;
  }
  .timeline li {
    width: 46%;
  }
  .timeline li:nth-child(even) {
    float: right;
    margin-top: 2em;
  }
  .timeline li:nth-child(odd) {
    float: left;
  }
  .timeline li:nth-child(odd):before {
    border-top: 1em solid #dddddd;
    border-right: 1em solid transparent;
    right: -1em;
    left: auto;
  }
  .timeline li:nth-of-type(2n+1) {
    clear: both;
  }
}
