.timeline.timeline-four {
    margin: 1.25rem 0;
    position: relative
}

.timeline.timeline-four::before {
    content: "";
    display: block;
    width: .0625rem;
    height: 100%;
    background: #dce6f3;
    margin: 0 auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0
}

@media (max-width: 575.98px) {
    .timeline.timeline-four::before {
        margin:0;
        left: 0
    }
}

.timeline.timeline-four .timeline-item {
    margin-bottom: 1.5rem;
    position: relative
}

.timeline.timeline-four .timeline-item::after {
    content: "";
    display: block;
    clear: both
}

.timeline.timeline-four .timeline-item:hover .date-outer::before {
    left: 6px
}

.timeline.timeline-four .timeline-item:hover .date-outer::after {
    left: -6px
}

.timeline.timeline-four .timeline-item:nth-child(2n) .date-content {
    float: right
}

.timeline.timeline-four .timeline-item:nth-child(2n) .timeline-content {
    padding: .625rem 3.125rem .625rem 0;
    text-align: right
}

@media (max-width: 767.98px) {
    .timeline.timeline-four .timeline-item:nth-child(2n) .timeline-content {
        padding:.5rem 1.75rem .5rem 0
    }
}

@media (max-width: 575.98px) {
    .timeline.timeline-four .timeline-item:nth-child(2n) .timeline-content {
        width:95%;
        padding: .5rem 0;
        text-align: center
    }
}

.timeline.timeline-four .icon {
    width: 16px;
    height: 16px;
    margin: auto;
    position: absolute;
    background-color: #fff;
    border-radius: 50%;
    border: .0625rem solid #FD7E14;
    margin-top: 1rem;
    top: 0;
    left: 0;
    right: 0
}
.timeline.timeline-four .icon.active {
    background: #FD7E14;
    border: .0625rem solid #FD7E14;
} 
@media (max-width: 575.98px) {
    .timeline.timeline-four .icon {
        margin:auto -7px;
        top: 3rem
    }
}

.timeline.timeline-four .date-content {
    width: 50%;
    float: left;
    position: relative
}

@media (max-width: 575.98px) {
    .timeline.timeline-four .date-content {
        width:95%;
        float: right
    }
}

.timeline.timeline-four .date-outer {
    width: 150px;
    height: 150px;
    text-align: center;
    margin: auto;
    z-index: 1;
    font-family: "Kanit", sans-serif;
    font-weight: 400;
}

.timeline.timeline-four .date-outer::before {
    content: "";
    width: 150px;
    height: 150px;
    margin: 0 auto;
    border-radius: 50%;
    position: absolute;
    top: 0;
    right: 0;
    background: #fff;
    border: .0625rem solid #FD7E14;
    left: -6px;
    transition: all .9s all .2s ease
}

@media (max-width: 575.98px) {
    .timeline.timeline-four .date-outer::before {
        width:130px;
        height: 130px
    }
}

.timeline.timeline-four .date-outer::after {
    content: "";
    width: 150px;
    height: 150px;
    margin: 0 auto;
    border-radius: 50%;
    position: absolute;
    top: 0;
    right: 0;
    border: .0625rem solid #242e4c;
    left: 6px;
    transition: all .9s all .2s ease
}

@media (max-width: 575.98px) {
    .timeline.timeline-four .date-outer::after {
        width:130px;
        height: 130px
    }
}

.timeline.timeline-four .date {
    width: 100%;
    margin: auto;
    position: absolute;
    top: 40%;
    left: 0
}

@media (max-width: 575.98px) {
    .timeline.timeline-four .date {
        top:27%
    }
}

.timeline.timeline-four .year {
    display: block;
    font-weight: 700;
    font-size: 1rem
}

.timeline.timeline-four .icon {
    font-size: 1.5rem
}

.timeline.timeline-four .timeline-content {
    width: 50%;
    padding: .625rem 0 .625rem 3.125rem;
    float: right;
}
.timeline.timeline-four .timeline-content h5{
    font-family: "Kanit", sans-serif;
    font-weight: 500;
    font-style: normal;
}
.timeline.timeline-four .timeline-content p{
    font-family: "Kanit", sans-serif;
    font-weight: 300;
    font-style: normal;
}
@media (max-width: 767.98px) {
    .timeline.timeline-four .timeline-content {
        padding:.5rem 0 .5rem 1.75rem
    }
}

@media (max-width: 575.98px) {
    .timeline.timeline-four .timeline-content {
        width:95%;
        padding: .5rem 0;
        text-align: center
    }
}