added media based queries