﻿/* Style the form */
/*#regForm {
    background-color: #ffffff;
    margin: 100px auto;
    padding: 40px;
    width: 70%;
    min-width: 300px;
}*/
/* Style the input fields */

/*input {
        padding: 10px;
        width: 100%;
        font-size: 17px;
        font-family: Raleway;
        border: 1px solid #aaaaaa;
            }*/

/* Mark input boxes that gets an error on validation: */
/*input.invalid {
    border-color: red;
    border-width: 1px;
}
*/
.invalidError {
    border-color: red;
    border-width: 1px;
}
/* Hide all steps by default: */
.tab {
    display: none;
    min-height: 450px;
}

/* Make circles that indicate the steps of the form: */
.step {
    height: 15px;
    width: 15px;
    background-color: #bbbbbb;
    color:black;
    border: none;
    border-radius: 50%;
    display: inline-block;
    opacity: 0.6;
}

    /* Mark the active step: */
    .step.active {
        opacity: 1;
        background: linear-gradient(180deg,#d91e1e 0,#551212 100%);
        color: #f3f3f3;
    }

    /* Mark the steps that are finished and valid: */
    .step.finish {

        background: linear-gradient(180deg,#d91e1e 0,#551212 100%);
        color: #f3f3f3;
    }



/* Progressbar */
.progressbar {
    position: relative;
    display: flex;
    justify-content: space-between;
    counter-reset: step;
    margin: 2rem 0 4rem;
}

    .progressbar::before,
    .progress {
        content: "";
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        height: 4px;
        width: 100%;
        background-color: #dcdcdc;
        z-index: -1;
    }

.progress {
    width: 0%;
    transition: 0.3s;
}

.progress-step {

    width: 2.5rem;
    height: 2.5rem;
    background-color: #dcdcdc;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .progress-step::before {
        counter-increment: step;
        content: counter(step);
        font-weight: bold;
    }

    .progress-step::after {
        content: attr(data-title);
        position: absolute;
        top: calc(100% + 1rem);
        font-size: 1rem;
        color: brown;
        font-weight:bold;
    }

