/**
 * PROGRESS
 */

.progress-wrap {
    padding-bottom: $spacer;
    //margin: 0 auto $spacer * 3 auto;
    margin: 0 auto 0 auto;
    //box-shadow: 0px 1.6px 2px -0.8px rgba(115, 115, 115, 0.15), 0px 0.5px 0.7px rgba(115, 115, 115, 0.15);

    @include media-breakpoint-up(lg) {
        border-bottom: none;
        margin: 0 0 $spacer 0;
        box-shadow: none;
    }
}

.progress {
    display: flex;
    justify-content: space-between;
    list-style-type: none;
    margin-bottom: $spacer * 2;
    padding: 0;

    @include media-breakpoint-up(lg) {
        padding: 0;
    }
}

.progress li {
    flex: 0 1 23%;
    margin: 0;
    padding: 0;
}

.progress a {
    display: block;
    position: relative;
    color: #8a8a8e;
    text-decoration: none;
    font-weight: normal;
    font-size: $font-size-sm;
    transition: color .25s ease;
    padding-bottom: $spacer;
    pointer-events: none;
}

.progress li.selected:hover a, 
.progress .selected a,
.progress .active a {
    color: #2c2a29;
    font-weight: bold;
    transition: color .25s ease;
}

.progress .selected a {
    pointer-events: auto;
}

.progress .selected a {
    color: $blue-700;
}

.progress a:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc($spacer/2);
    border-radius: 40px;
    border: 0;
    background-color: $grey-200;
    margin-top: calc($spacer/2);
    transition: background-color .25s ease;
}

.progress li.selected:hover a:after,
.progress .selected a:after,
.progress .active a:after {
    background-color: $blue-300;
    transition: background-color .25s ease;
}

.progress .selected a:after {
    background-color: $blue-700;
}

.progress li.active {
    font-weight: bold;
}
