.twae-modern-vertical-timeline {
    --tw-ibxD-bg: #222;
    --font-size-base: 0.9rem;
    --tw-cbx-bd-top-width: 0px;
    --tw-cbx-bd-right-width: 0px;
    --tw-cbx-bd-bottom-width: 0px;
    --tw-cbx-bd-left-width: 0px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 0.5rem;
    --spacing-lg: 2rem;
    --radius-sm: 0.3rem;
    --radius-md: 0.4rem;
    --radius-lg: 2px;
}

[id^="twae-wrapper-"] .twae-modern-vertical-timeline-tab-container {
    display: flex;
    max-width: 1200px;
}

.twae-modern-vertical-timeline-tab-container .dot.twae-icon .twae-icon i {
    height: var(--tw-ibx-text-size);
    width: var(--tw-ibx-text-size);
    color: var(--tw-ibx-color, var(--tw-cbx-bg));
}

.twae-modern-vertical-timeline-tab-container .twae-icon svg {
    height: var(--tw-ibx-text-size);
    width: var(--tw-ibx-text-size);
    color: var(--tw-ibx-color, var(--tw-cbx-bg));
    display: inline-block;
    vertical-align: middle;
    fill: currentColor;
}

.twae-modern-year {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 20px 30px;
    z-index: 2;
    user-select: none;
    height: 60px;
    flex-shrink: 0;
    margin-right: var(--spacing-md);
    font-size: var(--font-size-base);
}

.twae-modern-yearSec {
    font-size: var(--font-size-base);
    padding: var(--spacing-xs) var(--spacing-sm);
    color: var(--tw-ybx-text-color);
    background-color: var(--tw-ybx-bg);
    border-radius: var(--radius-sm);
    width: fit-content;
    max-width: 120px;
}

.twae-modern-yearSec span #twaeyearSelect {
    font-size: var(--font-size-base);
    letter-spacing: 0.5px;
    background-color: var(--tw-ybx-bg);
    color: var(--tw-ybx-text-color);
    height: 1.5rem;
    width: fit-content;
    max-width: 110px;
    padding: 0;
    border: none;
    cursor: pointer;
}

.twae-modern-yearSec span #twaeyearSelect:focus {
    padding: 0 !important;
    outline: none;
    border: none;
    box-shadow: none;
    border-radius: 1rem;
}

.twae-modern-vertical-timeline-story-scroll-btns {
    display: flex;
}

.twae-modern-vertical-timeline-story-scroll-btns #twaescrollUp.disabled,
.twae-modern-vertical-timeline-story-scroll-btns #twaescrollDown.disabled {
    pointer-events: auto;
    cursor: not-allowed;
    filter: grayscale(80%);
}

.twae-modern-vertical-timeline-story-scroll-btns #twaescrollUp,
.twae-modern-vertical-timeline-story-scroll-btns #twaescrollDown {
    height: 2rem;
    width: 2rem;
    font-size: 20px !important;
    border-radius: var(--radius-sm);
    margin-left: var(--spacing-sm);
    color: var(--tw-ibx-color) !important;
    fill: var(--tw-ibx-color, var(--tw-cbx-bg));
    background-color: var(--tw-ibx-bg) !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
}

.twae-modern-vertical-timeline-story-scroll-btns #twaescrollUp:hover {
    opacity: 1;
}

.twae-modern-vertical-timeline-story-scroll-btns #twaescrollDown:hover {
    opacity: 1;
}

.twae-modern-vertical-timeline-story-scroll-btns #twaescrollUp svg,
.twae-modern-vertical-timeline-story-scroll-btns #twaescrollDown svg {
    font-size: 20px !important;
    height: 20px !important;
    width: 20px !important;
}

.twae-modern-vertical-timeline-story-scroll-btns #twaescrollUp i,
.twae-modern-vertical-timeline-story-scroll-btns #twaescrollDown i {
    font-size: 20px !important;
    height: 20px !important;
    width: 20px !important;
    text-align: center;
    align-items: center;
    color: var(--tw-ibx-color, var(--tw-cbx-bg));
}

.twae-modern-vertical-timeline-story-scroll-btns img:hover {
    background: rgb(231, 229, 229);
}

.twae-modern-vertical-timeline-tab-menu {
    width: calc(var(--tw-ibx-size) + 210px);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    padding-bottom: var(--spacing-sm);
}

.twae-modern-vertical-timeline-tab-container .twae-slideshow {
    position: relative;
    width: 100%;
}

.twae-wrapper .twae-modern-vertical-timeline-tab-container .twae-media iframe {
    min-height: 400px;
}

.twae-modern-vertical-timeline-tab-container .twae-slideshow .swiper-wrapper {
    display: flex;
    align-items: flex-start;
    transition-property: transform, height;
}

.twae-modern-vertical-timeline-tab-container .twae-slideshow .swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    transition-property: transform;
    height: auto;
}

