﻿.steps {
    margin: 0 0 25px;
    padding: 0;
    list-style-type: none
}

    .steps li {
        display: block;
        background-color: #eee;
        position: relative;
        padding: 1px;
        margin-bottom: 2px;
        text-align: center
    }
        .steps li.completed
        {
            background-color: #611232;
            color: #fff
        }

@media (min-width:768px) {
    .steps li i,
    .steps li span {
        position: relative;
        z-index: 20
    }

    .steps li {
        font-size: 14px;
        display: inline-block;
        color: #000;
        margin-bottom: 0;
        text-align: left;
        height: 50px !important;
        width: 230.5px !important;
        padding: 0 30px 0 50px
    }

        .steps li i {
            padding-top: 18px;
            font-size: 35px;
            color: #fff;
            display: block;
            margin: auto;
            text-align: center
        }

        .steps li:first-child {
            border-top-left-radius: 5px;
            border-bottom-left-radius: 5px;
            z-index: 5
        }

/*        .steps li:nth-child(2) {
            z-index: 4;
        }*/

    .steps li:last-child {
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px
    }

            .steps li:last-child:after,
            .steps li:last-child:before {
                display: none
            }

        .steps li:after,
        .steps li:before {
            content: "";
            position: absolute;
            background-color: #ececec;
        }

        .steps li:after {
            position: absolute;
            right: -29px;
            top: 9px;
            border-radius: 3px;
            border-right: 3px solid #fff;
            border-top: 3px solid #fff;
            height: 52px;
            width: 52px;
            -webkit-transform: rotate(45deg);
            -ms-transform: rotate(45deg);
            transform: rotate(45deg)
        }

        .steps li.completed {
            background-color: #611232;
            color: #fff;
            height: 80px;
            top: 0;
        }
            .steps li.completed i,
            .steps li.completed:after,
            .steps li.completed:before {
                background-color: #611232
            }

            .steps li.completed:after {
                height: 38px;
                width: 38px;
                top:6px;
                right: -17px;
            }

        .steps li:last-child {
            width: 304px
        }
}


