body {
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 0;
}
@media(min-width:768px){
.color-label{
display:none;
}
.box-content p {
   margin-top:7% !important;
}


}
@media (max-width: 768px) {
.box-content p {
   margin-top:7% !important;
}

.elementor-2766 .elementor-element.elementor-element-25dff1a {
     height: 450px !important;
    overflow-y: scroll !important;
}
.e-con.e-flex>.e-con-inner{
display: grid;
}
    .timeline-slider {
        overflow-x: hidden;
    }

    .nav-buttoning-row {
        display: none;
    }

    #loadMoreMilestones {
        display: block !important;
        background-color: #0073aa;
        color: white;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        margin: 0 auto;
    }
}

.timeline-wrapper {
    position: relative;
    width: 100%;
    margin: auto;
    height: 600px; /* Adjust as needed */
    overflow: hidden;
}

.timeline-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.box {
    flex: 0 0 25%; /* Each box takes up 1/6th of the container */
    position: relative;
    min-height: 780px; /* Adjust as needed */
    box-sizing: border-box; /* Ensure padding and border are included in the width */
    margin: 0; /* Remove any default margins */
}

.box .date {
    margin-top: 10px;
    position: absolute;
    top: 41%; /* Adjusted position */
    left: 0px;
    transform: translateY(-50%);
    margin-left: 0px;
    margin-bottom: 20px; /* Added spacing between year image and box content */
}

.box-content {
    border-radius: 5px;
    width: 275px;
    position: absolute;
    left: 0px;
    padding: 10px; /* Added padding */
    border-style: solid;
    border-width: thin;
    background: transparent;
    overflow: visible; /* Ensure content is not hidden */
    height:150px;
}

/* Box Content Background Gradients */
.box:nth-child(3n+1) .box-content {
    border-color: orange;
    background: linear-gradient(to bottom right, transparent 0, transparent 70%, orange 150%, orange 100%);
border-radius:10.6px;
}

.box:nth-child(3n+2) .box-content {
    border-color: red;
    background: linear-gradient(to bottom right, transparent 0, transparent 70%, red 150%, red 100%);
border-radius:10.6px;
}

.box:nth-child(3n+3) .box-content {
    border-color: green;
    background: linear-gradient(to bottom right, transparent 0, transparent 70%, green 150%, green 100%);
border-radius:10.6px;

}

.box-content p {
    margin: 0;
    color: black;
    padding: 10px;
}

.box-bottom .box-content {
    top: 50%; /* Adjusted position */
}

.box.box-top {
    margin-bottom: 0px !important;
}

.box-top .box-content {
    top: 15%; /* Adjusted position */
}

.box-content::before {
    content: " ";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border: 10px solid transparent;
}

.box-bottom .box-content::before {
    border-bottom-color: inherit;
    top: -20px;
}

.box-top .box-content::before {
    border-top-color: inherit;
    bottom: -20px;
}

.nav-buttoning {
    position: absolute;
    bottom: 0; /* Position at the bottom */
    right: 0; /* Center horizontally */
    transform: translateX(-50%); /* Center horizontally */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999; /* Ensure it's on top */
}

.buttoning {
    width: 50px;
    height: 50px;
    background-color: #00b0bd;
    border: none;
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.gapss {
    width: 20px;
}

.arrow {
    font-size: 20px;
    margin: 0;
} 


.prev-buttoning .next-buttoning{
        background-color: #ce8e2a;
    }

 .prev-buttoning:hover .next-buttoning:hover {
        background-color: #fcaf17;
    }

.prev-buttoning:active .next-buttoning:active {
        background-color: #fcaf17;
    }

/* Remove focus outline on buttons */
.nav-buttoning-row button:focus {
    outline: none;
    background-color: #fcaf17; /* Optional: reset background color after click */
}

/* If the button is active, remove the background color change */
.nav-buttoning-row button:active {
    background-color: #fcaf17; /* Optional: reset background color if active state is causing color */
}


.19-67  {
    top: 20%!important;
}


