/* class7-math-ch2-distrib.css - Arithmetic Expressions Tier 14 "The Distributive Property (Sharing a Multiplication)".
   Almost everything is shared (class7-math-ch2-common.css, class7-math-ch2-expr.css); only Tier 14 touches live here.
   Popup ids are the lower-case prefixes: dsplates, dsfriend, dsparade, dsrepeat, dssub, dsarea, dsblanks, dswords. */

/* expressions, cards, rows and answers keep every word on one line */
.c72-overlay[id^="dsplates"] .c72-svg text,
.c72-overlay[id^="dsfriend"] .c72-svg text,
.c72-overlay[id^="dsparade"] .c72-svg text,
.c72-overlay[id^="dsrepeat"] .c72-svg text,
.c72-overlay[id^="dssub"] .c72-svg text,
.c72-overlay[id^="dsarea"] .c72-svg text,
.c72-overlay[id^="dsblanks"] .c72-svg text,
.c72-overlay[id^="dswords"] .c72-svg text { white-space: nowrap; }

/* the little faces of the kids in a story sit on the text line */
.c72-overlay[id^="dsplates"] .quiz-question .c72-inl,
.c72-overlay[id^="dsfriend"] .quiz-question .c72-inl,
.c72-overlay[id^="dsparade"] .quiz-question .c72-inl,
.c72-overlay[id^="dsrepeat"] .quiz-question .c72-inl,
.c72-overlay[id^="dssub"] .quiz-question .c72-inl,
.c72-overlay[id^="dsarea"] .quiz-question .c72-inl,
.c72-overlay[id^="dsblanks"] .quiz-question .c72-inl,
.c72-overlay[id^="dswords"] .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^="dsplates"] .c72-svg { max-height: 280px; }
.c72-overlay[id^="dsfriend"] .c72-svg { max-height: 280px; }
.c72-overlay[id^="dsparade"] .c72-svg { max-height: 300px; }
.c72-overlay[id^="dsrepeat"] .c72-svg { max-height: 300px; }
.c72-overlay[id^="dssub"] .c72-svg { max-height: 320px; }
.c72-overlay[id^="dsarea"] .c72-svg { max-height: 260px; }
.c72-overlay[id^="dsblanks"] .c72-svg { max-height: 160px; }
.c72-overlay[id^="dswords"] .c72-svg { max-height: 300px; }
@media (max-width: 400px) {
    .c72-overlay[id^="dsplates"] .c72-svg { max-height: 230px; }
    .c72-overlay[id^="dsfriend"] .c72-svg { max-height: 230px; }
    .c72-overlay[id^="dsparade"] .c72-svg { max-height: 250px; }
    .c72-overlay[id^="dsrepeat"] .c72-svg { max-height: 250px; }
    .c72-overlay[id^="dssub"] .c72-svg { max-height: 260px; }
}