.logo {
    height: 50px;
    margin-left: 10px;
}

#map {
    position: relative;
    width: 100%;
    height: calc(100vh - 225px);
    z-index: 1;
}

.leaflet-container {
	background: rgba(0, 0, 0, .8) !important
}

.modalOverlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, .7);
	z-index: 1000;
	display: none
}

#modal, .modal {
	color: #00264c;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 5px;
	font-size: 16pt;
	background-color: #fff;
	border: 11px solid #00264c;
	border-radius: 50px;
	position: fixed;
	top: 50%;
	left: 50%;
	width: 68.8%;
	height: 58.7%;
	transform: translate(-50%, -50%);
	z-index: 1010
}

.closeModalButton {
    position: absolute;
    top: -12px;
    right: -12px;
    background-color: red;
    color: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    padding: 5px;
}

.hidden {
display:none;
}


.modal ul {
	list-style: none;
	padding: 0;
	display: flex;
	flex-wrap: wrap
}

.modal ul li {
	background-color: #00264c;
	color: #fff;
	padding: 10px;
	margin: 5px;
	border: none;
	cursor: pointer;
	text-align: center;
	flex-grow: 1
}

.modal ul li:hover {
	background-color: #0056b3
}


.closeModalButton {
    position: absolute;
    top: -15px;
    right: -15px;
    background-color: red;
    color: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
    padding: 3px 6px;
}


.buffalomenu {
    background-color: #f0f0f0; 
    padding: 0px; 
    text-align: center; 
    margin: 0; 
    display: flex; 
    justify-content: center;
    font-weight: bold;
    position: relative; /* Specify positioning */
    z-index: 101;
}

.buffalomenu button {
	background-color: #f0f0f0; 
	border: none; 
	color: #00264c; 
	padding: 5px 0; 
	text-align: center; 
	text-decoration: none; 
	width: 50%; 
	font-size: 12px; 
	margin: 5px; 
	cursor: pointer;
	font-weight:bold;
	transition: background-color 0.3s, color 0.3s, font-size 0.3s;
}

.buffalomenu button:hover {
	background-color: #00264c; /* Change to desired hover background color */
	color: white; /* Change to desired hover text color */
	font-size:12px;
	margin:0px;
	font-weight:bold;
	}	

#draggableLegend {
	border: 7px solid #00264c; /* Border color */
	background-color: white; /* White background */
	border-radius: 30px; /* Rounded corners */
	width: 200px; /* Fixed width set to 150 pixels */
	padding: 2px;
	position: absolute;
	bottom: 90px; /* 20px from the bottom */
	left: 20px; /* 20px from the left */
	cursor: grab;
	user-select: none;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add subtle shadow */
	z-index: 5;
	}

#draggableLegend td {
	border: 1px solid white; /* Changed to white */
	padding:5px;
	text-align: left;
	vertical-align: middle;
	}

#draggableLegend td:first-child {
	text-align: center; /* Center the images */
	}
		
#draggableLegend img {
	width: 15px; /* Set all images to 15x15 pixels */
	height: 15px;
	vertical-align: middle;
	}

.close-button {
	position: absolute;
	top: -20px; /* Positioned higher to be fully visible */
	right: -20px;
	width: 40px;
	height: 40px;
	background-color: red;
	color: white;
	font-size: 22px;
	font-weight: bold;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50%; /* Makes it a circle */
	cursor: pointer;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
	z-index: 1001; /* Ensure it's above the legend and can be clicked */
	}

.close-button:hover {
	background-color: darkred;
	}


.banner2 {
    background-color: #00264c !important; 
    color: white;
    font-size: 2em;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;  
    width: 100%;
    z-index: 105;
}
	
.leaflet-popup-content {
    min-width: 600px;
    max-width: 450px;
    word-wrap: break-word;
	text-align: center;
}

.leaflet-popup {
    padding: 2px; /* Add padding to give space around content */
}


.result {
    width: 90%;
    border-spacing: 1px;
    border-collapse: collapse; 
}

.result th {
    background-color: #00264c;
    color: white; 
    padding: 1px; 
    border: 1px solid black;
	text-align: center;
}

.result td {
    background-color: white;
    color: black;
    padding: 1px; 
    border: 1px solid black;
	text-align: center;
}
