/* TIMELINE
–––––––––––––––––––––––––––––––––––––––––––––––––– */
 
.GGCtimeline {
  margin: auto -15px;
}
.GGCtimeline .containing-box .main p:last-child {
  margin-bottom: 0;
}
.GGCtimeline .timeline ul {
  padding: 50px 0;
  background: var(--lightgray);
  background-image: url(""); 
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    height: 100%;
}
@media screen and (max-width: 900px) {
  .GGCtimeline .timeline ul {
    background-position: right;
  }
}
.GGCtimeline .timeline ul li {
  list-style-type: none;
  position: relative;
  width: 2px;
  margin: 0 auto;
  padding-top: 35px;
  padding-bottom: 35px;
  background: #fff;
}

.GGCtimeline .timeline ul li::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 50%;
  transform: translateX(-50%);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: inherit;
  z-index: 1;
}

.GGCtimeline .timeline ul li .containing-box {
  position: relative;
  bottom: 0;
  width: 400px;
  padding: 15px;
  background: var(--white);
  color: var(--primarycolor);
  border: 1px solid var(--primarycolor);
}
.GGCtimeline .timeline ul li.in-view .containing-box {
  display: flex;
}

.GGCtimeline .timeline ul li .containing-box::before {
  content: "";
  position: absolute;
  bottom: calc(-10px + 50%);
  width: 0;
  height: 0;
  border-style: solid;
}

.GGCtimeline .timeline ul li:nth-child(odd) .containing-box {
  left: 45px;
}

.GGCtimeline .timeline ul li:nth-child(odd) .containing-box::before {
  left: -20px;
  border-width: 18px 20px 18px 0;
  border-color: transparent var(--primarycolor) transparent transparent;
}

.GGCtimeline .timeline ul li:nth-child(even) .containing-box {
  left: -439px;
}

.GGCtimeline .timeline ul li:nth-child(even) .containing-box::before {
  right: -20px;
  border-width: 18px 0 18px 20px;
  border-color: transparent transparent transparent var(--primarycolor);
}

.GGCtimeline time {
  display: block;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 8px;
}

.GGCtimeline ul li:before {
  background-color: var(--primarycolor) !important;
}

.GGCtimeline .justtheyear {
  position: absolute;
  vertical-align: middle;
  display: flex;
  font-size: 140px;
  font-weight: bold;
  color: var(--primarycolor);
  top: 45%;
  max-width: 300px;
}

.GGCtimeline .MobDesSwitch {display: none;}

/* EFFECTS
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.GGCtimeline .timeline ul li::after {
  transition: background 0.5s ease-in-out;
}

.GGCtimeline .timeline ul li.in-view::after {
  background: var(--secondarycolor);
}

.GGCtimeline .timeline ul li .containing-box {
  visibility: hidden;
  opacity: 0;
  transition: all 0.5s ease-in-out;
}

.GGCtimeline .timeline ul li:nth-child(odd) .containing-box {
  transform: translate3d(200px, 0, 0);
}

.GGCtimeline .timeline ul li:nth-child(even) .containing-box {
  transform: translate3d(-200px, 0, 0);
}

.GGCtimeline .timeline ul li.in-view .containing-box {
  transform: none;
  visibility: visible;
  opacity: 1;
}

.GGCtimeline .timeline ul li:nth-child(odd) .containing-box .justtheyear {
  left: -450px;
}
.GGCtimeline .timeline ul li:nth-child(even) .containing-box .justtheyear {
  left: 500px;
}

.GGCtimeline .timeline ul li .containing-box p:nth-last-child {
  margin: 0;
}
.GGCtimeline .timeline ol {
padding: 0 0 0 20px !important;
}
.GGCtimeline .timeline ol li {
margin: inherit !important;
width: inherit !important;
background: none !important;
padding: 0 !important;
color: #434343 !important;
}
.GGCtimeline .timeline ol li:before {
background-color: #da3b33 !important;
}
.GGCtimeline .timeline ol li:after {
background-color: #da3b3300 !important;
}

/* GENERAL MEDIA QUERIES
–––––––––––––––––––––––––––––––––––––––––––––––––– */

@media screen and (max-width: 900px) {
  .GGCtimeline .timeline ul li .containing-box {
    width: 250px;
  }
  .GGCtimeline .timeline ul li:nth-child(even) .containing-box {
    left: -289px;
    /*250+45-6*/
  }
  .GGCtimeline .justtheyear {
    font-size: 85px;
  }
  .GGCtimeline .timeline ul li:nth-child(odd) .containing-box .justtheyear {
  left: -330px;
  }
  .GGCtimeline .timeline ul li:nth-child(even) .containing-box .justtheyear {
    left: 350px;
  }
}

@media screen and (max-width: 600px) {
  .GGCtimeline .timeline ul li {
    margin-left: 20px;
  }
  .GGCtimeline .timeline ul li .containing-box {
    width: calc(100vw - 135px);
  }
  .GGCtimeline .timeline ul li:nth-child(even) .containing-box {
    left: 45px;
  }
  .GGCtimeline .timeline ul li:nth-child(even) .containing-box::before {
    left: -20px;
    border-width: 18px 20px 18px 0;
    border-color: transparent var(--primarycolor); transparent transparent;
  }
  .GGCtimeline .justtheyear {
    display: none;
  }
  .GGCtimeline .MobDesSwitch {display: inherit;}
}


/* EXTRA/CLIP PATH STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.GGCtimeline .timeline-clippy ul li::after {
  width: 40px;
  height: 40px;
  border-radius: 0;
}

.GGCtimeline .timeline-rhombus ul li::after {
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.GGCtimeline .timeline-rhombus ul li .containing-box::before {
  bottom: 12px;
}

.GGCtimeline .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%
  );
}

.GGCtimeline .timeline-heptagon ul li::after {
  clip-path: polygon(
    50% 0%,
    90% 20%,
    100% 60%,
    75% 100%,
    25% 100%,
    0% 60%,
    10% 20%
  );
}

.GGCtimeline .timeline-infinite ul li::after {
  animation: scaleAnimation 2s infinite;
}

@keyframes scaleAnimation {
  0% {
    transform: translateX(-50%) scale(1);
  }
  50% {
    transform: translateX(-50%) scale(1.25);
  }
  100% {
    transform: translateX(-50%) scale(1);
  }
}


