Replace media query with simple css rules because IE7/8 do not support them