﻿


.progressNav a {
    text-decoration: none;
    font-size: 11px;
    color: var(--primary);
    display: block;
    transition: 0.3s;
}

.progressNav {
    width: 100%;
/*    z-index: 11;*/
    height: 100px;
}

    .progressNav a:hover {
        color: #999;
    }


/*=========PROGRESS BAR=========*/

.openProgressMobileHam {
    display: none;
}

.openProgressBar {
    display: block;
}

#progressBarMobile {
    margin: auto;
/*    margin-top: var(--Nav-Height);*/
    margin-bottom: 2em;
    /*    height: auto;*/
}
/*=====================START MINI SCROLLBAR==================*/
.progressBarLineSmallView {
    text-align: center;
    margin: auto;
    counter-reset: step;
    padding: inherit;
    padding-bottom: 10px;
}
    .progressBarLineSmallView li {
        list-style-type: none;
        /*        float: left;*/
        position: relative;
        text-align: center;
        text-transform: capitalize;
        white-space: nowrap;
        color: white;
        max-height: 5px;
        font-size: 7px;
        display: inline-block;
    }

    .progressBarLineSmallView a {
        color: white;
        background-color: #afafaf;
        border-radius: 50%;
        margin-right: 10px;
        margin-left: 10px;
    }


.progressBarLineSmallView a:hover {
    color: white;
    background-color: red
}
        .progressBarLineSmallView a:before {
            width: 15px;
            height: 15px;
            content: counter(step);
            counter-increment: step;
            font-size: 10px;
            display: block;
            text-align: center;
            margin: 0 auto 10px auto;
            border-radius: 50%;
            background-color: #afafaf;

        }


        .progressBarLineSmallView li:after {
            width: 100%;
            height: 2px;
            content: '';
            position: absolute;
            background-color: grey;
            top: 8px;
            left: -50%;
            z-index: -1;
        }

        .progressBarLineSmallView li:first-child:after {
            content: none;
        }

    .progressBarLineSmallView::after li:first-child:after {
        content: none;
    }

/*    .progressBarLineSmallView li.stageCompleted:before {
        background-color: green;
    }*/

    .progressBarLineSmallView a.stageActive:before {
        background-color: var(--active);
    }


    /*=====================END MINI SCROLLBAR==================*/

.folderName {
    margin: 0;
    font-size: 14px;
    font-weight: bold;
}

.avgAmt {
    font-size: 12px;
    background-color: #6a0dad;
    color: white;
    padding: 5px;
    border-radius: 5px;
    text-align: center;
    margin: 5px;
}
.totalAmt {
    font-size: 12px;
    background-color: #50AD0D;
    color: white;
    padding: 5px;
    border-radius: 5px;
    text-align: center;
    margin: 5px;
}

.progressBarLine {
    text-align: center;
    counter-reset: step;
    /*width: calc(100% - var(--Side-Icon-Nav-Width));*/
    width: 100%;
    overflow-x: auto;
    /* overflow-y: hidden;*/
    white-space: nowrap;
    padding: 1em;
    margin-bottom: 1em;
    border-radius: 10px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    position: absolute;
}


    .progressBarLine li {
        list-style-type: none;
        /*        float: left;*/
        position: relative;
        text-align: center;
        text-transform: capitalize;
        white-space: nowrap;
        color: var(--primary);
        max-height: 30px;
        font-size: 11px;
        display: inline-block;
        width: 200px;
    }

        .progressBarLine li:before {
            color: var(--primary);
            width: 35px;
            height: 35px;
            content: counter(step);
            counter-increment: step;
            line-height: 32px;
            font-size: 16px;
            border: 1px solid #bfbcbc;
            display: block;
            text-align: center;
            margin: 0 auto 10px auto;
            border-radius: 50%;
            background-color:white;
            background-color: var(--foreground);
            font-weight: bold;
            box-shadow: inset -1px 1px 3px 0px rgb(0 0 0 / 47%), inset 1px 2px 0px rgb(255 255 255 / 40%);
            cursor: pointer
        }

        .progressBarLine li:after {
            width: 100%;
            height: 6px;
            content: '';
            position: absolute;
            background-color: var(--secondary);
            top: 1rem;
            left: -50%;
            z-index: -1;
            box-shadow: inset 0 1px 6px rgb(14 14 14 / 15%), inset 0 1px 4px rgb(0 0 0 / 24%);
        }

        .progressBarLine li:first-child:after {
            content: none;
        }

    .progressBarLine::after li:first-child:after {
        content: none;
    }

    .progressBarLine li.stageCompleted {
        color: var(--success);
    }

        .progressBarLine li.stageCompleted:before {
            background-color: var(--success);
            font-size: 16px;
            content: '\2713 \fe0e';
            color: #ffffff;
            border: 2px solid #fff;
            box-shadow: inset 1px 1px 10px var(--success);
            cursor: pointer;
        }

    .progressBarLine li:hover p {
        visibility: visible;
    }



.stageHeaderSideNav {
    text-align: center;
    color: var(--primary);
    display: block;
    text-align: center;
    font-size: 14px;
    /* padding: 10px;*/
    font-weight: bold;
}

.folderName {
    color: var(--primary);
}


.openBtn {
    display: none
}

.progressNav .closeProgbtn {
    display: none;
}


.progressBarLine li:hover {
    color: #999
}

