@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain(en.wikipedia.org) {

/* Position content area */

#content { 
    margin: 10px 8px !important; 
    padding: 0px 12px 12px 12px !important; 
    border: 1px solid #aaa !important; 
} 

/* Bold headers */

h1, 
h2, 
h3 
    { font-weight: bold !important; }

/* Article title */

h1 { 
    padding-bottom: 2px !important;
    letter-spacing: .02em !important; 
    font-size: 25px !important; 
}

/* Sub-sub-titles & Contents header */

h3:not([id="siteSub"]), 
#toctitle h2 
    { font-size: 12pt !important; }

/* Compress table of contents */

#toc { 
    width: auto !important; 
    float: left !important; 
    margin: 10px 25px 5px 0px !important; 
    border: solid 1.5px red !important; 
}

#toc > tr > td > ul { padding-top: 0px !important; }

#toc .toclevel-1, 
#toc .toclevel-2 
    { font-size: 9pt !important; line-height: 115% !important; }

#toc .toclevel-1 
    { font-weight: bold !important; margin: 0px 0px 2px 0px !important; }

#toc .toclevel-2 
    { font-weight: normal !important; }

/* Compress "warning boxes" about article sources, cleanup, etc. */

.ambox 
    { margin-top: 4px !important; margin-bottom: 0px !important; }
.ambox-text 
    { padding: 1px 2px !important; font-size: 90% !important; line-height: 105% !important; }


/* Article text */

p 
    { font-size: 9pt !important; line-height: 1.75em !important; }

/* Article reference superscript links */

.reference a 
    { font-weight: 100 !important; font-size: 90% !important; }


/********** HIDE UNNECESSARY ITEMS **********/

/* Hide left sidebar */

div#column-one 
    { padding-top: 0 !important; }

#p-lang, /* languages box */
#p-interaction, /* interaction box */
#p-navigation, /* navigation box */
#p-personal, /* login links */
#p-logo, /* logo header */
#p-cactions, /* tab links */
#anon-banner, /* donation request */
#searchGoButton, /* search go button */
#p-search h5, /* search title */
#coordinates, 
#featured-star, 
.topicon, 
.editsection, /* edit links */
.ambox-image /* warning box icons */
     { display: none !important; }


/********** SEARCH BOX **********/

#p-search {
    width: 397px !important;
    position: absolute !important; 
    top: 20px !important;
    z-index: 99 !important; 
    float: right !important; 
    width: 100% !important; 
    margin: 0 auto !important; 
    background: transparent !important; 
  }

#searchBody { 
    position: relative !important; 
    clear: both !important; 
    float: right !important; 
    list-style: none !important; 
    margin-right: 18px !important; 
    border: 0 !important; 

    width: auto !important; 
    padding: 0px 10px !important; 
    background: transparent !important; 
}

#searchInput, #mw-searchButton { 
    font-family: verdana, tahoma, segoeui, "segoe ui", arial, helvetica !important; 
    font-weight: bold !important; 
    font-size: 13px !important; 
}

#searchInput 
    { width: 180px !important;}


/********** TOOLBOX - Printable version & Cite this page links **********/

#p-tb { 
    position: absolute !important; 
    top: 53px !important;
    z-index: 98 !important; 
    float: right !important; 
    width: 100% !important; 
    margin: 0 auto !important; 
    background: transparent !important; 
}

#p-tb > div.pBody { border: 0px !important; background: transparent !important; }

#p-tb > h5, 
#t-whatlinkshere, 
#t-recentchangeslinked, 
#t-upload,
#t-specialpages, 
#t-permalink
 { display: none !important; }


/* Move "Printable version" link to the top & improve visibility */

#t-print, #t-cite { 
    position: relative !important; 
    clear: both !important; 
    float: right !important; 
    list-style: none !important; 
    margin-right: 12px !important; 
}

#t-print a, #t-cite a { 
    /* text-decoration: underline !important; */
    font-size: 9pt !important; 
    color: red !important; 
    line-height: 10px !important; 
    letter-spacing: .02em !important;
}

}

@-moz-document url(http://en.wikipedia.org/wiki/Main_Page) {

#p-tb { display: none !important; }

}