/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.staticImage {
  display: none;
}
@media (max-width: 768px) {
  .staticImage {
    display: block;
    padding: 0px 10px 20px 10px;
    text-align: center;
  }
  .staticImage img {
    max-width: 635px;
  }
}
@media (max-width: 768px) {
  .staticImageHide {
    display: none;
  }
}
.pimaexplainer {
  position: relative;
}
.pimaexplainer__chart {
  font-family: Arial;
  font-size: 14px;
  width: 100%;
  height: 800px;
  text-align: left;
}
.range_label_container {
  position: absolute;
  top: 0;
  left: 0;
}
.range_label_container .range_label {
  display: none;
  position: absolute;
  z-index: 1;
  border: 1px solid black;
  border-radius: 15px;
  text-align: center;
  width: 130px;
  padding: 20px 8px;
  font-weight: bold;
  transform: translateX(-50%) translateY(-50%);
}
.popup_container {
  position: absolute;
  top: 0;
  left: 0;
}
.popup_container .popup {
  position: absolute;
  z-index: 1;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.popup_container .popup .popupbutton {
  position: absolute;
  top: 0;
  right: 0;
  user-select: none;
  border: none;
  display: inline-block;
  padding: 8px 16px;
  vertical-align: middle;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background-color: inherit;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  border-radius: 6px;
}
.popup_container .popup .popupbutton:hover {
  background-color: lightgray;
}
.popup_container .popup .popuptext {
  position: absolute;
  transform: translateX(-50%);
  top: 20px;
  visibility: hidden;
  display: none;
  width: 500px;
  min-height: 40px;
  background-color: #fff;
  color: #000;
  text-align: left;
  border-radius: 6px;
  padding: 8px 10px;
  z-index: 1;
  border: 1px solid lightgray;
}
.popup_container .popup .popuptext .title {
  padding-top: 1em;
  padding-bottom: 2em;
}
.popup_container .popup video {
  width: 100%;
}
.popup_container .popup.show .popuptext {
  display: block;
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s;
  box-shadow: 5px 5px;
}
.popup_container.editmode {
  display: flex;
  position: relative;
  top: 0;
  left: 0;
  flex-direction: row;
  flex-wrap: wrap;
}
.popup_container.editmode .w3-button {
  display: none;
}
.popup_container.editmode .popup {
  position: relative;
  visibility: visible;
  margin: 0;
  padding: 10px;
  width: 50%;
  border: 1px dashed lightgrey;
}
.popup_container.editmode .popup .popuptext {
  position: relative;
  visibility: visible;
  display: block;
  width: 100%;
  height: auto;
  min-height: 350px;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
}
