﻿.SFX_module {
    padding: 1% 0%;
}

/* Timeline container */
.SFX_Timeline_timeline2 {
    margin: 65px 0;
    position: relative;
}

/* Timeline vertical line */
.SFX_timeline_line_timeline2 {
    position: absolute;
    width: 1px;
    background: #e5e5e5;
    top: 0;
    bottom: 0;
    margin-left: 40px;
    z-index: -1;
    margin-top: -40px;
}

    .SFX_timeline_line_timeline2::before,
    .SFX_timeline_line_timeline2::after {
        content: '';
        background-image: url('/images/Lonpac/GFX_TimelineDOT.svg');
        position: absolute;
        left: -4px;
        width: 9px;
        height: 9px;
        display: block;
    }

    .SFX_timeline_line_timeline2::after {
        bottom: 0;
    }

/* Timeline image */
.SFX_Timeline_Image_timeline2 img {
    width: 200px;
    height: 150px;
    border-radius: 20px;
    object-fit: cover;
    margin-left: -55px;
}

@media (max-width: 450px) {
    .SFX_Timeline_Image_timeline2 img {
        /*width: calc(69px + (131 - 69) * ((100vw - 320px) / 131));
        height: calc(51.75px + (131 - 51.75) * ((100vw - 320px) / 131));*/
    }
}

/* Timeline content */
.SFX_timeline_content_timeline2 {
    margin: 3% 0 14px 5%;
}

.SFX_timeline_content2_timeline2 {
    font-size: 12px;
    color: #959595;
    font-weight: 300;
    margin: 0 0 3% 5%;
}

/* Inside the header "document" box */
.SFX_table_document_timeline2 {
    width: 70%;
    border: 1px solid #e5e5e5;
    border-radius: 30px;
    background: #fff;
    font-size: 12px; /* closer to old one */
    margin-top: 10px;
    margin-left: 0px;
    padding: 0px;
}

    /* Logo + link row (mimic old block look) */
    .SFX_table_document_timeline2 .row {
        margin-bottom: 10px;
    }

    /* Force logo smaller if needed */
    .SFX_table_document_timeline2 img {
        max-height: 60px;
        width: auto;
    }

/* The description block (old SFX_timeline_content1) */
.SFX_timeline_content1_timeline2 {
    font-size: 13px;
    line-height: 1.5;
    color: #464646;
    padding: 20px 30px;
}

@media (max-width: 500px) {
    .SFX_table_document_timeline2 {
        width: 100%;
        padding: 10px 15px;
    }
}

/* Buttons */
.BTN_Timeline_timeline2,
.BTN_Timeline_Less_timeline2 {
    background: #377dff;
    font-size: 12px;
    color: #fff;
    border-radius: 25px;
    padding: 9.5px 17.5px;
    font-weight: 500;
    width: 80px;
    text-align: center;
    border: none;
}

    .BTN_Timeline_timeline2:hover,
    .BTN_Timeline_Less_timeline2:hover {
        background: #044ACC !important;
        color: #fff !important;
        border: 1px solid #044ACC !important;
    }

.SFX_table_block_4 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 30px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.SFX_content_5 {
    font-size: 14px;
    font-weight: 300;
    color: #959595;
    text-align: right;
    padding-right: 30px;
}

    .SFX_content_5 > a {
        text-decoration: none;
        color: inherit !important;
    }

.SFX_table_document_timeline2 .SFX_table_block_4:first-of-type {
    border-bottom: 1px solid #ccc; /* light grey */
}

.timeline-item_timeline2 {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    width: 90%;
}

.SFX_Timeline_Image_timeline2 {
    margin-right: 15px; /* space between circle/image and content */
    /*flex: 0 0 60px;*/ /* fixed width like old table’s first <td> */
}

.SFX_Timeline_Circle_timeline2 {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #e5e5e5;
    background: #fff;
    color: #464646;
    font-size: 16px;
    font-weight: 600;
    display: flex; /* center text horizontally + vertically */
    align-items: center;
    justify-content: center;
}

.timeline-item_timeline2 > div:last-child {
    flex: 1;
}

.SFX_timeline_content_border {
    border: 1px solid #e5e5e5;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    margin: 10px 0% 30px 10px;
    width: 90%;
}

    /* First child → only right/bottom border */
    .SFX_timeline_content_border > .SFX_PDF_File:first-child {
        border-bottom: 1px solid #ccc;
        border-right: none;
    }

    /* Last child → only left border (so no double borders) */
    .SFX_timeline_content_border > .SFX_PDF_File:last-child {
        border-top: 1px solid #ccc;
        border-left: none;
    }


    .SFX_timeline_content_border > .SFX_PDF_File:only-child {
        border-top: none;
        border-bottom: none;
    }

@media (min-width: 992px) {
    .SFX_timeline_content_border {
        flex-direction: row;
    }
        /* First child → only right/bottom border */
        .SFX_timeline_content_border > .SFX_PDF_File:first-child {
            border-right: 1px solid #ccc;
            border-bottom: none;
        }

        /* Last child → only left border (so no double borders) */
        .SFX_timeline_content_border > .SFX_PDF_File:last-child {
            border-left: 1px solid #ccc;
            border-top: none;
        }

        .SFX_timeline_content_border > .SFX_PDF_File:only-child {
            border-left: none;
            border-right: none;
        }

    .special-padding {
        padding-left: 50px;
        padding-right: 50px;
    }
}

.SFX_timeline_content_border > .SFX_PDF_File {
    flex: 1 1 0;
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 0px;
}

@media (max-width: 767px) {
    .container-timeline2 {
        margin-left: 25px !important;
    }
}

.timeline-controls_timeline2 {
    display: flex;
    margin-left: 175px;
}

#Items-[ModuleContext:ModuleId] .container {
    margin-right: 20%;
    margin-left: 20%;
}

.special-padding {
    padding-left: 0px;
    padding-right: 0px;
}
