Moved <style> section

The <style> tags placed between 
<?php echo $header; ?><?php echo $column_left; ?><?php echo $column_right; ?>
and
<div id="content"><?php echo $content_top; ?>
cause the default CSS properties of 
#column-left + #column-right + #content, #column-left + #content{
to be ignored.  Page layout is displayed incorrectly as a result.

Moving the <style> tags below <div id="content"> seems to fix the problem.