I have a few tips that might help, as it sounds like you have some issues with your setup. Keeping heat down with compact fluorescents can be tricky, especially if you haven't built your hood out of metal (which conducts the heat up and away, while wood tends to insulate and allow heat buildup).
First, you should not have your ballast where it is exposed to high humidity . . . it will reduce the life of your setup.
Second, your ballast should be mounted on the outside of your hood (preferably on the back where you can't see it). This will help prevent some of the heat buildup, as the ballast produces a good deal of heat.
Third, it's a good idea to place a piece of plexiglass between your lights and the terrarium cover, and make at least one vent out the back or top of your now "sealed" hood. This causes a dead air space betweeen your lights and your terrarium top to further insulate it from the heat build up. You can make this even more effective by placing a computer fan on the top vent to suck air out the top, and drill some small vents in the bottom or side to allow ambient air to flow in.
Fourth, make sure your tank is adequately ventillated to allow heat to escape.
If you're really into reducing the heat, the use of heat sinks with the fan might be helpful . . . but that is another issue. Additionally, a false bottom setup with a water feature will help equalize the temperature differential, as water has a much higher specific heat than air, and its thermal mass will help buffer temperature extremes. The more surface area you have exposed, the more efficient the heat transfer will be.
That's all I can think of right now. Let me know if I need to be more clear, or if that is not responsive to your question.
-----
Homer W. Faucett III, esq.
Purveyor of Trivialities and Fine Nonsense