
.timeline {
    position: relative;
    list-style: none;
    padding-left: 1rem;
}

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

@media (min-width: 992px) {

/*
.timeline .timeline-item-center {
    padding-left: 0;
}

.timeline .timeline-item-center:before {
    left: 97px!important;
}

.timeline .timeline-item-center:after {
    left: 97px!important;
}
*/

.timeline .timeline-item {
    padding-left: 0;
}

.timeline .timeline-item:before {
    left: 97px!important;
}

.timeline .timeline-item:after {
    left: 97px!important;
}

}

.timeline .timeline-item:not(:last-child):before {
    position: absolute;
    border-left: 2px solid var(--bs-blue);
    height: calc(100% + 7px);
    content: "";
    top: 6px;
    left: 0;
    transform: translateX(-50%);
}

.timeline .timeline-item-dotted:not(:last-child):before {
    border-left: 2px dotted var(--bs-blue);
}

.timeline .timeline-item-major:after {
    position: absolute;
    display: block;
    background-color: #fff;
    border: 2px solid var(--bs-blue);
    border-radius: 50%;
    height: 12px;
    width: 12px;
    content: "";
    top: 6px;
    left: 0;
    transform: translateX(-50%);
}

.timeline .timeline-item-green:after {
    border-color: var(--bs-green)!important;
}

.timeline .timeline-item-yellow:after {
    border-color: var(--bs-yellow)!important;
}

.timeline .timeline-item-red:after {
    border-color: var(--bs-red)!important;
}

.timeline .timeline-item-minor:after {
    position: absolute;
    display: block;
    background-color: var(--bs-blue);
    height: 2px;
    width: 6px;
    content: "";
    top: 12px;
    left: 0;
    transform: translateY(-50%);
}

.escalation-list {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
}

.escalation-list-red {
    border-color: var(--bs-red);
}

.escalation-list-green {
    border-color: var(--bs-green);
}

.escalation-list-yellow {
    border-color: var(--bs-yellow);
}

.escalation-list-blue {
    border-color: var(--bs-blue);
}

.escalation-list .escalation-item {
    position: relative;
    padding-bottom: 12px;
    border-color: inherit;
    flex: 1;
    /*text-align: center;*/
    display: flex;
  /*  justify-content: center; */
   /* align-items: flex-start */
}

.escalation-item-empty {
    --bs-text-opacity: 1;
    color: #6c757d!important;
    font-style: italic!important;
    font-size: .875em;
}

/* Before is the line, after is the dot */
.escalation-list .escalation-item:not(:last-child):before {
    position: absolute;
    border-top: 2px solid;
    border-color: inherit;
    width: calc(100% + 2px);
    content: "";
    bottom: 6px;
    left: 6px;
    transform: translateY(50%);
}

.escalation-list .escalation-item:after {
    position: absolute;
    display: block;
    background-color: #fff;
    content: "";
    border-left: 2px solid;
    border-color: inherit;
    height: 6px;
    bottom: 6px;
    left: 6px;
    transform: translateX(0);
}

.escalation-list .escalation-item-content:after {
    border-radius: 50%;
    border: 2px solid;
    border-color: inherit;
    height: 12px;
    width: 12px;
    bottom: 0;
    left: 0;
    transform: translateX(0);
}

.escalation-list .escalation-item:last-child {
    flex: 0;
}


