.timeline{
    position: relative;
    margin: 20px auto;
    padding: 10px;
    width: 1000px;
    box-sizing: border-box;
}

.timeline::before{
    content: '';
    position: absolute;
    width: 2px;
    left: 50%;
    height: 100%;
    background: #c5c5c5;
}

.timeline ul{
    margin: 0;
    padding: 0;
}

.timeline ul li{
    list-style: none;
    line-height: normal;
    position: relative;
    width: 50%;
    padding: 20px 20px;
    box-sizing: border-box;
}

.timeline li:nth-child(odd){
float: left;
text-align: right;
clear: both;
}

.timeline li:nth-child(even){
    float: right;
    text-align: left;
    clear: both;
    }

.content{
    padding-bottom: 20px;
}

.timeline ul li:nth-child(odd):before{
    content: '';
    position: absolute;
    top: 24px;
    right: -6px;
    width: 10px;
    height: 10px;
    background: rgba(245,134,52,1);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(245,134,52,0.2);
}

.timeline ul li:nth-child(even):before{
    content: '';
    position: absolute;
    top: 24px;
    left: -4px;
    width: 10px;
    height: 10px;
    background: rgba(245,134,52,1);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(245,134,52,0.2);
}

.timeline ul li h3{
    margin: 0;
    padding: 0;
    font-weight: 600;
    color: rgba(245,134,52);
}

.timeline ul li p{
    margin: 15px 0 0;
    padding: 0;
}

.timeline ul li:nth-child(odd) .time{
    position: absolute;
    top: 12px;
    right: -165px;
    margin: 0;
    padding:8px 16px;
    background: rgba(245,134,52);
    color: #fff;
    border-radius: 18px;
    box-shadow: 0 0 0 3px rgba(245,134,52,0.3);
    font-family: "Raleway","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: bold;
    line-height: 1.1;
    
}

.timeline ul li:nth-child(even) .time{
    position: absolute;
    top: 12px;
    left: -165px;
    margin: 0;
    padding:8px 16px;
    background: rgba(245,134,52);
    color: #fff;
    border-radius: 18px;
    box-shadow: 0 0 0 3px rgba(245,134,52,0.3);
    font-family: "Raleway","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: bold;
    line-height: 1.1;
    
}

h1{
    text-align: center;
    font-size: 60px;
}

@media (max-width: 1000px){

    .timeline{
        width: 100%;
    }
}

@media (max-width: 767px){


    h1{
        text-align: center;
        font-size: 40px;
    }

    .timeline{
        width: 100%;
    }
    
    .timeline::before{
        left: 20px;
    }

    .timeline li:nth-child(even),
    .timeline li:nth-child(odd){
        width: 100%;
        text-align: left;
        padding-left: 50px;
        padding-bottom: 50px;
    }

    .timeline ul li:nth-child(even):before,
    .timeline ul li:nth-child(odd):before{
        top: 3px;
        left: 6px;
    }

    .timeline ul li:nth-child(even) .time,
    .timeline ul li:nth-child(odd) .time{
        top: -8px;
        left: 50px;
    }
}

/* modal */
.modal-content{
    top: 130px;
}

.modal-body{
    padding: 40px;
    color:  #2f4e71;;
}

.modal-header{
    background-color: #2f4e71;
}

.modal-title{
    color: #f19f4d;
}
.modal-footer{
    background-color: #2f4e71;
}

