
* {
  box-sizing: border-box;
}

  .lifeline-section {
    width: 100%;
    position: relative;
    padding: 1rem;
    /* background: #eee; */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
  }
.lifeline_card_image {
  width: 100%;
  max-width: 100%;
  height: auto;
}

@media screen AND (max-width: 959px) {

  .lifeline-section::before {
    position: absolute;
    top: 0;
    left: 1rem;
    margin-left: -1px;
    height: 100%;
    content: '';
    border-left: 2px solid #e3000f;
  }

  .lifeline-content {
    width: 100%;
    line-height: 150% !important;
    padding: .5rem 2rem;
    padding: 1rem;
    position: relative;
  }



  .lifeline-content::before {
    position: absolute;
    content: ' ';
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: red;
    left: -.5rem;
    top: 2rem;
    transform: rotate(45deg);
  }

  .lifeline-content {
    display: flex;
    width: 100%;
    align-self: flex-start;
    justify-content: flex-end;
  }

  /* .lifeline-content:nth-child(odd) {
    display: flex;
    width: 50%;
    align-self: flex-end;
  } */

  .lifeline-block {
    width: 100%;
    max-width: 100%;
    padding: 1rem;
    position: relative;
  }

  .lifeline-block {
    display: flex;
    justify-content: flex-start;
    padding: 0;
  }

  .lifeline-block-card {
    position: relative;
    /* background: #fff; */
    border-radius: 6px;
    padding: 0;
    padding: .5rem !important;
    font-size: 75%;
    -webkit-box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  }

    .lifeline-block-card h2 {
      /* padding: 1rem 0; */
    }

.evm_timeline_card_image {
  width: 100%;
  height: auto;
}

}

@keyframes fadeIn {

  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }

}

.fadeIn {
  animation-name: fadeIn;
  animation-duration: 450ms;
  animation-fill-mode: forwards;
  animation-iteration-count: 1;
  animation-direction: normal;
}



@media screen AND (min-width: 960px) {


    .lifeline-section {
      width: 100%;
      position: relative;
      padding: 1rem;
      /* background: #eee; */
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
    }
    .lifeline-section::before {
      position: absolute;
      top: 0;
      left: 50%;
      margin-left: -1px;
      height: 100%;
      content: '';
      border-left: 2px solid #e3000f;
    }

    .lifeline-content {
      width: 50%;
      line-height: 150% !important;
      padding: .5rem 2rem;
      position: relative;
    }



    .lifeline-content:nth-child(even)::after {
      position: absolute;
      content: ' ';
      width: 1rem;
      height: 1rem;
      border-radius: 50%;
      background: red;
      right: -.5rem;
      top: 2rem;
      transform: rotate(45deg);
    }

    .lifeline-content:nth-child(odd)::before {
      position: absolute;
      content: ' ';
      width: 1rem;
      height: 1rem;
      border-radius: 50%;
      background: red;
      left: -.5rem;
      top: 2rem;
      transform: rotate(45deg);
    }

    .lifeline-content:nth-child(odd) {
      display: flex;
      width: 50%;
      align-self: flex-end;
    }

    .lifeline-content:nth-child(even) {
      display: flex;
      width: 50%;
      align-self: flex-start;
      justify-content: flex-end;
    }

    .lifeline-block {
      /* width: 100%;
      max-width: 60vw; */
      padding: 1rem;
      position: relative;

    }

    .lifeline-block {
      display: flex;
      justify-content: center;
    }

    .lifeline-block-card {
      position: relative;
      /* background: #fff; */
      border-radius: 6px;
      padding: 2rem;
      max-width: 30vw;
      -webkit-box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    font-size: 75%;
    }

      .lifeline-block-card h2 {
        padding: 1rem 0;
      }

  .lifeline_card_image {
    width: 100%;
    height: auto;
  }




}
