.timeline img {
    border: 0;
    max-width: 100%;
}

.timeline {
    list-style: none;
    padding: 20px 0 20px;
    position: relative;
}

.timeline:before {
    top: 0;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 1px;
    background-color: #d3e6f3;
    left: 50%;
    margin-left: -1.5px;
}

.tldate {
    display: block;
    width: 200px;
    background: #414141;
    border: 3px solid #212121;
    color: #ededed;
    margin: 0 auto;
    padding: 3px 0;
    font-weight: bold;
    text-align: center;
    -webkit-box-shadow: 0 0 11px rgba(0, 0, 0, 0.35);
}

.timeline li {
    margin-bottom: 25px;
    position: relative;
}

.timeline li:before,
.timeline li:after {
    content: " ";
    display: table;
}

.timeline li:after {
    clear: both;
}

.timeline li:before,
.timeline li:after {
    content: " ";
    display: table;
}

.timeline li .timeline-panel {
    width: 45%;
    float: left;
    background: #fff;
    padding: 15px;
    position: relative;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 5px;
    -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}


/* .timeline li .timeline-panel:before {
  position: absolute;
  top: 26px;
  right: -15px;
  display: inline-block;
  border-top: 15px solid transparent;
  border-left: 15px solid #d2e3f9;
  border-right: 0 solid #d2e3f9;
  border-bottom: 15px solid transparent;
  content: " ";
}

.timeline li .timeline-panel:after {
  position: absolute;
  top: 27px;
  right: -14px;
  display: inline-block;
  border-top: 14px solid transparent;
  border-left: 14px solid #fff;
  border-right: 0 solid #fff;
  border-bottom: 14px solid transparent;
  content: " ";
} */

.timeline li .timeline-panel.noarrow:before,
.timeline li .timeline-panel.noarrow:after {
    top: 0;
    right: 0;
    display: none;
    border: 0;
}

.timeline li.timeline-inverted .timeline-panel {
    float: right;
}


/* .timeline li.timeline-inverted .timeline-panel:before {
  border-left-width: 0;
  border-right-width: 15px;
  left: -15px;
  right: auto;
} */


/* .timeline li.timeline-inverted .timeline-panel:after {
  border-left-width: 0;
  border-right-width: 14px;
  left: -14px;
  right: auto;
} */

.timeline li .tl-circ {
    position: absolute;
    top: 23px;
    left: 50%;
    text-align: center;
    background: #2196F3;
    color: #fff;
    width: 25px;
    height: 25px;
    line-height: 25px;
    margin-left: -13px;
    border: 5px solid #d2e3f9;
    border-top-right-radius: 50%;
    border-top-left-radius: 50%;
    border-bottom-right-radius: 50%;
    border-bottom-left-radius: 50%;
    z-index: 1;
}

.tl-heading h4 {
    margin: 0;
    /* font-weight: 400; */
    font-size: 18px;
    color: #2b3138;
    text-transform: uppercase;
}

.tl-body p,
.tl-body ul {
    margin-bottom: 0;
}

.tl-body>p+p {
    margin-top: 5px;
}


/* @media (max-width: 991px) {
  .timeline li .timeline-panel {
      width: 44%;
  }
} */

@media (max-width: 811px) {
    ul.timeline:before {
        left: 40px;
    }
    .tldate {
        width: 140px;
    }
    ul.timeline li .timeline-panel {
        width: calc(100% - 90px);
        width: -moz-calc(100% - 90px);
        width: -webkit-calc(100% - 90px);
    }
    ul.timeline li .tl-circ {
        top: 46px;
        left: 28px;
        margin-left: 0;
    }
    ul.timeline>li>.tldate {
        margin: 0;
    }
    ul.timeline>li>.timeline-panel {
        float: right;
    }
    /* ul.timeline>li>.timeline-panel:before {
    border-left-width: 0;
    border-right-width: 15px;
    left: -15px;
    right: auto;
  }

  ul.timeline>li>.timeline-panel:after {
    border-left-width: 0;
    border-right-width: 14px;
    left: -14px;
    right: auto;
  } */
    .timeline-panel {
        display: block;
    }
    .timeline_pic:before {
        content: '';
        position: absolute;
        left: 0;
        top: 38px;
        background: #5929ff;
        width: 34px;
        height: 34px;
        border-radius: 100%;
        z-index: 1;
    }
    .timeline_pic:after {
        content: '';
        position: absolute;
        right: 100%;
        top: 54px;
        width: 52px;
        background: transparent;
        color: white;
        border-top: 1px dashed #161A28;
        display: block;
        margin-left: -5.5px;
    }
}

.timeline .text-muted {
    padding: 5px;
    background: rgb(80, 80, 80) none repeat scroll 0% 0%;
    color: white;
    border-radius: 5px;
}

.timeline .desc {
    margin-top: 20px;
    /* color: #687383; */
    /* font-size:  14px; */
    line-height: 24px;
}

.be-pack.timeline .timeline_pic {
    padding: 0px 15px 0px 0px;
}

.be-title {
    display: inline-block
}

.tl-content img {
    float: left
}

.be-content p {
    margin-bottom: 5px
}

