@-webkit-keyframes myanimation {
    from {
        left: 0%;
    }
    to {
        left: 50%;
    }
}

#redButton {
    background-color: #d71a21;
    border-color: #9e0c0f;
    border-width:1px;
    color: white;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    height: 35px;
    padding-bottom: 0.3rem;
    padding-top: 0.3rem;
    padding-left: 15px;
    margin: 20px 20px 0 20px;
    float:left;
    width:200px;
}

.checkout-wrap {
    margin: 40px auto 120px;
    position: relative;
    margin-bottom: 140px;
}

ul.checkout-bar li {
    display: block;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 20px 14px 80px;
    position: relative;
}
ul.checkout-bar li:before {
    background: #fff;
    border: 2px solid rgba(39,39,39,1);
    border-radius: 50%;
    color: rgba(39,39,39,1);
    font-size: 16px;
    font-weight: 700;
    left: 20px;
    line-height: 37px;
    height: 35px;
    position: absolute;
    text-align: center;
    top: 4px;
    width: 35px;
    z-index: 999;
}
ul.checkout-bar li.active {
    color: #C60F13;
    font-weight: bold;
}
ul.checkout-bar li.active:before {
    color: #C60F13;
    z-index: 99999;
}
ul.checkout-bar li.visited {
    background: #ECECEC;
    color: #57aed1;
    z-index: 99999;
}
ul.checkout-bar li.visited:before {
    background: #57aed1;
    z-index: 99999;
}
ul.checkout-bar li:nth-child(1):before {
    content: "1";
}
ul.checkout-bar li:nth-child(2):before {
    content: "2";
}
ul.checkout-bar li:nth-child(3):before {
    content: "3";
}
ul.checkout-bar li:nth-child(4):before {
    content: "4";
}
ul.checkout-bar li:nth-child(5):before {
    content: "5";
}
ul.checkout-bar li:nth-child(6):before {
    content: "6";
}
ul.checkout-bar a {
    color: #57aed1;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}
@media (max-width: 992px) {
    ul.checkout-bar li {
        font-size: 15px;
    }
}
@media all and (min-width: 800px) {
    .checkout-bar li.active:after {
        -webkit-animation: myanimation 3s 0;
        background-size: 35px 35px;
        content: "";
        height: 2px;
        width: 100%;
        left: 50%;
        position: absolute;
        top: -50px;
        z-index: 0;
    }

   ul.checkout-bar {
        background-size: 35px 35px;
        background-color: rgba(39,39,39,1);
        border-radius: 2px;
        height: 2px;
        margin: 0 auto;
        padding: 0;
        position: absolute;
        width: 100%;
        max-width: 1100px;
    }
    ul.checkout-bar:before {
        background-size: 35px 35px;
        border-radius: 2px;
        content: " ";
        height: 2px;
        left: 0;
        position: absolute;
        width: 10%;
    }
    ul.checkout-bar li {
        float: left;
        margin: 50px 0 0;
        padding: 0;
        text-align: center;
        width: 25%;
    }
    ul.checkout-bar li:before {
        height: 45px;
        left: 40%;
        position: absolute;
        top: -70px;
        width: 45px;
        z-index: 99;
    }
    ul.checkout-bar li.visited {
        background: none;
    }
    ul.checkout-bar li.visited:after {
        background-size: 35px 35px;
        content: "";
        height: 2px;
        left: 50%;
        position: absolute;
        top: -50px;
        width: 100%;
        z-index: 99;
    }
}
@media (max-width: 799px) {
    .checkout-wrap {
        margin-bottom: 20px;
    }
}