Question: are you supposed to take your hat off indoors?
Answer: A gentleman should remove his hat as he enters a building, including a restaurant, home, classroom, theater, church. This rule includes baseball caps and casual hats. Hats are to be removed when inside, except for places that are akin to public streets, e.g., lobbies, corridors, and elevators in public buildings.