more CSS fixes for TEC 3.0