During the temporary absence or disability of the mayor for any cause, the president of the city council or in the president's absence or disability for any reason, any councilmember chosen by majority vote of the city council shall be clothed with all the rights and privileges of the mayor and shall perform the duties of the office of mayor for so long as such absence or disability shall continue. If the mayor returns within his or her elected term, the mayor will resume the office of mayor and the president of the city council will resume the office of president of the city council. The president of the city council shall retain the authority to vote on matters before the city council during a temporary absence of the mayor. An absence or disability shall be declared by a majority vote of all councilmembers.