styling for double-input fields