﻿


.main-timeline {
    
    overflow: hidden;
    position: relative;
}

    .main-timeline:before {
        content: "";
        width: 10px;
        height: 100%;
        background: #fff;
        border-radius: 25px;
        border: 1px solid green;
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    .main-timeline .timeline {
        width: 50%;
        padding: 0 20px 0 50px;
        margin-left: 5px;
        float: right;
        position: relative;        
    }

        .main-timeline .timeline:before,
        .main-timeline .timeline:after {
            content: '';
            display: block;
            position: absolute;
        }

        .main-timeline .timeline:before {
            background-color: #EBAB25;
            height: 25px;
            width: 25px;
            border: 2px solid #fff;
            box-shadow: 0 0 1px 2px #808080;
            border-radius: 50%;
            transform: translateY(-50%);
            left: -13px;
            top: 50%;            
        }

        .main-timeline .timeline:after {
            background-color: #F3B030;
            height: 100%;
            width: 22px;
            border: 3px solid #F5A84A;
            border-radius: 0 5px 5px 0;
            right: 0;
            top: 0;
        }

    .main-timeline .timeline-content {
        color: #909090;
        /*background-color: #fff;*/
        min-height: 147px;
        padding: 15px 25px 15px 160px;
        border-radius: 80px 0 0 70px;
        display: block;
        position: relative;
        text-decoration: none;
    }

        .main-timeline .timeline-content:hover {
            text-decoration: none;
        }

        .main-timeline .timeline-content:before {
            content: '';
            transform: translateY(-50%);
            border: 11px solid transparent;
            border-right: 20px solid #F5A84A;
            position: absolute;
            left: -40px;
            top: 50%;
        }

    .main-timeline .timeline-year {
        color: #fff;
        background-color: #F5A84A;
        font-size: 36px;
        font-weight: 600;
        text-align: center;
        /*line-height: 125px;
        height: 145px;
        width: 145px;*/
        line-height: 110px;
        height: 130px;
        width: 130px;
        padding: 8px;
        border: 2px solid #fff;
        box-shadow: 1px 1px 1px #505050;
        border-radius: 50%;
        transform: translateY(-50%);
        position: absolute;
        top: 49%;
        left: -1px;
    }

    .main-timeline .timeline-year span {
        background-color: #F3B030;
        height: 100%;
        width: 100%;
        margin: 0 auto;
        border: 2px solid #fff;
        border-radius: 50%;
        display: block;
    }

    .main-timeline .tl-title {
        font-size: 18px;
        font-weight: 700;
        line-height: 1;
        text-transform: uppercase;
        margin: 0 0 10px 0;
        /* word-break: break-word; */
        /* hyphens: manual; */
        -webkit-hyphens: auto;
        -moz-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    .main-timeline .tl-title i.fa {
         font-size: 30px;
    }

    .main-timeline .tl-description {
        
        margin: 0;
    }

    .main-timeline .timeline:nth-child(even) {
        padding: 0 50px 0 20px;
        margin: 0 5px 0 0;
        float: left;
    }

        .main-timeline .timeline:nth-child(even):before {
            left: auto;
            right: -13px;
        }

        .main-timeline .timeline:nth-child(even):after {
            border-radius: 5px 0 0 5px;
            right: auto;
            left: 0;
        }

        .main-timeline .timeline:nth-child(even) .timeline-content {
            border-radius: 0 80px 70px 0;
            padding: 15px 160px 15px 25px;
        }

            .main-timeline .timeline:nth-child(even) .timeline-content:before {
                left: auto;
                right: -40px;
                border: 11px solid transparent;
                border-left: 20px solid #F5A84A;
            }

        .main-timeline .timeline:nth-child(even) .timeline-year {
            left: auto;
            right: 0;
        }






    /* ---------------------------------------------------- */
    /* NOT STARTED  */
    /* ---------------------------------------------------- */
    .main-timeline .timeline.pending:before {
        background-color: #b8b7b7;
    }
    .main-timeline .timeline.pending:after {
        background-color: #dedede;
        border-color: #b8b7b7;
    }
    .main-timeline .timeline .timeline-year.pending span {
        background-color: #dedede;
    }
    .main-timeline .timeline .timeline-year.pending {
        background-color: #b8b7b7;
    }
    .main-timeline .timeline .timeline-content.pending-left:before {
        border-left-color: #b8b7b7;
        border-right-color: transparent;
    }
    .main-timeline .timeline .timeline-content.pending-right:before {
        border-left-color: transparent;
        border-right-color: #b8b7b7;
    }

    /* ---------------------------------------------------- */
    /* STARTED, NOT COMPLETE  */
    /* ---------------------------------------------------- */
    .main-timeline .timeline.started:before {
        background-color: #EBAB25;
    }
    .main-timeline .timeline.started:after {
        background-color: #F3B030;
        border-color: #F5A84A;
    }
    .main-timeline .timeline .timeline-year.started span {
        background-color: #F3B030;
    }
    .main-timeline .timeline .timeline-year.started {
        background-color: #F5A84A;
    }
    .main-timeline .timeline .timeline-content.started-left:before {
        border-left-color: #F5A84A;
        border-right-color: transparent;
    }
    .main-timeline .timeline .timeline-content.started-right:before {
        border-left-color: transparent;
        border-right-color: #F5A84A;
    }

    /* ---------------------------------------------------- */
    /* COMPLETE  */
    /* ---------------------------------------------------- */
    .main-timeline .timeline.complete:before {
        background-color: #A7D244;
    }
    .main-timeline .timeline.complete:after {
        background-color: #A7D244;
        border-color: #99C63D;
    }
    .main-timeline .timeline .timeline-year.complete span {
        background-color: #A7D244;
    }
    .main-timeline .timeline .timeline-year.complete {
        background-color: #99C63D;
    }
    .main-timeline .timeline .timeline-content.complete-left:before {
        border-left-color: #99C63D;
        border-right-color: transparent;
    }
    .main-timeline .timeline .timeline-content.complete-right:before {
        border-left-color: transparent;
        border-right-color: #99C63D;
    }




@media only screen and (max-width:990px) {
    .main-timeline .tl-title {
        font-size: 18px;
    }

        .main-timeline .tl-title i.fa {
            font-size: 25px;
            margin-top: 5px;
        }

    .main-timeline .timeline-year {
        font-size: 35px;
        width: 120px;
        height: 120px;
    }

        .main-timeline .timeline-year span {
            line-height: 100px;
        }

    .main-timeline .timeline-content {
        padding: 25px 20px 25px 130px;
    }

    .main-timeline .timeline:nth-child(even) .timeline-content {
        padding: 25px 130px 25px 20px;
    }
}

@media only screen and (max-width:767px) {
    .main-timeline:before {
        left: 13px;
    }

    .main-timeline .timeline,
    .main-timeline .timeline:nth-child(even) {
        width: 100%;
        padding: 0 20px 0 60px;
        margin: 0 0 30px 0;
        float: right;
    }

        .main-timeline .timeline:before,
        .main-timeline .timeline:nth-child(even):before {
            left: 0;
        }

        .main-timeline .timeline:nth-child(even):after {
            border-radius: 0 5px 5px 0;
            right: 0;
            left: auto;
        }

        .main-timeline .timeline-content,
        .main-timeline .timeline:nth-child(even) .timeline-content {
            padding: 80px 25px 25px 8px;
            border-radius: 15px 0 0 15px;
        }

        .main-timeline .timeline-year,
        .main-timeline .timeline:nth-child(even) .timeline-year {
            height: 70px;
            width: 150px;
            border-radius: 20px;
            transform: translateY(0);
            top: 0;
            left: 0;
            right: auto;
        }

            .main-timeline .timeline-year span {
                line-height: 50px;
                border-radius: 20px;
            }

        .main-timeline .timeline:nth-child(even) .timeline-content:before {
            border: 11px solid transparent;
            border-right: 20px solid #F5A84A;
            left: -40px;
            right: auto;
        }



        .main-timeline .timeline .timeline-content.pending-left:before {
            border-left-color: transparent;
            border-right-color: #b8b7b7;
        }

        .main-timeline .timeline .timeline-content.started-left:before {
            border-left-color: transparent;
            border-right-color: #F5A84A;
        }

        .main-timeline .timeline .timeline-content.complete-left:before {
            border-left-color: transparent;
            border-right-color: #99C63D;
        }

}

@media only screen and (max-width:479px) {
    .main-timeline .tl-title {
        font-size: 16px;        
    }

    .main-timeline .timeline-content {
        padding: 80px 20px 25px 8px;
    }

    .main-timeline .tl-description {
        /*text-align: justify; */
    }

    .main-timeline .timeline:nth-child(even) .timeline-content {
        padding: 80px 20px 25px 8px;
    }

    .main-timeline .timeline:before {
        margin-left: 2px;
    }


}

