﻿.checkout-process-bar {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.checkout-process-bar span {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #d9edf7;
    color: #337ab7;
    padding: 10px 5px 10px 20px;
    position: relative;
    text-align: center;
    border: 1px solid #bce8f1;
    white-space: nowrap;
    box-sizing: content-box;
    flex: 1;
}

@media (max-width: 767px) {
    .checkout-process-bar span {
        font-size: 12px;
        padding: 9px 5px 6px 20px;
    }
}

.checkout-process-bar span:first-child {
    border-radius: 5px 0 0 5px;
}

.checkout-process-bar span:not(:last-child)::before {
    content: "";
    position: absolute;
    top: -1px;
    right: -22px;
    width: 22px;
    height: calc(100% + 2px);
    background-color: #bce8f1;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    z-index: 1;
}

.checkout-process-bar span:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 0;
    right: -20px;
    width: 20px;
    height: 100%;
    background-color: inherit !important;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    z-index: 2;
}

.checkout-process-bar span:last-child {
    border-radius: 0 5px 5px 0;
}

.checkout-process-bar .active-step {
    background-color: #337ab7;
    color: #ffffff;
}

.checkout-process-bar .active-step:not(:last-child)::before {
    background-color: #bce8f1;
}

.checkout-process-bar .active-step:not(:last-child)::after {
    background-color: #d9edf7;
}

