During the Soviet era, political socialization emphasized Marxist ideology and loyalty to the Soviet state through propaganda and school curricula. Family values promoted Soviet ideals. Religion was suppressed by the atheist state. In post-Soviet Russia, textbooks now stress nationalism over communism while family values are personal. Secondary education is mandatory but more flexible than during Soviet times. Voting is now democratic, though some question its fairness.