* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box; }

.timeline {
  position: relative; }
  .timeline:after {
    content: " ";
    border-left: 1px solid #E6E9ED;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1; }
  .timeline-item {
    text-align: left;
    padding: 1em;
    color: #4F4F4F;
    position: relative;
    z-index: 2; }
    .timeline-item:before {
      background: #57a0d7;
      content: " ";
      width: 40px;
      height: 1px;
      display: inline-block;
      position: absolute;
      top: 1.5em;
      border-radius: 5000px;
      left: -5px;
      z-index: 2; }
    .timeline-item img {
      max-width: 100%;
      max-height: 250px; }
    .timeline-item small {
      color: #c4c4c4;
      font-size: 12px;
      display: block;
      text-align: right;
      margin-bottom: 4px;
      max-width: 340px; }
  .timeline h2, .timeline h3, .timeline p {
    margin: 0; }
  .timeline h2 {
    font-size: 1.75em;
    color: #57a0d7;
    margin-bottom: .5em;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content; }
  .timeline h3 {
    color: black;
    margin-bottom: .25em; }
  .timeline p {
    font-size: 0.875em;
    color: dimgray; }
  @media (min-width: 600px) {
    .timeline-item {
      max-width: 400px;
      padding: 2em;
      margin: auto; }
      .timeline-item h2 {
        top: 2.1rem;
        position: absolute;
        margin-bottom: 0; }
      .timeline-item:nth-child(odd) {
        -webkit-transform: translateX(50%);
                transform: translateX(50%); }
        .timeline-item:nth-child(odd) h2 {
          right: calc(100% + 2rem); }
      .timeline-item:nth-child(even) {
        -webkit-transform: translateX(-50%);
                transform: translateX(-50%); }
        .timeline-item:nth-child(even) h2 {
          left: calc(100% + 2rem); }
        .timeline-item:nth-child(even):before {
          left: auto;
          right: -5px; }
      .timeline-item:before {
        top: 3em;
        z-index: 3; }
    .timeline:after {
      left: 50%; } }
