/*
	Description:Controls m4 structure
	Modified:23/10/2008 DS

	Index
	---------------------------------------------
	1. RESETS - removes and neutralises inconsistent default styling
	2. HEADER
	3. BODYCONTENT
	4. FOOTER
*/

/*************************** @1. RESETS ***************************/
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {border:0; font-weight:inherit; font-style:inherit; font-size:100%; font-family:inherit; margin:0; padding:0; vertical-align:baseline;}
a img {border:none;} /* Removes default image border */
#wrap {margin:0 auto; width:948px;}


/*************************** @2. HEADER ***************************/
#header-wrap {overflow:hidden; width:100%;}
#header {float:left; width:100%;}
#partners-top {height:28px; width:100%;}	
#top-search {float:left; width:100%;}


/*************************** @3. BODYCONTENT ***************************/
#body-content {background:#fff;}
#body-content:after  {content:"."; clear:both; display:block; height:0; visibility:hidden;}
#body-content {display:inline-block;}
/* \*/ * html #body-content 	{height:1%;}
#body-content  {display:block;}

#content-article {display:inline; /* Fix IE doubled float margin bug */ float:left; margin:5px 3px 5px 7px; width:623px;}
#content-channel, #content-multimedia, #competition-content {display:inline; float:left; margin:5px 0 5px 7px; width:468px;} /* Channel left column */
#content-sidebar {display:inline; float:left; margin:5px 3px 5px 0; width:155px;}

/* Channel center column */
#content-registration {display:inline; float:left; margin:5px 3px 5px 7px; width:623px;}
#content-forum {display:inline; float:left; width:810px;}
#content-404page {display:inline; float:left; width:993px;}
#content-channel-extended {display:inline; float:left; margin:5px 0 5px 7px; width:778px;overflow:hidden;} /* Channel extended left column */

/* Content Wrapper */
#wrap-inner	{clear:both;}
* html .wrapper {position/**/:relative; /* IE 5.01 doesn't like this */}
.wrapper {clear:both; display:inline-block; /* Fixes nasty Opera7 scrolling bug */ overflow:hidden; /* This hides the excess padding in non-IE browsers */}
.wrapper:after {clear:both; display:block; height:0; visibility:hidden;}
.wrapper {display:inline-block;}
/*\*/ * html .wrapper {float:left; /* only IE 5.01 should get this float value - otherwise 5.5 sometimes makes the width of wrapper too small */ float/**/:none;}
.wrapper {display:block;}
.verticalalign {bottom:0; height:1px; position:absolute;}
.wrapper .verticalalign {width:150px;}
.verticalalign p {position:absolute; bottom:0; right:0;margin:0; padding:0;} /* since we're using pixel widths we don't need to do the usual 100% fix for old Operas or IE */
* html .col-wrap.verticalalign {bottom:-1px;} /* IE Win shifts these snaps upwards - at some font-sizes */
* html>body .verticalalign {position:static; width:100% !important;} /* IE Mac 5 makes a hash of the absolute positioning */
* html>body .verticalalign p {float:right; position:static;}
.wrapper_fix {position:relative; margin-bottom:10px;}

/* Columns */
#one-col-wrapper {width:155px; display:inline; /* Fix IE doubled float margin bug */ float:left;}
#three-col-wrap, #three-col-wrapper {float:left; width:458px; margin:5px; display:inline; /* Fix IE doubled float margin bug */ _overflow:hidden; /* IE6 pitb */}
#three-col, arbitaryhtml-article, #left-content-col, #three-col-wrapper .search {margin:5px;}
#competition-content #left-content-col  {margin:5px 0;} /* Competition layout had to be "special", left/right margin removed to align with header */
* html .two-col, * html .one-col, * html .three-col, * html .four-col, * html .two-col-highlight, * html .one-col-highlight, * html .three-col-highlight, * html .four-col-highlight {display:inline;} /* Fix IE doubled spacing */
#one-col-wrapper .one-col, #one-col-wrapper .one-col-highlight,
#content-sidebar .one-col, .most-commented { border:1px solid #d2d2d2; border-width:0 1px 1px 1px; display:inline; float:left; margin:5px 0 5px 5px; overflow:hidden; word-wrap:break-word; width:145px; _width:143px;} /* Create border for one column article container */
.two-col { border:1px solid #d2d2d2; width:300px; float:left; margin:0 3px 0 5px; }

/* Sidebar - ad col and classifieds col */
#sidebar {display:inline; float:left; width:310px;}
#classified-col {float:left;	 width:160px;}
#ad-col	{float:right; display:inline; margin-right:5px; width:160px; text-align:center;}


/*************************** @4. FOOTER ***************************/
#footer {clear:both; margin:1px 0; width:100%;}
* html #footer {height:1%;}
#footer-links {margin:5px 0 0 0; width:100%;}

