If you treat customers or other employees with disrespect regardless of racism, loveism, religion, or lgbt standing you deserve to be fired. Its unprofessional and makes the company look bad if they keep you. Same if you share your believes about how much you want to burn blacks on facebook, the company still has a right to fire you for it.