/* interactive building blocks on the student page (mobileScan.php), see js/qrBausteine.js.
   Colors with transparency so they work with mobileStyle.css and mobileStyleDark.css */
.qrBaustein {
	margin: 0.75rem 0;
}
.qrBaustein .qrBausteinKopf {
	display: none; /* "double click to edit" is only meant for the editor */
}
.qrBausteinMc {
	border: 1px solid rgba(134, 142, 150, 0.45);
	border-radius: 0.5rem;
	padding: 0.75rem;
}
.qrBausteinMc .qrBausteinFrage {
	font-weight: bold;
	margin-bottom: 0.6rem;
}
.qrBausteinMc .qrBausteinOption {
	margin-bottom: 0.5rem;
}
.qrBausteinMc .qrBausteinOptionText {
	display: block;
	padding: 0.6rem 0.75rem;
	border: 1px solid rgba(134, 142, 150, 0.6);
	border-radius: 0.4rem;
	color: inherit;
	text-decoration: none;
	background: rgba(134, 142, 150, 0.08);
}
.qrBausteinMc .qrBausteinOptionText:hover,
.qrBausteinMc .qrBausteinOptionText:focus {
	text-decoration: none;
	color: inherit;
	background: rgba(134, 142, 150, 0.18);
}
.qrBausteinMc .qrBausteinGewaehlt .qrBausteinOptionText {
	border-color: #1c64d6;
	background: rgba(28, 100, 214, 0.15);
}
.qrBausteinMc .qrBausteinRichtig .qrBausteinOptionText {
	border-color: #2b8a3e;
	background: rgba(43, 138, 62, 0.18);
}
.qrBausteinMc .qrBausteinFalsch .qrBausteinOptionText {
	border-color: #c92a2a;
	background: rgba(201, 42, 42, 0.15);
}
.qrBausteinMc .qrBausteinFehlt .qrBausteinOptionText {
	border-color: #e67700;
	border-style: dashed;
}
.qrBausteinMc .qrBausteinOptionFeedback {
	font-size: 0.9rem;
	padding: 0.25rem 0.25rem 0;
}
.qrBausteinMc .qrBausteinOptionFeedback:empty {
	display: none;
}
.qrBausteinMc .qrBausteinPruefen {
	display: inline-block;
	margin-top: 0.25rem;
	padding: 0.45rem 1rem;
	border-radius: 0.4rem;
	background: #1c64d6;
	color: #fff;
	text-decoration: none;
}
.qrBausteinMc .qrBausteinPruefen:hover {
	color: #fff;
	text-decoration: none;
}
.qrBausteinGraph svg {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 0.5rem;
	cursor: crosshair;
	user-select: none;
	-webkit-user-select: none;
}
.qrBausteinGraphBild {
	display: block;
	width: 100%;
	border-radius: 0.5rem;
}
.qrBausteinHinweis {
	font-size: 0.8rem;
	opacity: 0.7;
	margin-top: 0.3rem;
}

/* legend below a graph: colored line + term set by MathJax */
.qrBausteinLegende { margin-top: 0.4rem; font-size: 0.95rem; overflow-x: auto; overflow-y: hidden; }
.qrBausteinLegendeZeile { margin-bottom: 0.35rem; }
.qrBausteinFarbe { display: inline-block; width: 1.3rem; height: 0.22rem; border-radius: 0.1rem; vertical-align: middle; margin-right: 0.3rem; }
.qrBausteinBeschriftung { display: block; opacity: 0.75; font-size: 0.85em; margin-left: 1.6rem; }
