.blue-bg {
    background-color: #4D4545;
    color: #ED8D8D;
    height: 100%;
}

.circle {
    font-weight: bold;
    padding: 15px 20px;
    border-radius: 50%;
    background-color: #d3d3d3;
    color: #4D4545;
    /*max-height: 50px;*/
    z-index: 2;
}

.how-it-works.row {
    display: flex;
}
.how-it-works.row .col-2 {
    display: inline-flex;
    align-self: stretch;
    align-items: center;
    justify-content: center;
}
.how-it-works.row .col-2::after {
    content: "";
    position: absolute;
    border-left: 3px solid #ED8D8D;
    z-index: 1;
}
.how-it-works.row .col-2.bottom::after {
    height: 50%;
    left: 50%;
    top: 50%;
}
.how-it-works.row .col-2.full::after {
    height: 100%;
    left: calc(50% - 3px);
}
.how-it-works.row .col-2.top::after {
    height: 50%;
    left: 50%;
    top: 0;
}

.timeline div {
    padding: 0;
    height: 40px;
}
.timeline hr {
    border-top: 3px solid grey;
    margin: 0;
    top: 17px;
    position: relative;
}
.timeline .col-2 {
    display: flex;
    overflow: hidden;
}
.timeline .corner {
    border: 3px solid gray;
    width: 100%;
    position: relative;
    border-radius: 15px;
}
.timeline .top-right {
    left: 50%;
    top: -50%;
}
.timeline .left-bottom {
    left: -50%;
    top: calc(50% - 3px);
}
.timeline .top-left {
    left: -50%;
    top: -50%;
}
.timeline- .right-bottom {
    left: 50%;
    top: calc(50% - 3px);
}

.timeline-1 {
    background-color: rgb(240, 255, 240);
    padding-bottom: 40px;
}

.timeline-1 ul li {
    list-style-type: none;
    position: relative;
    width: 6px;
    margin: 0 auto;
    padding-top: 50px;
    background: #b9b9b9;
  }
  .timeline-1 ul li::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%) rotate(45deg);
    width: 20px;
    height: 20px;
    z-index: 2;
    background: #b3b1b1;;
  }
  .timeline-1 ul li div {
    position: relative;
    bottom: 0;
    width: 400px;
    padding: 20px;
    background: #fff;
    box-shadow: 4px 13px 30px 1px rgba(19, 18, 18, 0.2);
    border-radius: 5px;
    display: flex;
    align-items: center;
  }
  .timeline-1 ul li div time {
    position: absolute;
    background: #4d4b4b;
    width: 80px;
    height: 30px;
    top: -15px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    letter-spacing: 2px;
    color: #fff;
  }
  .timeline-1 ul li div div {
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .timeline-1 ul li div div p {
    text-align: center;
  }
  .scientist h1 {
    font-size: 12px;
    text-align: center;
  }
  .scientist span{
      font-size: 12px;
      line-height: 16px;
      text-align: center;
  }
  .timeline-1 ul li div .discovery {
    margin-right: 10px;
  }
  .timeline-1 ul li:nth-of-type(odd) > div {
    left: 45px;
  }
  .timeline-1 ul li:nth-of-type(even) > div {
    left: -439px;
  }
  
  .timeline-1 ul li div {
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s ease-in-out;
  }
  .timeline-1 ul li:nth-of-type(odd) div {
    transform: translate3d(100px, -10px, 0) rotate(10deg);
  }
  .timeline-1 ul li:nth-of-type(even) div {
    transform: translate3d(-100px, -10px, 0) rotate(10deg);
  }
  .timeline-1 ul li.in-view div {
    transform: none;
    visibility: visible;
    opacity: 1;
  }

  .discovery img{
      width: 130px;
  }

  @media screen and (max-width: 991px) {
    .timeline-1 ul li div {
      width: 250px;
      flex-direction: column;
    }
    .timeline-1 ul li div div {
      width: 80%;
      margin: 10px;
    }
    .timeline-1 ul li:nth-of-type(even) > div {
      left: -289px;
    }
  }
  @media screen and (max-width: 650px) {
  
    .timeline-1 ul li {
      margin-left: 20px;
    }
    .timeline-1 ul li div {
      width: calc(100vw - 140px);
    }
    .timeline-1 ul li:nth-of-type(even) > div {
      left: 45px;
    }
  }
  

/*--Page Css--*/
.about-2 {
    position: relative;
}
.about-2-text {
    width: 40% !important;
    position: absolute;
    bottom: 18%;
    right: 10%;
    font-size: 16px;
}

.table-of-content h4 small{
    margin-left: 20%;
}

h4 .table-content-index {
    background: grey;
    font-size: 25px;
    font-weight: bold;
    padding: 25px;
}

/*--Service Page--*/
.service-image-1,.service-content-1,.service-content-2,.service-image-2 {
    opacity: 0;
}

.service-image-1.animated, .service-content-1.animated, .service-content-2.animated,.service-image-2.animated {
    opacity: 1;
}

/*--About Page--*/
.about-content-1,
.about-content-2,
.about-content-3,
.about-content-4,
.about-content-5,
.about-content-6,
.about-content-8,
.about-content-9,
.about-image-1,
.about-image-2,
.about-image-4,
.about-image-5,
.about-image-6,

{
    opacity: 0;
}



.about-content-1.animated,
.about-content-2.animated,
.about-content-3.animated,
.about-content-4.animated,
.about-content-5.animated,
.about-content-6.animated,
.about-content-7.animated,
.about-content-8.animated,
.about-content-9.animated,
.about-image-1.animated,
.about-image-2.animated,
.about-image-4.animated,
.about-image-5.animated,
.about-image-6.animated,
.about-image-7.animated,
.about-image-8.animated {
    opacity: 1;
}

/*-- Certificate --*/
.certificate-image-1,
.certificate-image-2,
.certificate-image-3,
.certificate-image-4,
.certificate-image-5,
.certificate-image-6,
.certificate-content {
    opacity: 0;
}
.certificate-image-1.animated,
.certificate-image-2.animated,
.certificate-image-3.animated,
.certificate-image-4.animated,
.certificate-image-5.animated,
.certificate-image-6.animated,
.certificate-content.animated {
    opacity: 1;
}