Electoral system for the president
Slovenia
Law on Elections of the President of the Republic, 1992 (Google translated)
Article 22. The National Electoral Commission determines the outcome of the elections for the President of the Republic. A candidate who has received the majority of valid votes is elected President of the Republic.
Article 23. If no candidate has received the majority of votes, the vote shall be repeated among the candidates who have received the most votes. If several candidates have received the same highest number of votes, or if two, or more candidates have received the same second highest number of votes, the selection of candidates for re-voting is determined by lot. On the ballot, candidates are listed in order of the number of votes received in the first ballot. If the number of votes obtained is the same, the order shall be determined by lot.
Law in the original language:
ZAKON o volitvah predsednika republike
22. člen
Republiška volilna komisija ugotovi izid volitev za predsednika republike.
Za predsednika republike je izvoljen kandidat, ki je dobil večino veljavnih glasov.
23. člen
Če noben kandidat ni dobil večine glasov, se glasovanje ponovi med kandidatoma, ki sta dobila največ glasov. Če je več kandidatov dobilo enako najvišje število glasov ali če je, dvoje ali več kandidatov dobilo enako drugo najvišje število glasov, se izbira kandidatov za ponovno glasovanje določi z žrebom. Na glasovnici sta kandidata navedena po vrstnem redu glede na število dobljenih glasov pri prvem glasovanju. Če je število dobljenih glasov enako, se vrstni red določi z žrebom.