.progressBarLine li.stageActive {
    color: var(--info);
}

    .progressBarLine li.stageActive:before {
        background-color: var(--active);
        box-shadow: inset 0px 0px 3px 5px #ffffff94;
        border: 2px solid white;
        border: 5px solid white;
        box-shadow: 0px 0px 0px 2px var(--active);
        color: white;
        width: 36px;
        height: 36px;
        line-height: 25px;
        font-size: 18px;
    }

.progressBarLine li.previouslyCompleted:before {
    background-color: #FF7200;
    font-size: 16px;
    content: counter(step);
    color: var(--background);
    border: 2px solid var(--background);
    box-shadow: inset 1px 1px 10px #FFA705;
    cursor: pointer;
}

.subStageInfo {
    color: var(--background);
    cursor: pointer;
}

    .subStageInfo:hover {
        color: var(--success)
    }

.progressBarLine li.stageActive .subStageInfo {
    color: var(--info);
    font-size: 9px;
}

    .progressBarLine li.stageActive .subStageInfo:hover {
        color: var(--info);
        font-weight: bold
    }


    /*============================STAGE BAR ON PIPELINE=================*/
.stage-bar-line-wrapper {
    display: flex;
    justify-content: center;
}

.stageBarLine {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}
    .stageBarLine li {
        background-color: var(--background);
        padding: 1em;
        border-radius: 10px;
        margin: 5px;
        box-shadow: 0px 3px 5px rgb(0 0 0 / 30%);
        min-width: 200px;
    }

    #stageBarLine .folderName {
        word-wrap: break-word;
    }

    #stageBarLine li.stageActive {
        box-shadow: inset 0px 3px 8px 5px rgb(0 0 0 / 30%);
    }

    #stageBarLine .badge {
        float: right;
        margin-top: -9px;
    }

/*==================HORIZONTAL SCROLLBAR===============*/
.horizon {
    display: block
}
.progressBarLine::-webkit-scrollbar {
    display: block;
    width: 5.5px;
    position: absolute;
    display:none
}

.progressBarLine::-webkit-scrollbar-track {
    background: lightgrey;
    box-shadow: inset 0 0 1px grey;
    /*border-radius: 5px;*/
}

.progressBarLine::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

    .progressBarLine::-webkit-scrollbar-thumb:hover {
        background: var(--secondary);
    }

.stageBarLine::-webkit-scrollbar {
    display: block;
    width: 5.5px;
    position: absolute;
    display: none
}

.stageBarLine::-webkit-scrollbar-track {
    background: lightgrey;
    box-shadow: inset 0 0 1px grey;
    /*border-radius: 5px;*/
}

.stageBarLine::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

    .stageBarLine::-webkit-scrollbar-thumb:hover {
        background: var(--secondary);
    }

    .horizon i{
        font-size: 20px;
        color: var(--primary);
        cursor: pointer
    }


@media only screen and (min-device-width : 320px) and (max-device-width : 1023px) {
    .progressBarLineSmallView {
        visibility: hidden;
    }

    .subStageInfo {
        color: inherit;
    }

    .progressBarLine {
        position: inherit;
    }

    .folderName {
        margin: 0;
        font-size: inherit;
        font-weight: bold;
    }

    .horizon{
        display: none
    }

    .stageHeaderSideNav {
        display: none
    }

    .progressBarLine li.stageActive .subStageInfo {
        font-weight: bold;
        font-size: inherit;
    }

    .progressNav {
        height: auto;
        width: 0;
        top: var(--Nav-Height);
        right: 0;
        background-color: #e9ecef;
        box-shadow: 0px -1px 15px #000000a6;
        border-top: 3px solid var(--primary);
        overflow-x: hidden;
        transition: 0.5s;
      /*  position: absolute;*/
    }

    .progressBarLine li p {
        visibility: initial;
        text-align: right;
        white-space: initial;
    }

    .openProgressBar {
        width: 100%;
       /* top: 0;*/
    }

    #progressBarMobile {
        position: fixed;
        top: calc(var(--Nav-Height) + var(--Sub-Nav));
        overflow: auto;
        z-index: 100;
    }
    .progStat {
        line-height: 1em;
    }

    .progressBarLine li:after {
        display: none;
    }

    .progressBarLine li {
        display: table;
        width: 100% !important;
        text-align: inherit;
        padding: 0.5em;
    }

    .progressNav .closeProgbtn {
        display: block;
    }

    #stageBarLine {
        display: grid;
        top: 100px;
        position: relative;
    }

        #stageBarLine li {
            width:100% !important;
        }

}

@media only screen and (max-width : 1023px) {

    /*#region stages*/
    .progressNav a {
        font-size: 14px;
        width: 80%;
    }
    .progressNav a .folderName {
        font-size: 12px;
    }

    .titleTabs {
        float: none;
    }

    .progStat {
        line-height: 1em;
    }

    .progressBarLine li:before {
        display: inline-block;
        margin: 0.5em;
    }

/*    .progressBarLine li:after {
        display: none;
    }
*/

    .progressNav .closeProgbtn {
        display: block;
    }

    .stageHeaderNotMobile {
        display: none;
    }


    .openProgressMobileHam {
        display: flex;
        user-select: none;
        transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    }
}

@media only screen and (max-width: 750px) {
    .progressBarContainer {
        display: none;
    }

 
}