Reorganized CSS to reduce the number of style calls down to one, cleaned up both index and logic as a result..