reorganized overlay styling
restructured helper functions
isolated extraction styling
restructuring css part 1
Merge pull request #346 from jpecht/master

restructuring css part 1