
.timeline-sec{
    min-height: 300px;
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
}
.timeline-sec .timeline-overlay{
    position: absolute;
    top:0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;;
}
.timeline-sec .timeline-heading{
    margin-bottom: 50px;
}
.timeline-sec .large-heading,.timeline-sec .sub-heading{
    color: #d856c2;
}
.timeline-sec .fly-line{
    background-color: #FFFFFF;
}

.timeline-sec .timeline-year{
    clear: both;
    padding-top: 50px;
    padding-bottom: 50px;
}
.timeline-sec .timeline-year:first-child{
    padding-top: 0;
    padding-bottom: 0;
}
.timeline-sec .timeline-year .t-year{
    height: 70px;
    width: 70px;
    border-radius: 50%;
    background-color: #d856c2;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}
.timeline-sec .timeline-year .t-year .heading{
    color: #FFFFFF;
    font-size: 18px;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0;
}
.timeline-sec .timeline .timeline-block{
    width: 50%;
    padding-left: 15px;
    padding-right: 15px;
    position: relative;
    cursor: pointer;
    list-style: none;
    margin-bottom: 30px;
}
.timeline-sec .timeline .event-details{
    color: #fff;
    background-color: #d856c2 ;
    padding: 20px;
    -webkit-transition: .8s ease;
    -o-transition: .8s ease;
    transition: .8s ease;
}
.timeline-sec .timeline .event-details .event-heading{
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 500;
}
.timeline-sec .timeline .event-details .text-des{
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
   
    margin-bottom: 2px;
}
.timeline-sec .timeline .event-details .event-time{
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
}
.timeline-sec .timeline .event-details:hover{
    background-color: #970f7b;
}
.timeline-sec .timeline .simple-timeline .event-details:hover:after{
    border-left: 14px solid #970f7b;
}
.timeline-sec .timeline .inverse-timeline .event-details:hover:after{
    border-right: 14px solid #970f7b;
}
.timeline-sec .timeline .simple-timeline .event-details:hover:before{
    background-color:  #970f7b;
}
.timeline-sec .timeline .inverse-timeline .event-details:hover:before{
    background-color: #970f7b;
}
.timeline-sec .timeline .simple-timeline .event-details:after{
    content: " ";
    height: 30px;
    width: 30px;
    display: inline-block;
    position: absolute;
    right: 20px;
    top: 35px;
    border-top: 14px solid rgba(136, 136, 136, 0);
    border-left: 14px solid #d856c2;
    border-bottom: 14px solid rgba(245, 245, 245, 0);
    -webkit-transition: .8s ease;
    -o-transition: .8s ease;
    transition: .8s ease;
}
.timeline-sec .timeline .simple-timeline .event-details:before{
    content: " ";
    height: 20px;
    width: 20px;
    display: inline-block;
    background-color: #d856c2;
    position: absolute;
    right: -12px;
    top: 41px;
    z-index: 1;
    border-radius: 50%;
    -webkit-transition: .8s ease;
    -o-transition: .8s ease;
    transition: .8s ease;
}
.timeline-sec .timeline .inverse-timeline .event-details:after{
    content: " ";
    height: 30px;
    width: 30px;
    display: inline-block;
    position: absolute;
    left: 20px;
    top: 35px;
    border-top: 14px solid rgba(136, 136, 136, 0);
    border-right: 14px solid #d856c2;
    border-bottom: 14px solid rgba(245, 245, 245, 0);
    -webkit-transition: .8s ease;
    -o-transition: .8s ease;
    transition: .8s ease;
}
.timeline-sec .timeline .inverse-timeline .event-details:before{
    content: " ";
    height: 20px;
    width: 20px;
    display: inline-block;
    background-color: #d856c2;
    position: absolute;
    left: -8px;
    top: 41px;
    z-index: 1;
    border-radius: 50%;
    -webkit-transition: .8s ease;
    -o-transition: .8s ease;
    transition: .8s ease;
}
.timeline-sec .timeline:after{
    content: " ";
    display: inline-block;
    width: 3px;
    background-color: #d856c2;
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
}
.timeline-sec .timeline .simple-timeline{
    padding-right: 50px;
    float: left;
    clear: left;
}
.timeline-sec .timeline .inverse-timeline{
    padding-left: 50px;
    margin-top: 60px;
    float: right;
    clear: right;

}


/*********************************************/
/************* Media Queries *****************/
/*********************************************/

/*// Extra small devices (portrait phones, less than 576px)*/
@media (max-width: 575.98px) {

   

    /*extra small screen css of timeline*/
    .timeline-sec .timeline:after {
        left: 49px;
    }
    .timeline-sec .timeline-year .t-year {
        margin-left: 0;
    }
    .timeline-sec .timeline .timeline-block {
        width: 100%;
    }
    .timeline-sec .timeline .inverse-timeline {
        padding-left: 75px;
    }
    .timeline-sec .timeline .inverse-timeline .event-details:after {
        left: 46px;
    }
    .timeline-sec .timeline .inverse-timeline .event-details:before {
        left: 25px;
    }

   

}

/*// Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) and (max-width: 767.98px) {
    /*extra small screen css of broad navigation*/
    
    /*extra small screen css of timeline*/
    .timeline-sec .timeline:after {
        left: 9%;
    }
    .timeline-sec .timeline-year .t-year {
        margin-left: 0;
    }
    .timeline-sec .timeline .timeline-block {
        width: 100%;
    }
    .timeline-sec .timeline .inverse-timeline {
        padding-left: 75px;
    }
    .timeline-sec .timeline .inverse-timeline .event-details:after {
        left: 46px;
    }
    .timeline-sec .timeline .inverse-timeline .event-details:before {
        left: 25px;
    }
    /*media query for footer*/
    
}

