/* 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:960px; margin:0 auto; padding:0; position:relative; }
#wrapper_sleeve { padding:0; }

#mast { padding:0; height:180px; background:url(/magazine/graphics/bg.mast.jpg) no-repeat scroll right bottom; border-bottom:1px solid #E1E1E1; }
#mast_sleeve { position:relative; min-height:1px; margin-top:4px; }

/* Main Columns */
#columns { position:relative; clear:both; padding:0 320px 0 0; width:640px; background:url(/magazine/graphics/bg.columns.png) 0 0 repeat-y; }
#colwrapper { width:100%; }
#colmain, #content { float:left; width:620px; }
#content_sleeve { margin-bottom:37px; } /* if RHC has no ads, need to push content up so that it is not covered up by bg image on footer_ad (has margin-top:-37px) - so links at the bottom of content will work (e.g. paging) */

#public_profile #content, #ugc_profile_edit #content, #editAccount #content { width:620px; }

.my_pages #content { width:460px; }
.my_pages #secondary_content { width:140px; float:right; }

/* Ensure that changes here are reflected in padding for #columns */
#rightcolumn { float:right; width:320px; margin-right:-320px; padding-top:10px;}
#rightcolumn #rightcolumn_sleeve { padding:0 10px 30px; }
#rightcolumn .twocolumn { border-bottom:0; margin-bottom:0; }
#rightcolumn .twocolumn .column1 { float:left; width:168px; }
#rightcolumn .twocolumn .column2 { float:right; width:120px; }

/* Exhibitor/Sponsor detail gold right column margin fix */
#events_exhibitor_detail_gold #rightcolumn{ margin-right:-350px;}
#events_sponsor_detail #rightcolumn{ margin-right:-350px;}

/* Basic Two Column Structure */
.twocolumn { padding:0; clear:both; min-height:1px; }
.twocolumn .column1 { float:left; width:48%; }
.twocolumn .column2 { float:right; width:48%; }

/* Section 2 Styling */
.section_twocolumn { min-height:1px; }
.section_column1 { float:left; width:601px; }
.section_column2 { float:right; width:317px; padding-left:15px; }

/* Index/section2 page styles */
#index .section_column1, #section2 .section_column1 { width:460px; }
#index .section_column2, #section2 .section_column2, #story .section_column2 { width:140px; padding:0; }
#story .section_column2 { padding-left:20px; }
#index .section_column2 .column1, #index .section_column2 .column2, #section2 .section_column2 .column1, #section2 .section_column2 .column2 { width:auto; float:none; }
#index .section_column2 .column1_sleeve, #index .section_column2 .column2_sleeve, #section2 .section_column2 .column1_sleeve, #section2 .section_column2 .column2_sleeve { padding:0; }