global style and template