styling for optional input elements