.timeline {
    position: relative;
    height: 100%;
    width: 100%;
    padding: 0;
    list-style: none;
}

.timeline .timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
}

.timeline .timeline-header>*:first-child {
    margin-right: 0.5rem;
}

.timeline .timeline-end-indicator {
    position: absolute;
    bottom: -1.35rem;
    left: -0.65rem;
}

.timeline .timeline-end-indicator i {
    font-size: 1.5rem;
    color: #dbdade;
}

.timeline .timeline-item {
    position: relative;
    padding-left: 3rem;
}

.timeline .timeline-item .timeline-event {
    position: relative;
    top: -1rem;
    width: 100%;
    top: -1rem;
    min-height: 4rem;
    background-color: #fff;
    border-radius: 0.375rem;
    padding: 1.1rem 1.5rem 0.6rem;
}

.timeline .timeline-item .timeline-event:before {
    position: absolute;
    top: 0.75rem;
    left: 32px;
    right: 100%;
    width: 0;
    height: 0;
    border-top: 1rem solid transparent;
    border-right: 1rem solid;
    border-left: 0 solid;
    border-bottom: 1rem solid transparent;
    border-left-color: #fff;
    border-right-color: #fff;
    margin-left: -3rem;
    content: "";
}

.timeline .timeline-item .timeline-event.timeline-event-shadow {
    box-shadow: 0 0.5rem 1rem rgba(75, 70, 92, 0.075) !important;
}

.timeline .timeline-item .timeline-event .timeline-event-time {
    position: absolute;
    top: 1.1rem;
    font-size: 0.85rem;
    color: #a5a3ae;
}

.timeline .timeline-item .timeline-indicator,
.timeline .timeline-item .timeline-indicator-advanced {
    position: absolute;
    left: -0.75rem;
    top: -0.2rem;
    z-index: 2;
    height: 1.5rem;
    width: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 50%;
}

.timeline .timeline-item .timeline-indicator i,
.timeline .timeline-item .timeline-indicator-advanced i {
    background-color: #f8f7fa;
}

.card .timeline .timeline-item .timeline-indicator i,
.card .timeline .timeline-item .timeline-indicator-advanced i {
    background-color: #fff;
}

.timeline .timeline-item .timeline-indicator i,
.timeline .timeline-item .timeline-indicator-advanced i {
    color: #7367f0;
}

.timeline .timeline-item .timeline-indicator-advanced {
    background-color: #fff;
    top: -0.1rem;
}

.timeline .timeline-item .timeline-point {
    position: absolute;
    left: -0.43rem;
    top: 0;
    z-index: 2;
    display: block;
    height: 0.75rem;
    width: 0.75rem;
    border-radius: 50%;
    background-color: #7367f0;
}

.timeline .timeline-item.timeline-item-transparent .timeline-event {
    top: -1.4rem;
    background-color: transparent;
}

html:not([dir=rtl]) .timeline .timeline-item.timeline-item-transparent .timeline-event {
    padding-left: 0;
}

.timeline .timeline-item.timeline-item-transparent .timeline-event.timeline-event-shadow {
    padding-left: 2rem;
}

.timeline .timeline-item.timeline-item-transparent .timeline-event:before {
    display: none;
}

.timeline.timeline-center:before {
    left: 50%;
    height: 97%;
}

.timeline.timeline-center:after {
    left: 50%;
    margin-left: -0.55rem;
}

.timeline.timeline-center .timeline-end-indicator {
    bottom: -1.4rem;
    left: 50%;
    margin-left: 0.55rem;
}

.timeline.timeline-center .timeline-item {
    width: 50%;
    clear: both;
}

.timeline.timeline-center .timeline-item.timeline-item-left,
.timeline.timeline-center .timeline-item:nth-of-type(odd):not(.timeline-item-left):not(.timeline-item-right) {
    float: left;
    padding-left: 0;
    padding-right: 3rem;
    left: 0px;
    padding-bottom: 3rem;
    border-left: 0;
    border-right: 1px solid #dbdade;
}

