#checkout-steps {
	display: table;
    margin: 30px 0 17px;
    padding: 0;
    list-style: none;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    background: #fff;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    font: bold 13px/49px Arial, Helvetica, sans-serif;
    color: #3b3b3b;
    width:100%;
}

.main_bg #checkout-steps {
    margin-top: 20px;
    max-width: 1210px;
    margin-left: auto;
    margin-right: auto;
}

#checkout-steps li {
	width:auto !important;
    display: table-cell;
}

#checkout-steps li:first-child span,
#checkout-steps li:first-child a {
    border-radius: 6px 0 0 6px;
    -webkit-border-radius: 6px 0 0 6px;
    overflow: hidden;
}

#checkout-steps li.last-child span,
#checkout-steps li.last-child a {
    background: none;
    border-radius: 0 6px 6px 0;
    -webkit-border-radius: 0 6px 6px 0;
}

#checkout-steps li:last-child span,
#checkout-steps li:last-child a {
    background: none;
    border-radius: 0 6px 6px 0;
    -webkit-border-radius: 0 6px 6px 0;
}

#checkout-steps li span,
#checkout-steps li a {
    display: block;
    background: url('images/bg-checkout-steps.gif') no-repeat 100% 50%;
    position: relative;
    text-decoration: none;
    color: #3b3b3b;
    min-height: 49px;
    text-align: center;
    padding: 0 20px;
    font: inherit;
}

#checkout-steps.scaling-ready li span,
#checkout-steps.scaling-ready li a {
    display: block;
    float: none;
}

#checkout-steps.scaling-ready li a:hover {
}

#checkout-steps.scaling-ready li.active span,
#checkout-steps.scaling-ready li.active a {
    background: url('images/bg-checkout-steps-active.png') no-repeat 100% 50%;
    margin-left: -10px;
    padding-left: 30px;
    z-index: 1;
    color: #fff;
}

#checkout-steps.scaling-ready li.success a:hover,
#checkout-steps.scaling-ready li.success span,
#checkout-steps.scaling-ready li.success a {
    background: url('images/bg-checkout-steps-success.png') no-repeat 100% 50%;
    color: #fff;
    z-index: 3;
    margin-left: -10px;
    padding-left: 30px;
    margin-right: -10px;
    padding-right: 30px;
}

#checkout-steps li a:hover {
    z-index: 2;
}

#checkout-steps li.last-child a:hover,
#checkout-steps li.active.last-child span,
#checkout-steps li.active.last-child a {
    background-position: 0 50%;
}

#checkout-steps li:last-child a:hover,
#checkout-steps li.active:last-child span,
#checkout-steps li.active:last-child a {
    background-position: 0 50%;
}

#checkout-steps.scaling-ready li.success.last-child a:hover,
#checkout-steps.scaling-ready li.success.last-child span,
#checkout-steps.scaling-ready li.success.last-child a {
    margin-right: -20px;
    padding-right: 40px;
}

#checkout-steps.scaling-ready li.success:last-child a:hover,
#checkout-steps.scaling-ready li.success:last-child span,
#checkout-steps.scaling-ready li.success:last-child a {
    margin-right: -20px;
    padding-right: 40px;
}

@media only screen and (max-width:979px) {
    #checkout-steps {
        line-height: 41px;
        text-align: center;
    }

    #checkout-steps li {
    	display: block;
        width: 100% !important;        
    }

    #checkout-steps li span,
    #checkout-steps li a {
        min-height: 39px;
        line-height: 39px;
        padding: 0 0 9px;
        background: url(images/bg-checkout-steps-alt.png) no-repeat 50% 100%;
        margin: 0 0 -11px;
        text-align: center;
    }

    #checkout-steps.scaling-ready li span,
    #checkout-steps.scaling-ready li a {
        padding: 0 0 9px;
    }

    #checkout-steps.scaling-ready li a:hover,
    #checkout-steps.scaling-ready li.active span,
    #checkout-steps.scaling-ready li.active a {
        padding: 0 0 9px;
        background: url(images/bg-checkout-steps-alt-active.png) no-repeat 50% 100%;
        margin: 0 0 -11px;
    }

    #checkout-steps.scaling-ready li.success a:hover,
    #checkout-steps.scaling-ready li.success span,
    #checkout-steps.scaling-ready li.success a {
        background: url(images/bg-checkout-steps-alt-success.png) no-repeat 50% 100%;
        margin: 0 0 -11px 0 !important;
        padding: 0 0 9px 0 !important;
    }
}