@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain("wikipedia.org") {

div.siteNoticeBig, div.siteNoticeSmall, #footer, #mp-topbanner, #mp-strapline, span.toctoggle{
  display: none !important;
}

body, #content, table.infobox{
	line-height:150% !important;
}

#bodyContent > p, .MainPageBG{
        text-align: justify;
}

table.infobox{
	line-height:150% !important;
}
 
body, #mp-left, #mp-right, td.MainPageBG, td.MainPageBG table{
  background: #fff !important;
}
 
.generated-sidebar .pBody, #p-tb .pBody, #p-search .pBody, #p-lang .pBody{
   background: #ffffe4 !important;
}
 
body, h1, h2, h3, h4, h5, h6, #content, #noarticletext, span.CategoryTreeBullet, table, .infobox, .MainPageBG td, #bodyContent .MainPageBG h2{
   color: #222 !important;
}

#bodyContent h2{
   color: #363 !important;
}
 
h1, h2, h3, h4, h5, span.mw-headline{
   font-family: Georgia, serif !important;
}
 
h1, h2, h3{
  font-weight:normal !important;
}
 
#toc h2{
   color: #222 !important;
   font-size: 130% !important;
}
 
#toctitle{
   text-align: left !important;
}

#mp-upper{
  margin-top:10px !important;
}
 
.MainPageBG{
  border: 0px !important;
}

#content{
  border-width: 1px medium 0px 0px !important;
  margin-left:14.5em !important;
  padding-left: 0 !important;
}
 
#bodyContent h2, h1{
   border-width: 0px !important;
   margin-bottom: 0px !important;
}

#bodyContent .MainPageBG h2{
  border-width: 1px !important;
  font-weight: bold !important;
}

p{
  margin-top:.5em !important;
  margin-bottom:1em !important;
}
  
.wikitable{
  margin-left:10px !important;
  margin-right:5px !important;
}
 
table.metadata, table.ombox, table.plainlinks{
  margin-top:1em !important;
  margin-bottom:1em !important;
}
 
table.infobox > tbody > tr:first-child > td{
   padding-left: 10px !important;
   padding-right: 10px !important;
   padding-top: 5px !important;
   padding-bottom: 5px !important;
}

.pBody{
  margin-top:5px;
  margin-bottom:10px;
}

#p-cactions .pBody{
  margin-top:0px !important;
  margin-bottom:0px !important;
}

div.portlet.generated-sidebar{
    width: 12em !important;
}
 
#p-cactions{
  left:14.5em  !important;
  line-height: 100% !important;
}

.portlet{
  position:relative;
  left:1em;
}
 

#p-logo{
  width:15.5em  !important;
  left:1em !important;
  top: 1ex !important;
  margin-bottom:10px !important;
}
 
#p-navigation{
   margin-top:15px  !important;
}
 
#mp-left{
  position:relative;
  left:-10px;
}

.portlet h5{
  padding:0px !important;
}
}