.history-container {
    width: 100%;
    max-width: 1400px;
    padding-left: 40px;
    padding-right: 40px;
    margin: 0 auto;
}

.history-header {
    position: fixed;
    top: 0px;
    left: 0;
    width: 100%;
    background-color: white;
    z-index: 1;
    transition: all 0.5s ease-in-out;
}

.history-header.visible {
    padding-top: 105px !important;
}

.history-header.hidden {
    padding-top: 0 !important;
}

.h-header-inner {
    display: flex;
    align-items: center;
    padding: 20px;
    max-width: 1400px;
    padding: 16px 40px;
    z-index: 1;
}

.history-container img {
    max-width: 100%;
    object-fit: cover;
}

.history-container iframe {
    border-radius: 10px;
}

.history-container .tabs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-grow: 1;
}

.history-container .tab {
    padding: 8px 4px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
    position: relative;
    transition: all 0.5s ease;
    width: 45px;
}

.history-container .tab:nth-child(1) {
    width: 90px;
}

.history-container .tab:nth-child(17) {
    width: 60px;
}

.history-container .tab:hover,
.tab.active {
    font-weight: 700;
}

.history-content h4,
.history-content h4 * {
    font-weight: normal !important;
}

.history-container .tab.active::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 150%;
    border: 1px solid black;
    border-radius: 50%;
    z-index: 3;
}

.history-container .nav-buttons {
    display: flex;
    gap: 20px;
    margin-left: 40px;
}

