.nav-event {
    justify-content: flex-end;
}

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

.nav-event .nav-link {
    font-size: 0.9rem;
    font-weight: 400 !important;
    border: none;
    padding: 8px;
    border-radius: 5px;
    width: max-content;
    background-color: var(--tp-color-white);
    color: var(--tp-color-black);
    box-shadow: var(--tp-secondary-box-shadow);
}

.nav-event .nav-link:hover {
    color: var(--tp-color-gray);
    text-decoration: none;
    border: none;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.pagination li a span i {
    font-size: 12px;
    color: var(--tp-color-black);
}

.pagination .page-item.active .page-link {
    background-color: black;
    /* Black background for active link */
    color: white;
    border-radius: 5px;
}

.pagination .page-link {
    border: none;
    color: black;
    /* Default text color */
}

.pagination .page-link:hover {
    background-color: white;
    /* Optional: Light background on hover for non-active items */
}

.pagination .page-item.active .page-link:hover {
    background-color: var(--tp-secondary-color);
    border-radius: 50%;
}

.tab-pane-event-img img {
    width: 100%;
    border-radius: 0px;
    height: 200px;
    object-fit: contain;
    padding: 10px;
    border: 1px solid #0099cd;
}

.tab-pane-event-show-img img {
    height: 400px;
    width: 100%;
    object-fit: cover;
}

.tab-pane-event-show-info-time {
    position: absolute;
    margin-top: -42px;
    background-color: var(--tp-secondary-color);
    /* top: -10px; */
    z-index: 400;
    padding: 0.5%;
}

.tab-pane-event-show-info-time a,
.tab-pane-event-show-info-time i {
    color: white;
}

.tab-pane-event-show-info-pdf {
    width: max-content !important;
    background-color: var(--tp-secondary-color);
    padding: 3% 5%;
}

.tab-pane-event-show-info-pdf a,
.tab-pane-event-show-info-pdf i {
    color: white;
}

.tab-pane-event-show-info p {
    /* color: var(--tp-color-gray); */
    line-height: 1.8;
    font-size: 1.1rem;
}

.show-event-header {
    color: var(--tp-secondary-color);
    font-size: 26px;
    margin-bottom: 30px;
}

.show-event-mainheader {
    font-size: 28px;
    color: #0099cd;
    margin: 30px 0;
}

.asideBar {
    border: 0.1px solid rgba(135, 135, 135, 0.334);
    padding: 3% 8%;
    margin: 0 2% 2% 15%;
}

.asideBar ul {
    padding: 0;
}

.asideBar ul li {
    padding-bottom: 10px;
}

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

.tab-pane {
    display: flex;
    flex-direction: row !important;
    flex-wrap: wrap;
}

.bottom-left {
    position: absolute;
    bottom: 8px;
    left: 16px;
}

.bottom-left h4 {
    line-height: 1;
    color: var(--tp-color-white);
}

.bottom-left h6 {
    line-height: 1;
    color: var(--tp-color-white);
}

.tp-event-img-container {
    height: 530px;
    position: relative;
}

.tp-event-img-container img {
    height: 530px;
    object-fit: cover;
    filter: grayscale(20%) brightness(40%);
}

.tp-event-left-list .active {
    background-color: var(--tp-secondary-color);
}

.tp-event-left-list .active h4,
.tp-event-left-list .active span,
.tp-event-left-list .active span p {
    color: var(--tp-color-white);
}

.tp-event-left-list-items {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 50px;
    padding: 3% 6%;
    align-items: center;
    border-radius: 5px;
    border: 0.1px solid rgba(120, 119, 119, 0.2);
    margin-bottom: 3%;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 2px 0px;
    background-color: rgb(250, 250, 250);
    /* background: linear-gradient(90deg, rgba(0,153,205,0.1) 0%, rgba(0,153,205,0.3) 30%, rgba(0,153,205,0.6) 60%, rgba(0,153,205,0.9) 100%); */
}

.bottom-left {
    position: absolute;
    bottom: 8px;
    left: 16px;
}

.bottom-left h4 {
    line-height: 1;
    color: var(--tp-color-white);
}

.bottom-left h6 {
    font-weight: 0.9rem;
    line-height: 1;
    font-weight: 400;
    color: var(--tp-color-white);
}

.tp-event-left-list-items h4 {
    padding-bottom: 2%;
    font-size: 1.9rem !important;
    padding-top: 2%;
    font-weight: 800;
    border-bottom: 0.05px solid rgba(217, 217, 217, 0.4);
}

.tp-event-left-list-items.active p {
    font-size: 1rem;
    color: white;
}

.tp-event-left-list-items p {
    font-size: 1rem;
    color: rgb(61, 61, 61);
}

.tp-event-left-list-items span {
    font-size: 1.1rem;
    color: var(--tp-color-black);
    line-height: 1.5;
}

.tp-event-left-list-items span p {
    font-size: 0.7rem;
    color: var(--tp-color-black);
    margin-bottom: 0;
}

.tp-event-left-option {
    display: flex;
    justify-content: flex-end;
}

.hidden {
    display: none;
}

.show-more {
    color: blue;
    cursor: pointer;
    font-size: 0.7rem !important;
}

@media (max-width: 768px) {
    .tap-pane-divider {
        display: flex;
        padding-top: 5%;
        flex-direction: column !important;
    }

    .tab-pane-info-right .btn-download {
        width: 300px;
    }

    .nav-event {
        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-event {
        -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;
    }

    .item1 {
        display: flex;
        flex-direction: column;
    }
}

.tab-news-pane-img {
    position: relative;
    z-index: 90 !important;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding-bottom: 8%;
    overflow: hidden;
}

.tp-news-pane-wrapper:hover .tab-news-pane-img a img {
    transform: scale(1.05);
    transition: .5s ease-in-out;
}

.tp-news-pane-wrapper:hover .tab-news-pane-info .tab-pane-info-news-title h3 {
    color: rgb(62, 62, 62);
    transition: .3s ease-in-out;
}

.tab-news-pane-img a img {
    height: 160px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    z-index: -10;
    width: 100%;
    object-fit: cover;
}

.tab-news-pane-info {
    padding: 0 5% 5% 5%;
    /* margin-top: -10px; */
    z-index: 100;
}

.tab-news-pane-info-time {
    border: none;
    padding: 5px;
    border-radius: 20px;
    position: absolute;
    width: max-content;
    bottom: 15px;
    left: 20px;
    background-color: white;
    z-index: 100 !important;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.tab-news-pane-info-time a {
    font-size: 1rem;
    font-weight: 600;
    font-style: italic;
    color: gray;
}

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

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

.tp-news-pane-wrapper {
    margin: 5%;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
    border-radius: 30px;
}

.tab-news-pane-info .tab-pane-info-news-title h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.tab-news-pane-info-right {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.tab-news-pane-info-right .btn.btn-download i {
    width: 60px;
    color: black !important;
    font-size: 1rem;
}

.tab-news-pane-info-right .btn.btn-view {
    text-align: start;
    font-size: 1.2rem;
}

.tab-news-pane-info-right .btn.btn-view a {
    font-size: 1rem;
    color: black;
}

.tab-news-pane-info-right .btn.btn-view a i {
    color: black;
}

.tab-news-pane-info-location {
    margin-left: 0px;
}

.tab-news-pane-info-location a {
    color: gray;
}

.tab-news-pane-info-location i {
    padding-right: 3%;
}


.event-details-section {
    padding-left: 60px;
}

.event-details-description {
    font-size: 16px;
    text-align: start;
    align-items: center;
    display: flex;
    gap: 5px;
    line-height: 1.8;
    justify-content: center;
    gap: 15px;
    color: #000000;
}

.event-details-description i {
    color: var(--tp-secondary-color);
    font-size: 1.2rem;
    padding: 0 !important;
}

.scrollable-table-container {
    overflow-x: auto;
}