css fixes for state template