Vertically centering in a modal



Was hoping someone could help.

I’m trying to vertically (and horizontally) align but vertically is most important two divs inside a modal window.

I’ve tried many ways now but am unable to achieve what I’m after, something like the following:

Any help would be much appreciated!