﻿#imageModal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

#imageContainer {
    position: relative;
    margin: 5%; /* 15% from the top and centered */
    width: 100%; /* Could be more or less, depending on screen size */
    max-width: 90%; /* Limit the maximum width */
    max-height: 90%;
}

#imageContent {
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.modalImage {
    max-width: 100%;
    max-height: 85vh; /* Limit height to 80% of the viewport height */
    display: block;
    margin: 25px auto 0;
}
.dt-paging-button {
    margin: 0 !important;
    padding: 0 !important;
}
.pagination > li > a, .pagination > li > span {
    margin-left: 0px !important;
}
div.dt-container .dt-paging .ellipsis {
    padding: 6px 12px !important;
}
.popLink {
    cursor: pointer;
    color: #007bff;
    text-decoration: underline;
}