#katalog {
  width: 100%;
  position: relative;
  height: 100%;
  overflow: hidden;
}

#katalog-map {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
}

#katalog-logo {
  padding: 3px;
  display: block;
  position: absolute;
  left: 0;
}

#katalog-logo img {
  width: 150px;
}

#katalog-footer {
  background: transparent;
  position: absolute;
  z-index: 1;
  bottom: 10px;
  left: 10px;
  width: 300px;
  font-size: 10px;
  user-select: none;
}

#katalog-menu {
  display: flex;
  flex-direction: column;
  background: transparent;
  position: absolute;
  z-index: 1;
  top: 10px;
  right: 10px;
  width: 180px;
  user-select: none;
}

#katalog-menu-toggle {
  background-image: url('layers.svg');
}

#katalog-photos-toggle {
  background-image: url('camera.svg');
}

.action-button {
  align-self: flex-end;
  text-align: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 100%;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
  margin-bottom: 5px;
  cursor: pointer;
  background-repeat: no-repeat;
  background-size: 65% 65%;
  background-position: 50% 50%;
}

#katalog-menu-layerlist {
  display: none;
}

#katalog-menu.open #katalog-menu-layerlist {
  display: flex;
  flex-direction: column;
  /* background: rgba(255, 255, 255, 0.8);
  padding: 5px; */
  overflow-y: auto;
  max-height: 80vh;
  padding-bottom: 40px;
  /* border-radius: 4px;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3); */
}

#katalog-menu a {
  display: block;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
  font-size: 13px;
  color: #404040;
  /* display: block; */
  margin-bottom: 5px;
  padding: 10px;
  text-decoration: none;
  /* border: 2px solid rgba(128, 0, 0, 0.2); */
  text-align: center;
  border-radius: 5px;
  /* margin-top: -2px; */
}

#katalog-menu a:hover {
  background: rgba(240, 240, 240, 1);
  color: #404040;
}

#katalog-menu a.active {
  background: rgba(128, 0, 0, 0.8);
  color: #ffffff;
}

#katalog-menu a.active:hover {
  background: rgba(128, 0, 0, 1);
}

#katalog-sidebar {
  height: 100vh;
  overflow: hidden;
  transform: translate3d(100%, 0, 0);
  right: 0;
  display: block;
  position: absolute;
  margin: 0px;
  bottom: 0;
  top: 0;
  width: 350px;
  padding: 10px;
  border: none;
  font-size: 1rem;
  text-align: left;
  color: #fff;
  background: rgba(128, 0, 0, 0.9);
  border-radius: 5px 0 0 5px;
  border: 3px solid #800000;

  transition: all 0.5s;
  z-index: 2;
}

#katalog-sidebar.open {
  transform: translate3d(0, 0, 0);
}

#katalog-sidebar-close-button {
  display: flex;
  justify-content: flex-end;
  font-size: 30px;
  z-index: 5;
  font-weight: bold;
  cursor: pointer;
}

#katalog-sidebar h3, #katalog-sidebar h4 {
  margin-top: 0;
}

#katalog-sidebar h5 {
  line-height: 25px;
  border-bottom: 3px solid #800000;
}

#katalog-sidebar #container {
  margin-top: -5px;
  height: 100%;
  display: flex;
  flex-direction: column; 
}

#katalog-sidebar #container #heading {
  padding-bottom: 10px;
  margin-top: -25px;
}

#katalog-sidebar #photo-container {
  padding-right: 10px;
  text-align: center;
  overflow-y: auto;
}

#katalog-sidebar .photos img {
  object-fit: contain;
  width: 100%;
  max-height: 250px;
  border-radius: 5px;
}
