Added styles for group and item templates