added CSS classes on resource div