#map { height: 180px; }

/* Table of contents. */

/* 
1. One offs.
2. Nav styles
3. Sticky footer styles
4. Swipe down animation for banner 
5. Used to make messages fade out.
*/

/* 1. One off */
.viewing-tray {
  background-color: #E9ECEF;  
  border-radius: 5px;
  margin-top: 3em;
  padding-bottom: 2em;
  padding-top: 1em;
}

/* 2. Used to center nav links */
.containerNav1 {
    display: flex;
    align-items: center;
  }

/* Navbar centering - centers nav items in full width, ignoring brand */
.navbar .container-fluid {
  position: relative;
}

.navbar-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 991px) {
  .navbar-center {
    position: static;
    transform: none;
  }
}

.anchor {
  margin-right: 10px;
}


/* Table cell padding for better spacing */
table td {
  padding: 12px 8px;
  vertical-align: top;
}

.coverphoto {
  height: 300px;
  width: auto;
}

/* 3. Sticky footer styles */
html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
}

.footer {
  flex-shrink: 0;
  width: 100%;
  background-color: #3a3838;
  padding: 1rem 0;
  margin-top: auto;
}

.footer .text-muted {
  color: white !important;
}

/* 4. Swipe down animation for banner */
.swipe-down-banner {
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.6s ease-out, opacity 0.6s ease-out;
  overflow: visible;
}

.swipe-down-banner.show {
  transform: translateY(0);
  opacity: 1;
}

.swipe-down-banner.hide {
  transform: translateY(-100%);
  opacity: 0;
}

/* Close button styling */
.close-banner {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: white;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s ease;
  z-index: 10;
}

.close-banner:hover {
  opacity: 1;
}

.close-banner:focus {
  outline: 2px solid white;
  outline-offset: 2px;
}


/* 5. Used to make messages fade out. */
@keyframes  myAnimation {
  0% { color: #2E0D0D; }
  30% { color: #6E0B18; }
  100% { color: #2E0D0D; }
}

.fade-out {
  animation:  myAnimation 2s; /* Adjust duration as needed */
}