.test-progress {
    padding: 0;
    list-style-type: none;
    font-family: arial;
    font-size: 1em;
    clear: both;
    line-height: 1em;
    margin: 0 -1px;
    text-align: center;
}

   @media screen and (max-width: 700px) and (min-width: 300px) {
.test-progress .test-progress-item {
    float: left;
        padding: 16px 44px 23px 32px;
    background: #ec5161;
    color: #fff;
    /*position: relative;*/
    border-top: 1px solid #ec5161;
    border-bottom: 1px solid #ec5161;
    width: 80%;
    margin: 0 1px;
    font-size:10px;
}
.test-progress-item:after {
display:none;
    
}
}


   @media screen and (max-width: 3000px) and (min-width: 701px){
       
.test-progress .test-progress-item {
    float: left;
    padding: 25px 30px 10px 40px;
    background: #ec5161;
    color: #fff;
    position: relative;
    border-top: 1px solid #ec5161;
    border-bottom: 1px solid #ec5161;
    width: 32%;
    margin: 0 1px;
}
}


.test-progress .test-progress-item:before {
    content: '';
    border-left: 25px solid #fff;
    border-top: 25px solid transparent;
    border-bottom: 25px solid transparent;
    position: absolute;
    top: 0;
    left: 0;   
}

.test-progress .test-progress-item:after {
    content: '';
    border-left: 25px solid #ec5161;
    border-top: 25px solid transparent;
    border-bottom: 25px solid transparent;
    position: absolute;
    top: 0;
    left: 100%;
    z-index: 20;
}

.test-progress .test-progress-item.active {
    background: #dc3545;
}

.test-progress .test-progress-item.active:after {
    border-left-color: #dc3545;
}