Added -webkit-flex for Safari (for flexbox layout)