Updated CSS Classes

Updated the CSS classes with better code to make them work better.
Replaced the "visibility: hidden" with "display: none" and "visibility:
visible" with "display: block". This enables you to hide the element
without it still taking up screen space.