Where do I enter in TT the closing costs on the sale of an inherited home?

We sold an inherited home which had been vacant 4 years and never rented.  I followed the link for sale of a second home and entered my 1099-S info which shows the gross amount of the sale.  I incurred realtor and lawyer costs deducted from my sale proceeds at closing.  How are these entered in TT ?