/* Float enclosing for structural elements */
#mast_sleeve:after, #columns:after, .twocolumn:after, .section_twocolumn:after { content:"."; clear:both; display:block; height:0; visibility:hidden; } /* float enclosing */

#wrapper { width:980px; margin:0 auto; padding:7px 0 20px; position:relative; }
#wrapper_sleeve { padding:0 20px; }
#mast_sleeve { position:relative; min-height:1px; }

/* Main Columns */
#columns { position:relative; clear:both; width:620px; margin-bottom:15px; padding:0 320px 0 0; min-height:1px; }
#colwrapper { width:100%; }
#colmain { float:left; width:100%; padding-bottom:8px; background:url(/magazine/graphics/bg.content.bottom.png) 0 100% no-repeat; }
#content { width:100%; padding-top:15px; background:url(/magazine/graphics/bg.content.top.png) no-repeat 0 0; }
#content_sleeve { padding:0 20px 1px; border-left:1px solid #CCC; border-right:1px solid #CCC; } /* padding-bottom:1px needed so rounded bottom joins up if last element has margin-bottom */

/* Page-specific overrides for columns */
#SearchResults #colmain, #directorySearchResults #colmain { padding:0; background:none; }
#az_companies #colmain, #directory_categories #colmain, #az_contributors #colmain, #azSubjects #colmain, #sitemap #colmain, #pub_index #colmain, #attachments #colmain { background:none; }
#index #content, #az_companies #content, #directory_categories #content, #directoryHome #content, #directorySearchResults #content, #SearchResults #content, #az_contributors #content, #azSubjects #content, #sitemap #content, #pub_index #content, #attachments #content { padding:0; background:none; }
#index #content_sleeve, #az_companies #content_sleeve, #az_companiesall #content_sleeve, #directory_categories #content_sleeve, #directoryHome #content_sleeve, #directorySearchResults #content_sleeve, #SearchResults #content_sleeve, #az_contributors #content_sleeve, #azSubjects #content_sleeve, #sitemap #content_sleeve, #pub_index #content_sleeve, #attachments #content_sleeve { padding:0; border:0; }

.my_pages #colmain { position:relative; width:620px; }
.my_pages #content { min-height:600px; }
.my_pages #content_sleeve { width:420px; border-right:0; }
.my_pages #secondary_content { width:140px; position:absolute; top:29px; right:20px; }
#public_profile #content_sleeve { width:auto; }

/* Ensure that changes here are reflected in padding for #columns */
#rightcolumn { float:right; width:320px; margin-right:-320px; }
#rightcolumn #rightcolumn_sleeve { margin-left:20px; }
#rightcolumn .twocolumn { border-bottom:0; margin-bottom:0; }
#rightcolumn .twocolumn .column1 { float:left; width:168px; }
#rightcolumn .twocolumn .column2 { float:right; width:120px; }

/* Section 2 Styling */
#index .section_twocolumn { padding:0 20px; min-height:1px; background:url(/magazine/graphics/bg.content.top.png) 0 0 no-repeat; }
#index #section_intro + .section_twocolumn { border-left:1px solid #CCC; border-right:1px solid #CCC; background:none; }
.section_column1 { float:left; width:280px; }
.section_column2 { float:right; width:280px; }

#story .section_twocolumn { padding:0; background:none; }
#story .section_twocolumn + div { clear:both; }
#story .section_column1 { width:440px; overflow:hidden; }
#story .section_column2 { width:120px; }

.twocolumn { clear:both; }
.twocolumn .column1 { float:left; width:280px; }
.twocolumn .column2 { float:right; width:280px; }
