﻿/* Unique wrapper class for the step container */
.custom-step-container {
    margin: 0;
    padding: 0;
    list-style: none;
}

.custom-step-list {
    width: 100%;
    display: table;
    text-align: center;
    max-width: 980px;
    margin: 10px auto;
}

.custom-step-item {
    display: table-cell;
    padding: 10px 0 25px;
    position: relative;
    border-bottom: 4px solid silver;
    /*font-weight: bold;*/
    width: 1%;
}

    .custom-step-item::after {
        /*content: "\039f";*/
        content: "";
        position: absolute;
        bottom: -10px;
        left: 0;
        right: 0;
        margin: auto;
        width: 16px;
        height: 16px;
        line-height: 26px;
        background: silver;
        color: #fff;
        border-radius: 50%;
        z-index: 2;
        font-size: 1rem;
        text-align: center;
    }

    .custom-step-item:first-child::before,
    .custom-step-item:last-child::before,
    .custom-step-item.custom-current::before {
        content: "";
        position: absolute;
        z-index: 1;
        bottom: -4px;
        left: 0;
        height: 4px;
        background: #fff;
        width: 50%;
    }

    .custom-step-item:last-child::before {
        left: auto;
        right: 0;
    }

    .custom-step-item.custom-current::before {
        background: DodgerBlue;
    }

    .custom-step-item.custom-completed {
        border-color: DodgerBlue;
    }

        .custom-step-item.custom-completed::after,
        .custom-step-item.custom-current::after {
            /*content: "\2713";*/
            content: "";
            background: DodgerBlue;
        }
       /*Curresnt Postition Color*/
    .custom-step-item.custom-current::after {
        background: DodgerBlue;
    }

@media screen and (max-width: 640px) {
    .custom-step-list, .custom-step-item {
        display: block;
        width: auto;
        text-align: left;
    }

    .custom-step-list {
        padding-left: 25px;
    }

    .custom-step-item {
        padding: 15px 15px 15px 25px;
        border: none;
        border-left: 4px solid silver;
    }

        .custom-step-item:first-child::before,
        .custom-step-item:last-child::before,
        .custom-step-item.custom-current::before {
            top: 0;
            bottom: 50%;
            right: auto;
            height: auto;
            left: -4px;
            width: 4px;
        }

        .custom-step-item:last-child::before {
            top: 50%;
            bottom: 0;
        }

        .custom-step-item::after {
            top: 0;
            bottom: 0;
            left: -10px;
            right: auto;
        }
}
