You are probably referring to the word "bigot." A bigot is someone who is extremely partial to their own type of group and intolerant of others. These group types can pertain to race, religion, and politics.
A bigot would also be described as being prejudiced, and their bigotry can lead one to be racist, homophobic, chauvinistic, and other bigoted descriptions.
People don't like to be painted with the bigoted brush. For example, Marc Rubio recently said "Just because I believe that states should have the right to define marriage in a traditional way does not make me a bigot."