Select padding issue when overlaying a div with a form over a div with background color

I am trying to overlay a div that has a reservation form in it over a div that has a background color using position technique. When I added padding to div has background color, the

Fixed by myself.

Good job fixing it :). It’s polite to show how you fixed it so any user searching this thread to fix their own problem can know what you did.

Yes, sure. Select elements have same id(#room) and the div with background color, so css applies to them too, should not have same ids in same page, anyway.