/* Stellenwertsystem (blog/gym/mathe/stellenwertsystem/) und Dezimalzahlen, zusammen mit schriftlich.css, rechengesetze.css und stellenwert.css */

/* Dreiergruppen abwechselnd getoent, damit man die Gruppen auf einen Blick sieht */
.sv-tafel th, .sv-tafel td { text-align: center; padding: 6px 4px; min-width: 1.6em; }
.sv-tafel .sv-a { background-color: #fdfdf8; }
.sv-tafel .sv-b { background-color: #e3f2fd; }
.sv-tafel thead .sv-b { background-color: #d0e6f8; }
.sv-tafel thead .sv-a { background-color: #f5f5f5; }
.sv-tafel .sv-komma { border-left: 3px solid #c2185b; }

.sv-halbieren td { font-variant-numeric: tabular-nums; }
.bruch-reihe { display: flex; flex-wrap: wrap; gap: 6px 15px; align-items: center; margin: 15px 0; }
.sv-tafel .dz-null { color: #9e9e9e; }
.sv-tafel .dz-markiert { background-color: #fff3c4; font-weight: bold; }
.dz-figur { margin: 0; text-align: center; }
.dz-figur .zahlbild { margin: 0 auto 6px; }
.dz-figur figcaption { font-size: 15px; }

/* Zwoelf Spalten muessen auf ein Handy passen */
@media (max-width: 480px) {
    .sv-tafel th, .sv-tafel td { padding: 4px 1px; min-width: 0; }
    .sv-tafel td { font-size: 17px; }
    .sv-tafel thead th { font-size: 13px; }
}
