/* ////////////////////////
    STEPPER / WIZARD
/////////////////////////*/

.step-wizard-sidebar{
    display: flex;
    flex-direction: column;
    flex-basis: 30%;
    padding: 50px 40px;
    min-width: 300px;
}
.fa-check{
    font-size: 18px;
    font-weight: 600;
}
.step {
    position: relative;
    display: inline-flex;
    margin-bottom: 30px;
    transition: all .2s ease-in-out;
}
.step-number{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 50px;
    font-size: 24px;
    line-height: 0;
    font-weight: 600;
    border-radius: 100%;
    border: 3px solid white;
    background: transparent;
    color: #FFF;
}
.step.current > .step-number{
    border: 3px solid transparent;
    color: #ffffff;
}
.step.complete > .step-number{
    background: white;
    color: #1c3ea9;
}
.step-wizard-header{
    font-size: 26px;
    color: white;
    margin-bottom: 30px;
    line-height: normal;
}
.step-title{
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-size: 16px;
}

.step > .step-number > i {display: none;}
.step.complete > .step-number > i {display: block;}

.step-wizard-container > :nth-child(1).step > .step-number::after{
    content: '1';
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #FFF;
    z-index: 10;
}

.step-wizard-container > :nth-child(1).step.complete  > .step-number::after,
.step-wizard-container > :nth-child(2).step.complete  > .step-number::after,
.step-wizard-container > :nth-child(3).step.complete  > .step-number::after,
.step-wizard-container > :nth-child(4).step.complete  > .step-number::after,
.step-wizard-container > :nth-child(5).step.complete  > .step-number::after{
    content: '';
}

.step-wizard-container > :nth-child(2).step > .step-number::after{
    content: '2';
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #FFF;
    z-index: 10;
}
.step-wizard-container > :nth-child(3).step > .step-number::after{
    content: '3';
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #FFF;
    z-index: 10;
}
.step-wizard-container > :nth-child(4).step > .step-number::after{
    content: '4';
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #FFF;
    z-index: 10;
}
.step-wizard-container > :nth-child(5).step > .step-number::after{
    content: '5';
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #FFF;
    z-index: 10;
}

.order{
    display: none;
}
.step-number.font-black::after{
    color: black!important;
}
.step-number.font-blue::after{
    color: var(--blue-800)!important;
}
.step-number.font-red::after{
    color: var(--red-800)!important;
}
.step-number.font-green::after{
    color: var(--green-800)!important;
}

/* ////////////////////////
    STEP INDICATOR
/////////////////////////*/

.step-container{
    padding: 20px 0;
}
ol.step-indicator__segments{
    max-width: 100%!important;
    counter-reset: step-indicator;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}
.step-indicator__segment{
    position: relative;
    flex: 1 1 0%;
    counter-increment: step-indicatior;
    min-height: 8px;
    max-width: 240px;
}
.step-indicator__segment::before,
.step-indicator__segment--complete::before,
.step-indicator__segment--current::before{
    content: counter(step-indicatior);
    position: absolute;
    left: 0;
    top: calc(50% - 20px);
    z-index: 100;

    display: flex;
    align-items: center;
    justify-content: center;

    height: 40px;
    width: 40px;
    border-radius: 50%;

    font-feature-settings: "tnum" 1,"kern" 1;
    font-weight: var(--reg);
    font-size: 18px;
    line-height: 0;
    background: transparent;
    
}

.step-indicator__segment::before{
    content: counter(step-indicatior);
    border: 3px solid var(--gray-500)!important;
    color: var(--gray-600);
}


.step-indicator__segment--complete::before{
    border: 3px solid transparent!important;
    color: white;
    background: black;
}
.step-indicator__segment--current::before{
    font-weight: var(--semi);
    border: 3px solid transparent!important;
    color: white;
    background: var(--blue-800);
}

.step-indicator__segment-label{
    position: absolute;
    display: block;
    font-size: 18px;
    font-weight: var(--reg);
    padding-right: 15px;
    text-align: left;
    margin-top: 30px;
}
.step-indicator__segment--current > .step-indicator__segment-label{
    font-weight: var(--semi);
    color: var(--blue-800);
}

/* segment Line */

.step-indicator__segment::after{
    content: '';
    position: absolute;
    left: calc(40px + 10px);
    display: flex;
    justify-content: center;
    width: calc(100% - 60px);
    max-width: 80%;
    height: 5px;
    background: var(--gray-500);
}
.step-indicator__segment--current::after{
    border: 3px solid transparent!important;
    background: var(--blue-800);
    color: white;
}
.step-indicator__segment--complete::after{
    border: 3px solid transparent!important;
    background: black;
    color: white;
}
.step-indicator__segment:last-of-type::after{
    content:'';
    display: none;
}

/* Step header indicator */

.step-indicator__header {
    align-items: baseline;
    display: flex;
}
.step-indicator__heading{
    font-weight: var(--semi);
    margin: 80px 0 0 0;
    color: black;
}
.step-indicator__total-steps {
    font-weight: 400;
    font-feature-settings: "tnum" 1,"kern" 1;
    color: var(--blue-800);
    margin-right: 0.5rem;
}

.step-indicator__current-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    color: white;
    font-feature-settings: "tnum" 1,"kern" 1;
    background: var(--blue-800);
}




@media screen and (max-width: 768px) { 
    .step-indicator__segment::before,
    .step-indicator__segment--complete::before,
    .step-indicator__segment--current::before{
        display: none;
    }
    .step-indicator__segment:last-of-type::after,
    .step-indicator__segment::after {
        content: '';
        position: absolute;
        left: 0;
        display: flex;
        justify-content: center;
        width: calc(100% - 1px);
        max-width: 100%;
        height: 8px;
    }
    .step-indicator__segment-label{
        margin-top: 20px;
    }
}


