fixed issue where @media queries were being ignored in Safari.