﻿.steps {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    overflow: auto;
}


.step-content {
    width: 10rem;
    max-width: 10rem !important;
    min-width: 10rem;
    padding-right: 0rem;
    font-size: 13.2px !important;
}

.step-success .step-circle {
    color: #ffffff;
    background-color: #28a745;
    border-color: #28a745;
}

.step-circle {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    color: #990011;
    border: 2px solid #919397;
    border-radius: 100%;
    background-color: #fff;
}

    .step-circle:hover {
        border-color: #990011 !important;
    }

    .step-circle::before {
        content: "";
        display: block;
        position: absolute;
        top: 50%;
        left: -2px;
        width: calc(8rem + 1rem - 1.5rem) !important;
        height: 2px;
        transform: translate(-100%,-50%);
        color: #adb5bd;
        background-color: currentColor;
    }

.step-text {
    color: #777777 !important;
    word-break: break-word;
    margin-top: 0.25em;
    text-align: center;
}

    .step-text:hover {
        color: #990011 !important;
    }

.mobile_view {
    display: none;
}

@media (max-width: 64rem) {
    .step-content {
        width: 8.6rem;
        max-width: 8.6rem !important;
        min-width: 8.6rem;
        padding-right: 0rem;
        font-size: 11px !important;
    }

    .step-circle::before {
        content: "";
        display: block;
        position: absolute;
        top: 50%;
        left: -2px;
        width: calc(6.8rem + 1rem - 1.5rem) !important;
        height: 2px;
        transform: translate(-100%,-50%);
        color: #adb5bd;
        background-color: currentColor;
    }
}

@media (max-width: 768px) {
    .steps {
        -webkit-box-direction: normal;
        -ms-flex-direction: inherit;
        flex-direction: inherit;
    }

    .step-content {
        width: 0rem;
        max-width: 0rem !important;
        padding-right: 0rem;
    }

    .step-circle::before {
        width: calc(4rem + 1rem - 1.5rem) !important;
    }

    .step-content {
        width: 6rem;
        max-width: 6rem !important;
        min-width: 6rem;
        padding-right: 0rem;
        font-size: 12px !important;
    }

    .steps .step:first-child {
        margin-left: auto;
    }
}



@media (max-width:575.98px) {
    body {
        font-size: 14px;
    }

    .step-circle {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 1.5rem;
        height: 1.5rem;
        color: #adb5bd;
        border: 2px solid #adb5bd;
        border-radius: 100%;
        background-color: #fff;
    }

    .step-content {
        width: 6.3rem;
        max-width: 6.3rem !important;
        min-width: 6.3rem;
        padding-right: 0rem;
    }

    .step-text {
        color: #777777 !important;
        word-break: break-word;
        margin-top: 0.25em;
        text-align: center;
    }


    .step-circle::before {
        width: calc(5.3rem + 1rem - 1.5rem) !important;
    }


    .desktop_view {
        display: none
    }

    .mobile_view {
        display: block;
    }

    .steps .step:first-child {
        margin-left: 15px;
    }

    .steps .step:last-child {
        margin-right: 15px;
    }
}

@media (max-width:375px) {
    .step-content {
        width: 5.6rem;
        max-width: 5.6rem !important;
        min-width: 5.6rem;
        padding-right: 0rem;
    }



    .step-circle::before {
        width: calc(4.6rem + 1rem - 1.5rem) !important;
    }

    .steps .step:first-child {
        margin-left: 0;
    }

    .steps .step:last-child {
        margin-right: 0;
    }
}

@media (max-width: 320px) {
    .step-content {
        width: 4.6rem;
        max-width: 4.6rem !important;
        min-width: 4.6rem;
        padding-right: 0rem;
    }

    .step-circle::before {
        width: calc(3.6rem + 1rem - 1.5rem) !important;
    }
}



/**==========================*/
/*#progressbar {
    margin-bottom: 30px;
    overflow: hidden;
    color: lightgrey;
}

    #progressbar .active {
        color: #000000;
    }

    #progressbar li {
        list-style-type: none;
        font-size: 12px;
        width: 13.5%;
        float: left;
        position: relative;
    }

    #progressbar li:before {
        width: 50px;
        height: 50px;
        line-height: 45px;
        display: block;
        font-size: 18px;
        color: #ffffff;
        background: lightgray;
        border-radius: 50%;
        margin: 0 auto 10px auto;
        padding: 2px;
    }


    #progressbar li:after {
        content: '';
        width: 100%;
        height: 2px;
        background: lightgray;
        position: absolute;
        left: 0;
        top: 25px;
        z-index: -1;
    }


    #progressbar li.active:before, #progressbar li.active:after {
        background: skyblue;
    }





@media (min-width: 576px) {
    .step-circle::before {
        content: "";
        display: block;
        position: absolute;
        top: 50%;
        left: -2px;
        width: calc(2.1rem + 1rem - 1.5rem);
        height: 2px;
        transform: translate(-100%,-50%);
        color: #adb5bd;
        background-color: currentColor;
    }
   
}


@media (min-width: 768px) {
    .step-circle::before {
        content: "";
        display: block;
        position: absolute;
        top: 50%;
        left: -2px;
        width: calc(4rem + 1rem - 1.5rem);
        height: 2px;
        transform: translate(-100%,-50%);
        color: #adb5bd;
        background-color: currentColor;
    }
    .step-text {
        color: #adb5bd;
        word-break: break-all;
        margin-top: 0.25em;
        padding: 0 45px;
    }
}


@media (min-width: 992px) {
    .step-circle::before {
        content: "";
        display: block;
        position: absolute;
        top: 50%;
        left: -2px;
        width: calc(6rem + 1rem - 1.5rem);
        height: 2px;
        transform: translate(-100%,-50%);
        color: #adb5bd;
        background-color: currentColor;
    }
}


@media (min-width: 1200px) {
    .step-circle::before {
        content: "";
        display: block;
        position: absolute;
        top: 50%;
        left: -2px;
        width: calc(9rem + 1rem - 1.5rem);
        height: 2px;
        transform: translate(-100%,-50%);
        color: #adb5bd;
        background-color: currentColor;
    }
}

    @media (max-width: 575.98px) {

        .step-text {
            padding: 0 13px;
            font-size: 8px;
        }

        #progressbar {
            margin-bottom: 30px;
            overflow: hidden;
            color: lightgrey;
            padding: 0;
        }

        .step-circle {
            width: 1.5rem;
            height: 1.5rem;
        }

            .step-circle::before {
                content: "";
                display: block;
                position: absolute;
                top: 50%;
                left: -2px;
                width: calc(2rem + 1rem - 1.5rem);
                height: 2px;
                transform: translate(-100%,-50%);
                color: #adb5bd;
                background-color: currentColor;
            }

        .step-content {
            box-sizing: content-box;
            display: flex;
            align-items: center;
            flex-direction: column;
            width: 3.5rem;
            min-width: 3.5rem;
            max-width: 3.5rem;
            padding-top: 0.5rem;
            padding-right: 0rem;
        }
    }


    @media (max-width: 767.98px) {
    }

    @media (max-width: 991.98px) {
    }


    @media (max-width: 1199.98px) {
    }
@media screen and (device-width:320px) {
    .step-circle::before {
        content: "";
        display: block;
        position: absolute;
        top: 50%;
        left: -2px;
        width: calc(1.3rem + 1rem - 1.5rem);
        height: 2px;
        transform: translate(-100%,-50%);
        color: #adb5bd;
        background-color: currentColor;
    }
}
*/
