made width of main content container flexible
added footnotes styling