@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain("fictionpress.com"), domain("fanfiction.net") {

/* Hide Advertisements */
div#storytext > div.a2a_kit,
ispan,
center + div.sep + div,
script + script + center div,
script + center > div,
#google_ads_div_ff_safe_banner_728x90,
div.myborder > div.myborder_only_top > div,
div#menu-extra-c + script + center,
div.myborder_only_top > hr[size="1"] + div,
hr[size="1"] + form#myform > script + table + div,
form[name="justin"] + hr[size="1"] + div,
hr[size="1"] + table[width="100%"] + div,
table.myborder tr td[valign="top"] div:not([id="bio"]),
table.myborder + br + div,
hr[size="1"] + form[name="myform"] table[width="100%"] + div,
br + br + center,
table + br + center,
form + br + center,
.z-list > img,
div + div > form + br /* hide the extra space at the bottom */
{ display: none !important; }

/* Recolor */

#content_wrapper, body {
  background: #333 !important;
  color: #fff !important;
}

#content_wrapper { width: auto !important; max-width: none !important; }

a {
  color: #ff0 !important;
  text-decoration: none !important;
  border: none !important;
}
a:visited { color: #f00 !important; }
a:hover, a:visited:hover { color: #ffa900 !important; }

select, input, textarea {
  background: #111 !important;
  color: #fff !important;
  border: 1px solid #ccc !important;
  -moz-appearance: none !important;
}

select:hover,select:focus,input:hover,input:focus,textarea:hover,textarea:focus { border-color: #fff !important; }

.myborder, #top { background: none !important; }

.z-list { border-bottom-color: #393939 !important; }
.z-list > .z-indent { padding-left: 0 !important; }

.zmenu, .zui, .xxmenu, .xxui { background: #111 !important; }

.z-high, .x-high { background-color: #444 !important; }

.panel_success {
  background: #666 !important;
}

.panel_warning {
  background: #111 !important;
  border: 5px solid #f00 !important; 
}

span.gui_warning { color: #f00 !important; }
span.gui_success { color: #fff !important; }

/* Forum Colors */
.hiliteStyle { background: #555 !important; }
.quoteStyle  { color: #aaa !important; border-color: #aaa !important; }

/* Color for the Tables of Death*/
.tborder,.trowh { background: #333 !important; border: none !important; }
.tcat { background: #333 !important; }
.thead {
  background: #222 !important;
  color: #ccc !important;
}
.alt0,.alt0Active,.alt2,.alt2Active {
  background: #333 !important;
  color: #fff !important;
}
.alt1,.alt1Active,.alt3,.alt3Active {
  background: #444 !important;
  color: #fff !important;
}

table#gui_table15i,table#gui_table14i,table#gui_table13i,table#gui_table12i,table#gui_table11i,
table#gui_table10i,table#gui_table9i, table#gui_table8i, table#gui_table7i, table#gui_table6i,
table#gui_table5i, table#gui_table4i, table#gui_table3i, table#gui_table2i, table#gui_table1i
{ border-spacing: 0 !important; }
.fhigh { background: #555 !important; }

form[name="frm_search"] td { background: #333 !important; }
td[bgcolor="#f0f0f0"] { background: #555 !important; }

a.positive { border: 1px solid #555 !important; }
.positive,.buttons a,.buttons button {
  background: #222 !important;
  border-color: #555 !important;
  color: #ff0 !important;
}
.positive:hover, .buttons a:hover, .buttons button:hover {
  background: #444 !important;
  color: #ffa900 !important;
  border-color: #888 !important; 
}

/* Profile Admin Coloration */
.xtabc, .admintabs a{
  border-color: #555 !important;
}

.admintabs a:hover, .admintabs a.selected {
  background: #555 !important;
}

/* Firefox 3 Fix for the Crappy Menu Thing */
div.menu-child form {
  width: 50% !important;
}

}

@-moz-document url-prefix(http://www.fanfiction.net/atom) {
/* Extra Recolor: Make the atom feeds readable in Firefox. */
#feedError, #feedBody { background: #111 !important; font-family: Verdana; }

}