/* class7-math-ch2-reallife.css - Arithmetic Expressions Tier 10 "Expressions in Real Life (Story <-> Expression)".
   Almost everything is shared (class7-math-ch2-common.css, class7-math-ch2-expr.css); only Tier 10 touches live here.
   Popup ids are the lower-case prefixes: rlstory, rlexpr, rlkannan, rlwindow, rlrice, rlfits. */

/* expressions, cards, rows and answers keep every word on one line */
.c72-overlay[id^="rlstory"] .c72-svg text,
.c72-overlay[id^="rlexpr"] .c72-svg text,
.c72-overlay[id^="rlkannan"] .c72-svg text,
.c72-overlay[id^="rlwindow"] .c72-svg text,
.c72-overlay[id^="rlrice"] .c72-svg text,
.c72-overlay[id^="rlfits"] .c72-svg text { white-space: nowrap; }

/* the little faces of the kids in a story sit on the text line */
.c72-overlay[id^="rlstory"] .quiz-question .c72-inl,
.c72-overlay[id^="rlexpr"] .quiz-question .c72-inl,
.c72-overlay[id^="rlkannan"] .quiz-question .c72-inl,
.c72-overlay[id^="rlwindow"] .quiz-question .c72-inl,
.c72-overlay[id^="rlrice"] .quiz-question .c72-inl,
.c72-overlay[id^="rlfits"] .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^="rlstory"] .c72-svg { max-height: 220px; }
.c72-overlay[id^="rlexpr"] .c72-svg { max-height: 300px; }
.c72-overlay[id^="rlkannan"] .c72-svg { max-height: 280px; }
.c72-overlay[id^="rlwindow"] .c72-svg { max-height: 340px; }
.c72-overlay[id^="rlrice"] .c72-svg { max-height: 200px; }
.c72-overlay[id^="rlfits"] .c72-svg { max-height: 280px; }
@media (max-width: 400px) {
    .c72-overlay[id^="rlexpr"] .c72-svg { max-height: 260px; }
    .c72-overlay[id^="rlkannan"] .c72-svg { max-height: 240px; }
    .c72-overlay[id^="rlwindow"] .c72-svg { max-height: 300px; }
    .c72-overlay[id^="rlfits"] .c72-svg { max-height: 240px; }
}