Major CSS/Markup cleanup/restructing

Converted as much rules from traditional box-model to flex box model. Trying to make theming easy with as much dynamic rules as possible.