Reworked CSS to use classes.
Changed some CSS math.
Changed Clender frame math