Adjusted query and css