styles for sub tmpl