.slider-block {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 20px auto;
    max-width: 480px;
    padding: 0 2rem;
}

.slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.slider-wrapper {
    display: flex;
    width: 100%;
    transition: transform 0.3s ease-in-out;
    padding: 10px 0;
}

.slide {
    flex: 0 0 auto;
    width: 100%;
    box-sizing: border-box;
    /* Include padding and border in element's total width and height */
    display: flex;
}

/* .slide > * {
    margin-right: 30px;
} */

#prevBtn,
#nextBtn {
    position: absolute;
    top: 28px;
    cursor: pointer;
    padding: 10px;
}

#prevBtn {
    left: 5px;
}

#nextBtn {
    right: 5px;
}

.day-date-label,
.weekly-date-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: Rubik;
    background-color: #fff;
    /* box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1); */
    max-width: 200px;
    width: 100%;
    margin-right: 15px;
}

.weekly-date-label span:first-child,
.day-date-label span:first-child {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
}

.weekly-date-label span:last-child,
.day-date-label span:last-child {
    font-size: 0.9em;
    color: #555;
}

.day-date-label.active {
    background-color: #D7ECDC;
}

.day-date-label a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: Rubik;
    background-color: transparent;
    margin: -8px;
    padding: 8px;
    max-width: 200px;
    width: 100%;
}

.day-date-label a span:first-child {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
}

.day-date-label a span:last-child {
    font-size: 0.9em;
    color: #555;
}



.day-date-label:last-child {
    display: none;
}

.slider-block {
    max-width: 270px;
}


@media (max-width: 767px) {
    .slider-block {
        max-width: 270px;
    }

    /* .day-date-label:not(.active) {
        display: none;
    } */

    .day-date-label:last-child {
        display: none;
    }

    .day-date-label.active+.day-date-label {
        display: block;
    }
}


/* menu slider css*/

.menuslider-block {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 20px auto;
    max-width: 270px;
    padding: 0 2rem;
}

.menuslider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.menuslider-wrapper {
    display: flex;
    width: 100%;
    transition: transform 0.3s ease-in-out;
    padding: 10px 0;
}

.menuslide {
    flex: 0 0 auto;
    width: 100%;
    box-sizing: border-box;
    /* Include padding and border in element's total width and height */
    display: flex;
}


#prevBtnMenu,
#nextBtnMenu {
    position: absolute;
    top: 15px;
    cursor: pointer;
    padding: 10px;
}

#prevBtnMenu {
    left: 5px;
}

#nextBtnMenu {
    right: 5px;
}



@media (max-width: 767px) {
    .menuslider-block {
        max-width: 270px;
    }
}