/* class7-math-ch2-terms2.css - Arithmetic Expressions Tier 7 "Terms version2 (The Building Blocks of an Expression)".
   Almost everything is shared (class7-math-ch2-common.css, class7-math-ch2-expr.css); only Tier 7 touches live here.
   Popup ids are the lower-case prefixes: ftmeet, ftsub, ftbubble, ftone, fttable, ftspot. */

/* expressions, term labels, table cells and answers keep every word on one line */
.c72-overlay[id^="ftmeet"] .c72-svg text,
.c72-overlay[id^="ftsub"] .c72-svg text,
.c72-overlay[id^="ftbubble"] .c72-svg text,
.c72-overlay[id^="ftone"] .c72-svg text,
.c72-overlay[id^="fttable"] .c72-svg text,
.c72-overlay[id^="ftspot"] .c72-svg text { white-space: nowrap; }

/* the little faces of the kids in a trap question sit on the text line */
.c72-overlay[id^="ftone"] .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^="ftmeet"] .c72-svg { max-height: 200px; }
.c72-overlay[id^="ftsub"] .c72-svg { max-height: 260px; }
.c72-overlay[id^="ftbubble"] .c72-svg { max-height: 200px; }
.c72-overlay[id^="ftone"] .c72-svg { max-height: 190px; }
.c72-overlay[id^="fttable"] .c72-svg { max-height: 240px; }
.c72-overlay[id^="ftspot"] .c72-svg { max-height: 200px; }
@media (max-width: 400px) {
    .c72-overlay[id^="ftsub"] .c72-svg { max-height: 220px; }
    .c72-overlay[id^="fttable"] .c72-svg { max-height: 210px; }
}