The Sloan family stayed in a hotel room for 6 nights while on vacation. The total cost before tax was $1,170. If the hotel room tax rate in the city is 12%, what was the total cost for the hotel room?