.hf-timeline-carousel-wrapper {
    border-radius: 50px;
    /*background: linear-gradient(51.04deg, #323BE4 -0.95%, #6100F2 54.92%, #9F00EF 103.5%);*/
    padding: 50px 0 32px 0;
    max-width: 1440px;
    margin: auto;
    margin-bottom: 60px;
    margin-top: 60px;

    background: linear-gradient(315deg, #323BE4 1%, #6100F2 51%, #9F00EF 100%) !important;


}


.hf-timeline-carousel-wrapper .container {
    padding-right: 0;
}

.hf-timeline-carousel-wrapper .container.white {
    background-color: #fff;
}

.hf-timeline-carousel-wrapper .container.black {
    background-color: #000;
}

.hf-timeline-carousel-wrapper .container.white h2 {
    background-color: #000;
}

.hf-timeline-carousel-wrapper .container.black h2 {
    background-color: #fff;
}

.hf-timeline-carousel-wrapper .timeline {
    border-radius: 20px;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
    height: 100%;
}



.hf-timeline-carousel-wrapper .timeline.lighttext {
    color: #fff;
}

.hf-timeline-carousel-wrapper .timeline.darktext {
    color: #000;
}

.hf-timeline-carousel-wrapper .timeline.black {
    background: #000;
    color: #fff;
}

.hf-timeline-carousel-wrapper .timeline.white {
    background: #fff;
    color: #000;
}

.hf-timeline-carousel-wrapper .timeline.whitegradient {
    background: var(--white-gradient);
    color: #000;
}

.hf-timeline-carousel-wrapper .timeline.gradient {
    background: var(--main-gradient);
    color: #fff;
}

.hf-timeline-carousel-wrapper .timeline.gradientflip {
    background: var(--main-gradient-flipped);
    color: #fff;
}

.hf-timeline-carousel-wrapper .timeline.bluegradient {
    background: var(--blue-gradient);
    color: #fff;
}

.hf-timeline-carousel-wrapper .timeline.purplegradient {
    background: var(--purple-gradient);
    color: #fff;
}

.hf-timeline-carousel-wrapper .timeline.pinkgradient {
    background: var(--pink-gradient);
    color: #fff;
}


.hf-timeline-carousel-wrapper .timeline .box-heading {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 14px;
}

.hf-timeline-carousel-wrapper .timeline .box-button {
    align-self: flex-end;
    margin-top: auto;
    margin-right: -35px;
}

.hf-timeline-carousel-wrapper .timeline .box-cta:hover {
    opacity: .6;
}

.hf-timeline-slide {
    padding-top: 48px;
    padding-bottom: 3px;
    position: relative;
}

.hf-timeline-slide:first-child {
    margin-left: 38px;
}

.hf-timeline-slide-topline {
    position: absolute;
    top: 14px;
    height: 5px;
    background-color: white;
    width: calc(100% - 20px);
    left: 27px;
}

.hf-timeline-slide-sideline {
    position: absolute;
    top: 28px;
    height: 400px;
    width: 1px;
    background-color: white;
    left: 14px;
}

.hf-timeline-slide-circle {
    position: absolute;
    width: 28px;
    height: 28px;
    border-radius: 14px;
    border: 5px solid white;
    background: transparent;
    top: 2px;
    left: 0;
}



.hf-timeline-date,
.hf-timeline-text {
    color: white;
}

.hf-timeline-date {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 24px;
}

.hf-timeline-text {}

.timeline-text ul {
    margin-top: 0;
}


.hf-timeline-body {
    padding: 40px 36px;
}

.hf-timeline-track-container {
    overflow: hidden;
    position: relative;
}

.hf-timeline-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
    padding: 0 !important;
    margin: 0;
}

.hf-timeline-slide {
    min-width: 25%;
    width: 25%;
    box-sizing: border-box;

    font-size: 16px;
    line-height: 24px;
    margin-right: 5px;
    margin-left: unset;
}

.hf-timeline-slide:before {
    display: none;
}

.hf-timeline-control-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 2px;
    margin-top: 32px;
}

.hf-timeline-control {
    /* position: absolute;
    bottom: 0; */
    background: transparent;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    width: 50px;
}

.hf-timeline-control-wrap button:disabled,
.hf-timeline-control-wrap button[disabled] {
    opacity: .5;
    cursor: default;
}

.hf-timeline-control.prev {
    padding: 10px 20px 10px 0;
}

.hf-timeline-control.prev img {
    transform: rotate(90deg);
}

.hf-timeline-control.next {
    padding: 10px 0 10px 20px;
}

.hf-timeline-control.next img {
    transform: rotate(-90deg);
}




.hf-timeline-carousel-wrapper.black {
    background: #000;
}

.hf-timeline-carousel-wrapper.white {
    background: #fff;
}

.hf-timeline-carousel-wrapper.whitegradient {
    background: var(--white-gradient);
}

.hf-timeline-carousel-wrapper.gradient {
    background: var(--main-gradient);
}

.hf-timeline-carousel-wrapper.gradientflip {
    background: var(--main-gradient-flipped);
}

.hf-timeline-carousel-wrapper.bluegradient {
    background: var(--blue-gradient);
}

.hf-timeline-carousel-wrapper.purplegradient {
    background: var(--purple-gradient);
}

.hf-timeline-carousel-wrapper.pinkgradient {
    background: var(--pink-gradient);
}







/* Mobile view adjustments */

@media (max-width: 1024px) {

    .hf-timeline-slide {
        width: 50%;
        min-width: 50%;
    }

    .hf-timeline-track-container {
        width: 100%;
    }

    .hf-timeline-body {
        padding: 0 12px 0 32px;
    }

    .hf-timeline-control-wrap {
        margin-left: -20px;
        padding-right: 20px !important;
        padding-bottom: 24px;
    }
}



@media (max-width: 767px) {

    .hf-timeline-carousel-wrapper {
        padding-right: 32px;
        padding-left: 32px;
    }

    .hf-timeline-slide:first-child {
        margin-left: 0;
    }

    .hf-timeline-slide-topline {
        height: 1px;
        top: 16px;
    }

    .hf-timeline-slide-sideline {
        width: 5px;
        left: 12px;
    }


    .hf-timeline-control-wrap {
        display: none;
    }

    .hf-timeline-body {
        padding: 0 12px 5px 52px;
    }

    .hf-timeline-track-container {
        overflow: auto;
        width: 100%;
    }

    .hf-timeline-track {
        flex-direction: column;
        overflow: hidden;
    }

    .hf-timeline-slide {
        width: 95%;
    }
}

@media (max-width: 477px) {
    .hf-timeline-carousel-wrapper {
        padding-right: 20px;
        padding-left: 30px;
        margin-left: -20px;
        margin-right: -20px;
    }
}

@media (min-width: 768px) {
    .page-id-125 .hf-timeline-carousel-wrapper {
        margin-bottom: 170px !important;
    }
}