Replaced flex with CSS 2.0 hack for browser compatibility.