Changed text alignment to outside, more conditional styles