﻿@import "variables.css";

/*Hide all except first fieldset*/
#msform fieldset:not(:first-of-type) {
    display: none;
}

#progressbar {
    margin-bottom: 20px;
    overflow: hidden;
    counter-reset: step;
    text-align: center;
    /*border-bottom: 1px solid #CED4DA;    
    padding-bottom: 5px;*/
}

#progressbar li {
    list-style-type: none;
    color: #000000;
    text-transform: uppercase;
    font-size: 9px;
    width: 33.33%;
    float: left;
    position: relative;
    letter-spacing: 1px;
}

#progressbar li:before {
    content: counter(step);
    counter-increment: step;
    width: 24px;
    height: 24px;
    line-height: 26px;
    display: block;
    font-size: 12px;
    color: var(--button-color);
    background: #666;
    border-radius: 25px;
    margin: 0 auto 10px auto;
}

#progressbar li:after {
    /*progressbar connectors*/
    content: '';
    width: 93%;
    height: 2px;
    background: #666;
    position: absolute;
    left: -46%;
    top: 9px;
    z-index: 1;
}

#progressbar li:first-child:after {
    /*connector not needed before the first step*/
    content: none;
}

#progressbar li.active:before, #progressbar li.active:after {
    /*marking active/completed steps green*/
    /*The number of the step and the connector before it = green*/
    background: var(--button-background-color);
    color: var(--button-color);
}
