How to vertically align using css. From http://zerosixthree.se/vertical-align-anything-with-just-3-lines-of-css/
.element { position: relative; top: 50%; transform: translateY(-50%); }