﻿/* Style the form */

* {
    box-sizing: border-box;
}

body {
    background-color: #f1f1f1;
}

#regForm {
    background-color: #ffffff;
    /*margin: 100px auto;*/
    margin-top: 100px;
    font-family: Raleway;
    padding: 40px;
    width: 100%;
    min-width: 300px;
}

h1 {
    text-align: center;
}

input, textarea {
    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 {
        background-color: #ffdddd;
    }
label.input {
    padding: 10px;
    width: 100%;
    font-size: 17px;
    font-family: Raleway;
    border: 1px solid #aaaaaa;
}
    label.input.invalid {
        background-color: #ffdddd;
    }
select {
    padding: 10px;
    width: 100%;
    font-size: 17px;
    font-family: Raleway;
    border: 1px solid #aaaaaa;
}

    /* Mark input boxes that gets an error on validation: */
    select.invalid {
        background-color: #ffdddd;
    }

/* Hide all steps by default: */
.simpleTab {
    display: none;
}

button {
    background-color: #04AA6D;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    font-size: 17px;
    font-family: Raleway;
    cursor: pointer;
}

    button:hover {
        opacity: 0.8;
    }

#prevBtn {
    background-color: #bbbbbb;
}

/* Make circles that indicate the steps of the form: */
.step {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbbbbb;
    border: none;
    border-radius: 50%;
    display: inline-block;
    opacity: 0.5;
}

    .step.active {
        opacity: 1;
    }

    /* Mark the steps that are finished and valid: */
    .step.finish {
        background-color: #04AA6D;
    }



.inlineError {
    padding: 10px 4px;
    margin-top: 7px;
    color: red;
    vertical-align: middle;
    height: 30px;
}

.icon {
    display: inline-block;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    transform: rotate(45deg);
    float: right;
    margin-right: -29px;
    margin-top: 14px;
}

    .icon::before, .icon::after {
        position: absolute;
        content: '';
        background-color: #fff;
    }

    .icon.icon-success {
        background: limegreen;
    }

        .icon.icon-success:before {
            width: 3px;
            height: 9px;
            top: 6px;
            left: 11px;
        }

        .icon.icon-success:after {
            width: 3px;
            height: 3px;
            top: 12px;
            left: 8px;
        }

    .icon.icon-failure {
        background: lightcoral;
    }

        .icon.icon-failure::before {
            width: 3px;
            height: 12px;
            top: 5px;
            left: 10px;
        }

        .icon.icon-failure::after {
            width: 12px;
            height: 3px;
            top: 10px;
            left: 5px;
        }