Added css conditionally based on node type