#history {
  background-color: #97d3de;
}

#history > h1 {
  font-size: 8vw;
  padding-top: 2vw;
}

#timeline {
  overflow: hidden;
  margin: 0px auto;
  position: relative;
  background: url('../images/timeline.gif') left 57px repeat-x;
}

#dates {
  height: 100px;
  display: flex;
  text-align: center;
  flex-direction: row;
  justify-content: center;
}

#dates li {
  list-style: none;
  float: left;
  width: 100px;
  height: 50px;
  font-size: 10px;
  text-align: center;
  margin-top: 25px;
  padding-top: 30px;
  background: url('../images/ellipse.png') center 10px no-repeat;
}

#dates a {
  padding-bottom: 10px;
  font-family: 'MrEavesModOT';
  font-size: 18px;
  color: #fff;
}

#dates li {
  cursor: pointer;
}

#dates li.selected {
  background: url('../images/ellipse_black.png') center 10px no-repeat;
}

#dates a.selected {
  font-size: 22px;
  color: #000;
}

#items {
  margin: 0px auto;
  width: 600px;
  overflow: hidden;
}

#issues {
  width: 100%;
  overflow: hidden;
  margin: 0px auto;
  padding: 0px;
}   

#issues li {
  width: 600px;
  list-style: none;
  float: left;
  color: #fff;
}

#issues li img {
  width: 100%;
  background: transparent;
  zoom: 1;
  display: none;
}

#issues li.selected img {
  display: block;
}

#issues li p {
  display: none;
}

#issues li.selected p {
  display: block;
}

#issues li h1 {
  color: #ffcc00;
  font-size: 48px;
  margin: 20px 0;
  text-shadow: #000 1px 1px 2px;
}

#issues li p {
  font-family: 'MrEavesModOT', sans-serif;
  color: #000;
  font-size: 1.3em;
  font-weight: 500;
  margin: 30px 0;
  line-height: 22px;
}
    
#grad_left, #grad_right {
  width: 100px;
  position: absolute;
  top: 0;
}

#grad_left {
  left: 0;
  background: url('../images/grad_left.png') repeat-y;
}

#grad_right {
  right: 0;
  background: url('../images/grad_right.png') repeat-y;
}
    
#next, #prev {
  position: absolute;
  top: 0;
  font-size: 70px;
  top: 170px;
  width: 34px;
  height: 62px;
  background-position: 0 0;
  background-repeat: no-repeat;
  text-indent: -9999px;
  overflow: hidden;
}

#next {
  right: 0;
  background-image: url('../images/next.png');
}

#prev {
  left: 0;
  background-image: url('../images/prev.png');
}

#next.disabled, #prev.disabled {
  opacity: 0.2;
}

@media (max-width: 400px) {
  #next {
    background-size: contain;
    height: 31px;
  }

  #prev {
    background-size: contain;
    height: 31px;
    margin-left: 15px;
  }
}

.photo {
  width: 100%;
  height: 400px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  margin: 0;
  padding: 0;
  cursor: pointer;
}

.gallery-button {
  display: flex;
  justify-content: center;
  padding-bottom: 3vw;
}

@media screen and (max-width: 960px) {
  #history h1 {
    font-size: 4em;
  }
}

