/* Styles for screens wider than 768px */
@media screen and (min-width: 768px) {
  body {
    font-size: 16px;
  }
  .container {
    max-width: 960px;
    margin: 0 auto;
  }
}

/* Styles for screens up to 767px wide (e.g., mobile devices) */
@media screen and (max-width: 767px) {
  body {
    font-size: 14px;
  }
  .container {
    padding: 15px;
  }
}

/* Styles specifically for printing */
@media print {
  body {
    color: black;
    background-color: white;
  }
  nav, footer {
    display: none; /* Hide navigation and footer when printing */
  }
}






.search-input-query {
    width: 100% !important; /* Full width for responsive layout */
    max-width: 100% !important;
    padding: 10px !important;
    border: 3px solid #677a84 !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    /* Override Bootstrap defaults */
    display: block !important;
    box-sizing: border-box !important;
}

/* Desktop: make inputs narrower if desired */
@media screen and (min-width: 992px) {
    .search-input-query {
        width: 100% !important; /* Keep 100% within Bootstrap grid columns */
    }
}

/* Force Select2 to match the same style as other inputs */
.select2-container {
    width: 100% !important; /* Full width, Bootstrap grid controls actual size */
}

.select2-container .select2-selection--multiple {
    min-height: 44px !important;
    padding: 7px 10px !important;
    border: 3px solid #677a84 !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    background-color: white !important;
}

.select2-container--default .select2-selection--multiple {
    border: 3px solid #677a84 !important;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: 3px solid #677a84 !important;
}

.select2-container .select2-selection--multiple .select2-selection__rendered {
    padding: 0 !important;
}

.select2-container .select2-selection--multiple .select2-selection__choice {
    background-color: #677a84 !important;
    border: 1px solid #677a84 !important;
    color: white !important;
    padding: 2px 8px !important;
    margin: 2px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: white !important;
    margin-right: 5px !important;
}


title {

font-family: Cambria;

    font-size: 12pt;

}

form {
	
	background-color: #f2f2f2;
}

p1 {
    font-family: Cambria;
    font-size: 9pt;
    color: black;
}

body {

   background-color: rgb(225, 235, 235);

    font-size: 10pt;

    font-family: Cambria;

    color: black;

}

h1 {

    font-size:20pt;

    color: black;

	

}


h2 {

	font-family: Cambria,

}

p {

font-family: Cambria;
    font-size: 20pt;
    color: black;
}

p2 {
    font-family: Cambria;
    font-size: 12pt;
    color: black;
}



a {
    font-family: Cambria;
    font-size: 12pt;
    color: black;
}
		


/* Simple utility button styles for modal links */
.btn {
    display: inline-block;
    padding: 6px 10px;
    background: #1976d2;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
}
.btn:hover{ background:#1565c0 }
.btn--outline{ background:transparent; color:#1976d2; border:1px solid #1976d2 }
.gmaps-open{ margin-right:8px }

/* Ensure the in-page details controls look clickable and accept pointer events even if page styles are strict */
.zoom-info-btn, .zoom-info-link{
    cursor: pointer;
    pointer-events: auto !important;
}

/* Force the in-page zoom modal to the top and ensure it accepts pointer events.
   This helps when other elements create stacking contexts that hide the modal. */
#zoom-modal {
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: none; /* default hidden; JS will set to flex when opening */
    align-items: center !important;
    justify-content: center !important;
    background: rgba(0,0,0,0.45) !important;
    z-index: 2147483647 !important; /* very high to beat other z-indexes */
    pointer-events: auto !important;
}
#zoom-modal > div {
    position: relative !important;
    z-index: 2147483648 !important;
    box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}

table {

  width: 100%;

  border-collapse: collapse;

  table-layout: auto; /* Let columns auto-size */

}

tr:nth-child(even) {

    background-color: #f2f2f2; /* Light gray, change to your preferred shade */

}



th, td {

  border: 1pt solid #100101;

  padding: 3px;

  text-align: left;

  /* Remove any width property here */

}
.space {
    height: 2px;
    background-color: #dee2de;
}

/* ========================================
   RESPONSIVE MOBILE STYLES
   ======================================== */

/* Base responsive adjustments for mobile */
@media screen and (max-width: 768px) {
    body {
        font-size: 14pt; /* Moderate base font for mobile */
        padding: 10px;
    }
    
    h1 {
        font-size: 22pt; /* Moderate heading on mobile */
    }
    
    h2 {
        font-size: 18pt;
    }
    
    p, a, p1, p2 {
        font-size: 14pt !important; /* Readable but not huge */
    }
    
    /* Moderately larger search inputs - readable but not oversized */
    .search-input-query {
        width: 100%;
        font-size: 16px !important; /* Prevents iOS auto-zoom */
        padding: 10px !important;
        margin-bottom: 10px;
    }
    
    /* Stack form elements vertically */
    form {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 12px;
    }
    
    form label {
        display: flex;
        flex-direction: column;
        font-size: 14pt;
        margin-bottom: 8px;
    }
    
    form input, form select {
        font-size: 16px !important; /* Readable without being huge */
        padding: 10px !important;
        width: 100% !important;
        min-height: 44px;
    }
    
    form button {
        font-size: 16px !important;
        padding: 12px 20px !important;
        width: 100%;
        min-height: 48px;
    }
    
    /* Make buttons touch-friendly */
    .btn {
        font-size: 16px !important;
        padding: 12px 20px !important;
        min-height: 48px; /* Touch target */
    }
    
    /* Responsive tables - make them scrollable */
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        font-size: 13pt;
    }
    
    th, td {
        padding: 8px;
        font-size: 13pt !important;
        min-width: 100px;
    }
    
    /* Keep map at original/full size on mobile */
    #map {
        height: 500px !important;
        width: 100% !important;
    }
}

/* Extra small devices (phones in portrait) */
@media screen and (max-width: 480px) {
    body {
        font-size: 14pt;
        padding: 8px;
    }
    
    h1 {
        font-size: 20pt;
    }
    
    p, a, p1, p2 {
        font-size: 14pt !important;
    }
    
    /* Consistent sizing on very small screens */
    .search-input-query {
        font-size: 16px !important;
        padding: 10px !important;
    }
    
    form input, form select {
        font-size: 16px !important;
        padding: 10px !important;
    }
    
    form button, .btn {
        font-size: 16px !important;
        padding: 12px 20px !important;
    }
    
    th, td {
        padding: 6px;
        font-size: 12pt !important;
        min-width: 90px;
    }
    
    /* Full height map on small phones */
    #map {
        height: 450px !important;
    }
}


@media screen{
}

@media screen{
}

@media screen{
}
