﻿/*progressbar*/
#progressbar {
    margin-top: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    /*CSS counters to number the steps*/
    counter-reset: step;
    width: 100%;
    text-align: center;
}

    #progressbar li {
        list-style-type: none;
        color: rgb(51, 51, 51);
        text-transform: uppercase;
        font-size: 12px;
        width: 20%;
        float: left;
        position: relative;
    }

        #progressbar li:before {
            content: counter(step);
            counter-increment: step;
            width: 30px;
            line-height: 30px;
            display: block;
            font-size: 14px;
            font-weight: bold;
            color: #333;
            background: #c0c0c0;
            border-radius: 10px;
            margin: 0 auto 5px auto;
        }
        /*progressbar connectors*/
        #progressbar li:after {
            content: '';
            width: 100%;
            height: 2px;
            background: white;
            position: absolute;
            left: -50%;
            top: 14px;
            z-index: -1; /*put it behind the numbers*/
            background-color: #c0c0c0;
        }

        #progressbar li:first-child:after {
            /*connector not needed before the first step*/
            content: none;
        }
        /*marking active/completed steps green*/
        /*The number of the step and the connector before it = green*/
        #progressbar li.active:before, #progressbar li.active:after {
            background: #CABB41;
            color: white;
        }

        #progressbar li.validated:before, #progressbar li.validated:after {
            content: "\2714";
            background: #32b61d;
            color: white;
        }

        #progressbar li.ignored:before {
            content: "\274C";
            background: #972323;
            color: white;
        }

        #progressbar li.ignored:after {
            background: #972323;
        }
