.demo1{
    padding: 100px 0;
}

.heading-title1{
    margin-bottom: 100px;
}
.main-timeline1{ position: relative;}

.main-timeline1:before,
.main-timeline1:after{
    content: "";
    display: block;
    width: 100%;
    clear: both;
}

.main-timeline1:before{
    width: 2px;
    height: 100%;
    /*background: #0b5394;*/
    margin: 0 auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.main-timeline1 .timeline1{
    width: 50%;
    padding-right: 30px;
    float: left;
    position: relative;
}

.main-timeline1 .timeline1:last-child{
    margin-bottom: 0;
}

.main-timeline1 .timeline1:after{
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%;
    /*background: #e5e9ed;*/
    position: absolute;
    top: 0;
    right: -6px;
    transition: all 0.3s ease 0s;
}

.main-timeline1 .timeline1:hover:after{
    /*background: #0c7c4c;*/
    transform:  scale(1.3);
}

.main-timeline1 .timeline-content1{
    padding: 50px 40px;
    background: #E8E8E8;
    position: relative;
    transition: all 0.3s ease 0s;
}

.main-timeline1 .timeline-content1:hover{
    /*background: #0c7c4c;*/
}

.main-timeline1 .timeline-content1:after{
    content: "";
    border-top: 30px solid #e5e9ed;
    border-right: 15px solid transparent;
    position: absolute;
    top: 0;
    right: -15px;
    transition: all 0.3s ease 0s;
}

.main-timeline1 .timeline-content1:hover:after{
    border-top-color: #0c7c4c;
}

.main-timeline1 .year1{
    display: block;
    font-size: 15px;
    color: #0c7c4c;
    line-height: 32px;
    margin: 0;
    transition: all 0.3s ease 0s;
}

.main-timeline1 .post1{
    display: block;
    font-size: 15px;
    color: #ffffff;
    padding-bottom: 8px;
    margin: 8px 0 15px 0;
    position: relative;
}

.main-timeline1 .post1:after{
    content: "";
    display: block;
    width: 500px;
    border-top: 2px solid #ffffff;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: all 0.3s ease 0s;
}

.main-timeline1 .timeline-content1:hover .post:after{
    border-top-color: #fff;
}

.main-timeline1 .title1{
    font-size: 18px;
    font-weight: 500;
    color: #0c7c4c;
    text-transform: capitalize;
    transition: all 0.3s ease 0s;
}

.main-timeline1 .description1{
    font-size: 13px;
    color: #7a7e82;
    line-height: 25px;
}

.main-timeline1 .timeline-content1:hover .year,
.main-timeline1 .timeline-content1:hover .title,
.main-timeline1 .timeline-content1:hover .description{
    color: #fff;
}

.main-timeline1 .timeline1:nth-child(2n){
    padding: 0 0 0 30px;
    margin-top: 75px;
}

.main-timeline1 .timeline1:nth-child(2n):after{
    right: auto;
    left: -6px;
}

.main-timeline1 .timeline1:nth-child(2n) .timeline-content1:after{
    border-left: 15px solid transparent;
    border-right: none;
    left: -15px;
    right: auto;
}

@media only screen and (max-width: 767px){
    .main-timeline1:before{
        margin: 0;
        left: 0;
    }
    .main-timeline1 .timeline1{
        width: 100%;
        float: none;
        padding: 0 0 0 30px;
        margin-bottom: 20px;
    }
    .main-timeline1 .timeline1:after{
        right: auto;
        left: -6px;
    }
    .main-timeline1 .timeline-content1{
        padding: 20px;
    }
    .main-timeline1 .timeline-content1:after{
        border-left: 15px solid transparent;
        border-right: none;
        left: -15px;
        right: auto;
    }
    .main-timeline1 .timeline1:nth-child(2n){
        margin-top: 0;
    }
}