added inline conditional css