/**
 * Sample Location viewer (METS-7429).
 * Used by protected/views/sample/_sample_location.php on the sample detail page.
 * Loaded after web/leaflet/leaflet.css.
 */

.slv-wrap {
    max-width: 480px;
}

/* Explicit height is mandatory — the map renders 0-height otherwise.
   z-index 0 keeps Leaflet's internal z-indexes inside the map box. */
.slv-map {
    position: relative;
    z-index: 0;
    width: 100%;
    height: 260px;
    border: 1px solid #ddd;
    background: #eee;
}

.slv-caption {
    margin: 6px 0 0;
    font-size: 13px;
}
.slv-coord {
    font-family: monospace;
}
.slv-sep {
    color: #999;
    margin: 0 4px;
}

@media print {
    .slv-map {
        page-break-inside: avoid;
    }
}