/*// Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) and (max-width: 991.98px) {
    /*extra small screen css of broad navigation*/
    
}

/*// Large devices (desktops, 992px and up)*/
@media (min-width: 992px) and (max-width: 1199.98px) {
    /*extra small screen css of broad nav*/
    
}

/*// Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) and (max-width: 1319.98px)  {
    
}




.heading-area .title{
    font-size: 3rem;
    margin-bottom: 25px;
}

.heading-area .sub-title{
    margin-bottom: 15px;
    font-weight: 400;
}

.dot-box:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 80px;
    z-index: -1;
    -webkit-transition: all 0s;
    -o-transition: all 0s;
    transition: all 0s;
    background-image: url(data:img/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAJUlEQVQoU2N8+vTpfwYGBgZpaWlGEI0LMBKtEJ8pyHJ4rRtVCAAd/QgLwKUsAgAAAABJRU5ErkJggg==)!important;
    background-position: 0 0px!important;
    background-repeat: repeat!important;
    background-size: 15px;
    width: 150px;
    height: 150px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.feature-item {
    margin-right: 20px;
    padding: 30px 25px;
    border-radius:10px;
    text-align: left;
    background-color: #fff;
    -webkit-box-shadow: 0px 0px 10px 1px rgba(145, 140, 145, 0.35);
    box-shadow: 0px 0px 8px 1px rgba(145, 140, 145, 0.35);
}

.feature-item:nth-child(2){
    margin-top: 23px;
}

.feature-item > i.f-icon{
    font-size: 28px;
    height: 55px;
    width: 55px;
    line-height: 55px;
    background-color: #55ACEE;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    border-radius: 50px;
    color: #fff;
}

.feature-item .title {
    margin: 1.5rem 0 .8rem;
}

.feature-item .r-icon{
    font-size: 25px;
    font-weight: 900;
    display: block;
    text-align: right;
    color: #d5d3d3;
}

.feature-item p{
    margin-bottom: 15px;
    font-size: 14px;
}


@media screen and (max-width:991px){

    
    .heading-area{
        margin-bottom: 3rem;
    }
    .heading-area .title {
        font-size: 2.5rem;
    }
    .feature-item{
        margin: 0;
    }
    .feature-item:nth-child(2) {
        margin: 25px 0;
    }
    .feature-item{
        text-align: center;
    }
    
}

