/* 
  @import url("https://fonts.googleapis.com/css?family=Open+Sans");
*/

.timeline h2 {
  /*color: #343434;
  font-size: 32px; */
  margin: 0 0 10px 0;
}

.timeline h3 {
  /* color: #d81e05; */
  font-size: 1.0rem; 
  margin: 0 0 5px 0;
}

.timeline p {
  /* color: #343434; */
  /* font-size: 20px; */
  font-size: 80%;
  margin: 0 0 20px 0;
}

/*
body, html {
  background-color: #f4f4f4;
}
*/
/*
.timeline *, .timeline *:before, .timeline *:after {
  box-sizing: border-box;
  *//* font-family: "Open Sans", sans-serif; *//*
  padding: 0;
  margin: 0;
}
*/

.timeline {
  display: flex;
  overflow-x: hidden;
  margin: 30px 0px;
  height: 540px; /* extra */
}

.timeline:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  /*margin-top: 299px; */
  margin-top: 249px; /* y = card_y_dim + 49 */
  /* height: 2px; */
  border: 2px solid #dedede;
}

.timeline-container {
  display: flex;
  transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline-card {
  flex: 0 0 auto;
  position: relative;
  padding: 20px;
  /* width: 400px; */
  /* height: 250px; */
  width: 200px;
  height: 200px; /* card_y_dim = 200 */
  background: #fff;
  border: 1px solid #dedede;
}

div.timeline-card {
    text-align: center;
}

.timeline-card p {
    padding-top: 0.5rem;
    line-height: 1.1;
}
.timeline-card:not(:first-child) {
    /* margin-left: -170px; */
    /* margin-left: -70px; */
    margin-left: -80px; /* **** shifts lower cards left, creating gap of 40 (??) pixels overall between cards */
}

.timeline-card:nth-of-type(even) {
  /* margin-top: 350px;  */
  margin-top: 300px; /* y = card_y_dim + 100 */
}

.timeline-card-svg path {
  fill: #dedede;
}

.timeline-card-svg:nth-of-type(odd),
.timeline-card-svg:nth-of-type(even) {
  position: absolute;
  width: 13px;
  height: 49px;
  left: 50%;
  bottom: -63px;
  transform: translate(-50%);
}

.timeline-card:nth-of-type(even) .timeline-card-svg {
  top: -12px;
  margin-top: -49px;
  transform: scaleY(-1) translate(-50%);
}

.timeline-nav {
  position: absolute;
  margin-top: 300px;
  z-index: 10;
  width: 100%;
}

.timeline-nav-button {
  position: absolute;
  top: -50px; /* extra */
  width: 48px;
  height: 48px;
  cursor: pointer;
  opacity: 0.75;
  box-shadow: 0 8px 20px 0 rgba(0, 0, 0, 0.1);
  border-radius: 100%;
  background: #fff;
  transform: translate(-50%, -50%);
  transform-origin: center;
  transition: 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.timeline-nav-button:hover {
  width: 60px;
  height: 60px;
}

.timeline-nav-button:after {
  content: "";
  position: absolute;
  height: 2px;
  width: 10px;
  background: #d81e05;
}

.timeline-nav-button:before {
  content: "";
  position: absolute;
  margin-left: -1px;
  height: 8px;
  width: 8px;
  border-style: solid;
  border-color: #d81e05;
  border-width: 0px 2px 2px 0px;
  transform: rotate(135deg);
}
