.history ul li:hover .time:before{ background:#fff; border-color:#e60012;}
.history ul li .time:before{ content:""; display:block; position:absolute; right:-60px; top:50%; width:10px; height:10px; border-radius:50%; transform:translate(0,-50%); border:5px solid #fff; background:#e60012; font-size:0; overflow:hidden; z-index:5; transition:all 0.6s;}

.m-img>img
{ 
    transition: .5s;
    -webkit-transition: .5s;
}
 
.middle{
    background: #f3f3f3;
}
.inner{
    width: 77%;
    margin: 0 auto;
}
.middle-img{
    /* margin-top: 68px; */
    margin: 0 auto;
}

.middle-top{
    text-align: center;
}
.middle-top>h1{
    font-size: 30px;
}
.middle-top>p{
    color: #7e7e7e;
    font-size: 18px;
    font-style: 'Regular';
}
.middle-img ul li .m-text{
    position: absolute ;
    bottom: 7% ;
    left: 7%;
    width: 100%;
    display: flex;
    align-items: center;
}
.m-text span:nth-child(1){
    color: #fff;
    font-size: 30px;
    font-weight: bolder;
}

.m-text span:nth-child(2){
    color: #fff;
    font-size: 18px;
    font-style: 'Regular';
}
.m-text span:nth-child(3){
    color: #fff;
    font-size: 16px;
}


.middle-img ul li{
    display: flex;
    /* overflow: hidden; */
}
.middle-img li:nth-child(odd){
    justify-content: left;
    margin-top:-10%;

}
.middle-img li:nth-child(even){
    justify-content:flex-end;
    margin-top:-10%;
}

.m-img>img{
    width: 100%;
    border-radius: 2%;
}
.m-img{
  border: 10px solid #fff;
  background-color: #fff;
  border-radius: 2%;
  overflow: hidden;
}
.w{
    position: relative;
    width: 46%;
}

.middle-img ul li::before{
    content: '';
    width: 10px ;
    height: 10px;
    background-color: #035098;
    border-radius: 50%;
    border: 10px solid #fff;
    left: 49.7%;
    margin-top: 8%;
    position:absolute;
    z-index: 2;
}

.middle-img li:first-child{
    margin-top: 0;
}
.middle-img li {
    margin-top: -10%;
}
.middle-img li:last-child{
    margin-bottom: 68px;
}


.middle-img ul li:hover .m-img>img{
    transform: scale(1.05);
}

.middle-img ul li:hover::before{
    width: 10px ;
    height: 10px;
    background-color: #fff;
    border-radius: 50%;
    border: 10px solid #035098;
    left: 49.7%;
    position:absolute;
}
.middle-img ul li:hover .m-text{
    bottom: -13%;
    -webkit-transition:.5s;
    transition:.5s;
}

.middle-img ul li:hover .m-text span:nth-child(1){
    color: #004a91;
}
.middle-img ul li:hover .m-text span:nth-child(2){
    color: #004a91;
}
.middle-img ul li:hover .m-text span:nth-child(3){
    color: #000;
}
.middle-img ul li:hover .m-img{
    height: 114%;
    -webkit-transition:.5s;
    transition:.5s;
}

.middle-img li::after{
    position: absolute;
    left: 50.7%;
    content: '';
    width: 4px;
    height: 100%;
    background: #e4e4e4;
    z-index: 1;
}