﻿

.timeline {
    position: relative
}

    .timeline:before {
        position: absolute;
        top: 0;
        left: 1rem;
        height: 100%;
        content: '';
        border-right: 2px solid #e9ecef
    }

[data-timeline-axis-style=dashed]:before {
    border-right-style: dashed !important
}

[data-timeline-axis-style=dotted]:before {
    border-right-style: dotted !important
}

.timeline-block {
    position: relative;
    margin: 2em 0
}

    .timeline-block:after {
        display: table;
        clear: both;
        content: ''
    }

    .timeline-block:first-child {
        margin-top: 0
    }

    .timeline-block:last-child {
        margin-bottom: 0
    }

.timeline-step {
    font-size: 1rem;
    font-weight: 600;
    position: absolute;
    z-index: 1;
    left: 0;
    display: inline-flex;
    width: 33px;
    height: 33px;
    transform: translateX(-50%);
    text-align: center;
    border-radius: 50%;
    align-items: center;
    justify-content: center
}

    .timeline-step i, .timeline-step svg {
        line-height: 1.4
    }

.timeline-step-icon {
    border: 2px solid #e9ecef;
    background: #fff
}

.timeline-step-xs {
    font-size: .75rem;
    width: 17px;
    height: 17px
}

.timeline-step-sm {
    font-size: .75rem;
    width: 23px;
    height: 23px
}

.timeline-step-lg {
    font-size: 1.75rem;
    width: 47px;
    height: 47px
}

.timeline-content {
    position: relative;
    position: relative;
    top: -6px;
    margin-left: 60px;
    padding-top: .5rem
}

    .timeline-content:after {
        display: table;
        clear: both;
        content: ''
    }

.timeline-body {
    padding: 1.5rem
}

@media (min-width: 992px) {
    .timeline:before {
        left: 50%;
        margin-left: -2px
    }

    .timeline-step {
        left: 50%
    }

    .timeline-content {
        width: 38%
    }

    .timeline-body {
        padding: 1.5rem
    }

    .timeline-block:nth-child(even) .timeline-content {
        float: right
    }

    [data-timeline-axis-color=primary]:before {
        border-color: #5e72e4
    }

    [data-timeline-axis-color=secondary]:before {
        border-color: #f7fafc
    }

    [data-timeline-axis-color=success]:before {
        border-color: #2dce89
    }

    [data-timeline-axis-color=info]:before {
        border-color: #11cdef
    }

    [data-timeline-axis-color=warning]:before {
        border-color: #fb6340
    }

    [data-timeline-axis-color=danger]:before {
        border-color: #f5365c
    }

    [data-timeline-axis-color=light]:before {
        border-color: #adb5bd
    }

    [data-timeline-axis-color=dark]:before {
        border-color: #212529
    }

    [data-timeline-axis-color=default]:before {
        border-color: #172b4d
    }

    [data-timeline-axis-color=white]:before {
        border-color: #fff
    }

    [data-timeline-axis-color=neutral]:before {
        border-color: #fff
    }

    [data-timeline-axis-color=darker]:before {
        border-color: #000
    }
}

.timeline-one-side:before {
    left: 1rem
}

.timeline-one-side .timeline-step {
    left: 1rem
}

.timeline-one-side .timeline-content {
    width: auto
}

@media (min-width: 992px) {
    .timeline-one-side .timeline-content {
        max-width: 30rem
    }
}

.timeline-one-side .timeline-block:nth-child(even) .timeline-content {
    float: none
}

.badge-dot {
    font-size: .875rem;
    font-weight: 400;
    padding-right: 0;
    padding-left: 0;
    text-transform: none;
    background: transparent;
}

    .badge-dot strong {
        color: #32325d;
    }

    .badge-dot i {
        display: inline-block;
        width: .375rem;
        height: .375rem;
        margin-right: .375rem;
        vertical-align: middle;
        border-radius: 50%;
    }

    .badge-dot.badge-md i {
        width: .5rem;
        height: .5rem;
    }

    .badge-dot.badge-lg i {
        width: .625rem;
        height: .625rem;
    }
