adjusted margin and padding