@namespace url(http://www.w3.org/1999/xhtml);

/* Domain rules */

@-moz-document domain(wired.com){

BODY
{margin-left:0px !important;
 margin-right:0px !important;}

#shell
{width:99% !important;
 margin-top:50px !important;
 margin-left:0px !important;
 margin-right:0px !important;}

DIV[class^="matchbook"],.hr
{height:0px !important; 
 padding-bottom:0px !important;}

IFRAME[width="300"],DIV[id^="ew_Banner"],
EMBED[src*="BurstingCache"],#wired-header,
#header,#mag_sub_promo,#popular_sponsor,.ad_wide,
#ad_bottom,SPAN[ID*="orange"],#footer,#sidead,
#FLASH_AD,#leaderboard,
embed[flashvars*="doubleclick"]
{display:none !important;}

#global_header
{position:absolute !important;
 top:0px !important;}}

/* Main page */
@-moz-document url(http://www.wired.com/),
url(http://www.wired.com/index.html),
url(http://www.wired.com/?river=popular#popular),
url(http://www.wired.com/?river=blogs#blogs),
url(http://www.wired.com/?river=elsewhere#elsewhere){
H1{font-size:small !important;}
#row1 .pic, #row1 .pic IMG
{height:100px !important; width:100px !important;}
#row2 .pic, #row2 .pic IMG,
.row2 .pic1, .row2 .pic1 IMG
{height:50px !important;
 width:100px !important;
 padding-top:7px !important;}
#headline1{width:310px !important;}
#headline2{width:450px !important;}
#headline3{width:300px !important;}
#headline4{width:250px !important;}
#headline5{width:290px !important;}
.headline4{float:left !important;}
.headline2{width:225px !important;}
.headline1{width:230px !important;}

#contentwell{width:100% !important;}
#edsecondary,#subnav{width:664px !important;}

#xrail
{position:absolute !important;
 left:700px !important;
 top:260px !important;}

#primary_package{margin-top:110px !important;}
#subnav{margin-left:10px !important;}
.home{margin-top:-50px !important;}
#river{width:100% !important;}

#river{background-image:url(none) !important;}
.river_list-blog LI,#river_list-pop,#river_list-elsewhere
{width:650px !important;}

#contentwell
{border-top-style:solid !important;
 border-width:1px !important;
 border-color:gray !important;}

#river>.reddit>.powered,.group,
#xrail>DIV[style*="width: 300px"],
#river_list-elsewhere .powered,#services,
.dartAdUnit,#serv_mod_title
{display:none !important;}}

/* Archive */
@-moz-document url-prefix(http://www.wired.com/wired/archive/){
#colM{margin-right:30px !important;}
.content{width:90% !important;}
.pgTitle,.pgToolsSub
{text-align:center !important;}
#contentwell
{padding-left:10px !important;
 padding-right:5px !important;
 width:100% !important;}
#shell{margin-top:-5px !important;}
#articlehed{margin-top:20px !important;}
TABLE[width="360"]{width:700px !important;}
P,#articlehed
{text-align:justify !important;
 font-size:medium !important;}
#colR,.dptkicker,.topItem,
.sub,#storyInsert,H2>A
{display:none !important;}
#toolbox{background:url(none) !important;}
}

/* Blogs */
@-moz-document url("http://blog.wired.com/") {
#contentwell,#blogContent,#recentMedia{width:100% !important;}
#leftBlogContent,#rightBlogContent,H1,H2,
#recentMediaLeft,#recentMediaRight
{width:46% !important;
 padding-left:2% !important;}
}

@-moz-document url-prefix(http://blog.wired.com/){
#alpha,.comment-content{width:100% !important;}
#banner-header,#banner-description,#pagebody-inner
{width:99% !important;}
.date{margin-top:-15px !important;}
.content-nav{text-align:center !important;}

.image-full{width:50% !important;}
.entry-body,.entry-more>P
{font-size:small !important;
 text-align:justify !important;}

.hrphoto #beta,#banner,.entry-footer,
#pagebody-inner>#beta,#xrail,
#sixapart-standard
 {display:none !important;}
}

/* Sections */
@-moz-document url-prefix(http://www.wired.com/culture),
url-prefix(http://www.wired.com/science),
url-prefix(http://www.wired.com/politics),
url-prefix(http://www.wired.com/gadgets),
url-prefix(http://www.wired.com/medtech),
url-prefix(http://www.wired.com/software),
url-prefix(http://www.wired.com/techbiz),
url-prefix(http://www.wired.com/cars),
url-prefix(http://www.wired.com/gaming),
url-prefix(http://www.wired.com/multimedia),
url-prefix(http://www.wired.com/commentary),
url-prefix(http://www.wired.com/entertainment){
.sectionNameHeader,#breadcrumb{padding-left:10px !important;}
#contentwell
{padding-left:5px !important;
 padding-right:0px !important;
 width:1000px !important;}
#article{margin-top:10px !important;}
/* #xrail{float:right !important;} */
#toolbox
{background-image:url(none) !important;
 height:50px !important;
 padding-bottom:0px !important}
H1,H2{font-size:medium !important;}
#multimedia
{margin-top:35px !important;
 margin-left:5px !important;}
#mm_tools{right:100px !important;}
#mm_tools+.hr+#mainColumn+#xrail
{position:absolute !important;
 top:40px !important;
 right:25px !important}
#sponsor,#mag,#mag_on_excl,#xrail>TABLE,
#mod5,#sponsorMM,.social
{display:none !important;}
}

/* News */
@-moz-document url-prefix(http://news.wired.com/dynamic){
#contentwell{width:100% !important;}
.byline,.bylinetitle{font-size:10px !important;}
.apBody,.headline,.ap-story-p{font-size:medium !important;}
.topheadlinebody{font-size:medium !important;}
.byttl,.ap-newsbriefitem,.ap-newsbriefitem-p
{margin-bottom:5px !important;}
.ap-mediabox-table,
.ap-newslisting-table[align="right"]
{padding-left:5px !important;}
.ap-newslisting-table[align="left"]
{padding-right:5px !important;}
.span-body,.ap-story-p{text-align:justify !important;}
#xrail,TABLE[width="200"],HR,HR+BR,
#flashcontent,#flashcontent+HR,
.ap-mediabox-table+.ap-mediabox-table,
A[onclick*="icopyright.net"]
{display:none !important;}
}

/* Printable pages */
@-moz-document url-prefix(http://www.wired.com/print/){

#print,TABLE[width="630"]{width:100% !important;}
TD[width="25%"]{width:20% !important; padding-right:3% !important;}

#printbody
{padding-left:10px !important;
 padding-right:10px !important;}

#articlehed,H3{text-align:center !important;}
H3{font-size:large !important;}

#pic img{height:25% !important; width:25% !important;}
P img{height:50% !important; width:50% !important;}
#caption,.storyimagecaption
{text-align:justify !important;
 width:250px !important;
 margin-bottom:5px !important;}
.storyimagecaption>P{font-size:small !important;}

P,#article_text
{font-size:large !important;
 text-align:justify !important;}

#no_print,#printoptions,#zagHolder,.date_time,
H2,#author_left,#author_right,#breadcrumb,
.attributions,.columnToolsL,.zoom,#caption>em,
.storyimagecredit
{display:none !important;}
}

/* Read magazine */
@-moz-document url(http://www.wired.com/wired/){
#contentwell
{padding-left:5px !important;
 padding-right:0px !important;
 width:100% !important;}
.col
{padding-right:10px !important;
width:48% !important;}
H1,#nav_bar+SCRIPT+DIV,#also_title,
IMG[width="300"]{display:none !important;}
.col>.headline{font-size:medium !important;}
#mag_archive
{background-image:url(none) !important;
 margin-bottom:5px !important;}
#this_month_title{padding-top:0px !important;}
#this_month{-moz-column-count: 2 !important;}
#this_month>.topic
{padding-top:0px !important;
 padding-bottom:10px !important;
 font-size:medium !important;}
#xrail
{position:absolute !important;
 top:10px !important;
 right:20px !important;}
}

@-moz-document url-prefix(http://www.wired.com/services/calview.html){
#contentwell
{padding-left:10px !important;
 width:100% !important;}
}