.nav-photoGallery {
    width: 100%;
    padding: 10px;
    border-radius: 25px;
}

.nav-photoGallery .nav-link.active {
    font-weight: 500 !important;
    /* background-color: var(--tp-primary-color); */
    /* border: none;
    color: var(--tp-color-white); */
}

.nav-photoGallery .nav-link:hover {
    color: var(--tp-color-black);
    /* text-decoration: none; */
    /* border: none; */
}

.nav-photoGallery .nav-link {
    font-weight: 400 !important;
    /* border: none; */
    /* padding: 10px;
    border-radius: 25px;
    width: max-content;
    background-color: var(--tp-primary-ghost-white);
    color: var(--tp-color-black);
    box-shadow: var(--tp-secondary-box-shadow); */
}

.photoGallery-items {
    margin: 1% 1%;
}

.photoGallery-divider-section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.tab-pane-event-info-left .tab-pane-info-title a {
    font-size: 16px;
    font-weight: 500;
    color: white;
    line-height: 1.4;
}

.tab-pane-gallery-info {
    width: 100% !important;
    width: max-content;
    position: relative;
    bottom: 0;
    background-color: var(--tp-secondary-color);
    padding: 1% !important;
    cursor: pointer;
    min-height: 73px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tab-pane-event-info {
    width: 100% !important;
    width: max-content;
    /* position: relative; */
    /* margin-top: -52px; */
    /* background-color: #9fc645d6; */
    padding: 1% !important;
    cursor: pointer;
}

.tab-pane-event-info .tab-pane-event-info-time h5 {
    color: var(--tp-color-black) !important;
}

.tab-pane-info-left a i {
    padding-right: 10px;
}

.tab-pane-event-info-time {
    /* border: 0.1px solid rgb(90, 90, 90, 0.5); */
    /* padding: 1px; */
    border-radius: 5px;
    width: max-content;
    padding: 0 4% 2%;
    /* margin-left: 2%; */
    background-color: var(--tp-color-white);
}

.tab-pane-event-info-time a {
    color: var(--tp-color-black) !important;
}

.tab-pane-event-info-time a i {
    color: var(--tp-primary-color);
}

.tap-pane-event-divider {
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    /* background-color: var(--tp-primary-ghost-white); */
    padding: 0 0 0 0;
    border-radius: 5px;
    margin-bottom: 4%;
    margin: 3% 5%;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    /* box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px; */
}

.tab-pane-info-time-location {
    border-left: 1px solid white !important;
}

.nav-link:focus,
.nav-link:hover {
    color: var(--tp-color-gray);
}

.gallery-items {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.gallery-items a {
    width: 25%;
    /* padding: 8px 10px; */
}

.gallery-items a>img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    padding-bottom: 40px;
    padding: 20px;
}

.video-thumbnail-wrapper {
    position: relative;
    display: inline-block;
    overflow: hidden;
    width: 35%;
    border-radius: 8px;
    /* Optional: Rounded corners */
}

.video-thumbnail {
    display: block;
    width: 100%;
    height: auto;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s ease-in-out;
}

.play-button i {
    color: #fff;
    font-size: 24px;
}

.video-thumbnail-wrapper:hover .play-button {
    background: rgba(0, 0, 0, 0.8);
}

.lb-outerContainer {
    width: 60% !important;
    height: auto !important;
}

.lb-container img {
    border: none !important;
}

.lb-closeContainer {
    position: absolute;
    top: 0;
    right: 80px;
}

.lb-nav a.lb-next {
    width: 34%;
    right: -300px !important;
    float: right;
    background: url(../images/next.png) right 48% no-repeat;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
    opacity: 1 !important;
    transition: opacity 0.1s !important;
}

.lb-nav a.lb-prev {
    width: 34%;
    left: -300px !important;
    float: left;
    background: url(../images/prev.png) left 48% no-repeat;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
    opacity: 1 !important;
    transition: opacity 0.1s !important;
}

.grid-container {
    display: grid;
    grid-template-columns: auto auto auto auto;
    gap: 5px;
    /* padding: 5px; */
}

.grid-container img {
    width: 20%;
}

.grid-container>div {
    text-align: center;
}

.video-wrapper {
    padding: 20px;
}

.video-wrapper iframe {
    width: 100%;
}

.video-title {
    font-size: 19px;
}

@media (max-width: 768px) {
    .gallery-items a {
        width: 100%;
    }

    .lightbox {
        display: none !important;
    }

    #lightboxOverlay {
        display: none !important;
    }

    /* Ensure the nav container is scrollable horizontally */
    .nav-photoGallery {
        display: flex;
        flex-wrap: nowrap;
        flex-direction: row;
        /* Horizontal alignment */
        overflow-x: auto;
        /* Enable horizontal scrolling */
        white-space: nowrap;
        /* Prevent wrapping of items */
        width: 100%;
        /* Ensure it takes full width */
    }

    .photoGallery-items {
        flex-shrink: 0;
        /* Prevent shrinking */
        display: inline-block;
        padding: 10px 0;
    }

    /* Optional: Hide scrollbars */
    .nav-photoGallery::-webkit-scrollbar {
        display: none;
        /* Hide scrollbars in WebKit browsers */
    }

    .nav-photoGallery {
        -ms-overflow-style: none;
        /* IE and Edge */
        scrollbar-width: none;
        /* Firefox */
    }

    /* Adjust padding and sizing for buttons */
    .nav-link {
        padding: 10px 15px;
        font-size: 1rem;
    }

    .photoGallery-divider-section {
        display: flex;
        flex-direction: column;
    }
}