Bosnia&Herzegovina is made of 3 main ethnies of Croats, Bosniaks and Serbs, in addition to have a very small number of people not part of any those. They elect 3 presidents for each of the 3 ethnies, and my understanding is that there is a certain amount of seats reserved in the parliament per ethnicity.
I read the related articles on wikipedia countless times, but I still cannot figure out how this functions. Who can vote for which president or parliamentaries ? Do everyone vote for Croat, Bosniak and Serb representatives ? Or can people only vote for people of "their" ethnicity ?
If this is the latter, how does the voting function for people not within one of those ethnicities, for example as Jews or foreigners having aquired the Bosnian citizenship?