opimized formatting of div. template-sections