Changing max-width to width to fix firefox bug.