.timeline.timeline-center .timeline-item.timeline-item-left .timeline-event .timeline-event-time,
.timeline.timeline-center .timeline-item:nth-of-type(odd):not(.timeline-item-left):not(.timeline-item-right) .timeline-event .timeline-event-time {
    right: -10.2rem;
}

.timeline.timeline-center .timeline-item.timeline-item-left .timeline-event:before,
.timeline.timeline-center .timeline-item:nth-of-type(odd):not(.timeline-item-left):not(.timeline-item-right) .timeline-event:before {
    right: -15px;
    left: auto;
    border-left-width: 16px;
    border-right-width: 0;
}

.timeline.timeline-center .timeline-item.timeline-item-left .timeline-point,
.timeline.timeline-center .timeline-item:nth-of-type(odd):not(.timeline-item-left):not(.timeline-item-right) .timeline-point {
    left: 100%;
}

.timeline.timeline-center .timeline-item.timeline-item-right,
.timeline.timeline-center .timeline-item:nth-of-type(even):not(.timeline-item-left):not(.timeline-item-right) {
    float: right;
    right: 1px;
    padding-left: 3rem;
    padding-bottom: 3rem;
    border-left: 1px solid #dbdade;
}

.timeline.timeline-center .timeline-item.timeline-item-right .timeline-event .timeline-event-time,
.timeline.timeline-center .timeline-item:nth-of-type(even):not(.timeline-item-left):not(.timeline-item-right) .timeline-event .timeline-event-time {
    left: -10.2rem;
}

.timeline.timeline-center .timeline-item.timeline-item-right .timeline-event .timeline-point,
.timeline.timeline-center .timeline-item:nth-of-type(even):not(.timeline-item-left):not(.timeline-item-right) .timeline-event .timeline-point {
    left: 0;
}

.timeline.timeline-center .timeline-item .timeline-point {
    left: 50%;
    margin-left: -0.6875rem;
}

.timeline.timeline-center .timeline-item .timeline-point-indicator {
    left: 50%;
    margin-left: -0.3125rem;
}

.timeline.timeline-advance .timeline-item .timeline-event:before,
.timeline.timeline-advance .timeline-item .timeline-event:after {
    border: transparent;
}

html:not([dir=rtl]) .timeline-item {
    border-left: 1px solid #dbdade;
}

[dir=rtl] .timeline:not(.timeline-center) .timeline-item {
    border-right: 1px solid #dbdade;
}

[dir=rtl] .timeline:not(.timeline-center):before {
    right: -1px;
    left: auto;
}

[dir=rtl] .timeline:not(.timeline-center):after {
    left: auto;
    margin-right: -0.65rem;
}

[dir=rtl] .timeline:not(.timeline-center) .timeline-end-indicator {
    left: auto;
    right: -0.75rem;
}

[dir=rtl] .timeline:not(.timeline-center) .timeline-item {
    padding-left: 0;
    padding-right: 3rem;
    border-right: 1px solid #dbdade;
}

[dir=rtl] .timeline:not(.timeline-center) .timeline-item .timeline-event:before {
    right: -1rem;
    left: auto;
    border-left-width: 1rem;
    border-right-width: 0;
}

[dir=rtl] .timeline:not(.timeline-center) .timeline-item.timeline-item-transparent .timeline-event {
    padding-right: 0;
}

[dir=rtl] .timeline:not(.timeline-center) .timeline-item .timeline-point {
    right: -0.4rem;
    left: auto;
}

[dir=rtl] .timeline:not(.timeline-center) .timeline-item .timeline-indicator {
    right: -0.78rem;
    left: auto;
}

[dir=rtl] .timeline:not(.timeline-center) .timeline-item .timeline-indicator-advanced {
    right: -0.78rem;
    left: auto;
}

