body,
html {
  height: 100%;
  margin: 0;
}
nav.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1055; /* Højere end kortet og andre elementer */
}

#map {
  position: fixed;
  top: 3.52rem; /* cirka 64px - men skalerbart */
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: calc(100% - 3rem);
  display: block;
  z-index: 0;
}



.offcanvas-start {
  width: 250px;
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid #ddd;
  display: flex;
  justify-content: space-around;
  padding: 5px 0;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1050;
}

.bottom-nav a {
  flex: 1;
  text-align: center;
  color: #006cc9;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  padding: 8px 0;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.bottom-nav a i {
  font-size: 22px;
  margin-bottom: 3px;
}

/* Fjern hover-effekten helt, eller gør den meget diskret */
.bottom-nav a:hover,
.bottom-nav a:focus {
  background: rgba(25, 51, 135, 0.1);
  /* meget diskret highlight */
  color: #006cc9;
  /* behold grøn tekstfarve */
  border-radius: 15px;
  margin: 0;
  /* ingen margin ændring! */
}

/* Tilføj en aktiv/valgt-stil */
.bottom-nav a.active {
  background: #006cc9;
  color: #fff;
  border-radius: 15px;
}

/* Definer farven #006cc9 */
.btn-custom {
  background-color: #006cc9;
  color: white;
  /* Hvid tekst */
  border: none;
  border-radius: 50%;
  /* Giver knapperne en rund form */
  padding: 10px 15px;
  /* Juster padding for passende størrelse */
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  /* Let skygge for at give knapperne lidt dybde */
  transition: background-color 0.3s ease;
}

.btn-custom:hover {
  background-color: #005ba1;
  /* Mørkere nuance ved hover */
}

.btn-custom i {
  font-size: 20px;
  /* Juster ikonets størrelse */
}



.floating-buttons {
  position: absolute;
  right: 15px;
  bottom: 100px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1050;
}

.floating-buttons .btn {
  border-radius: 50%;
  width: 50px;
  height: 50px;
  padding: 0;
  font-size: 20px;
}

.custom-popup {
  max-width: 200px;
}

.custom-popup img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 8px;
}

#articlesPage {
  padding: 20px;
}

.article-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
}

.article-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.article-card h5 {
  margin: 10px;
}

.modal-content {
  text-align: center;
  padding: 20px;
  margin-top: 80px;
}

.modal-body img {
  margin-top: 10px;
}

#installBanner {
  background-color: #006cc9;
  color: white;
  border-radius: 0px 0px 10px 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  font-size: 16px;
  padding: 15px;
  animation: slideDown 0.5s ease-out;
}

#closeInstallBanner {
  background: transparent;
  border: none;
  color: white;
  font-size: 20px;
  line-height: 20px;
  padding: 0;
  cursor: pointer;
}

#closeInstallBanner:hover {
  color: #ff4d4d; /* Rød farve når man holder musen over */
}

/* Responsiv til mobil */
@media (max-width: 768px) {
  #installBanner {
    font-size: 14px;
    padding: 10px;
  }
}
