$background-color: #D7DADB ;
$background-color-active: #088CCE;

$border-color: #D7DADB;
$border-color-active: #088CCE;

$font-color: grey;
$font-color-active: white;

.wizard-content .wu-frame {
    background-color: #F3F3F3;
}

@media(min-width: 1200px) {
    .steps-container {
        width: 1000px;
        margin: auto auto;
    }
}

.steps-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    list-style: none;
}

@media (min-width: 998px) {
    .steps-container > .steps > span {
        font-size: 14pt;
    }
}


.steps {
    height: 50px;
    width: 150px;
    text-align: center;
    line-height: 50px;
    position: relative;
    margin: 10px 0 10px 20px;
    display: inline-block;

    span {
        font-size: 12pt;
        position: relative;
        z-index: 2;
    }

    &:before, &:after {
        content: '';
        position: absolute;
        left: 0;
        width: 100%;
        height: 25px;
    };

    a {
        color: $font-color;
    }

    &:before {
        top: -2px;
        border-top: 2px solid $border-color;
        border-right: 2px solid $border-color;
        border-left: 2px solid $border-color;
        background: $background-color;
        -moz-transform: skew(45deg);
        -webkit-transform: skew(45deg);
        transform: skew(45deg);
    }

    &:after {
        bottom: -2px;
        border-left: 2px solid $border-color;
        border-right: 2px solid $border-color;
        border-bottom: 2px solid $border-color;
        background: $background-color;
        -moz-transform: skew(-45deg);
        -webkit-transform: skew(-45deg);
        transform: skew(-45deg);
    }

    &:first-child:before, &:first-child:after {
        border-left: none;
    }

    &:first-child {
        background: $background-color;
        border-left: 2px solid $border-color;
        border-top: 2px solid $border-color;
        border-bottom: 2px solid $border-color;
        margin-right: 18px;
    }

    &:not(:first-child):not(:last-child) {
        top: 2px;
    }

    &:last-child {
        background: $background-color;
        border-right: 2px solid $border-color;
        border-top: 2px solid $border-color;
        border-bottom: 2px solid $border-color;
        margin-left: 38px;
    }

    &:last-child:before {
        border-right: none;
    }

    &:first-child:before,
    &:first-child:after {
        left: 18px;
    }

    &:last-child:before,
    &:last-child:after {
        left: -18px;
    }

    &.active {
        a {
            color: $font-color-active;
        }

        &:before, &:after, &:first-child, &:last-child {
            background: $background-color-active;
            border-color: $border-color-active;
        }
    }
}

.steps {
    flex: 1 1 auto;
}

.steps:last-child {
    margin-right: 30px;
}

*, :before, :after {
    box-sizing: content-box;
}

a, a:hover {
    text-decoration: none;
}