.history-container .nav-btn {
    padding: 10px 16px;
    border-radius: 10px;
    background-color: white;
    width: 60px;
    cursor: pointer;
    border: 1px solid var(--950, #062A4B);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease-out;
}

.history-container .nav-btn:hover {
    background-color: #062A4B;
}

.history-container .nav-btn:hover svg path {
    fill: white;
    transition: all 0.5s ease-out;
}

.history-container .progress-bar {
    flex-grow: 1;
    height: 1px;
    background-color: black;
    position: relative;
    transition: all 0.5s ease;
}

.history-container .progress-bar::before {
    content: '';
    height: 4px;
    top: -2px;
    background-color: #67B0FF;
    position: absolute;
    width: var(--progress-bar-width, 0%);
}

.history-container .progress-bar-mobile {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background-color: #67B0FF;
    transition: height 0.3s;
    display: none;
}

.history-content {
    margin-top: 192px;
}

.history-content .content-item {
    min-height: 100px;
    padding-top: 50px;
    position: relative;
}

/* History Item By Years - ex 1940 */
.history-item-1,
.history-item {
    display: flex;
    padding-left: 115px;
    justify-content: space-between;
    margin-bottom: 60px;
    position: relative;
}

.history-item-1 {
    padding-left: 0px;
}


.content-item:first-child .history-item:nth-child(2) {
    margin-top: -100px;
}

.hundred,
.decade p {
    font-size: 120px;
    font-style: normal;
    font-weight: 500;
    line-height: 100px;
    letter-spacing: -2.4px;
}

.hundred,
.decade p {
    position: sticky;
    top: 260px;
}

.history-item .content {
    max-width: 780px;
    width: 100%;
    padding-left: 16px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    overflow-x: hidden;
}

.history-item p,
.history-item h6,
.history-item .content img {
    max-width: 520px;
    /* width: 100%; */
}

.history-container img,
.history-item img {
    border-radius: 10px;
}

img.logo {
    height: 51px;
    width: auto !important;
    object-fit: cover;
    border-radius: 0;
}

img.mmc {
    width: 160px !important;
    height: 13px;
}

.story {
    color: #A6A6A6;
    margin-left: 80px;
}

.story p:first-child {
    font-size: 120px;
    font-style: normal;
    font-weight: 400;
    line-height: 108px;
    letter-spacing: 3.6px;
    text-align: center;
}

.revenue {
    color: #A6A6A6;
}

.revenue p:first-child {
    font-size: 150px;
    font-style: normal;
    font-weight: 400;
    line-height: 108px;
    letter-spacing: 6px;
}

.history-content .content-item a:not(.link):not(.theme-btn):not(h4 a),
.blog-link {
    color: var(--950, #062A4B);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.32px;
    padding-bottom: 5px;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: flex-start;
    align-self: flex-start;
}

.history-content .content-item a:not(.link):not(.theme-btn):not(h4 a):hover,
.history-content .content-item a:not(.link):not(.theme-btn).hovered,
.blog-link:hover,
.blog-link.hovered {
    border-bottom: 1px solid #062A4B;
}

/* History container 60, 40 */

.sixty-percent,
.forty-percent {
    width: 100%;
}

@media (max-width: 767px) {

    .sixty-percent,
    .forty-percent {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .sixty-percent {
        width: 60%;
    }

    .forty-percent {
        width: 40%;
    }
}

@media (max-width: 768px) {

    .history-container {
        padding-left: 16px;
        padding-right: 16px;
        padding-top: 0;
    }

    .history-header.hidden {
        padding-top: 16px !important;
    }

    .h-header-inner {
        padding: 0 !important;
    }

    .history-item-1,
    .history-item {
        margin-bottom: 20px;
    }

    .history-content {
        margin-top: 170px;
    }

    .history-content .content-item {
        padding-top: 20px;
    }

    .history-container .tabs {
        font-size: 14px;
    }

    .history-header {
        border-bottom: 1px solid black;
        padding: 16px 8px;
    }

    .history-container .progress-bar-mobile {
        display: block;
    }

    .history-container .tab:nth-child(1) {
        width: 45px;
    }

    .history-container .nav-buttons,
    .history-container .progress-bar {
        display: none;
    }

    .history-container .tab::before {
        content: attr(data-label);
    }

    .content-item:first-child .history-item:nth-child(2) {
        margin-top: -80px;
    }

    .history-container .tab:nth-child(1)::before {
        content: "Early Years";
    }

    .history-container .tab:nth-child(3)::before {
        content: "80s";
    }

    .history-container .tab:nth-child(5)::before {
        content: "90s";
    }

    .history-container .tab:nth-child(7)::before {
        content: "'00";
    }

    .history-container .tab:nth-child(9)::before {
        content: "'05";
    }

    .history-container .tab:nth-child(11)::before {
        content: "'10";
    }

    .history-container .tab:nth-child(13)::before {
        content: "'15";
    }

    .history-container .tab:nth-child(15)::before {
        content: "'20s";
    }

    .history-container .tab:nth-child(17) {
        content: "Today";
        display: none;
    }

    .history-container .tab {
        visibility: hidden;
    }

    .history-container .tab::before {
        visibility: visible;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        border-color: transparent !important;
    }

    .content-item .history-item:nth-child(2) {
        margin-top: -70px;
    }

    .content-item .history-item-1:nth-child(2) {
        margin-top: 0px;
    }

    .history-item .content {
        padding-top: 18px;
        padding-right: 0px;
        gap: 20px;
    }

    .hundred,
    .decade p {
        font-size: 40px;
        line-height: 70px;
        letter-spacing: -0.8px;
        top: 190px;
    }

    .history-item {
        padding-left: 38px;
    }

    .history-item-1 {
        padding-left: 0px;
    }

    .story {
        margin-left: 0;
    }

    .revenue p:first-child {
        font-size: 80px;
        line-height: 1.0;
        margin-bottom: 10px;
    }

    .history-item .content img {
        max-width: 520px;
        width: 100%;
        aspect-ratio: unset;
    }
}

/* Image Aspect Ratio for timeline page specific  */

.timeline .content-item>img {
    aspect-ratio: 80 / 43;
}

.timeline .history-item .content>p>img {
    aspect-ratio: 66 / 43;
}

.timeline .history-container .w-30 img {
    aspect-ratio: 441 / 452;
    height: auto;
}

.timeline .history-container .w-40 img {
    aspect-ratio: 440 / 452;
    height: auto;
}

.timeline .history-container .w-60 img {
    aspect-ratio: 172 / 151;
    height: auto;
}

.timeline .history-container .w-70 img {
    aspect-ratio: 287 / 200;
    height: auto;
}

.timeline .history-item .content-2010>p img {
    border-radius: 0;
    aspect-ratio: unset;
}

.timeline .history-container .w-70.block-2011-09-08 img {
    aspect-ratio: 861/755;
}

.timeline .history-container .w-70.rex-map img {
    aspect-ratio: 86/75;
}

.timeline .history-container .morningstar img {
    border-radius: 0;
}

.timeline .history-container .w-30.som p:not(:first-child) img,
.timeline .history-container .w-70.som p:not(:first-child) img {
    aspect-ratio: unset;
    border-radius: 0;
}

h4 a {
    color: black;
    text-decoration: underline;
}

.img-r-0,
.img-r-0 * {
    border-radius: 0 !important;
}