BENGALURU, July 16 (Reuters) -

India's NSE Nifty 50 rose to a record high at the open on Tuesday, before trimming gains, with small- and mid-caps also hitting all-time highs, boosted by stock-specific jumps on strong quarterly earnings.

The Nifty 50 rose as much as 0.26% to 24,650.05. Both Nifty and the S&P BSE Sensex were up about 0.1% each, as of 9:29 a.m. IST.

The Nifty 50 has hit record highs in eight of the 12 sessions so far in July, rising about 2.5% over the period.

Eleven of the 13 major sectors logged gains. Both small- and mid-caps rose about 0.6% each to hit record highs.

Hatsun Agro Products climbed 12% after

posting

a rise in quarterly profit.

Century Textiles was up 6% after its arm Birla Estates

bought

a land parcel in Haryana's Gurugram, with an estimated revenue potential of 14 billion rupees ($167.50 million).

They were among the top gainers in the broader markets. ($1 = 83.5930 Indian rupees) ($1 = 83.5800 Indian rupees) (Reporting by Bharath Rajeswaran in Bengaluru; Editing by Nivedita Bhattacharjee and Sohini Goswami)