/* ================ The Timeline ================ */

.timeline {
  position: relative;
  margin: 0 auto;
  margin-top: -1em;
  padding: 10em 0;
  list-style-type: none;
  margin-bottom: -1em;
}
.timeline-dot {
    font-size: 50pt;
    color: #000;
}

.timeline:before {
  position: absolute;
  left: 50%;
  top: 0;
  content: ' ';
  display: block;
  width: 6px;
  height: 100%;
  margin-left: -3px;
  background: #000;
  
  z-index: 5;
}

.timeline li {
  padding: 1em 0;
}

.timeline li:after {
  content: "";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.direction-l {
  position: relative;
  width: 620px;
  float: left;
  text-align: right;
}

.direction-r {
  position: relative;
  width: 621px;
  float: right;
}

.flag-wrapper {
  position: relative;
  display: inline-block;
  
  text-align: center;
}

.flag {
  position: relative;
  display: inline;
  background: #000;
  padding: 10px 20px;
  color: #fff;
  font-weight: 300;
  text-align: left;
  font-size: 18pt;
  letter-spacing: 4px;
  top: 0;
}

.direction-l .flag {

}

.direction-r .flag {

}

.direction-l .flag:before,
.direction-r .flag:before {
  position: absolute;
  top: 50%;
  right: -30px;
  content: ' ';
  display: block;
  width: 30px;
  height: 7px;
  margin-top: -2px;
  background: #000;
  z-index: 10;
}

.direction-r .flag:before {
  left: -30px;
}

.direction-l .flag:after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  height: 0;
  width: 0;
  margin-top: -8px;
  pointer-events: none;
}

.direction-r .flag:after {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  height: 0;
  width: 0;
  margin-top: -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: 0;
  
  font-size: 14pt;
  line-height: 1.5em;
  font-family: 'museo-sans';
  font-weight: 300;
}

.direction-r .desc {
  margin: 0;
}

/* ================ Timeline Media Queries ================ */

@media screen and (max-width: 1599px) {
  .direction-l,
  .direction-r{
    width: 550px;
  }
}

@media screen and (max-width: 1199px) {

.timeline {
  width: 100%;
  padding: 4em 0 1em 0;
}

.timeline li {
  padding: 2em 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 {
  width: 0;
}

.direction-l .flag:after,
.direction-r .flag:after {
  width: 0;
}

.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;
  margin: 1em 1em 0 1em;
  padding: 1em;
  
  z-index: 15;
}

}

