.afeb-timeline {
    margin: 0 auto;
    max-width: 1140px;
    padding: 15px 0;
    position: relative;
    width: 100%;
}

.afeb-timeline::after {
    background: #ff9a00;
    bottom: 0;
    content: '';
    left: 50%;
    margin-left: -1px;
    position: absolute;
    top: 0;
    width: 2px;
}

.afeb-timeline-container {
    background: inherit;
    padding: 15px 30px;
    position: relative;
    width: 50%;
}

.afeb-timeline-container.afeb-left {
    left: 0;
}

.afeb-timeline-container.afeb-right {
    left: 50%;
}

.afeb-timeline-container::after {
    content: '';
    background: #01204e;
    border: 2px solid #01204e;
    border-radius: 16px;
    height: 16px;
    position: absolute;
    top: calc(50% - 8px);
    right: -8px;
    width: 16px;
    z-index: 1;
}

.afeb-timeline-container.afeb-right::after {
    left: -8px;
}

.afeb-timeline-container::before {
    background: #01204e;
    content: '';
    height: 2px;
    position: absolute;
    right: 8px;
    top: calc(50% - 1px);
    width: 50px;
    z-index: 1;
}

.afeb-timeline-container.afeb-right::before {
    left: 8px;
}

.afeb-timeline-container .afeb-timeline-date {
    color: #01204e;
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
    position: absolute;
    text-align: center;
    text-transform: uppercase;
    top: calc(50% - 8px);
    z-index: 1;
}

.afeb-timeline-container.afeb-left .afeb-timeline-date {
    right: -75px;
}

.afeb-timeline-container.afeb-right .afeb-timeline-date {
    left: -75px;
}

.afeb-timeline-container .afeb-timeline-icon {
    background: #ffbf00;
    border: 2px solid #01204e;
    border-radius: 100px;
    color: #01204e;
    display: inline-block;
    font-size: 18px;
    height: 40px;
    padding: 9px 0;
    position: absolute;
    text-align: center;
    top: calc(50% - 20px);
    width: 40px;
    z-index: 1;
}

.afeb-timeline-container.afeb-left .afeb-timeline-icon {
    right: 56px;
}

.afeb-timeline-container.afeb-right .afeb-timeline-icon {
    left: 56px;
}

.afeb-timeline-container .afeb-timeline-content {
    background: #eee;
    border-radius: 30px 500px 500px 30px;
    padding: 30px 90px 30px 30px;
    position: relative;
}

.afeb-timeline-container.afeb-right .afeb-timeline-content {
    border-radius: 500px 0 0 500px;
    padding: 30px 30px 30px 90px;
}

.afeb-timeline-container .afeb-timeline-content h2 {
    color: #01204E;
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 10px 0;
}

.afeb-timeline-container .afeb-timeline-content p {
    color: #000000;
    font-size: 16px;
    line-height: 22px;
    margin: 0;
}

@media (max-width: 767.98px) {
    .afeb-timeline::after {
        left: 90px;
    }

    .afeb-timeline-container {
        padding-left: 120px;
        padding-right: 30px;
        width: 100%;
    }

    .afeb-timeline-container.afeb-right {
        left: 0%;
    }

    .afeb-timeline-container.afeb-left::after,
    .afeb-timeline-container.afeb-right::after {
        left: 82px;
    }

    .afeb-timeline-container.afeb-left::before,
    .afeb-timeline-container.afeb-right::before {
        left: 100px;
        border-color: transparent #01204e transparent transparent;
    }

    .afeb-timeline-container.afeb-left .afeb-timeline-date,
    .afeb-timeline-container.afeb-right .afeb-timeline-date {
        left: 15px;
        right: auto;
    }

    .afeb-timeline-container.afeb-left .afeb-timeline-icon,
    .afeb-timeline-container.afeb-right .afeb-timeline-icon {
        left: 146px;
        right: auto;
    }

    .afeb-timeline-container.afeb-left .afeb-timeline-content,
    .afeb-timeline-container.afeb-right .afeb-timeline-content {
        border-radius: 500px 0 0 500px;
        padding: 30px 30px 30px 90px;
    }
}