changed from display:table to flexbox, tidied the LESS and templates a little