﻿#wf-history {
    font-size: 14px; /* Update this value to scale whole set */
    position: relative;
}

.wf-item {
    position: relative;
    padding: 0.8em 0 0.4em;
    overflow: hidden;
}

    .wf-item:last-child:before,
    .wf-item:after {
        content: ' ';
        width: 0.2em;
        left: 0.65em;
        position: absolute;
        height: 100%;
        background-color: #FF9016;
    }

    .wf-item:after {
        bottom: 0;
    }

    .wf-item:last-child:after {
        background-color: white;
    }


    .wf-item:last-child:before {
        height: 2em;
        z-index: 1;
        top: 0;
    }

.wf-item-dt {
    vertical-align: middle;
    color: #FC8400;
    font-size: 0.8em;
    margin-left: 2.6em;
    font-weight: bold;
}



.wf-item-dot {
    position: relative;
    width: 1.6em;
    height: 1.6em;
    border-radius: 0.8em;
    border: 4px solid #FF9016;
    margin-right: 1em;
    vertical-align: middle;
    z-index: 2;
    background: white;
}

.wf-item-detail {
    flex: 1;
    vertical-align: top;
    margin-left: 2.1em;
    margin-top: -1.5em;
}

.wf-item-label,
.wf-item-stage {
    font-weight: bold;
}

@media (min-width: 768px) {
    .wf-item {
        display: flex;
    }

        .wf-item:after {
            left: 7.25em;
        }

        .wf-item:last-child:before,
        .wf-item:after {
            left: 7.25em;
        }


        .wf-item > div {
            margin-left: 0;
        }

    .wf-item-dt {
        text-align: center;
        width: 7em;
    }

        .wf-item-dt .sla-icon {
            display: block;
        }

    .wf-item-dot {
        margin-left: 1em;
    }

    .wf-item-detail {
        flex: 1;
        margin-top: 0;
    }
}
