.workflow-bar-heading {
    background-color: var(--pageTitleBgColor);
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    background-color: var(--bs-white);
    color: var(--bs-dark);
    line-height: 50px;
    letter-spacing: 1px;
    outline: 1px solid var(--bs-dark);
    outline-offset: -2px;
}

ul.workflow-bar {
    padding-left: 0px;
}

.workflow-bar > li:not(.in-progress) .workflow-step:before {
    border-width: 15px;
    border-top-color: var(--bs-bg-disabled);
    top: 77px;
    z-index: 2;
}

.workflow-bar > li:not(.in-progress) .workflow-step:after {
    border-width: 15px;
    border-top-color: var(--bs-white);
    z-index: 1;
}

.workflow-step {
    position: relative;
    height: 100px;
    width: 100%;
}

    .workflow-step:after {
        top: 80px;
    }

    .workflow-step:after, .workflow-step:before {
        content: "";
        height: 0;
        position: absolute;
        width: 0;
        border: solid transparent;
        left: 50%;
    }

.workflow-step-instructions:after, .workflow-step-instructions:before {
    content: "";
    height: 0;
    position: absolute;
    width: 0;
    border: solid transparent;
    left: 50%;
}

.workflow-step-instructions {
    margin-bottom: 25px;
    margin-left: 75px;
    margin-top: -20px;
    text-align: left;
}

    .workflow-step-instructions:after {
        top: 100%;
    }

    .workflow-step-instructions:before {
        border-width: 15px;
        border-top-color: var(--bs-white);
        top: 99%;
        z-index: 2;
    }

    .workflow-step-instructions:after {
        border-width: 15px;
        border-top-color: var(--bs-white);
        z-index: 1;
    }

.workflow-bar > li.in-progress .workflow-step-instructions:before {
    border-top-color: var(--pageTitleBgColor);
}

.workflow-bar > li.completed .workflow-step-instructions:before {
    border-top-color: var(--sidebarBgColor);
}

.workflow-bar > li.completed .workflow-step:before {
    border-width: 15px;
    border-top-color: var(--bs-white);
    top: 77px;
    z-index: 2;
}

.workflow-step:before {
    border-width: 15px;
    border-top-color: var(--bs-white);
    top: 78px;
    z-index: 2;
}

.workflow-bar > li.completed .workflow-step:after {
    border-width: 15px;
    border-top-color: var(--bs-white);
    z-index: 1;
}

.workflow-bar > li.in-progress .workflow-step:before {
    border-top-color: var(--pageTitleBgColor);
}

.workflow-bar > li.completed .workflow-step:before {
    border-top-color: var(--sidebarBgColor);
}

ul.workflow-bar li:last-child .workflow-step:after, ul.workflow-bar li:last-child .workflow-step:before {
    border: none;
}

ul.workflow-bar > li {
    width: 100%;
    height: 80px;
    background: var(--bs-bg-disabled);
    position: relative;
    border: solid 1px var(--bs-white);
    list-style: none;
}

.workflow-bar > li.completed {
    background: var(--sidebarBgColor);
    color: var(--bs-white);
}

.workflow-bar > li.in-progress {
    background: var(--pageTitleBgColor);
    color: var(--bs-white);
    text-align: center;
    cursor: pointer;
    height: 100%;
}

.workflow-bar > li > i {
    position: absolute;
    top: 35%;
    color: var(--bs-light);
    cursor: pointer;
    z-index: 5;
    margin-left: 3px;
}

.workflow-step-id {
    display: inline-block;
    float: left;
    position: relative;
    width: 75px;
    line-height: 65px;
    text-align: left;
    height: 80px;
}

.workflow-step-detail {
    display: table-cell;
    vertical-align: middle;
    height: 80px;
}

.workflow-step-number {
    -webkit-box-shadow: inset 1px 1px 1px 0px rgba(0, 0, 0, 0.2);
    box-shadow: inset 1px 1px 1px 0px rgba(0, 0, 0, 0.2);
    background: var(--bs-gray-dark);
    border: 2px solid var(--bs-white);
    border-radius: 50%;
    color: var(--bs-white);
    font-size: 16px;
    font-weight: 700;
    left: 20px;
    line-height: 32px;
    height: 35px;
    position: relative;
    text-align: center;
    text-shadow: 1px 1px rgba(0, 0, 0, 0.2);
    top: 7px;
    width: 35px;
    display: inline-block;
}

.workflow-bar li:not(.completed):not(.in-progress) .workflow-step-number {
    opacity: .75;
}

.workflow-bar > li.completed .workflow-step-number {
    background: var(--sidebarBgColor);
    border: 2px solid var(--bs-white);
}

.workflow-bar > li.in-progress .workflow-step-number {
    background: var(--pageTitleBgColor);
    border: 2px solid var(--bs-white);
}

.workflow-step-name {
    color: var(--bs-gray);
    text-shadow: 1px 0px 1px var(--bs-white);
    float: left;
    line-height: 80px;
    text-transform: uppercase;
}

.workflow-bar > li.completed .workflow-step-name, .workflow-bar > li.in-progress .workflow-step-name {
    color: var(--bs-white);
    text-shadow: 1px 0px 1px #90928f;
}

.workflow-step-status {
    text-transform: uppercase;
    color: var(--bs-gray);
    text-shadow: 2px 0px 2px var(--bs-white);
    float: right;
    line-height: 80px;
    margin-right: 20px;
}

.workflow-bar > li.completed .workflow-step-status, .workflow-bar > li.in-progress .workflow-step-status {
    color: var(--bs-white);
    text-shadow: 1px 0px 1px #90928f;
    letter-spacing: 1px;
}
