.progressbar {
    display: flex;
    flex-wrap: wrap;
}

.progressbar .item {
    position: relative;
    width: 25%;
    text-align: center;
    position: relative;
    align-items: center;
    justify-content: center;
    padding: 13px 0;
    line-height: 1.5;
    background: #F5F5F5;
    color: #999999;
}

.progressbar.step-3 .item {
    width: 33%;
}
.progressbar.step-5 .item {
    width: 20%;
}

.progressbar .item:not(:last-child)::before,
.progressbar .item:not(:last-child)::after {
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    left: 100%;
    content: '';
    border: 37px solid transparent;
    border-left: 20px solid #F5F5F5;
    margin: auto;
}

.progressbar .item:not(:last-child)::before {
    margin-left: 1px;
    border-left-color: #FFF;
}

@media screen and (max-width: 767px) {    
    .progressbar .item {
        font-size: 9px;
        line-height: 1.7;
        padding: 10px 0;

        border: 0px;

    }

    .progressbar .item:not(:last-child)::before,
    .progressbar .item:not(:last-child)::after {
        /* border-width: 25px;
        border-left-width: 12px; */

        border: 0px;
        border-left: 0px;
        
    }
}

/* active */

.progressbar .item.active {
    z-index: 1;
    background: #0070BD;
    color: #FFF;
    font-weight: bold;
}

.progressbar .item.complete {
    color: #0070BD;
    font-weight: bold;
}

.progressbar .item.active:not(:last-child)::after {
    border-left-color: #0070bd;
}

.progressbar .item.active:not(:last-child)::before {
    border-left: none;
}
