/* MJB white-label overrides */
.logo-container .logo { max-height: 56px; width: auto; }

/* Tighter stack of questions on the live form. */
.question-container {
  margin-bottom: 8px !important;
  padding-top: 2px !important;
  padding-bottom: 2px !important;
}
.question-container .question-title-container {
  margin-bottom: 2px;
}
.question-container .question-valid-container {
  margin-top: 4px;
  margin-bottom: 6px;
}

/* Searchable dropdown used for long lists (US states and territories). */
.mjb-combo { position: relative; max-width: 32rem; }
.mjb-combo-native { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.mjb-combo-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1px solid #c8c8c8;
  border-radius: 4px;
  padding: 8px 12px;
  font: inherit;
  color: #1a1a1a;
  cursor: pointer;
}
.mjb-combo-button:focus { outline: 2px solid #182048; outline-offset: 1px; }
.mjb-combo-caret { margin-left: 12px; color: #182048; }
.mjb-combo-panel {
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  background: #fff;
  border: 1px solid #c8c8c8;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 8px;
}
.mjb-combo-search {
  width: 100%;
  border: 1px solid #c8c8c8;
  border-radius: 4px;
  padding: 8px 10px;
  font: inherit;
  margin-bottom: 6px;
}
.mjb-combo-search:focus { outline: 2px solid #182048; outline-offset: 1px; }
.mjb-combo-list { list-style: none; margin: 0; padding: 0; max-height: 240px; overflow: auto; }
.mjb-combo-option {
  padding: 6px 8px;
  cursor: pointer;
  border-radius: 3px;
}
.mjb-combo-option:hover,
.mjb-combo-option.is-active { background: #e4e7f2; }
.mjb-combo-empty { padding: 6px 8px; color: #666; }
/* Question illustrations (the NYC exposure map) stay inside the question, not the whole page. */
.ls-question-text img,
.question-text img,
.question-content img {
  max-width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
}
img[alt*="LimeSurvey"],
img[src*="poweredby"],
.powered-by-wrapper { display: none !important; }
body.brand-logo .navbar-brand { max-width: 280px; }
