some css declarations were in the wrong order.