/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Mapkick / Mapbox layout fix */
.map-container {
  display: block;
  position: relative;
  height: 420px;
  width: 100%;
  margin: 16px 0 24px 0;
  clear: both;
}

.map-container * {
  max-width: 100%;
}

.map-container .mapkick,
.map-container .mapboxgl-map,
.map-container canvas {
  position: relative !important;
  height: 100% !important;
  width: 100% !important;
}

.sticky-table-header th {
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: #f8f9fa;
  vertical-align: middle;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  box-shadow: inset 0 -1px 0 #dee2e6;
}

.no-horizontal-scroll {
  max-height: 60vh;
  overflow-y: auto;
  overflow-x: hidden;
}
