/* class7-math-ch2-multerms.css - Arithmetic Expressions Tier 9 "Evaluating with x and / (Terms First)".
   Almost everything is shared (class7-math-ch2-common.css, class7-math-ch2-expr.css); only Tier 9 touches live here.
   Popup ids are the lower-case prefixes: xtfirst, xtbracket, xtmatch, xtfire, xtdosa, xtsame. */

/* expressions, cards, rows and answers keep every word on one line */
.c72-overlay[id^="xtfirst"] .c72-svg text,
.c72-overlay[id^="xtbracket"] .c72-svg text,
.c72-overlay[id^="xtmatch"] .c72-svg text,
.c72-overlay[id^="xtfire"] .c72-svg text,
.c72-overlay[id^="xtdosa"] .c72-svg text,
.c72-overlay[id^="xtsame"] .c72-svg text { white-space: nowrap; }

/* the little faces of the kids in a story sit on the text line */
.c72-overlay[id^="xtfirst"] .quiz-question .c72-inl,
.c72-overlay[id^="xtbracket"] .quiz-question .c72-inl,
.c72-overlay[id^="xtmatch"] .quiz-question .c72-inl,
.c72-overlay[id^="xtfire"] .quiz-question .c72-inl,
.c72-overlay[id^="xtdosa"] .quiz-question .c72-inl,
.c72-overlay[id^="xtsame"] .quiz-question .c72-inl { width: 1.7em; height: 1.7em; vertical-align: -0.55em; margin-right: 2px; }

/* the tallest pictures: cap the height on small screens */
.c72-overlay[id^="xtfirst"] .c72-svg { max-height: 200px; }
.c72-overlay[id^="xtbracket"] .c72-svg { max-height: 180px; }
.c72-overlay[id^="xtmatch"] .c72-svg { max-height: 260px; }
.c72-overlay[id^="xtfire"] .c72-svg { max-height: 260px; }
.c72-overlay[id^="xtdosa"] .c72-svg { max-height: 200px; }
.c72-overlay[id^="xtsame"] .c72-svg { max-height: 220px; }
@media (max-width: 400px) {
    .c72-overlay[id^="xtmatch"] .c72-svg { max-height: 220px; }
    .c72-overlay[id^="xtfire"] .c72-svg { max-height: 220px; }
}