.main-timeline {
  font-family: 'Roboto', sans-serif;
  padding: 20px 0;
  position: relative;
}

.main-timeline::before, .main-timeline::after {
    content: "";
    height: 40px;
    width: 40px;
    background-color: #d4d7da;
    border-radius: 50%;
    border: 9px solid #ffffff;
    transform: translatex(-50%);
    position: absolute;
    left: 50%;
    top: -9px;
    z-index: 2;
    box-shadow: 0 0 40px rgba(16, 42, 113, 0.4);
}

.main-timeline::after {
  top: auto;
  bottom: -9px;
}

.main-timeline .timeline {
  padding: 35px 0;
  position: relative;
  z-index: 1;
}

.main-timeline .timeline::before {
    content: "";
    height: -webkit-calc(100% - 15px);
    height: calc(100% - 15px);
    width: -webkit-calc(50% - 14px);
    width: calc(50% - 19px);
    border-radius: 1000px 0 0 1000px;
    border: 15px solid #00a473;
    border-right: none;
    position: absolute;
    left: 0;
    top: -7.5px;
    z-index: -1;
}

.main-timeline .timeline::after {
  height: calc(100% - 30px);
  width: calc(50% - 12px);
  border-color: #00a473;
  left: 12px;
  top: 15px;
}

.main-timeline .timeline-content {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  direction: ltr;
  align-items: center !important;
  justify-content: center;
  padding: 5% 5%;
}

.main-timeline .dp_dmb_repeat_item:nth-child(even) .timeline .timeline-content {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
}

.main-timeline .timeline-content:hover {
  text-decoration: none;
}

.main-timeline .timeline-title {
    color: #00a473;
    font-size: 5.5vw;
    font-weight: 600;
    line-height: 1.2em;
    max-width: 50%;
    width: 50%;
    text-align: center;
    padding: 20px;
    flex: 1;
}

.main-timeline .timeline-icon {
  color: #00a473;
  font-size: 70px;
  display: inline-block;
  transform: translateY(-50%);
  position: absolute;
  left: 34%;
  top: 50%;
}

.main-timeline .content {
  color: #4e5a66;
  width: 50%;
  padding: 20px;
  flex: 1;
}

.main-timeline .title {
  color: #00a473;
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0 0 5px 0;
  border: none !important;
}

.main-timeline .description {
  font-size: 1.7vw;
  line-height: 1.3em;
  margin: 0;
}

.main-timeline .timeline .timeline-content a {
    text-decoration: underline !important;
    color: inherit !important;
    font-weight: bold !important;
}

.main-timeline .dp_dmb_repeat_item:nth-child(even) .timeline::before {
  left: auto;
  right: 0;
  border-radius: 0 1000px 1000px 0;
  border-width: 15px;
  border-style: solid;
  border-left: none;
}

.main-timeline .dp_dmb_repeat_item:nth-child(even) .timeline::after {
  left: auto;
  right: 12px;
  border-radius: 0 1000px 1000px 0;
  border: 15px solid #00a473;
  border-left: none;
}

.main-timeline .timeline::before,
.main-timeline .timeline .timeline-title {
  border-color: inherit;
  color: inherit;
}


@media screen and (max-width: 980px) {
	.main-timeline .description {
		font-size: 16px;
		line-height: 1.3em;
		margin: 0;
	}
}

@media screen and (max-width:767px) {
 
 .main-timeline::before, .main-timeline::after {
    height: 20px;
    width: 20px;
 }
  .main-timeline::before {
    top: 0;
  }

  .main-timeline::after {
     bottom: 2px;
  }


  .main-timeline .timeline-content {
    padding: 30px;
  }



  .main-timeline .timeline:before {
    border-radius: 50px 0 0 50px;
    border-width: 10px;
    height: -webkit-calc(100% - 10px);
    height: calc(100% - 10px);
    width: calc(50% - 13px);
    top: -5px;
  }

  .main-timeline .timeline:after {
    height: calc(100% - 18px);
    width: calc(50% - 9px);
    border-radius: 43px 0 0 43px;
    border-width: 10px;
    top: 9px;
    left: 9px;
  }

  .main-timeline .dp_dmb_repeat_item:nth-child(even) .timeline::before {
    border-radius: 0 50px 50px 0;
    border-width: 10px;
  }

  .main-timeline .dp_dmb_repeat_item:nth-child(even) .timeline::after {
    height: calc(100% - 18px);
    width: calc(50% - 9px);
    border-radius: 0 43px 43px 0;
    border-width: 10px;
    top: 9px;
    right: 9px;
  }

  .main-timeline .timeline-icon {
    font-size: 60px;
  }

  .main-timeline .timeline-title {
    font-size: 5vw;
  }
}


@media screen and (max-width:479px) {

  .timeline-content {
    display: table-cell !important;
    position: relative;
    float: none !important;
    min-height: 200px;
    vertical-align: middle;
    padding: 5% 10% !important;
  }

  .main-timeline .dp_dmb_repeat_item:nth-child(even) .timeline .timeline-content * {
  	text-align: right !important;
  }
  
  .main-timeline .description {
    font-size: 16px;
    margin: 0;
  }

  .main-timeline .timeline-icon {
    font-size: 50px;
    transform: translateY(0);
    top: 25%;
    left: 10%;
  }

  .main-timeline .timeline-title {
    font-size: 9vw;
    transform: translateY(0);
    top: unset !important;
    bottom: unset !important;
    left: unset !important;
    right: unset !important;
    position: relative !important;
    max-width: 100%;
    width: 100% !important;
    padding: 0 !important;
    display: block !important;
    margin-bottom: 6px;
    text-align: left;
  }

  .main-timeline .content {
    width: 100%;
    padding: 0;
    display: block !important;
    text-align: left;
  }

  .main-timeline .title {
    font-size: 18px;
  }

  .main-timeline .dp_dmb_repeat_item:nth-child(even) .timeline .timeline-icon {
    right: 10%;
  }

  .main-timeline .dp_dmb_repeat_item:nth-child(even) .timeline .timeline-title {
    right: 9%;
  }
 
}
