CSS for error message

On our homepage, there’s a form, filling up which should give you an error message. The error message shows up oddly. We are trying to write some CSS to make it smaller, fit inside the box and be on a red box background. But it is not having an effect. Please advice.