﻿
.step-wizard-list {
    background: #fff;
    color: #333;
    list-style-type: none;
    border-radius: 10px;
    display: flex;
    padding: 20px 10px;
    position: relative;
    z-index: 10;
}

.step-wizard-item {
    flex-basis: 0;
    -webkit-box-flex: 1;
    flex-grow: 1;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
}

    .step-wizard-item + .step-wizard-item:after {
        content: "";
        position: absolute;
        left: 0;
        top: 19px;
        background: #70A37F;
        width: 100%;
        height: 2px;
        transform: translateX(-50%);
        z-index: -10;
    }

.progress-count {
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 600;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    color: transparent;
    font-size: 20px;
}

    .progress-count:after {
        content: "";
        height: 60px;
        width: 60px;
        background: #70A37F;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        border-radius: 50%;
        z-index: -10;
    }

    .progress-count:before {
        content: "";
        height: 10px;
        width: 20px;
        border-left: 3px solid #fff;
        border-bottom: 3px solid #fff;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -60%) rotate(-45deg);
        transform-origin: center center;
    }

.progress-label {
    font-size: 20px;
    font-weight: 600;
    margin-top: 20px;
}

.current-item .progress-count:before,
.current-item ~ .step-wizard-item .progress-count:before {
    display: none;
}

.current-item ~ .step-wizard-item .progress-count:after {
    height: 60px;
    width: 60px;
}

.current-item ~ .step-wizard-item .progress-label {
    opacity: 0.5;
}

.current-item .progress-count:after {
    background: #fff;
    border: 2px solid #70A37F;
}

.current-item .progress-count {
    color: #70A37F;
}

@media (max-width: 768px) {
    .step-wizard-list {
        flex-wrap: wrap;
        justify-content: center;
    }

    .step-wizard-item {
        width: 33%;
        max-width: none;
    }

        .step-wizard-item + .step-wizard-item:after {
            transform: none;
        }

    .current-item ~ .step-wizard-item .progress-count:after {
        height: 30px;
        width: 30px;
    }

    .progress-count:after {
        content: "";
        height: 30px;
        width: 30px;
    }

    .progress-label {
        font-size: 12px;
        font-weight: 500;
        margin-top: 5px;
    }

    .progress-count {
        font-size: 12px;
    }
}
