Changed style.css, custom css (for doc view) and document.php for tei bu...

I believe these are the final changes.