﻿.bwizard {
    position: relative;
}

    .bwizard .well {
        margin: 3px 0;
        padding: 5px;
    }

.bwizard-steps {
    margin: 0;
    padding: 0;
    display: inline-block;
    background-color: #fff;
    font-weight: bold;
}

    .bwizard-steps li {
        display: inline-block;
        position: relative;
        margin-right: 15px;
        line-height: 18px;
        list-style: none;
        padding: 12px 17px 10px 30px;
        background-color: #e5e5e5;
        zoom: 1;
        *display: inline;
        *padding-left: 17px;
    }

        .bwizard-steps li:first-child {
            -moz-border-radius: 4px 0 0 4px;
            -webkit-border-radius: 4px 0 0 4px;
            border-radius: 4px 0 0 4px;
            padding-left: 12px;
        }

            .bwizard-steps li:first-child:before {
                border: none;
            }

        .bwizard-steps li:last-child {
            -moz-border-radius: 0 4px 4px 0;
            -webkit-border-radius: 0 4px 4px 0;
            border-radius: 0 4px 4px 0;
            margin-right: 0;
        }

            .bwizard-steps li:last-child:after {
                border: none;
            }

        .bwizard-steps li:before {
            position: absolute;
            left: 0;
            top: 0;
            height: 0;
            width: 0;
            border-bottom: 20px inset transparent;
            border-left: 20px solid #fff;
            border-top: 20px inset transparent;
            content: "";
        }

        .bwizard-steps li:after {
            position: absolute;
            right: -20px;
            top: 0;
            height: 0;
            width: 0;
            border-bottom: 20px inset transparent;
            border-left: 20px solid #e5e5e5;
            border-top: 20px inset transparent;
            content: "";
            z-index: 2;
        }

    .bwizard-steps .label {
        margin: 0 5px 0 0;
        padding: 1px 5px 2px;
        position: relative;
        top: -1px;
        background-color: #777;
    }

    .bwizard-steps a {
        color: #777;
    }

    .bwizard-steps .success {
        color: #3c763d;
        background-color: #dff0d8; 
    }

        .bwizard-steps .success:after {
            border-left-color: #dff0d8;
        }

        .bwizard-steps .success a {
            color: #3c763d;
        }

        .bwizard-steps .success .label {
            background-color: #3c763d;
        }

    .bwizard-steps .current {
        color: #a94442;
        background-color: #f2dede;
    }

        .bwizard-steps .current:after {
            border-left-color: #f2dede;
        }

        .bwizard-steps .current a {
            color: #a94442;
        }

        .bwizard-steps .current .label {
            background-color: #a94442;
        }

    .bwizard-steps .active {
        color: #31708f;
        /*background-color: #d9edf7;*/
    }

        /*.bwizard-steps .active:after {
            border-left-color: #d9edf7;
        }*/

        .bwizard-steps .active a {
            color: #31708f;
        }

        .bwizard-steps .active .label {
            background-color: #31708f;
        }

    .bwizard-steps a:hover {
        text-decoration: none;
    }

    .bwizard-steps.clickable li:not(.active) {
        cursor: pointer;
    }

    .bwizard-steps.clickable li:hover:not(.active) a {
        color: #31708f;
        font-weight: bold;
    }

    .bwizard-steps.clickable li:hover:not(.active) .label {
        background-color: #31708f;
    }

@media (max-width: 480px) {
    /*badges only on small screens*/
    .bwizard-steps li,
    .bwizard-steps li.active,
    .bwizard-steps li:first-child,
    .bwizard-steps li:last-child {
        background-color: transparent;
        padding: 0;
        margin-right: 0;
    }

        .bwizard-steps li:after,
        .bwizard-steps li:before {
            border: none;
        }
}
