/* src/scss/styles.scss */
mappress-viewer {
  width: 100%;
  height: 50vh;
}
mappress-viewer .wd-panes {
  height: 100%;
  width: 100%;
}
ol-legend-list-control {
  background: rgba(0, 0, 0, 0.75);
  color: white;
  border-radius: 0.375em;
  padding: 0px !important;
  left: 0.5rem !important;
  top: 0.5rem !important;
  right: auto !important;
  max-height: calc(100% - 1rem);
}
ol-legend-list-control button {
  width: auto;
}
ol-legend-list-control ol-legend-list-card {
  border: 0px solid transparent !important;
}
ol-legend-list-control .wd-accordion-card {
  margin: 0px;
}
ol-legend-list-control .wd-accordion-card .wd-card-header {
  padding: 0.25rem 0.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
ol-legend-list-control .wd-accordion-card .wd-card-header,
ol-legend-list-control .wd-accordion-card .wd-card-body {
  border-radius: 0px;
  background-color: transparent;
  color: black;
  font-size: 0.9rem;
}
ol-legend-list-control .wd-accordion-card .wd-card-body {
  padding: 0px;
  padding-bottom: 0.25rem;
}
ol-legend-list-control .wd-accordion-card .wd-card-header .btn {
  font-size: 0.8rem;
  padding: 0px;
  color: black;
  font-weight: bold;
}
ol-legend-list-control .wd-accordion-card .wd-card-header:empty {
  display: none;
}
ol-legend-list-control .wd-accordion-card wd-accordion-card {
  border: 0px;
  border-radius: 0px;
}
ol-legend-list-control .wd-accordion-card wd-accordion-card .wd-card-header .btn {
  font-weight: normal;
}
ol-legend-list-control .wd-accordion-card wd-accordion-card .wd-card-body {
  overflow-y: auto;
  max-height: 50vh;
}
ol-legend-list-control .wd-accordion-card wd-accordion-card .wd-card-body .feature-list li {
  padding-left: 1rem;
  font-size: 0.8rem;
}
ol-legend-list-control .wd-accordion-card wd-accordion-card .wd-card-body .feature-list li:hover {
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
}
ol-legend-list-control .wd-accordion-card wd-accordion-card ul {
  padding: 0.25em 0em;
  margin: 0px;
}
ol-legend-list-control .wd-accordion-card wd-accordion-card ul > li {
  display: flex;
  align-items: center;
  margin-bottom: 0px;
  padding: 0.25em 0.5em;
  color: black;
  font-size: 0.9em;
}
ol-layer-select-control {
  display: flex;
  right: 0.5rem;
  top: 0.5rem;
}
ol-layer-select-control .btn {
  width: auto;
  height: auto;
  font-weight: normal;
  padding: 0.65rem 0.5rem;
  font-size: 0.9rem;
  border-radius: 0.375rem;
}
ol-layer-select-control .btn.selected {
  background-color: black;
  color: white;
}
feature-detail-pane .wd-pane-header .wd-navbar-menu-right {
  flex: 0;
}
feature-detail-pane .carousel-item {
  height: 40vh;
}
feature-detail-pane .carousel-item figure {
  width: 100%;
  height: 100%;
}
feature-detail-pane .carousel-item img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
feature-detail-pane .feature-content-wrapper {
  padding: 0.5rem 0.75rem;
}
.html-control .html-control-header {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem;
}
.html-control .html-control-header h4 {
  font-size: 1.2rem;
  padding: 0 1rem 0 0.5rem;
  margin: 0px;
}
.html-control .html-control-content {
  padding: 0.5rem 1rem;
}
.html-control .close-btn {
  padding: 0.25rem;
  font-size: 1.2rem;
  border-radius: 0.25rem;
}
.html-control .close-btn:hover {
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.1);
}