@media screen and (max-width: 512px) { 
    .step-indicator__segment::before,
    .step-indicator__segment--complete::before,
    .step-indicator__segment--current::before{
        display: none;
    }
    .step-indicator__segment:last-of-type::after,
    .step-indicator__segment::after {
        content: '';
        position: absolute;
        left: 0;
        display: flex;
        justify-content: center;
        width: calc(100% - 1px);
        max-width: 100%;
        height: 8px;
    }
    .step-indicator__segment-label{
        display: none;
    }
    .step-indicator__heading{
        margin: 20px 0 0 0;
    }

/*////////////////////////////////////////////
    STEPPER / WIZARD - DEFAULT (Circles)
////////////////////////////////////////////*/

    .step-wizard-sidebar{
        display: flex;
        flex-direction: column;
        flex-basis: 30%;
        padding: 30px;
        min-width: 300px;
        min-height: 220px;
    }

    .step-wizard-container{
        position: relative;
        display: inline-flex;
        justify-content: space-between;
        padding: 0 ;
    }
    .step-wizard-header {
        font-size: 26px;
        color: white;
        margin-bottom: 20px;
        width: 60%;
    }    
    .step {
        display: inline-flex;
        flex: auto;
        margin-bottom: 0px;
        transition: all .2s ease-in-out;
    }

    .step::before{
        content: '';
        position: absolute;
        right: 0px;
        top: 8px;
        height: 4px;
        width: calc(100% - 20px);
        background: white;
        z-index: 0;
        opacity: .5;
    }
    .step:nth-last-child(2){
        flex: inherit;
    }
    .step:nth-last-child(2)::before{
        content: '';
        display: none;
    }
    .step.complete::before {
        content: '';
        position: absolute;
        left: 30px;
        top: 8px;
        height: 4px;
        width: calc(100% - 29px);
        background: white;
        z-index: 0;
        opacity: 1;
    }
    .step-wizard-container > :nth-child(1).step > .step-number::after,
    .step-wizard-container > :nth-child(2).step > .step-number::after,
    .step-wizard-container > :nth-child(3).step > .step-number::after,
    .step-wizard-container > :nth-child(4).step > .step-number::after,
    .step-wizard-container > :nth-child(5).step > .step-number::after {
        content:'';
        display: none;
    }    
    .step-title{
        display: none;
    }
    .step-number {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 20px;
        height: 20px;
        font-size: 24px;
        line-height: 0;
        font-weight: 600;
        border-radius: 100%;
        border: 5px solid rgba(255 255 255 / .5);
        background: transparent;
        color: #FFF;
        z-index: 10;
    }
    .step.complete > .step-number {
        width: 30px;
        height: 30px;
        font-size: 24px;
        line-height: 0;
        font-weight: 600;
        border-radius: 100%;
        margin-top: -5px;
        color: #FFF;
    }
    .step.current > .step-number {
        border: 3px solid transparent;
        background: white;
        color: #ffffff;
    }

    .order-container{
        display: block;
        position: absolute;
        margin-top: 35px;
        width: 100%;
        max-width: calc(100% - 30px);
    }
    .order-container > .order{
        display: none;
        
    }
    .order-title{
        font-size: 18px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .step-wizard-container > .step:nth-child(1).current ~ .order-container > :nth-child(1),
    .step-wizard-container > .step:nth-child(2).current ~ .order-container > :nth-child(2),
    .step-wizard-container > .step:nth-child(3).current ~ .order-container > :nth-child(3),
    .step-wizard-container > .step:nth-child(4).current ~ .order-container > :nth-child(4),
    .step-wizard-container > .step:nth-child(5).current ~ .order-container > :nth-child(5){
        display: block;
        font-size: 16px;
    }


/*/////////////////////////////
    STEPPER / WIZARD - Lines
/////////////////////////////*/

    .step-wizard-sidebar.step-line > .step-wizard-container{
        position: relative;
        display: inline-flex;
        justify-content: space-between;
        padding: 0;
    }
    .step-wizard-sidebar.step-line > .stepper-header {
        font-size: 26px;
        color: white;
        margin-bottom: 20px;
        width: 70%;
    }
    .step-wizard-sidebar.step-line > .step-wizard-container  > .step {
        display: inline-flex;
        flex: auto;
        margin: 0 3px;
        transition: all .2s ease-in-out;
    }
    .step-line > .step-wizard-container > .step {
        position: initial;
    }
    .step-wizard-sidebar.step-line > .step-wizard-container > .step > .step-number {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 4px;
        font-size: 24px;
        line-height: 0;
        font-weight: 600;
        border-radius: 0;
        border: 0;
        background: rgba(255 255 255 / .3);
        color: #FFF;
    }
    .step-wizard-sidebar.step-line > .step-wizard-container > .step.complete > .step-number {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 4px;
        font-size: 24px;
        line-height: 0;
        font-weight: 600;
        border-radius: 0;
        border: 0;
        background: rgba(255 255 255 / 1);
        color: #FFF;
        margin: 0;
    }
    .step-wizard-sidebar.step-line > .step-wizard-container > .step::before{
        display: none;
    }
    .step-title{
        display: none;
    }
    .step-wizard-sidebar.step-line > .step-wizard-container >.step.complete > .step-number i {
        display: none;
    }
    .step-wizard-sidebar.step-line > .step-wizard-container >.step.current > .step-number {
        border: 0;
        background: #cf152d;
        color: #ffffff;
    }
}
.step-indicator__segments.step--icon > .step-indicator__segment--current--not-complete:after {
    max-width: calc(100% - 38px)  !important ;
}

.step-indicator__segments.step--icon > .step-indicator__segment:after {
    max-width: calc(100% - 38px) !important;
}