Completed styles for grid system and added some helper functions and variables