Adding fixes for different types of media and various CSS fiexes.