created css cases for the mobile and mobil_sm modes