[id^="twae-wrapper-"] .twae-modern-vertical-timeline-tab-btn-wrapper {
    margin-left: var(--spacing-md);
    height: calc(100% - 60px);
    padding-left: 10px;
    padding-right: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-height: 600px !important;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.twae-modern-vertical-timeline-tab-btn-wrapper::-webkit-scrollbar {
    width: 0px;
    /* background: transparent; */
    display: none;
}

.twae-modern-vertical-timeline-tab-menu button {
    text-align: left;
    border: none !important;
    background: transparent !important;
    cursor: pointer;
    padding: 20px 20px 20px 15px;
    transition: background 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: none;
}

.twae-modern-vertical-timeline-tab-menu button:hover {
    border: none;
    background: transparent;
}

.twae-modern-vertical-timeline-tab-menu button .twae-modern-date,
.twae-modern-subtitle {
    width: fit-content;
    white-space: pre-wrap !important;
    max-width: 85%;
}

.twae-modern-vertical-timeline-tab-container .twae-modern-labels {
    display: flex;
    flex-direction: column;
    gap: var(--tw-lbl-gap);
}

.twae-modern-vertical-timeline-tab-btn.active .twae-modern-date {
    color: var(--tw-ibxD-bg) !important;
    transition: all 0.3s ease;
}

.twae-modern-vertical-timeline-tab-menu button .twae-modern-subtitle {
    width: fit-content;
    white-space: pre-wrap !important;
    transition: all 0.3s ease;
}

[id^="twae-wrapper-"] .twae-modern-vertical-timeline-line {
    position: absolute;
    width: var(--tw-line-width);
    background: var(--tw-line-bg);
    border-width: 0px calc(var(--tw-line-bd-width) * 1px) 0px calc(var(--tw-line-bd-width) * 1px);
    border-style: var(--tw-line-bd-style);
    border-color: var(--tw-line-bd-color);
    z-index: 1;
    color: var(--tw-line-filling-color);
    transition: all 0.4s ease;
}

[id^="twae-wrapper-"].twae-border-disabled .twae-modern-vertical-timeline-line {
    border: none !important;
}

.twae-modern-vertical-timeline-tab-btn {
    position: relative;
    text-align: left;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border: none;
    padding: 20px 10px 20px 15px;
    z-index: 2;
}

[id^="twae-wrapper-"] .twae-modern-vertical-timeline-tab-btn .dot {
    position: absolute;
    left: 180px;
    top: calc(45% - var(--tw-lbl-gap) / 2);
    transform: translateY(-50%);
    z-index: 3;
}

.empty-dot {
    visibility: hidden;
}

.dot.twae-icon:empty {
    visibility: hidden;
}

[id^="twae-wrapper-"] .dot:has(.twae-icondot) {
    background-color: unset !important;
    border: none !important;
}

.elementor-widget.elementor-widget-timeline-widget-addon .twae-wrapper .twae-modern-vertical-timeline-tab-container .dot .twae-icon {
    background-color: var(--tw-ibx-bg) !important;
}

.elementor-widget.elementor-widget-timeline-widget-addon .twae-wrapper .twae-modern-vertical-timeline-tab-container .dot .twae-icondot {
    background-color: var(--tw-ibx-bg) !important;
}

.elementor-widget.elementor-widget-timeline-widget-addon .twae-wrapper .twae-modern-vertical-timeline-tab-container .active-dot:not(:empty) {
    background-color: var(--tw-ibxD-bg);
    transition: all 0.4s ease;
}

.elementor-widget.elementor-widget-timeline-widget-addon .twae-wrapper .twae-modern-vertical-timeline-tab-container .active-dot .twae-icondot {
    background-color: var(--tw-ibxD-bg) !important;
    transition: all 0.4s ease;
}

.elementor-widget.elementor-widget-timeline-widget-addon .twae-wrapper .twae-modern-vertical-timeline-tab-container .active-dot .twae-icon {
    background-color: var(--tw-ibxD-bg) !important;
    transition: all 0.4s ease;
}

[id^="twae-wrapper-"] .twae-modern-vertical-timeline-tab-content {
    background-image: linear-gradient( to right, var(--tw-cbx-bg), var(--tw-cbx-bg-gradient));
}

[id^="twae-wrapper-"] .twae-modern-vertical-timeline-tab-content-box {
    flex: 1;
    padding: 15px;
    width: 60%;
    height: fit-content;
    position: relative;
    margin-bottom: var(--tw-cbx-bottom-margin);
    transition: all 0.4s ease;
}

.twae-modern-vertical-timeline-tab-container .twae-content {
    overflow: visible;
}

[id^="twae-wrapper-"] .twae-modern-vertical-timeline-tab-content-box .twae-modern-vertical-timeline-tab-content {
    display: none;
}

[id^="twae-wrapper-"] .twae-modern-vertical-timeline-tab-content-box .twae-modern-vertical-timeline-tab-content.active {
    display: block;
}

.twae-wrapper.twae-bg-hover .twae-modern-vertical-timeline-tab-content:hover {
    background: var(--tw-cbx-bg-hover) !important;
}

.twae-modern-vertical-timeline-tab-content:hover {
    border-radius: var(--tw-cbx-radius-hover) !important;
}

.twae-modern-vertical-timeline-tab-btn-wrapper .twae-modern-vertical-timeline-tab-content {
    display: none;
}

.mobile-view {
    display: none;
}

[id^="twae-wrapper-"] .twae-inner-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(50% - var(--tw-line-width) / 2);
    display: block;
    width: var(--tw-line-width);
    background-color: var(--tw-line-filling-color);
    z-index: 1;
    transition: height 0.4s ease;
}

