changed css and pdf orientation