.timeline {
  position: relative; }
  .timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 1rem;
    height: 100%;
    border-right: 2px solid #dee2e6; }

.timeline-block {
  position: relative; }
  .timeline-block:after {
    content: "";
    display: table;
    clear: both; }
  .timeline-block:first-child {
    margin-top: 0; }
  .timeline-block:last-child {
    margin-bottom: 0; }

.timeline-step {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  left: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  text-align: center;
  transform: translateX(-50%);
  font-size: 1rem;
  font-weight: 600;
  z-index: 1; }
  .timeline-step svg, .timeline-step i {
    line-height: 1.4; }

.timeline-content {
  position: relative;
  margin-left: 45px;
  padding-top: 0.35rem;
  position: relative;
  top: -6px; }
  .timeline-content:after {
    content: "";
    display: table;
    clear: both; }

@media (min-width: 992px) {
  .timeline:before {
    left: 50%;
    margin-left: -1px; }
  .timeline-step {
    left: 50%; }
  .timeline-content {
    width: 38%; }
  .timeline-block:nth-child(even) .timeline-content {
    float: right; } }

.timeline-one-side:before {
  left: 1rem; }

.timeline-one-side .timeline-step {
  left: 1rem; }

.timeline-one-side .timeline-content {
  width: auto; }

@media (min-width: 992px) {
  .timeline-one-side .timeline-content {
    max-width: 30rem; } }

.timeline-one-side .timeline-block:nth-child(even) .timeline-content {
  float: none; }
