/* ========================================================================
   Section: Timeline
 ========================================================================== */

.spw-timeline-block {

}

.spw-timeline-element:not(.with-image) .spw-timeline__circle {
  margin-top: 5px;
}

.spw-timeline-left {
  position: relative;
}

.ly-g-r .ly-col:not(:last-child) .spw-timeline-left::before {
  position: absolute;
  content: ' ';
  width: 0.15rem;
  height: 100%;
  background-color: #e9e9e9;
  top: 40px;
  left: 23px;
}

.with-image .spw-timeline-left {
  padding-top: 50px;
}

.ly-g-r .ly-col:not(:last-child) .with-image .spw-timeline-left::before {
  top: 90px
}

.spw-timeline-right {
  padding-left: 10px;
  display: flex;
  flex-direction: column;
}

.spw-timeline-content {
  padding-left: 0;
}

.spw-timeline__circle {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 24px;
  background-color: #0084F4;
  display: flex;
  flex-direction: left;
  justify-content: center;
  align-items: center;
  color: white;
  font-weight: bold;
}

.spw-timeline__img {
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  min-width: 185px;
  width: 185px;
  height: 127px;
  background-color: #e9e9e9;
}

.spw-timeline__title {
  font-weight: bold;
  font-size: 24px;
  line-height: 40px;
  color: #343D63; 
  margin-top: 0.35rem;
  margin-bottom: 0;
}

.spw-timeline__description {
  margin: 0;
}

.light .spw-timeline__title {
  color: white !important;
}

@media (min-width: 640px) {
  .spw-timeline-right {
    flex-direction: row;
    align-items: center;
  }

  .spw-timeline-left {
    min-width: 100px;
  }

  .with-image .spw-timeline-content {
    padding-left: 20px;
  }

  .spw-timeline__circle {
    left: calc(40% - 24px);
  }

  .ly-g-r .ly-col:not(:last-child) .spw-timeline-left::before {
    left: calc(40% - 1px);
  }
}

@media (min-width: 960px) {
  .spw-timeline-left {
    min-width: 150px;
  }
  
  .spw-timeline__circle {
    left: calc(50% - 24px);
  }

  .ly-g-r .ly-col:not(:last-child) .spw-timeline-left::before {
    left: calc(50% - 1px);
  }
}

