html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

@media (min-width: 1200px) {
    .container-xl, .container-lg, .container-md, .container-sm, .container {
        max-width: 1250px !important;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.divHeaderBar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 20px 0px 20px;
    border-bottom: 1px solid #c8c8c8;
}

.divLoginStatus, .divChangePassword {
    margin-right: 20px;
}

.loggedInUser {
    margin-left: auto;
}


ul {
    list-style-image: url(../images/bullet.jpg);
    list-style-position: outside;
    list-style-type: disc;
    color: #000000;
    font-family: verdana;
}

#listSightingsList_wrapper {
    clear: none !important;
}

#photographedQuarriesList_wrapper {
    clear: none !important;
}

.dt-select-checkbox {
    appearance: revert !important;
}

.table.dataTable > tbody > tr > td.select-checkbox, table.dataTable > tbody > tr > th.select-checkbox {
    position: unset !important;
}

td.select-checkbox.dt-select::before {
    content: none !important;
    display: none !important;
}

table.dataTable input.dt-select-checkbox:checked::after {
    content: none !important;
    display: none !important;
}

.zIndex1 {
    z-index: 1000 !important;
}

.table-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.sighting-table {
    border-collapse: collapse;
    width: 100%;
    max-width: 700px;
    min-width: 300px;
    border: 1px solid #ddd;
}

    .sighting-table th,
    .sighting-table td {
        border: 1px solid #ddd;
        padding: 8px;
    }

    .sighting-table th {
        background-color: #f2f2f2;
        text-align: left;
    }

.table-wrapper {
    flex: 1 1 45%;
}

.admin-area {
    background-color: #fff5e6;
    padding: 10px 15px;
    border: 1px solid #ccc;
    margin-top: 20px;
    font-family: monospace;
    font-weight: bold;
}

.unfinaliseButtonArea {
    display: inline-flex;
}

.sightingFullPhotograph {
    max-width: 100%;
    height: auto;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.photo-card {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

    .photo-card img {
        max-width: 100%;
        max-height: 200px;
        object-fit: cover;
        transition: transform 0.3s ease;
        display: block;
        margin: 0 auto;
    }

.photo-img-container {
    width: 200px;
    height: 200px;
    overflow: hidden;
    margin: 0 auto 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.photo-filename {
    margin-bottom: 12px;
    font-weight: bold;
    word-break: break-word;
}

.button-row {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.button-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

    .button-column a {
        width: 130px;
    }

.table-filter-pills-div {
    display: flex;
    flex-wrap: wrap;
}


    .table-filter-pills-div.meshReport {
        max-width: 40% !important;
    }

.commentsTextBox {
    height: 200px !important;
}

.chart-container {
    height: 400px !important;
    width: 800px !important;
}

.marginLeft12 {
    margin-left: 12rem !important;
}

.marginLeft4 {
    margin-left: 4rem !important;
}

.sidebar {
    position: unset !important;
    float: left !important;
}

/* map styles*/
#map-menu {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 24px;
    z-index: 600;
    cursor: pointer;
}


#map-container {
    position: relative;
    width: 100%;
    height: 87vh;
}

#map-filters-overlay, #flight-log-overlay, #sightings-menu-overlay {
    position: absolute;
    top: 30px; /* distance from top */
    left: 15px; /* distance from right */
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 700; /* ensure it’s above the map */
    display: none; /* hidden by default */
}

.close-icon {
    position: absolute;
    top: 8px;
    right: 10px;
    cursor: pointer;
    color: #333;
    font-size: 16px;
}

.color-marron {
    color: maroon;
}

.height-800 {
    height: 800px;
}

.rotatable {
    transform: rotate(var(--rotation, 0deg));
}

.dt-top-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

    .dt-top-container .dataTables_filter {
        margin: 0;
    }

    .dt-top-container .dt-buttons {
        margin: 0;
    }

.div.dt-button-collection.two-column {
    width: 450px !important;
}