/* class7-math-ch2-mistakes.css - Arithmetic Expressions Spot the Mistake "Spot the Mistake (Expression Edition)".
   Almost everything is shared (class7-math-ch2-common.css, class7-math-ch2-expr.css); only this tier touches live here.
   Popup ids are the lower-case prefixes: mkpurna, mkflip, mkbandit, mkslip, mkswap, mkmix. */

/* expressions, cards, rows and answers keep every word on one line */
.c72-overlay[id^="mkpurna"] .c72-svg text,
.c72-overlay[id^="mkflip"] .c72-svg text,
.c72-overlay[id^="mkbandit"] .c72-svg text,
.c72-overlay[id^="mkslip"] .c72-svg text,
.c72-overlay[id^="mkswap"] .c72-svg text,
.c72-overlay[id^="mkmix"] .c72-svg text { white-space: nowrap; }

/* the little faces of the kids in a story sit on the text line */
.c72-overlay[id^="mkpurna"] .quiz-question .c72-inl,
.c72-overlay[id^="mkflip"] .quiz-question .c72-inl,
.c72-overlay[id^="mkbandit"] .quiz-question .c72-inl,
.c72-overlay[id^="mkslip"] .quiz-question .c72-inl,
.c72-overlay[id^="mkswap"] .quiz-question .c72-inl,
.c72-overlay[id^="mkmix"] .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^="mkpurna"] .c72-svg { max-height: 240px; }
.c72-overlay[id^="mkflip"] .c72-svg { max-height: 240px; }
.c72-overlay[id^="mkbandit"] .c72-svg { max-height: 300px; }
.c72-overlay[id^="mkslip"] .c72-svg { max-height: 300px; }
.c72-overlay[id^="mkswap"] .c72-svg { max-height: 200px; }
.c72-overlay[id^="mkmix"] .c72-svg { max-height: 240px; }
@media (max-width: 400px) {
    .c72-overlay[id^="mkbandit"] .c72-svg { max-height: 250px; }
    .c72-overlay[id^="mkslip"] .c72-svg { max-height: 250px; }
}