.timeline_pic.pull-right,
.timeline_pic.pull-left {
    position: relative;
}

@media screen and (min-width: 882px) {
    .be-desc {
        display: flex;
        flex-flow: column;
        row-gap: 0.8em;
    }
    .timeline_pic.pull-right:before {
        content: '';
        position: absolute;
        left: 0;
        top: 51px;
        background: #5929ff;
        width: 34px;
        height: 34px;
        border-radius: 100%;
        z-index: 1;
    }
    .timeline_pic.pull-right:after {
        content: '';
        position: absolute;
        right: 100%;
        top: 68px;
        width: 70px;
        background: transparent;
        color: white;
        border-top: 1px dashed #161A28;
        display: block;
        margin-left: -5.5px;
    }
    .timeline_pic.pull-left:before {
        content: '';
        position: absolute;
        right: 0;
        top: 51px;
        background: #5929ff;
        width: 34px;
        height: 34px;
        border-radius: 100%;
        z-index: 1;
    }
    .timeline_pic.pull-left:after {
        content: '';
        position: absolute;
        left: 100%;
        top: 68px;
        width: 70px;
        background: transparent;
        color: white;
        border-top: 1px dashed #161A28;
        display: block;
        margin-left: -5.5px;
    }
	.timeline_pic.pull-left {
    float: left;
	}
}


/* Custom */

.timeline li .timeline-panel {
    background: none;
    box-shadow: none;
    position: static;
}

.timeline li .timeline-panel:after {
    display: none;
}

.timeline li .tl-circ {
    top: 60px;
    background: #5929FF;
    border: none;
    width: 17px;
    height: 17px;
}

.timeline:before {
    background-color: unset;
    top: 60px;
    bottom: 12%;
    border-left: 1px dashed #161A28;
    margin-left: -5.5px;
}

@media screen and (max-width: 768px) {
    .timeline:before {
        bottom: 9.9%;
    }
}

.timeline {
    padding: 0 0 20px;
}

.timeline li:last-child .tl-circ {
    left: calc(50% - 8px);
    top: 0;
    width: 34px;
    height: 34px;
}


/* Media */

@media screen and (min-width:812px) {
    .timeline_pic {
        width: 45%;
    }
    .timeline_pic.pull-left {
        text-align: right;
    }
    .timeline_pic.pull-right {
        text-align: left;
    }
    .timeline li:last-child {
        margin-top: 10% !important;
        float: unset;
        display: flex;
        flex-flow: column;
        align-items: center;
        justify-content: center;
        margin: auto;
        border-radius: 200px;
        max-width: 800px;
        z-index: 1;
    }
    .timeline li:last-child .timeline-panel:last-child {
        background-color: #fefefe;
        border-radius: 18px;
        padding: 3em 5em !Important;
        width: 100%;
        margin-block: 1em;
    }
    .timeline .final-image img {
        position: absolute;
        top: 60px;
        left: 90%;
        transform: translate(-50%, -50%);
    }
}

@media screen and (max-width:811px) {
    .timeline_pic {
        width: -webkit-calc(100% - 90px);
        width: calc(100% - 90px);
    }
    .timeline_pic.pull-left {
        float: right;
    }
    .timeline li:last-child {
        margin-top: 10% !important;
        margin-bottom: 160px !important;
        float: unset;
        display: flex;
        flex-flow: column;
        align-items: center;
        justify-content: center;
        margin: auto;
        border-radius: 200px;
        max-width: 800px;
    }
    .timeline li:last-child .timeline-panel:last-child {
        background-color: #fefefe;
        border-radius: 2em;
        padding: 2em 1.8em !Important;
    }
    .timeline .final-image img {
        position: absolute;
        top: 90%;
        left: 50%;
        transform: translateX(-50%);
    }
    .timeline li:last-child .tl-circ {
        left: 19px;
    }
    .timeline:before {
        top: 46px;
    }
}


/* Last pipe */

li.timeline-final-panel {
    list-style: none;
    background-color: #6234fd;
    border-radius: 9px;
}

li.timeline-final-panel {
    transform: translateY(-10%);
    z-index: 0;
}

li.timeline-final-panel>div {
    display: flex;
    min-height: 400px;
    padding: 3rem;
    align-content: center;
    justify-content: center;
}

li.timeline-final-panel>div>div {
    width: 50%;
    align-items: center;
    margin: auto;
}

li.timeline-final-panel>div>div img {
    width: 70%;
    object-fit: contain;
    height: auto;
    max-width: unset !important;
    margin: auto;
    text-align: center;
    display: block;
}

li.timeline-final-panel .text-content {
    color: white;
    padding-block: 2rem;
    display: flex;
    flex-flow: column;
    row-gap: 2rem;
}

@media screen and (max-width: 768px) {
    li.timeline-final-panel>div {
        flex-flow: column;
        width: 100%;
        padding: 0;
    }
    li.timeline-final-panel>div>div {
        width: 90%;
    }
    li.timeline-final-panel {
        margin-block: 2rem;
        padding-block: 2rem;
    }
}

.timeline_pic.pull-right {
    float: right;
}