.main-timeline3 {
    overflow: hidden;
    position: relative;
}

.main-timeline3 .timeline {
    position: relative;
    margin-top: 0px;
}
.main-timeline3 .timeline:first-child {
    margin-top: 0;
}

.main-timeline3 .timeline-icon,
.main-timeline3 .year {
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.main-timeline3 .timeline:after,
.main-timeline3 .timeline:before {
    content: "";
    display: block;
    width: 100%;
    clear: both;
}

.main-timeline3 .timeline:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
}

.main-timeline3 .timeline-icon {
    width: 210px;
    height: 210px;
    border-radius: 50%;
    border: 25px solid transparent;
    border-top-color: #6dba5a;
    border-right-color: #6dba5a;
    /* border-top-color: #6DBA5A;
                border-right-color: #105572;*/
    /*border-image: linear-gradient(to right, #6DBA5A, #105572) 1;*/
    z-index: 1;
    transform: rotate(45deg);
}

.main-timeline3 .year {
    display: block;
    width: 110px;
    height: 110px;
    line-height: 110px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    font-size: 30px;
    font-weight: 700;
    color: #3c7330;
    text-align: center;
    transform: rotate(-45deg);
}

.main-timeline3 .timeline-content {
    width: 35%;
    float: right;
    background: #6dba5a;
    padding: 30px 20px;
    margin: 50px 0;
    box-shadow: 0 10px 25px -10px rgba(72, 29, 99, 0.3);
    z-index: 1;
    position: relative;
    border-radius: 20px;
}

.main-timeline3 .timeline-content:before {
    content: "";
    width: 20%;
    height: 15px;
    background: #6dba5a;
    position: absolute;
    top: 50%;
    left: -20%;
    z-index: -1;
    transform: translateY(-50%);
}

.main-timeline3 .title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
}

.main-timeline3 .description {
    font-size: 16px;
    color: #fff;
    line-height: 24px;
    margin: 0;
}

.main-timeline3 .timeline:nth-child(2n) .timeline-icon {
    transform: rotate(-135deg);
    border-top-color: #e97e2e;
    border-right-color: #e97e2e;
}

.main-timeline3 .timeline:nth-child(2n) .year {
    transform: rotate(135deg);
    color: #e97e2e;
}

.main-timeline3 .timeline:nth-child(2n) .timeline-content {
    float: left;
}

.main-timeline3 .timeline:nth-child(2n) .timeline-content:before {
    left: auto;
    right: -20%;
    background: #e97e2e;
}

.main-timeline3 .timeline:nth-child(2n) .timeline-content {
    background: #e97e2e;
}
.main-timeline3 .timeline:nth-child(3n) .timeline-icon {
    border-top-color: #13afae;
    border-right-color: #13afae;
}

.main-timeline3 .timeline:nth-child(3n) .year {
    color: #13afae;
}

.main-timeline3 .timeline:nth-child(3n) .timeline-content,
.main-timeline3 .timeline:nth-child(3n) .timeline-content:before {
    background: #13afae;
}

.main-timeline3 .timeline:nth-child(4n) .timeline-icon {
    border-top-color: #105572;
    border-right-color: #105572;
}

.main-timeline3 .timeline:nth-child(4n) .year {
    color: #105572;
}

.main-timeline3 .timeline:nth-child(4n) .timeline-content,
.main-timeline3 .timeline:nth-child(4n) .timeline-content:before {
    background: #105572;
}

.main-timeline3 .timeline:nth-child(5n) .timeline-icon {
    border-top-color: #ba007c;
    border-right-color: #ba007c;
}

.main-timeline3 .timeline:nth-child(5n) .year {
    color: #ba007c;
}

.main-timeline3 .timeline:nth-child(5n) .timeline-content,
.main-timeline3 .timeline:nth-child(5n) .timeline-content:before {
    background: #ba007c;
}
.main-timeline3 .timeline:nth-child(6n) .timeline-icon {
    border-top-color: #7734a7;
    border-right-color: #7734a7;
}

.main-timeline3 .timeline:nth-child(6n) .year {
    color: #105572;
}

.main-timeline3 .timeline:nth-child(6n) .timeline-content,
.main-timeline3 .timeline:nth-child(6n) .timeline-content:before {
    background: #7734a7;
}

.main-timeline3 .timeline:nth-child(7n) .timeline-icon {
    border-top-color: #e4b007;
    border-right-color: #e4b007;
}

.main-timeline3 .timeline:nth-child(7n) .year {
    color: #e4b007;
}

.main-timeline3 .timeline:nth-child(7n) .timeline-content,
.main-timeline3 .timeline:nth-child(7n) .timeline-content:before {
    background: #e4b007;
}

.main-timeline3 .timeline:nth-child(8n) .timeline-icon {
    border-top-color: #51cdc1;
    border-right-color: #51cdc1;
}

.main-timeline3 .timeline:nth-child(8n) .year {
    color: #51cdc1;
}

.main-timeline3 .timeline:nth-child(8n) .timeline-content,
.main-timeline3 .timeline:nth-child(8n) .timeline-content:before {
    background: #51cdc1;
}

