/* class7-math-ch2-terms.css - Arithmetic Expressions Tier 5 "Terms (The Building Blocks of an Expression)".
   Almost everything is shared (class7-math-ch2-common.css); only Tier 5 touches live here.
   Popup ids are the lower-case prefixes: tmsplit, tmcount, tmvalue, tmsign, tmbuild. */

/* term blocks, signs and answers keep every word on one line */
.c72-overlay[id^="tmsplit"] .c72-svg text,
.c72-overlay[id^="tmcount"] .c72-svg text,
.c72-overlay[id^="tmvalue"] .c72-svg text,
.c72-overlay[id^="tmsign"] .c72-svg text,
.c72-overlay[id^="tmbuild"] .c72-svg text { white-space: nowrap; }

/* the little faces of the kids in a story sit on the text line */
.c72-overlay[id^="tmsign"] .quiz-question .c72-inl,
.c72-overlay[id^="tmbuild"] .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^="tmsplit"] .c72-svg { max-height: 190px; }
.c72-overlay[id^="tmcount"] .c72-svg { max-height: 280px; }
.c72-overlay[id^="tmvalue"] .c72-svg { max-height: 230px; }
.c72-overlay[id^="tmsign"] .c72-svg { max-height: 230px; }
.c72-overlay[id^="tmbuild"] .c72-svg { max-height: 190px; }
@media (max-width: 400px) {
    .c72-overlay[id^="tmcount"] .c72-svg { max-height: 250px; }
    .c72-overlay[id^="tmvalue"] .c72-svg,
    .c72-overlay[id^="tmsign"] .c72-svg { max-height: 200px; }
}