.twae-icon,
.twae-icondot {
    transition: border-color 0.3s ease;
}

.twae-icon:before,
.twae-icon:after,
.twae-icondot:before,
.twae-icondot:after {
    transition: background 0.3s ease;
}

.twae-end-out-viewport:not(.twae-start-out-viewport) .twae-story:not(.twae-out-viewport) .twae-icon,
.twae-end-out-viewport:not(.twae-start-out-viewport) .twae-story:not(.twae-out-viewport) .twae-icondot {
    border-color: var(--tw-line-filling-color) !important;
}

.twae-end-out-viewport:not(.twae-start-out-viewport) .twae-story:not(.twae-out-viewport) .dot.twae-icon>.twae-icondot {
    border-color: var(--tw-line-filling-color) !important;
}

.twae-wrapper.twae-bg-multicolor .twae-modern-vertical-timeline-tab-content[data-multicolor="2"] {
    background: var(--tw-cbx-bg2, var(--tw-cbx-bg));
}

.twae-wrapper.twae-bg-multicolor .twae-modern-vertical-timeline-tab-content[data-multicolor="3"] {
    background: var(--tw-cbx-bg3, var(--tw-cbx-bg));
}

.twae-wrapper.twae-bg-multicolor .twae-modern-vertical-timeline-tab-content[data-multicolor="4"] {
    background: var(--tw-cbx-bg4, var(--tw-cbx-bg));
}


/* Mobile styles */

@media (max-width: 700px) {
    .twae-modern-year {
        margin-right: 0;
    }
    .twae-modern-yearSec {
        font-size: var(--font-size-base);
        padding: var(--spacing-sm) var(--spacing-sm);
        border-radius: var(--radius-sm);
    }
    .twae-modern-yearSec span select:focus {
        font-size: var(--font-size-base);
    }
    .twae-modern-yearSec select {
        font-size: var(--font-size-base);
        padding-right: 1.5rem;
    }
    .twae-wrapper .twae-modern-vertical-timeline-tab-content-box {
        display: none;
    }
    .twae-modern-vertical-timeline-tab-menu {
        width: 100vw;
        height: 100vh;
    }
    .twae-modern-vertical-timeline-tab-container {
        margin: 0;
    }
    .twae-wrapper .twae-modern-vertical-timeline-tab-container .twae-media iframe {
        min-height: 200px;
    }
    .twae-modern-vertical-timeline-tab-menu button .twae-modern-date {
        margin-top: 10px;
        margin-left: calc(var(--tw-ibx-size) + 1rem);
    }
    .twae-modern-vertical-timeline-tab-menu button .twae-modern-subtitle {
        margin-left: calc(var(--tw-ibx-size) + 1rem);
        margin-bottom: 1rem;
    }
    [id^="twae-wrapper-"] .twae-modern-vertical-timeline-tab-btn .dot {
        position: absolute;
        left: 0px;
        top: 42px;
    }
    .twae-wrapper .twae-modern-vertical-timeline-tab-container .twae-story {
        margin-bottom: max(-10px, calc(var(--tw-cbx-bottom-margin) - 60px));
    }
    [id^="twae-wrapper-"] .twae-modern-vertical-timeline-tab-btn .dot.active-dot {
        transition: all 0.3s ease;
    }
    [id^="twae-wrapper-"] .twae-modern-vertical-timeline-tab-btn-wrapper {
        max-height: 800px;
    }
    [id^="twae-wrapper-"] .twae-modern-vertical-timeline-tab-btn-wrapper .twae-modern-vertical-timeline-tab-content {
        display: none;
        margin: -2rem 0 -2rem calc(var(--tw-ibx-size) + 1rem);
    }
    .twae-modern-vertical-timeline-tab-menu button {
        padding: 10px 0 0 0;
    }
    [id^="twae-wrapper-"] .twae-modern-vertical-timeline-tab-btn-wrapper .twae-modern-vertical-timeline-tab-content.active {
        display: block;
        height: auto !important;
        overflow: visible;
    }
}