/* 

jQuery timeline 
Client: Amgen
Author: Tyler Moore | H+K Strategies
Version: 0.1
All rights reserved.
*/

.timeline-header {
  background: transparent url('../images/img.png') no-repeat center top;
  margin: 1em 0 0;
  padding: .5em 0 0;
}

.timeline-title {
  font: 700 32px/48px 'Droid Sans', Helvetica, sans-serif;
  text-align: center;
  color: #616161;
  margin: .25em 0 .25em;
}

.timeline-header .dna {
  display: block;
  background: transparent url('../../../../default/files/DNAdecoration.jpg') no-repeat center top;
  width: 259px;
  height: 27px;
  margin: 0 auto;
}

.timeline-jump-links {
  padding: .65em 3%;
  margin: 1em auto 0;
  width: 84%;
  display: block;
  border-top: 1px solid #dedcdd;
  border-bottom: 1px solid #dedcdd;
  text-align: center;
  list-style-type: square;
  background: #ffffff; /* Old browsers */
  /* IE9 SVG, needs conditional override of 'filter' to 'none' */
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIxJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9Ijk5JSIgc3RvcC1jb2xvcj0iI2U0ZTVlNiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
  background: -moz-linear-gradient(top,  #ffffff 60%, #f9f9f9 99%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#ffffff), color-stop(99%,#f9f9f9)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  #ffffff 60%,#f9f9f9 99%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  #ffffff 60%,#f9f9f9 99%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  #ffffff 60%,#f9f9f9 99%); /* IE10+ */
  background: linear-gradient(to bottom,  #ffffff 60%,#f9f9f9 99%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f9f9f9',GradientType=0 ); /* IE6-8 */
}

.timeline-jump {
  width: 10%;
  padding-right: 4%;
  text-indent: 0;
  color: #ebeaea;
  display: inline-block;
  text-align: left;
}

.timeline-jump:last-child {
  width: auto;
  padding-right: 0;
}

span.jump-breaker {
  display: inline-block;
  height: 6px;
  width: 6px;
  float: right;
  margin: .5em 0 .5em;
  background-color: #ebeaea;
}

.jump-link {
  cursor: pointer;
  color: #616161;
  font: 400 19px/20px 'Oswald', Helvetica, sans-serif;
  text-decoration: none;
}
.timeline-jump-links .timeline-jump .jump-link:hover {
  color: #9f9f9f;
}

.timeline-wrap {
  width: 90%;
  margin: 0 auto 3em;
  height: 100%;
  position: relative;
}
.timeline-container {
}

.center-line {
  width: .7%;
  height: 100%;
  position: absolute;
  left: 49.5%;
  top: 0;
  background: #bababa;
}
.decade-block {
  position: relative;
  margin: 50px auto 0;
  border-top: 1px dotted #cccccc;
  padding-top: 25px;
  width: 100%;
  clear: both;
}
.year-marker {
  width: 70px;
  margin: -45px auto 0;
  text-align: center;
  color: #fff;
  font-size: 1.85em;
  font-family: 'Oswald', Helvetica, sans-serif;
}
.header-date {
  font-family: 'Oswald', Helvetica, sans-serif;
  color: #097bce;
  font-weight: normal;
  margin-bottom: 0;
}
#dec-1950s .year-marker { background-color: #097bce; }
#dec-1950s .header-date { color: #097bce; }
#dec-1960s .year-marker { background-color: #ed6800; }
#dec-1960s .header-date { color: #ed6800; }
#dec-1970s .year-marker { background-color: #75933c; }
#dec-1970s .header-date { color: #75933c; }
#dec-1980s .year-marker { background-color: #242f68; }
#dec-1980s .header-date { color: #242f68; }
#dec-1990s .year-marker { background-color: #9e1c2d; }
#dec-1990s .header-date { color: #9e1c2d; }
#dec-2000s .year-marker { background-color: #e09126; }
#dec-2000s .header-date { color: #e09126; }
#dec-2010s .year-marker { background-color: #581a54; }
#dec-2010s .header-date { color: #581a54; }

.tl-block {
  border: 1px solid #c8c9c9;
  margin: 20px 10px 10px 10px;
  width: 48.5%;
  box-sizing:border-box;
  -moz-box-sizing:border-box;
  -webkit-box-sizing:border-box;
  float: left;
  padding: 1em 1.85%;
  margin: 10px 0 0;
  min-height: 50px;
  
  background: #ffffff; /* Old browsers */
  /* IE9 SVG, needs conditional override of 'filter' to 'none' */
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIxJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9Ijk5JSIgc3RvcC1jb2xvcj0iI2U0ZTVlNiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
  background: -moz-linear-gradient(top,  #ffffff 1%, #e4e5e6 99%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#ffffff), color-stop(99%,#e4e5e6)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  #ffffff 1%,#e4e5e6 99%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  #ffffff 1%,#e4e5e6 99%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  #ffffff 1%,#e4e5e6 99%); /* IE10+ */
  background: linear-gradient(to bottom,  #ffffff 1%,#e4e5e6 99%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e4e5e6',GradientType=0 ); /* IE6-8 */
}

#spacer50s, #spacer70s, .spacer00s, .spacer90s {
  display: none;
}

.tl-block p {
  font: 1.1em/1.45em 'Droid Sans', Helvetica, sans-serif;
  margin: 0;
  padding: 0;
  color: #373737 !important;
  clear: none;
}

.timeline-image {
  float: left;
  border: 3px solid #fff;
  margin: 0 .5em .5em 0;
}

ul.text-list-time li ul li {
  font-size: 1em;
  margin-left: 1.2em;
  padding-left: .1em;
  padding-bottom: .4em;
}

.left-arrow, .right-arrow {
  width: 0;
  height: 0;
  position: absolute;
  z-index : 10;
  display: block;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.inner-arrow {
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.right-arrow {
  top: 10px;
  left: -10px;
  border-right: 10px solid #cBc9c9;
}
.left-arrow {
  top: 10px;
  right: -10px;
  border-left: 10px solid #cBc9c9;
}

.outer-arrow {
  top: 10px;
}
.left.outer-arrow {
  right: -8px;
  border-left: 8px solid #cBc9c9;
}
.right.outer-arrow {
  left: -8px;
  
}
.inner-arrow {
  top: 12px;
}
.left.inner-arrow {
  right: -6px;
  border-left: 6px solid #ffffff;
}
.right.inner-arrow {
  left: -6px;
  border-right: 6px solid #cBc9c9;
}



/**************************************************************
***************************************************************
                     Responsive Styles
***************************************************************
**************************************************************/


@media all and (max-width:670px) {
  .center-line, .left-arrow, .right-arrow {
    display: none;
  }
  .tl-block {
    width: 100%;
  }
  
  .jump-link {
    font-size: 1.25em;
  }
  span.jump-breaker {
    display: none;
  }
}

@media all and (max-width:445px) {
  .timeline-jump-links {
    width: 85%;
    padding-left: 2.5%;
    padding-right: 2.5%;
  }
  .timeline-jump {
    width: 20%;
    padding: 0;
    text-align: center;
  }
  .timeline-jump:last-child {
    width: 20%;
  }
}