* {
    margin: 0;
    padding: 0
}

html {
    height: 100%
}

h2 {
    color: #2F8D46;
}

#form {
    text-align: center;
    position: relative;
    margin-top: 20px
}

    #form fieldset {
        background: white;
        border: 0 none;
        border-radius: 0.5rem;
        box-sizing: border-box;
        width: 100%;
        margin: 0;
        padding-bottom: 20px;
        position: relative
    }

.finish {
    text-align: center
}

#form fieldset:not(:first-of-type) {
    display: none
}

#form .previous-step, .next-step {
    width: 100px;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 0px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px 10px 0px;
    float: right
}

.form, .previous-step {
    background: #616161;
}

.form, .next-step {
    background: #2F8D46;
}

#form .previous-step:hover,
#form .previous-step:focus {
    background-color: #000000
}

#form .next-step:hover,
#form .next-step:focus {
    background-color: #0086a9
}

.text {
    color: #2F8D46;
    font-weight: normal
}

#progressbar {
    margin-bottom: 30px;
    overflow: hidden;
    color: lightgrey
}

    #progressbar .active {
        color: #0086a9
    }

    #progressbar .completed {
        color: #26c281;
        font-weight:lighter;
    }

        #progressbar .completed:before {
            background: #26c281 !important
        }

        #progressbar .completed:after {
            background: #26c281 !important
        }

    #progressbar .rejected {
        color: crimson;
        font-weight: lighter;
    }

        #progressbar .rejected:before {
            background: crimson !important
        }

        #progressbar .rejected:after {
            background: crimson !important
        }

    #progressbar li {
        list-style-type: none;
        font-size: 15px;
        width: 15%;
        float: left;
        position: relative;
        font-weight: 400;
        padding-bottom:5px;
    }

    #progressbar #step1:before {
        content: "1"
    }

    #progressbar #step2:before {
        content: "2"
    }

    #progressbar #step3:before {
        content: "3"
    }

    #progressbar #step4:before {
        content: "4"
    }

    #progressbar #step5:before {
        content: "5"
    }

    #progressbar #step6:before {
        content: "6"
    }

    #progressbar li:before {
        width: 50px;
        height: 50px;
        line-height: 45px;
        display: block;
        font-size: 20px;
        color: #ffffff;
        background: lightgray;
        border-radius: 50%;
        margin: 0 auto 10px auto;
        padding: 2px;
        font-weight:bolder;
    }

    #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: #0086a9
    }

.progress {
    height: 20px
}

.progress-bar {
    background-color: #2F8D46
}

.rotate-progress-bar-ul{
    transform:rotate(180deg)
}

.rotate-progress-bar-li {
    transform: rotate(-180deg)
}