Tried to optimize some of the css/simplify the code.