.timeline_main_container {
    width: 100%;
    pointer-events: auto;
    user-select: none;
}
.timeline-container {
    white-space: nowrap;
    position: relative; }

.timeline-lines {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%; }

#time_line_category {
    gap: 80px;
    justify-content: normal; }
#time_line_category button {
    background-color: transparent;
    font-size: 20px;
    line-height: 1.5;
    outline: none;
    border: 0;
    color: #FFF;
    position: relative;
    cursor: pointer;
    transition: color 0.3s ease-in-out; }
#time_line_category button:not(.active):hover {
    color: rgba(255, 255, 255, 0.5); }
#time_line_category button:not(.active):before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: #FFF;
    transition: width 0.3s ease-in-out; }
#time_line_category button:not(.active):hover:before {
    width: 100%; }
#time_line_category button.active {
    cursor: default;
    border-bottom: 1px solid #FFF;
}

.timeline-rows {
    display: flex;
    flex-direction: column;
    position: relative;
    margin-top: 60px;
}

.timeline-row {
    position: relative;
    margin-bottom: 10px;
    height: 100px;
     }
@media all and (max-width: 767px) {
    .timeline-row {
        height: unset;
    }
    .timeline-rows {
        margin-top: 30px;
    }
}
.timeline-row:first-child {
    margin-top: 112px;
}
@media all and (max-width: 767px) {
    .timeline-row:first-child {
        margin-top: 0;
    }
}
.year-marker {
    width: 44px;
    text-align: center;
    position: relative; }
.year-marker .dot {
    display: block;
    color: #FFF;
    font-weight: 900;
    font-size: 30px; }
.year-marker:not(:has(.dot)) {
    top: 70px;
}

.year-marker-label:after {
    content: "";
    position: absolute;
    height: 100%;
    left: 50%;
    border-left: 1px dashed rgba(255, 255, 255, 0.2); }

.timeline-box {
    background-color: #1C1C1C;
    border-radius: 5px;
    color: #FFF;
    text-align: left;
    position: absolute;
    min-width: 317px;
    padding: 20px;
    box-sizing: border-box;
    margin-right: 10px;
    cursor: pointer;
}
@media all and (max-width: 767px) {
    .timeline-box {
        display: flex;
        flex-direction: column;
        position: relative;
        margin-bottom: 10px;
        margin-right: 0;
        min-width: unset;
    }
}
.timeline-box.active {
    z-index: 9999;
    background-color: #14362A;
    color: #69B09A;
    box-shadow: 0 4px 24px 0 #00000059;
}
.timeline-box.active .subtitle {
    color: #FFF;
}
@media all and (max-width: 767px) {
    .timeline-box .subtitle {
        margin-bottom: 10px;
    }
}
.timeline-box img {
    max-width: 249px;
    display: none;
}
.timeline-box img.active {
    display: block;
}
.timeline-box p {
    margin: 0; }

.timeline-box .title {
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 10px;
}
@media all and (max-width: 1023px) {
    .timeline-box .title {
        font-size: 18px;
    }
}
@media all and (max-width: 767px) {
    .timeline-box .title {
        font-size: 16px;
    }
}
.timeline-box .subtitle {
    font-weight: 700;
    font-size: 12px;
    line-height: 1.2;
    color: #777;
}
.timeline-box .icon-btn {
    background-image: url(../assets/images/chevron-bottom-light.svg);
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    height: 6px;
    text-align: center;
    margin-top: 10px;
}
@media all and (max-width: 767px) {
    .timeline-box img {
        max-width: 310px;
        display: block;
        margin-top: auto;
    }
    .timeline-box .icon-btn {
        display: none;
    }
}
.timeline-box.active .icon-btn {
    background-image: url(../assets/images/chevron-up-light.svg);
}

.timeline-box-inactive {
    cursor: auto;
    background-color: #1C1C1C66;
}
.timeline-box-inactive .title {
    opacity: 0.4;
}
.timeline-box-inactive .icon-btn {
    display: none;
}
.timeline-box-hide {
    display: none;
}
.scroll-x-nav {
    display: flex;
    gap: 15px;
}
.scroll-x-nav span {
    opacity: 0.6;
    transition: opacity 0.3s ease-in-out;
}
.scroll-x-nav span.active {
    cursor: pointer;
    opacity: 1;
}
.timeline-nav-row {
    display: flex;
    justify-content: space-between;
}
.timeline-main-container {
    margin-left: calc((100% - 79vw) / 2);
    overflow-y: hidden;
    scrollbar-width: none;
    padding-bottom: 200px;
}
@media all and (max-width: 767px) {
    .scroll-x-nav {
        display: none;
    }
    .timeline-nav-row {
        display: block;
    }
    .timeline-main-container {
        padding: 0 20px;
        margin-left: 0;
        overflow-y: unset;
    }
}

.timeline-main-container {
    cursor: grab;
}

.timeline-main-container.dragging {
    cursor: grabbing;
}
