/* The actual timeline (the vertical ruler) */
.timeline { position: relative; margin: 0 auto; padding: 20px 0; background: url("../images/bg_timeline.png") repeat-y; background-position: center top; background-size: 60px auto }

/* The actual timeline (the vertical ruler) */
.timeline::after { content: ''; position: absolute; width: 6px; back2ground-color: #00b4e8; top: 0; bottom: 0; left: 50%; margin-left: -3px }

/* Container around content */
.timeline .box { width: 50%; padding: 0 40px; position: relative }

/* The circles on the timeline */
.timeline .box::after { content: ''; position: absolute; width: 24px; height: 24px; right: -12px; background-color: #ffffff; border: 4px solid #014985; top: 15px; border-radius: 50%;z-index: 1 }

/* Place the container to the left */
.timeline .box.left { left: 0 }

/* Place the container to the right */
.timeline .box.right { left: 50% }

.timeline .box::before { content: " "; height: 0; position: absolute; top: 22px; width: 0; z-index: 1; border: medium solid #dff4f9 }

/* Add arrows to the left container (pointing right) */
.timeline .box.left::before { right: 30px; border-width: 10px 0 10px 10px; border-color: transparent transparent transparent #dff4f9 }

/* Add arrows to the right container (pointing left) */
.timeline .box.right::before { left: 30px; border-width: 10px 10px 10px 0; border-color: transparent #dff4f9 transparent transparent }

/* Fix the circle for containers on the right side */
.timeline .box.right::after { left: -12px }

/* The actual content */
.timeline .box .content { padding: 10px; background-color: #dff4f9; position: relative; border-radius: 6px }
.timeline .box .content iframe { max-width: 30%; max-height: 100px; wi2dth: 100% }

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
  .timeline { background-position: left top }
  /* Place the timelime to the left */
  .timeline::after { left: 31px }
  
  /* Full-width containers */
  .timeline .box { width: 100%; padding-left: 70px; padding-right: 25px }
  
  /* Make sure that all arrows are pointing leftwards */
  .timeline .box.right::before { left: 60px }
  .timeline .box.left::before { left: 60px; border-width: 10px 10px 10px 0; border-color: transparent #dff4f9 transparent transparent }

  /* Make sure all circles are at the same spot */
  .timeline .box.left::after, .timeline .box.right::after { left: 19px }
  
  /* Make all right containers behave like the left ones */
  .timeline .box.right { left: 0 }
}