Solved  open layer issue hiding legend.

Added style to the head to resolved the layering issue.