/* Component styles for the floating info panel used across the site */
.aq-info-panel {
  position: absolute;
  z-index: 1200;
  width: 320px;
  max-width: calc(100vw - 32px);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  padding: 30px;
  color: #111;
}

.aq-info-panel {
  /* start hidden for animation */
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  transition: opacity 180ms ease, transform 180ms cubic-bezier(.2, .9, .3, 1);
  pointer-events: none;
}

.aq-info-panel--open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  border: 1px solid black
}

.aq-info-panel--closing {
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  pointer-events: none;
}

.aq-info-panel .info-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.aq-info-panel .title-info {
  margin: 0 0 8px 0;
  font-size: 25px;
  line-height: 30px;
}

.aq-info-panel .title2-info {
  margin: 0 0 8px 0;
  font-size: 20px;
  font-weight: bold;
}

.aq-info-panel .shorter-divider {
  margin: 8px 0;
}

.aq-info-panel h4 {
  margin-top: 12px;
}

/* small responsive tweak */
@media (max-width: 640px) {
  .aq-info-panel {
    width: calc(100vw - 24px);
    left: 12px !important;
    right: 12px !important;
  }
}
