Updated template

Fixed some CSS code, edited layout.