A vacancy shall exist if the mayor or a councilmember resigns, dies, moves his or her residence from the city, or has been continuously disabled for a period of six months, so as to prevent him or her from discharging the duties of his or her office, or if he or she accepts any federal, state, county, or other municipal office or position of employment except as a magistrate or member of the National Guard or other reserve components of the U. S. Armed Forces; or if he or she is convicted of malfeasance or misfeasance in office, or of a felony, or violation of this Act; or any violation of the election laws of the state. In the event of a vacancy in the office of mayor, the vice mayor shall fill out the unexpired term in the office of mayor if there shall be six months or less remaining to be served in such term. If, however, there shall be more than six months remaining to be served in such term, a special election shall be called to be held in the city to elect a person to fill out the balance of the unexpired term in the office of mayor. In the event of a vacancy in the office of a councilmember, if there shall be six months or less remaining in the term to be served by such councilmember, the mayor and council shall immediately appoint, by majority vote among themselves, another person to serve for said remaining term of six months or less. If, however, there shall be more than six months remaining to be served in the term of said councilmember, a special election shall be called by the mayor and council to be held in the city to elect person to fill out such unexpired term. In the interim period between the occurrence of the vacancy and the election of a new councilmember the mayor and council shall appoint an interim appointee to serve until the election is held. Such interim appointee may, if he or she desires, be a candidate in such election.