/* ========= INFORMATION ============================
	- document:  WP Coder!
	- author:    Dmytro Lobov 
	- url:       https://wow-estore.com/
==================================================== */
body {--main-color: #001355;
}
.history {
  --paddingY: 10px;
}

.history .stage-wrap {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  grid-template-rows: auto;
  justify-content: center;
  padding: var(--paddingY) 0;
  margin-top: 0;
  position: relative;
  transition: all 500ms ease-in-out 100ms;
}

.history .stage-wrap b {
  color: #ffecaa;
}

.history .stage-date {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  font-size: 2rem !important;
  text-align: right;
  color: #001355
}

.history .stage-timeline {
  grid-row: 1 / 2;
  grid-column: 2 / 3;
  position: relative;
}

.history .stage-timeline span {
  left: 50%;
  display: block;
  position: relative;
  transform: translateX(-50%);
  height: calc(100% + var(--paddingY) * 2);
  transition-duration: 500ms;
  width: 2px;
  background-color: #001355;
}

/* .history .stage-timeline.fullHeight span {
  height: calc(100% + var(--paddingY) * 2)!important;
} */

.history .stage-timeline span::before {
  content: "";
  background-color: var(--main-color);
  height: 40px;
  width: 40px;
  border-radius: 50%;
  box-shadow: 0 3px 10px 6px #d8dcdb;
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
}
.stage-description {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
}

.history .stage-wrap:nth-child(even) > .stage-description {
  grid-column: 1 / 2;
  text-align: right;
}

.history .stage-wrap:nth-child(even) > .stage-date {
  grid-column: 3 / 4;
  text-align: left;
}

.history .stage-wrap:last-child > .stage-timeline span {
  height: 0!important;
}

@media (max-width: 768px) {
  .history.container {
    padding: 30px 10px;
  }
  .history .stage-wrap {
    --paddingY: 20px;
    grid-template-columns: 70px auto;
    grid-template-rows: auto auto;
    padding: var(--paddingY) 0;
  }
  .history .stage-wrap .stage-timeline {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    position: relative;
  }
  .history .stage-wrap .stage-date,
  .history .stage-wrap:nth-child(even) .stage-date {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    text-align: left;
    font-size: 1.7rem;
  }
  .history .stage-wrap .stage-description,
  .history .stage-wrap:nth-child(even) > .stage-description {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    text-align: left;
    padding-right: 30px;
  }
	
	
