#info {
  font-family: verdana, arial, helvetica, sans-serif;
  font-size: 14px;
  cursor: pointer;
}

#info a {
  font-family: inherit;
  font-size: inherit;
  color: #000;
  text-decoration: none;
}

#info.info-top {
  position: absolute !important;
  top: 7px !important;
  right: 10px !important;
  left: auto !important;
  bottom: auto !important;
  width: max-content !important;
  margin: 0 !important;
  padding: 3px 6px;
  border: 1px solid #000;
  background-color: #fff;
  text-align: center;
  line-height: 15px;
  z-index: 100;
}

#info.info-bottom {
  position: absolute !important;
  bottom: 10px !important;
  left: 10px !important;
  top: auto !important;
  right: auto !important;
  width: max-content !important;
  margin: 0 !important;
}

@media (max-width: 768px), (pointer: coarse) {
  html,
  body {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
    overscroll-behavior: none;
    -webkit-overflow-scrolling: auto;
    touch-action: manipulation;
  }

  #map {
    touch-action: pan-x pan-y pinch-zoom;
  }

  #info {
    position: fixed !important;
    z-index: 1000;
    width: max-content !important;
    max-width: 50vw;
    min-width: 0;
    min-height: 24px;
    margin: 0 !important;
    padding: 3px 6px !important;
    font-size: 10px !important;
    line-height: 1.15 !important;
    text-align: center;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    contain: layout style;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    -webkit-text-size-adjust: 100%;
    transform: translateZ(0);
  }

  #info.info-top {
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    bottom: auto !important;
  }

  #info.info-bottom {
    bottom: 10px !important;
    left: 10px !important;
    top: auto !important;
    right: auto !important;
  }

  /* Pages without JS class: default top-right on touch */
  #info:not(.info-top):not(.info-bottom) {
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    bottom: auto !important;
  }
}
