style for template items