.igm_country {
  fill: #444;
  stroke: white;
  stroke-opacity: 0.4;
}

.igm_wrapper {
  width: 100%;
  margin: 0 auto;
  max-width: 100vw;
  color: #444;
  margin: 0;
  padding: 0;
}

.igm_wrapper .igm_container {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  height: auto;
  max-height: 100vh;
  background-color: #ccc;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  font-family: "Lato",Arial,Helvetica,Verdana,sans-serif !important;
}

.igm_clickable {
  cursor: pointer;
}

#containerMap {
  width: 100%;
  height: 100%;
  display: block;
}

.igm_infobox {
  width: 250px;
  padding: 10px;
  hyphens: manual;
  background-color: #ccc;
  overflow-y: auto;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  transition: transform 0.3s ease-in-out;
  z-index: 100;
}

.igm_infobox p {
  white-space: pre-line;
  margin-bottom: 10px;
}

.igm_wrapper h3 {
  margin-bottom: 10px;
  color: #38aa32 !important;
  font-weight: 900 !important;
}

.igm_info2::first-line {
  color: #38aa32;
}

.green {
  color: #38aa32;
}

.igm_citation::before {
  content: url(../img/quote.svg);
  margin-right: 10px;
  width: 50px;
  height: auto;
  float: left;
}

.igm_close-button {
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 5px;
  border: 1px solid #444;
  background-color: #ccc;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: border-color 0.3s ease;
  padding: 0;
}

.igm_infobox .igm_close-button {
  top: 10px;
  right: 10px;
}

.igm_legend-container .igm_close-button {
  top: 10px;
  left: 175px;
  z-index: 200;
}

.igm_close-button svg path {
  fill: #444;
  transition: fill 0.3s ease;
}

.igm_close-button:hover {
  border-color: #38aa32;
  background-color: #ccc;
}

.igm_close-button:hover svg path {
  fill: #38aa32;
}

@media (max-width: 600px) {
  .igm_infobox {
    transform: translateX(100%);
  }
  .igm_container-legend {
    transform: translateX(-100%);
  }
}

.igm_infobox-label,
.igm_legend-label {
  position: absolute;
  width: 60px;
  text-align: center;
  font-size: 12px;
  background-color: #ccc;
  color: #444;
  border: 1px solid #444;
  cursor: pointer;
  z-index: 0;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.igm_legendInfo {
  margin-top: 20px;
  font-size: 10px;
  margin-bottom: 10px;
  line-height: 10px;
}

.igm_infobox-label {
  right: 20px;
  top: 20px;
  transform-origin: top right;
  transform: rotate(-90deg);
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.igm_legend-label {
  top: 80px;
  left: -1px;
  transform-origin: top left;
  transform: rotate(-90deg);
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.igm_infobox-label:hover,
.igm_legend-label:hover {
  color: #38aa32;
  border-color: #38aa32;
}

.igm_hidden {
  visibility: hidden;
}

#icons {
  position: relative;
}

#icons image {
  position: absolute;
  opacity: 0;
}

.igm_iconLegend,
.igm_legend {
  font-size: 10px;
}

.igm_iconLegend {
  opacity: 0;
}

.igm_icon {
  fill: white;
}

.igm_gray {
  opacity: 0.25 !important;
}

.igm_legend {
  width: 185px;
}

.igm_legend-container {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 200px;
  padding: 10px;
  height: 100%;
  background-color: #ccc;
  border: 1px solid #ccc;
  overflow-y: auto;
  transition: transform 0.3s ease-in-out;
  z-index: 100;
  line-height: 10px;
}

.igm_legendHeadline {
  margin-bottom: 10px;
}

.igm_legendItem {
  display: flex;
  align-items: center;
}

.igm_legendItem > div {
  flex-direction: column;
  margin-bottom: 5px;
}

.igm_legend-color-box {
  width: 15px;
  height: 15px;
  margin-right: 5px;
}

.igm_iconLegend {
  margin-top: 10px;
}

.igm_groupHeadline {
  margin-bottom: 10px;
  margin-top: 5px;
}

.igm_row {
  margin-bottom: 5px;
  display: flex;
  align-items: center;
}

.igm_iconGroup {
  margin-bottom: 10px;
}

.igm_row > * {
  flex-direction: column;
}

.igm_iconLabel {
  margin-left: 5px;
}

.igm_legendHeadline,
.igm_groupHeadline {
  font-weight: 600;
}

#igm_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 2em;
  text-align: center;
  z-index: 1000;
}

@media (orientation: landscape) {
  #igm_overlay {
    display: none;
  }
}
@media (orientation: portrait) and (max-width: 768px) {
  #igm_overlay {
    display: flex;
  }
}
