@font-face{
    font-family:'FontAwesome';
    src:url('../fonts/fontawesome-webfont.eot?v=4.6.1');
    src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.6.1') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff2?v=4.6.1') format('woff2'),url('../fonts/fontawesome-webfont.woff?v=4.6.1') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.6.1') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.6.1#fontawesomeregular') format('svg');
    font-weight:normal;
    font-style:normal
}
.progressbar-container {
    width: 80%;
    margin: 30px auto;
}
.progressbar {
    counter-reset: step;
}
.progressbar li {
    list-style-type: none;
    float: left;
    font-size: 12px;
    position: relative;
    text-align: center;
    text-transform: uppercase;
}

.progressbar li, .progressbar li a {
    color: #7d7d7d;
}

/* one item */
.progressbar li:first-child:nth-last-child(1) {
    width: 100%;
}

/* two items */
.progressbar li:first-child:nth-last-child(2),
.progressbar li:first-child:nth-last-child(2) ~ li {
    width: 50%;
}

/* three items */
.progressbar li:first-child:nth-last-child(3),
.progressbar li:first-child:nth-last-child(3) ~ li {
    width: 33.3333%;
}

/* four items */
.progressbar li:first-child:nth-last-child(4),
.progressbar li:first-child:nth-last-child(4) ~ li {
    width: 25%;
}

/* five items */
.progressbar li:first-child:nth-last-child(5),
.progressbar li:first-child:nth-last-child(5) ~ li {
    width: 20%;
}

.progressbar li:before {
    width: 30px;
    height: 30px;
    content: counter(step);
    counter-increment: step;
    line-height: 28px;
    border: 2px solid #7d7d7d;
    display: block;
    text-align: center;
    margin: 0 auto 10px auto;
    border-radius: 50%;
    background-color: white;
}
.progressbar li:after {
    width: 100%;
    height: 2px;
    content: '';
    position: absolute;
    background-color: #7d7d7d;
    top: 15px;
    left: -50%;
    z-index: -1;
}

.progressbar li:first-child:after {
    content: none;
}
.progressbar li.active, .progressbar li.active a {
    color: #B40404 !important;
    font-weight: 800;
}
.progressbar li.active:before {
    border-color: #B40404;
    border: 3px solid #B40404;
}
.progressbar li.active + li:after {
    background-color: #B40404;
}

.progressbar li.done:before {
    display:block;
    font:normal normal normal 14px/28px FontAwesome;
    font-size:inherit;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
    content: "\f00c";
    border-color: green;
    color: green;
}

.progressbar li.done + li:after {
    background-color: green;
    border-color: green;
}

.progressbar li.done, .progressbar li.done a {
    color: green !important;
}