Community Board 7 gave developer CA Plaza its advisory approval Monday to build a 12-story Hotel Indigo on Prince Street and a 14-story general office building on Main Street.

The board granted two variances to change the use of the office space from medical to general and to reduce the number of required parking spaces from 377 spots to 305.

Developers bought the 36-18 Main St. site in 2006, according to attorney Richard Lobel. They already had two special permits, approved by the board last November, to include a spa in the hotel and to build the office to 189 feet and the hotel to 154 feet.

Community board officials said the project is heavily dependent on whether the city decides to install a traffic light on 36th Avenue and Prince Street to ease traffic the development is expected to bring.