*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.timeline {
    display: none;
}

@media only screen and (max-device-width: 1023px) {
    .timeline {
        display: block;
    }
}
.timeline ul li {
  list-style-type: none;
  position: relative;
  width: 2px;
  margin: 0 auto;
  padding-top: 0px;
  background: #7A7979;
}

.timeline ul li::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: inherit;
  z-index: 1;
}

.timeline ul li div {
  position: relative;
  bottom: 0;
  width: 400px;
  padding: 15px;
  font-size: 16px;
}

.timeline ul li div::before {
  content: "";
  position: absolute;
  top: 15px;
  border-style: solid;
}

.timeline ul li:nth-child(even) div {
  top: 76px;
  left: 30px;
}
.timeline ul li:nth-child(2) div {
  top: 76px;
  left: 30px;
}

.timeline ul li:nth-child(even) div::before {
  left: -25px;
  color: #414042;
  /* border-width: 7px 0 0 0; */
  border-color: transparent;
}

.timeline ul li:nth-child(2) div::before {
  left: -25px;
  top: 16px;
  color: #414042;
  border-color: transparent;
}

.timeline ul li:nth-child(odd) div {
  top: 76px;
  left: -427px;
  text-align: right;
}

.timeline ul li:nth-child(odd) div::before {
  right: -25px;
  color: #414042;
  /* border-width: 8px 0 8px 16px; */
  border-color: transparent;
}

.timeline ul li:nth-child(1) {
  list-style-type: none;
  position: relative;
  width: 6px;
  /* margin: 0 auto; */
  padding-top: 0px;
  background: #414042;
}

.timeline ul li:nth-child(1):after {
  content: "";
  color: #fff;
  position: absolute;
  left: 50%;
  bottom: 0;
  top: 0%;
  transform: translateX(-50%);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: inherit;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline ul li:nth-child(1):after,
.timeline ul li:nth-child(5):after,
.timeline ul li:nth-child(9):after {
  background-color: #84CCD7;
}
.timeline ul li:nth-child(2):after,
.timeline ul li:nth-child(6):after,
.timeline ul li:nth-child(10):after {
  background-color: #11171F;
}
.timeline ul li:nth-child(3):after,
.timeline ul li:nth-child(7):after {
  background-color: #CF2D1E;
}
.timeline ul li:nth-child(4):after,
.timeline ul li:nth-child(8):after {
  background-color: #C3B9AE;
}

/* EFFECTS
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.timeline ul li.in-view::after {
  background: #414042;
}


.timeline ul li.in-view div {
  transform: none;
  visibility: visible;
  opacity: 1;
}

.timeline-year {
  text-align: center;
  font-family: gothambold;
  font-size: 36px;
  font-weight: 700;
}


/* GENERAL MEDIA QUERIES
–––––––––––––––––––––––––––––––––––––––––––––––––– */

@media screen and (max-width: 900px) {
  .timeline ul li div {
    width: 250px;
  }
  .timeline ul li:nth-child(even) div {
    left: -289px;
    /*250+45-6*/
  }
}

@media screen and (max-width: 600px) {
  .timeline-year {
    text-align: left;
  }
  .timeline ul li {
    margin-left: 20px;
  }
  .timeline ul li div {
    width: calc(100vw - 91px);
    text-align: left !important;
  }
  .timeline ul li:nth-child(even) div {
      left: 22px;
      top: 76px;
  }
  time:nth-child(odd) {
      text-align: left;
  }
  .timeline ul li:nth-child(odd) div {
      top: 76px;
      left: 22px;
    }
  .timeline ul li:nth-child(even) div::before {
    left: -15px;
  }
  .timeline ul li:nth-child(odd) div::before {
      top: 16px;
    left: -15px;
  }
  time:nth-child(1){
    text-align: left !important;
  }

  .timeline ul li:last-child {
    margin:0px 0px 0px 19px !important;
  }
  time:nth-child(odd){
      font-size: 22px;
  }
}


/* EXTRA/CLIP PATH STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.timeline-clippy ul li::after {
  width: 40px;
  height: 40px;
  border-radius: 0;
}

.timeline-rhombus ul li div::before {
  bottom: 12px;
}

.timeline-star ul li::after {
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
}

.timeline-heptagon ul li::after {
  clip-path: polygon(
    50% 0%,
    90% 20%,
    100% 60%,
    75% 100%,
    25% 100%,
    0% 60%,
    10% 20%
  );
}


/*subscribe*/

.subscribe-container {
    /* display: flex; */
    /* flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start; */
    margin: 0 0px 0px 20px;
    font-family: gothambold;
  }
  .subscribe-title {
    font-size: 1em;
    font-weight: bold;
  }
  .subscribe-item {
    padding-bottom: 1em;
    counter-increment: section;
  }
  .subscribe-item .counter-container {
    font-size: 22px;
    line-height: 27px;
    color: #CF2D1E;
    text-transform: uppercase;
    margin: 0;
    position: relative;
    padding-left: 30px
  }
  
  .subscribe-item .counter-container::before {
    /* content: ""; */
    position: absolute;
    left: -26px;
    background-color: #414042;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    content: counter(section);
    color: #fff;
    display: flex;  
    align-items: center;
    justify-content: center;
  }
  .subscribe-items {
    padding: 0px;
    /* border-left: 1px solid #414042; */
  }
  .subscribe-item {
    border-left: 1px solid #414042;
    margin-top: 0em;
  }
  .subscribe-item:last-child {
    border-left: unset;
  }
  .subscribe-content{
      color: #11171F;
      font-size: 24px;
      line-height: 18px;
      text-transform: uppercase;
  }
  .subscribe-item time {
    display: block;
    float: left;
    background-color: #ffebeb;
    padding: 0.2em 0.4em;
  }
  .subscribe-item .location {
    clear: both;
    font-size: 18px;
    font-weight: 400;
    line-height: 22px;
    color: #414042;
    padding-left: 35px;
  }

  .timeline ul li:last-child:after {
    /* content: '\003E'; */
    content: '';
    position: absolute;
    right: 0;
    left: 50%;
    top: 87px;
    bottom: 0;
    display: block;
    background: inherit;
    border-radius: unset;
    /* border-left: 5px solid red;
    border-top: 5px solid red; */
    width: 24px;
    height: 0px;
    font-size: 35px;
    color: #414042;
    float: right;
    transform: translate(50%, -50%) rotate(90deg);
    /* transform: rotate(90deg); */
}
.timeline ul li:last-child {
  list-style-type: none;
  position: relative;
  width: 4px;
  margin: 0 auto;
  padding-top: 60px;
  background: #414042;
}
.timeline ul li:last-child div::before {
  content: ""
}

time:nth-child(even) {
  display: block;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 3px;
  text-align: left;
  color: #11171F;
  text-transform: uppercase;
  font-family: gothambold;
}

time:nth-child(odd){
  display: block;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 0px;
  text-align: left;
  color: #11171F;
  font-family: gothambold;
  text-transform: uppercase;
}

  
