css and rules adjustment