@media (min-width: 768px) {

    .timeline.timeline-center .timeline-item.timeline-item-left .timeline-indicator,
    .timeline.timeline-center .timeline-item:nth-of-type(odd):not(.timeline-item-left):not(.timeline-item-right) .timeline-indicator {
        left: calc(100% - (1.5rem/ 2));
    }

    .timeline.timeline-center .timeline-item.timeline-item-left .timeline-event:after,
    .timeline.timeline-center .timeline-item:nth-of-type(odd):not(.timeline-item-left):not(.timeline-item-right) .timeline-event:after {
        transform: rotate(180deg);
        right: -16px;
        left: auto;
    }
}

@media (max-width: 767.98px) {
    .timeline.timeline-center:before {
        left: 1rem;
    }

    .timeline.timeline-center:after {
        left: 0;
    }

    .timeline.timeline-center .timeline-end-indicator {
        left: -2px;
    }

    .timeline.timeline-center .timeline-item {
        border-right: 0 !important;
        left: 0rem;
        float: left !important;
        width: 100%;
        padding-left: 3rem !important;
        padding-right: 0 !important;
        border-right: 0 !important;
    }

    .timeline.timeline-center .timeline-item:not(:last-child) {
        border-left: 1px solid #dbdade !important;
    }

    .timeline.timeline-center .timeline-item:not(:last-child) {
        border-left: 1px solid #dbdade !important;
    }

    .timeline.timeline-center .timeline-item .timeline-event:before {
        right: 100% !important;
        border-right-width: 1rem !important;
        border-left-width: 0 !important;
    }

    .timeline.timeline-center .timeline-item .timeline-event .timeline-event-time {
        top: -1.4rem;
        left: 0 !important;
        right: auto !important;
    }

    .timeline.timeline-center .timeline-item .timeline-point {
        left: -0.7rem !important;
        margin-left: 0 !important;
    }

    .timeline.timeline-center .timeline-item .timeline-point-indicator {
        left: 0 !important;
        margin-left: -0.3125rem !important;
    }

    [dir=rtl] .timeline.timeline-center:before {
        left: auto;
        right: 1rem;
    }

    [dir=rtl] .timeline.timeline-center .timeline-item {
        border-left: 0 !important;
        right: 1px !important;
    }

    [dir=rtl] .timeline.timeline-center .timeline-item:not(:last-child) {
        border-right: 1px solid #dbdade !important;
    }

    [dir=rtl] .timeline.timeline-center:after {
        right: -0.55rem;
        left: auto;
    }

    [dir=rtl] .timeline.timeline-center .timeline-item {
        float: right !important;
        width: 100%;
        padding-right: 3.5rem !important;
        padding-left: 1.5rem !important;
    }

    [dir=rtl] .timeline.timeline-center .timeline-item .timeline-event:before {
        left: 100% !important;
        right: -1rem !important;
        border-left-width: 1rem !important;
        border-right-width: 0 !important;
    }

    [dir=rtl] .timeline.timeline-center .timeline-item .timeline-event:after {
        transform: rotate(0deg);
        right: -16.5px;
        left: auto;
    }

    [dir=rtl] .timeline.timeline-center .timeline-item .timeline-event .timeline-event-time {
        top: -1.2rem;
        right: 0 !important;
        left: auto !important;
    }

    [dir=rtl] .timeline.timeline-center .timeline-item .timeline-point {
        right: -0.7rem !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 767.98px) {

    [dir=rtl] .timeline .timeline-item .timeline-indicator,
    [dir=rtl] .timeline .timeline-item .timeline-indicator-advanced {
        left: auto;
        right: -0.6875rem;
    }

    [dir=rtl] .timeline-center .timeline-item {
        padding-left: 0;
        padding-right: 3rem;
    }

    [dir=rtl] .timeline-center .timeline-item .timeline-event:after {
        right: -16.5px;
        left: auto;
        border-left-width: 1rem;
        border-right-width: 0;
        border-left-color: #dbdade;
        border-right-color: rgba(75, 70, 92, 0.3);
    }
}

@media (max-width: 575.98px) {
    .timeline .timeline-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

.timeline .timeline-item-secondary .timeline-event {
    background-color: rgba(168, 170, 174, 0.1);
}

.timeline .timeline-item-secondary .timeline-event:before {
    border-left-color: rgba(168, 170, 174, 0.1) !important;
    border-right-color: rgba(168, 170, 174, 0.1) !important;
}

.timeline .timeline-point-secondary {
    background-color: #a8aaae !important;
    box-shadow: 0 0 0 0.1875rem rgba(168, 170, 174, 0.16);
}

.timeline .timeline-indicator-secondary i {
    color: #a8aaae !important;
}

.timeline .timeline-item-success .timeline-event {
    background-color: rgba(40, 199, 111, 0.1);
}

.timeline .timeline-item-success .timeline-event:before {
    border-left-color: rgba(40, 199, 111, 0.1) !important;
    border-right-color: rgba(40, 199, 111, 0.1) !important;
}

.timeline .timeline-point-success {
    background-color: #28c76f !important;
    box-shadow: 0 0 0 0.1875rem rgba(40, 199, 111, 0.16);
}

.timeline .timeline-indicator-success i {
    color: #28c76f !important;
}

.timeline .timeline-item-info .timeline-event {
    background-color: rgba(0, 207, 232, 0.1);
}

.timeline .timeline-item-info .timeline-event:before {
    border-left-color: rgba(0, 207, 232, 0.1) !important;
    border-right-color: rgba(0, 207, 232, 0.1) !important;
}

.timeline .timeline-point-info {
    background-color: #00cfe8 !important;
    box-shadow: 0 0 0 0.1875rem rgba(0, 207, 232, 0.16);
}

.timeline .timeline-indicator-info i {
    color: #00cfe8 !important;
}

.timeline .timeline-item-warning .timeline-event {
    background-color: rgba(255, 159, 67, 0.1);
}

.timeline .timeline-item-warning .timeline-event:before {
    border-left-color: rgba(255, 159, 67, 0.1) !important;
    border-right-color: rgba(255, 159, 67, 0.1) !important;
}

.timeline .timeline-point-warning {
    background-color: #ff9f43 !important;
    box-shadow: 0 0 0 0.1875rem rgba(255, 159, 67, 0.16);
}

.timeline .timeline-indicator-warning i {
    color: #ff9f43 !important;
}

.timeline .timeline-item-danger .timeline-event {
    background-color: rgba(234, 84, 85, 0.1);
}

.timeline .timeline-item-danger .timeline-event:before {
    border-left-color: rgba(234, 84, 85, 0.1) !important;
    border-right-color: rgba(234, 84, 85, 0.1) !important;
}

.timeline .timeline-point-danger {
    background-color: #ea5455 !important;
    box-shadow: 0 0 0 0.1875rem rgba(234, 84, 85, 0.16);
}

.timeline .timeline-indicator-danger i {
    color: #ea5455 !important;
}

.timeline .timeline-item-dark .timeline-event {
    background-color: rgba(75, 75, 75, 0.1);
}

.timeline .timeline-item-dark .timeline-event:before {
    border-left-color: rgba(75, 75, 75, 0.1) !important;
    border-right-color: rgba(75, 75, 75, 0.1) !important;
}

.timeline .timeline-point-dark {
    background-color: #4b4b4b !important;
    box-shadow: 0 0 0 0.1875rem rgba(75, 75, 75, 0.16);
}

.timeline .timeline-indicator-dark i {
    color: #4b4b4b !important;
}

.timeline .timeline-item-gray .timeline-event {
    background-color: rgba(75, 70, 92, 0.1);
}

.timeline .timeline-item-gray .timeline-event:before {
    border-left-color: rgba(75, 70, 92, 0.1) !important;
    border-right-color: rgba(75, 70, 92, 0.1) !important;
}

.timeline .timeline-point-gray {
    background-color: rgba(75, 70, 92, 0.05) !important;
    box-shadow: 0 0 0 0.1875rem rgba(75, 70, 92, 0.16);
}

.timeline .timeline-indicator-gray i {
    color: rgba(75, 70, 92, 0.05) !important;
}