@media only screen and (max-width: 1200px) {
    .main-timeline .timeline-icon:before {
        width: 50px;
        right: -50px;
    }
    .main-timeline .timeline:nth-child(even) .timeline-icon:before {
        right: auto;
        left: -50px;
    }
    .main-timeline .timeline-content {
        margin-top: 75px;
    }
}

@media only screen and (max-width: 990px) {
    .main-timeline .timeline {
        margin: 0 0 10px;
    }
    .main-timeline .timeline-icon {
        left: 25%;
    }
    .main-timeline .timeline:nth-child(even) .timeline-icon {
        right: 25%;
    }
    .main-timeline .timeline-content {
        margin-top: 115px;
    }
}

@media only screen and (max-width: 767px) {
    .main-timeline {
        padding-top: 50px;
    }
    .main-timeline:before {
        left: 80px;
        right: 0;
        margin: 0;
    }
    .main-timeline .timeline {
        margin-bottom: 70px;
    }
    .main-timeline .timeline:before {
        top: 0;
        left: 83px;
        right: 0;
        margin: 0;
    }
    .main-timeline .timeline-icon {
        width: 60px;
        height: 60px;
        line-height: 40px;
        padding: 5px;
        top: 0;
        left: 0;
    }
    .main-timeline .timeline:nth-child(even) .timeline-icon {
        left: 0;
        right: auto;
    }
    .main-timeline .timeline-icon:before,
    .main-timeline .timeline:nth-child(even) .timeline-icon:before {
        width: 25px;
        left: auto;
        right: -25px;
    }
    .main-timeline .timeline-icon:after,
    .main-timeline .timeline:nth-child(even) .timeline-icon:after {
        width: 25px;
        height: 30px;
        top: 44px;
        left: auto;
        right: -5px;
    }
    .main-timeline .timeline-icon i {
        font-size: 30px;
        line-height: 45px;
    }
    .main-timeline .timeline-content,
    .main-timeline .timeline:nth-child(even) .timeline-content {
        width: 100%;
        margin-top: -15px;
        padding-left: 130px;
        padding-right: 5px;
    }
    .main-timeline .timeline:nth-child(even) .timeline-content {
        float: right;
    }
    .main-timeline .timeline-content:before,
    .main-timeline .timeline:nth-child(even) .timeline-content:before {
        width: 50%;
        left: 120px;
    }
    .main-timeline .timeline:nth-child(even) .timeline-content:before {
        right: auto;
        transform: rotateY(0);
    }
    .main-timeline .timeline-content:after,
    .main-timeline .timeline:nth-child(even) .timeline-content:after {
        left: 85px;
    }
}

@media only screen and (max-width: 479px) {
    .main-timeline .timeline-content,
    .main-timeline .timeline:nth-child(2n) .timeline-content {
        padding-left: 110px;
    }
    .main-timeline .timeline-content:before,
    .main-timeline .timeline:nth-child(2n) .timeline-content:before {
        left: 99px;
    }
    .main-timeline .timeline-content:after,
    .main-timeline .timeline:nth-child(2n) .timeline-content:after {
        left: 65px;
    }
}
/*--*/
@media only screen and (max-width: 1199px) {
    .main-timeline3 .timeline {
        margin-top: -103px;
    }
    .main-timeline3 .timeline-content:before {
        left: -18%;
    }
    .main-timeline3 .timeline:nth-child(2n) .timeline-content:before {
        right: -18%;
    }
}

@media only screen and (max-width: 990px) {
    .main-timeline3 .timeline {
        margin-top: -127px;
    }
    .main-timeline3 .timeline-content:before {
        left: -2%;
    }
    .main-timeline3 .timeline:nth-child(2n) .timeline-content:before {
        right: -2%;
    }
}

@media only screen and (max-width: 767px) {
    .main-timeline3 .timeline {
        margin-top: 12px !important;
        overflow: hidden;
    }
    .main-timeline3 .timeline:before,
    .main-timeline3 .timeline:nth-child(2n):before {
        box-shadow: none;
    }
    .main-timeline3 .timeline-icon,
    .main-timeline3 .timeline:nth-child(2n) .timeline-icon {
        margin-top: -30px;
        margin-bottom: 20px;
        position: relative;
        transform: rotate(135deg);
    }
    .main-timeline3 .timeline:nth-child(2n) .year,
    .main-timeline3 .year {
        transform: rotate(-135deg);
    }
    .main-timeline3 .timeline-content,
    .main-timeline3 .timeline:nth-child(2n) .timeline-content {
        width: 100%;
        float: none;
        border-radius: 0 0 20px 20px;
        text-align: center;
        padding: 25px 20px;
        margin: 0 auto;
    }
    .main-timeline3 .timeline-content:before,
    .main-timeline3 .timeline:nth-child(2n) .timeline-content:before {
        width: 15px;
        height: 25px;
        position: absolute;
        top: -22px;
        left: 50%;
        z-index: -1;
        transform: translate(-50%, 0);
    }
}
