﻿.wizard {
    margin-top: 30px;
    margin-bottom: 30px;
}

    .wizard a {
        padding: 5px 12px 5px;
        font-size: 0.8em;
        padding-left: 25px;
        margin-right: 2px;
        background: #e4e2e2;
        position: relative;
        display: inline-block;
        color: #1c1c1d;
    }

        .wizard a:before {
            width: 0;
            height: 0;
            border-top: 15px inset transparent;
            border-bottom: 15px inset transparent;
            border-left: 10px solid #fff;
            position: absolute;
            content: "";
            top: 0;
            left: 0;
        }

        .wizard a:after {
            width: 0;
            height: 0;
            border-top: 15px inset transparent;
            border-bottom: 15px inset transparent;
            border-left: 10px solid #e4e2e2;
            position: absolute;
            content: "";
            top: 0;
            right: -10px;
            z-index: 2;
        }

        .wizard a:first-child:before,
        .wizard a:last-child:after {
            border: none;
        }

        .wizard a:first-child {
            -webkit-border-radius: 4px 0 0 4px;
            -moz-border-radius: 4px 0 0 4px;
            border-radius: 4px 0 0 4px;
        }

        .wizard a:last-child {
            -webkit-border-radius: 0 4px 4px 0;
            -moz-border-radius: 0 4px 4px 0;
            border-radius: 0 4px 4px 0;
        }

    .wizard .badge {
        margin: 0 5px 0 18px;
        position: relative;
        top: -1px;
    }

    .wizard a:first-child .badge {
        margin-left: 0;
    }

    .wizard .current {
        background: #98a59d;
        color: #fff;
    }

        .wizard .current:after {
            border-left-color: #007ACC;
        }

/* ff anti-aliasing bug - http://coderwall.com/p/tpmsta */
.mywizard li {
    position: relative;
    background: #f5f5f5;
    padding-right: 30px;
    padding-left: 5px;
}

    .mywizard li a:after, .mywizard li a:before {
        left: 100%;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
    }

    .mywizard li a:after {
        border-color: rgba(245, 245, 245, 0);
        border-left-color: #f5f5f5;
        border-width: 20px;
        top: 50%;
        margin-top: -20px;
        margin-left: -30px;
    }

    .mywizard li a:before {
        border-color: rgba(255, 255, 255, 0);
        border-left-color: #fff;
        border-width: 30px;
        top: 50%;
        margin-top: -30px;
        margin-left: -30px;
    }

    .mywizard li .badge {
        vertical-align: text-bottom;
        padding-top: 3px;
    }