#mappa {
  width: 100%;
  height: 93vh;
  overflow: hidden;
}

#mappa svg {
  height: 100%;
  display: block;
  margin: auto;
}

canvas {
  position: absolute;
  top: -70px;
  left: -20px;
}

.mappa_modal_btn {
  /* position: absolute;
  bottom: 0;
  left: 0; */
  border-radius: 15px;
  background-color: #f8f2ff;
  outline: none;
  border: none;
  color: #140a1a;
  text-align: center;
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 18px;
  cursor: pointer;
  padding: 15px 20px;
}

.mappa_modal_btn:hover {
  color: #0ee5c4;
}

#mappa_modal_ctn {
  width: 100%;
  height: 100%;
  background: rgba(20, 10, 26, 0.75);
  position: absolute;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  -webkit-animation-name: fadeIn;
  /* Fade in the background */
  -webkit-animation-duration: 0.4s;
  animation-name: fadeIn;
  animation-duration: 0.4s;
  display: none;
}

#mappa_modal_menu {
  max-width: 450px;
  margin: auto;
  border-radius: 12px;
  background: #271433;
  padding: 30px 20px;
  -webkit-animation-name: slideIn;
  -webkit-animation-duration: 0.4s;
  animation-name: slideIn;
  animation-duration: 0.4s;
}

#mappa_modal_title {
  color: #f8f2ff;
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(248, 242, 255, 0.3);
}

#mappa_modal_items {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.mappa_modal_item {
  color: #f8f2ff;
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
  padding: 20px 0 20px 40px;
  border-bottom: 1px solid rgba(248, 242, 255, 0.3);
  position: relative;
  cursor: pointer;
}

.mappa_modal_item::before {
  content: url(mappa-menu-01.svg);
  width: 30px;
  height: 30px;
  position: absolute;
  left: 0;
}

#mm_gra08_02:before {
  content: url(mappa-menu-02.svg);
}

#mm_gra08_03:before {
  content: url(mappa-menu-03.svg);
}

#mm_gra08_04:before {
  content: url(mappa-menu-04.svg);
}

#mm_gra08_05:before {
  content: url(mappa-menu-05.svg);
}

.chart_box img.mappa_modal_img {
  float: right;
  width: 25px;
  height: auto;
  cursor: pointer;
}

.mappa_modal_item_hidden {
  opacity: 0.25;
}

.hidden {
  opacity: 0;
}

[id^="gra08_btn_"] {
  cursor: pointer;
}

/* Add Animation */
@-webkit-keyframes slideIn {
  from {
    bottom: -300px;
    opacity: 0;
  }

  to {
    bottom: 0;
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    bottom: -300px;
    opacity: 0;
  }

  to {
    bottom: 0;
    opacity: 1;
  }
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media only screen and (max-width: 480px) {
  #mappa_modal_menu {
    max-width: 100%;
  }

  #svg-sfondo-gra08 {
    transform: translate(-40%, 0) scale(1);
  }
}

@media only screen and (max-width: 380px) {
  #mappa_modal_menu {
    max-width: 100%;
    padding: 20px 10px;
  }

  .mappa_modal_item {
    font-size: 14px;
  }
}