@media screen and (max-width: 1199px) {

.direction-l .desc,
.direction-r .desc {
  margin: 1em 1em 0 1em;
}

.flag{
  top: 0;
}

}
@media screen and (min-width: 1200px){
  .teal-bg {
      background: #dbeeea;
  }
  .purple-bg {
      background: #c3c4d2;
  }
  .pink-bg {
      background: #f5ddd3;
  }
  .h-row {
      margin-top: 1em;
      margin-bottom:-15px;
      clear: both;
      padding:10px;
  }
  .v-row {
      width: 48%;
      box-sizing: border-box;
      display: inline-block;
      vertical-align: middle;
  }

  li.timeline-1926 {
      height: 8em;
  }

  .timeline-1946 .desc {
      margin-top: -12em;
  }

  li.timeline-1946 {
      height: 12em;
  }

  .timeline-1955.desc {
      margin-top: 1em;
  }

  .timeline-1926 .desc {
      margin-top: -11em;
      margin-right: 1em;
  }

  .timeline-1955 .desc {
      /* width: 100%; */
      margin-top: -3.3em;
  }


  .timeline-1955 .story-container>div {
      padding: 1em 0;
  }

  li.timeline-1955 {
      margin-top: 5em;
  }

  .timeline-1972 .desc {
      width: 31.1em;
      margin-top: -4em;
      margin-left: -1.6em;
  }


  .timeline-1972 .story-container>div {
      padding: 1em 7em 1em 12em;
  }


  .timeline-1977 .story-container {
      position: relative; overflow: hidden; text-align: left;
  }

  .timeline-1977 .v-row .story-text-1 {
      text-align: center;
      margin-left: 1%;
  }

  li.timeline-1978 {
      margin-top: -17em;
  }

  .timeline-1978 .desc {
      margin-top: 2em;
  }

  .timeline-1980 .desc {
      margin-top: 2em;
      margin-right: -10em;
  }

  li.timeline-1980 {
      margin-top: -16em;
  }

  .timeline-1977 .desc {
      margin-top: -3em;
  }

  .timeline-1984 .desc {
      margin-top: 2em;
  }
  li.timeline-1985 {
      margin-top: -25em;
  }

  .timeline-1985 .story-text-2 {
      padding: 1em 2em;
      margin-left: -1.9em;
      margin-top: 1em;
  }

  .timeline-1987 .story-text-container {
      padding: 1em 1.5em;
  }

  .timeline-1987 .desc {
      margin-top: 1.5em;
      margin-right: -1.9em;
  }

  li.timeline-1988 {
      margin-top: -11em;
  }

  li.timeline-1990 {
      margin-top: -11em;
  }

  .timeline-1990 .desc {
      margin-top: -3em;
  }

  .timeline-1990 .v-row {
      vertical-align: top;
  }

  .timeline-1990 .story-text-1 {
      margin-top: 5em;
  }

  .timeline-2001 .desc {
      margin-top: 1em;
  }

  .timeline-2002 .story-container-1 {
      padding-left: 6em;
      margin-top: -7em;
  }

  .timeline-2003 .h-row.story-img-1 {
      padding-right: 7em;
      margin-top: -7em;
  }


  .timeline-2003 .story-text-1 {
     padding: 0 2em;
      margin-right: -1.2em;
  }
  .timeline-2003 .story-text-2 {
      padding: 1em;
      margin-right: -1.9em;
  }

  .timeline-2004 .desc {
      margin-top: 2em;
  }

  .timeline-2004 .story-text-1 {
  }

  li.timeline-2005 {
      margin-top: -18em;
  }
  .timeline-2005 .desc {
      margin-top: 3em;
  }

  .timeline-2005 .story-text-1 {
      padding: 0 3em;
  }

  li.timeline-2006 {
      margin-top: -8em;
  }

  li.timeline-2008 {
      margin-top: -21em;
  }

  .timeline-2008 .story-text-2 {
      padding: 0 4em;
  }

  li.timeline-2009 {
      margin-top: -31em;
  }

  li.timeline-2010 {
      margin-top: -1em;
  }

  li.timeline-2011 {
      margin-top: -53em;
  }

  li.timeline-2012 {
      margin-top: -15em;
  }
  .timeline-2012 .desc {
      margin-top: -11em;
  }

  .timeline-2012 .story-text-2 {
      margin-top: 2em;
      width: 28em;
      margin-right: 0;
      display: inline-block;
  }

  .timeline-2012 .story-item-1 {
      padding-right: 6em;
  }

  .timeline-2013 .direction-l {
      margin-top: 11em;
  }

  .timeline-2013 .direction-r .desc {
      margin-top: 3em;
  }
  .timeline-2013 .v-row.story-image-3 {
      width: 30%;
  }

  .timeline-2013 .v-row.story-text-3 {
      width: 50%;
  }

  .timeline-2013 .h-row.story-image-4 {
      margin-top: 0;
  }

  .timeline-2014 .direction-r {
      margin-top: 8em;
  }

  .timeline-2014 .h-row.story-text-4 {
      margin-top: 7em;
  }

  .timeline-2014 .h-row.story-image-3 {
      padding: 0 1em;
      display: inline-block;
      width: 18em;
  }

  .v-row.story-image-1 {
      width: 30%;
  }

  .timeline-2014 .desc {
      margin-top: 3em;
  }

  .timeline-2014 .v-row.story-image-2 {
      width: 30%;
  }

  .timeline-2015 .direction-r{
      margin-top: 12em;
  }

}

.timeline .item-container .item{
    margin: 0;
}
.timeline .item-container .item .item-description .item-title{
    line-height: 1.2em;
}
.timeline .item-container .item .item-description .play-button{
    margin-top:0.3em;
}
