﻿.basicContent {
	padding: 5px 7px;
	vertical-align: top;
	border-right: 1px solid #ccc;
}
.basicContent_NB {
	padding: 5px 7px;
	vertical-align: top;
}
.basicContent_borderBR {
	padding: 5px 7px 6px 7px;
	vertical-align: top;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}
.basicContent_borderB {
	padding: 5px 7px 6px 7px;
	vertical-align: top;
	border-bottom: 1px solid #ccc;
}
.basicContent_borderTR {
	padding: 5px 7px 6px 7px;
	vertical-align: top;
	border-right: 1px solid #ccc;
	border-top: 1px solid #ccc;
}
.basicContent_borderT {
	padding: 5px 7px 6px 7px;
	vertical-align: top;
	border-top: 1px solid #ccc;
}
.boldHead_tr {
	font-weight: bold;
}
.basicContent_link {
	padding: 6px 7px;
	border-top: 1px solid #ccc;
}
.helpIcon {
	position: relative;
	margin: 0;
	padding: 0;
	vertical-align: text-top;
}
.altRow_a {
	background-color: #f9fbff;
}
.altRow_b {
	background-color: #e4edff;
}

/* Search Section */
.search-section {
    float: left;
    max-width: 420px;
}

.search-field {
    margin-bottom: 8px;
}

.search-hint {
    height: 18px;
    text-align: center;
    margin-bottom: 3px;
}

.search-separator {
    height: 18px;
    text-align: center;
    margin: 3px 0;
}

.search-button-container {
    margin-bottom: 10px;
    padding-left:250px;
}

.search-warning {
    height: auto;
    margin-bottom: 10px;
}

.search-results {
    margin-bottom: 10px;
}

/* Search Results Grid */
.search-results-grid {
    margin-left: 440px;
}

/* Two-column layout wrapper for map and details */
.content-wrapper {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    align-items: flex-start;
}

/* Map Column */
.map-column {
    flex: 0 0 350px; /* Fixed width for map column */
    min-width: 350px;
}

.map-section {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    text-align: center;
}

.map-iframe {
    overflow-x: hidden;
    overflow-y: hidden;
    border: 1px solid #ccc;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 4px;
}

.map-notice {
    margin-top: 10px;
    text-align: center;
    font-style: italic;
}

/* Details Column */
.details-column {
    flex: 1; /* Take remaining space */
    min-width: 0; /* Allow shrinking */
}

.details-section {
    width: 100%;
}

.details-container {
    width: 100%;
}

/* Update existing page-view class */
.page-view {
    border: 1px solid Navy;
    width: 100%; /* Use full available width instead of fixed 565px */
    max-width: none;
}

/* Detail Grid System */
.detail-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.detail-row {
    display: flex;
    min-height: 25px;
    border-bottom: 1px solid #e0e0e0;
}

.detail-row.bold-header {
    font-weight: bold;
    background-color: #f5f5f5;
}

.detail-row.learn-more {
    padding: 8px;
    text-align: center;
}

.detail-label {
    flex: 1;
    padding: 4px 8px;
    border-right: 1px solid #e0e0e0;
    background-color: #f9f9f9;
}

.detail-value {
    flex: 1;
    padding: 4px 8px;
    background-color: #fff;
}

/* Repeater Row Styling */
.repeater-row.alt-row-a {
    background-color: #f8f8f8;
}

.repeater-row.alt-row-b {
    background-color: #ffffff;
}

.repeater-row .detail-label {
    background-color: inherit;
}

.repeater-row .detail-value {
    background-color: inherit;
}

/* Utility Classes */
.clearfix {
    clear: both;
}

/* Responsive Design - Only stack on very small screens */
@media (max-width: 768px) {
    .search-section {
        float: none;
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    .search-results-grid {
        margin-left: 0;
    }
    
    .content-wrapper {
        flex-direction: column;
        gap: 15px;
    }
    
    .map-column {
        flex: none;
        width: 100%;
        min-width: auto;
    }
    
    .map-section {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .details-column {
        width: 100%;
        min-width: auto;
    }
    
    .map-iframe {
        width: 100%;
        max-width: 320px;
        height: 300px;
    }
    
    .page-view {
        width: 100%;
    }
    
    .detail-row {
        flex-direction: column;
    }
    
    .detail-label {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
}

/* For medium screens, adjust the map column width but keep side-by-side */
@media (max-width: 1200px) and (min-width: 769px) {
    .map-column {
        flex: 0 0 300px;
        min-width: 300px;
    }
    
    .map-iframe {
        width: 280px;
        height: 350px;
    }
}
