/*
 * Investor Awareness popup (home page only)
 * Shown on Sunday, Monday, Wednesday and Friday (see js/investor-awareness.js)
 */

.ia-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.6);
}

/* Keep the popup hidden even though display:flex is set above */
.ia-overlay[hidden] {
  display: none;
}

.ia-dialog {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 24px 20px 20px;
  background: #ffffff;
  color: #222222;
  border-radius: 6px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  text-align: center;
  font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
}

.ia-title {
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e3e3e3;
  font-size: 20px;
  font-weight: 700;
  color: #273b79;
}

.ia-body p {
  margin: 0 0 10px;
  line-height: 1.35;
}

.ia-kicker {
  font-size: 15px;
  color: #444444;
}

.ia-main {
  font-size: 24px;
  font-weight: 600;
  color: #222222;
}

.ia-hi {
  font-size: 16px;
  color: #444444;
}

.ia-note {
  margin-top: 18px !important;
  font-size: 14px;
  color: #555555;
}

.ia-close {
  display: block;
  width: 100%;
  min-height: 46px;
  margin-top: 22px;
  padding: 10px 16px;
  border: 0;
  border-radius: 4px;
  background: #273b79;
  color: #ffffff;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
}

.ia-close:hover,
.ia-close:focus {
  background: #1d2c5e;
}

/* Stop the page behind the popup from scrolling */
body.ia-open {
  overflow: hidden;
}
