changed order of some css rules.