/* MES 1.2.0: keep native MathJax glyph metrics and baseline. */
.h5p-multichoice {
  --mes-maths-version: 1.2.0;
}
.h5p-multichoice .h5p-question-introduction,
.h5p-multichoice .h5p-question-introduction > div,
.h5p-multichoice .h5p-question-introduction p,
.h5p-multichoice .h5p-alternative-inner,
.h5p-multichoice .h5p-alternative-inner p,
.h5p-multichoice .h5p-feedback-text,
.h5p-multichoice .h5p-feedback-text p,
.h5p-multichoice .h5p-question-feedback-content-text {
  font-family: "Segoe UI", Arial, sans-serif !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
}
.h5p-multichoice .h5p-question-introduction h2 {
  font-family: "Segoe UI", Arial, sans-serif !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  margin: 0 0 .65em;
}
.h5p-multichoice .h5p-question-introduction p { margin: .5em 0; }
.h5p-multichoice .h5p-alternative-container { align-items: center; }
.h5p-multichoice .h5p-alternative-container:before { align-self: center; }
.h5p-multichoice .h5p-alternative-inner {
  flex: 1 1 auto;
  min-width: 0;
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
  padding-block: .15em;
}
.h5p-multichoice .h5p-alternative-inner p {
  margin: 0;
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
}
.h5p-multichoice .h5p-alternative-inner mjx-container,
.h5p-multichoice mjx-container:not([display="true"]),
.h5p-multichoice .MathJax,
.h5p-multichoice .MathJax_SVG,
.h5p-multichoice .katex {
  overflow: visible !important;
  vertical-align: baseline !important;
  margin: 0 !important;
}
/* MathJax SVG output can have inner wrappers, not just direct SVG children.
   Do not override font-family, display, height or vertical-align of the glyphs. */
.h5p-multichoice mjx-container svg,
.h5p-multichoice mjx-container mjx-math,
.h5p-multichoice mjx-container mjx-line,
.h5p-multichoice mjx-container mjx-overflow,
.h5p-multichoice mjx-container mjx-break,
.h5p-multichoice .MathJax_SVG svg,
.h5p-multichoice .mes-math-scroll-fix {
  overflow: visible !important;
}
.h5p-multichoice .h5p-alternative-inner mjx-container[display="true"] {
  text-align: left !important;
}
.h5p-multichoice .h5p-alternative-inner mjx-container:not([display="true"]) {
  white-space: normal;
}
.h5p-multichoice code, .h5p-multichoice pre {
  font-family: Consolas, "Courier New", monospace !important;
  font-size: .92em;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
