html, body 
{ 
  height: 100%; 
  margin: 0; 
}

.app
 {
   display: flex; 
   height: calc(100vh - 56px); 
  }

.sidebar
 { 
  width: 300px;
  overflow-y: auto; 
  border-right: 1px 
  solid #dee2e6; 
}

.btn-primary {
  --bs-btn-bg: #198754;               
  --bs-btn-border-color: #198754;
  --bs-btn-hover-bg: #146c43;         
  --bs-btn-hover-border-color: #146c43;
  --bs-btn-active-bg: #146c43;        /* while clicked */
}
#map 
{
   flex: 1;
  }

@media (max-width: 768px) 
{
  .app { flex-direction: column-reverse; }
  .sidebar { width: 100%; height: 40%; border-right: none; border-top: 1px solid #d1d7dd; }
}

/* Navbar "Log in" / "Log out": plain white text, underlined on hover.
   The logout is a <button> (it must POST), so strip the button look. */
.nav-text-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

.nav-text-link:hover,
.nav-text-link:focus-visible {
  color: #fff;
  text-decoration: underline;
}
