﻿#stepper {
    margin-top: 25px;
    text-align: center;
    border: 1px solid #f0f0f0;
    padding: 25px;
}

.stepper-nav {
    float: right;
    margin-top: 50px;
}

.stepper-tab-header {
    text-align: center;
    margin-bottom: 50px;
}

.stepper-tab-info {
    font-style: italic;
    text-align: center;
}

.stepper-tab {
    display: none;
    margin-top: 50px;
}

.invalid {
    background-color: #f2dede;
    color: #a94442;
}

#previous {
    background-color: white;
    color: #17519d;
}

.step {
    min-height: 25px;
    min-width: 25px;
    margin: 0 2px;
    background-color: #bbb;
    border: none;
    border-radius: 50%;
    display: inline-block;
    opacity: 0.5;
}

    .step.active {
        opacity: 1;
        background-color: #17519d;
        color: white;
    }

.step-line {
    border-top: 1px solid #bbb;
    padding: 2px;
    margin-right: 20px;
    width: 75px;
    display: inline-block;
}

    .step-line.active {
        color: #17519d;
    }


.step-detail {
    margin: 0 10px;
    font-weight: 600;
}

    .step-detail.active {
        color: #17519d;
    }

@media only screen and (max-width: 900px) {
    .stepper-nav {
        float: none;
        text-align: center;
    }

    .step-line {
        display: none;
    }

    .step-detail {
        display: none;
    }
}

.step-radio {
    margin: 25px 0;
}

.step-radio [type="radio"]:checked,
.step-radio [type="radio"]:not(:checked) {
    position: absolute;
    left: -9999px;
}

    .step-radio [type="radio"]:checked + label,
    .step-radio [type="radio"]:not(:checked) + label {
        position: relative;
        padding-left: 50px;
        cursor: pointer;
        line-height: 30px;
        display: inline-block;
        color: #666;
        font-size: 24px;
    }

        .step-radio [type="radio"]:checked + label:before,
        .step-radio [type="radio"]:not(:checked) + label:before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            width: 30px;
            height: 30px;
            border: 1px solid #ddd;
            border-radius: 100%;
            background: #fff;
        }

        .step-radio [type="radio"]:checked + label:after,
        .step-radio [type="radio"]:not(:checked) + label:after {
            content: '';
            width: 20px;
            height: 20px;
            background: #17519d;
            position: absolute;
            top: 5px;
            left: 5px;
            border-radius: 100%;
            -webkit-transition: all 0.2s ease;
            transition: all 0.2s ease;
        }

        .step-radio [type="radio"]:not(:checked) + label:after {
            opacity: 0;
            -webkit-transform: scale(0);
            transform: scale(0);
        }

        .step-radio [type="radio"]:checked + label:after {
            opacity: 1;
            -webkit-transform: scale(1);
            transform: scale(1);
        }
