add layout and styles for responsive form element