/* #00A (dk!) - font
#00C (dk) - border / contrasting header
#33C (lt) - header
#FFF (lt!) - background */

@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain("kingdomofloathing.com") {
/* *** Background *** */
body {background: #FFF !important;}

/* *** White background *** */
DIV#ChatWindow,
[style*="border"]
{background: #fff !important; }

/* *** Border *** */
* {border-color: #00A !important;}

/* *** Header background *** */
DIV[style*="background-color: blue;"],
TD[bgcolor="#5a5a5a"],
TD[bgcolor="black"],
TD[bgcolor="blue"],
P.rcm:hover,
INPUT.button, INPUT.tinybutton,

/*  Sidebar pseudoheaders  */
/* last ad in la/f/e side */ #rollover + CENTER > FONT[size="2"] a,
/*fam in la/f/e side*/ #rollover + CENTER > P:last-child > TABLE[width="90%"]:only-child TR:first-child > TD[align="center"][colspan="2"]:only-child FONT[size="2"],
/* fam in la/e/f */ #rollover + CENTER:last-child > CENTER:last-child > P:last-child TD[colspan="2"]:only-child > FONT[size="2"]:only-child,
/* effe in la/f/e side */ #rollover + * + CENTER > P:only-child > B:first-child > FONT[size="2"],
/* eff la/e/f */ #rollover + CENTER  B[oncontextmenu*="uneffect.php"]:first-child > FONT[size="2"]:only-child,
/* announc */ A[href$="id=policy"] + * + * + * + CENTER > B:only-child,
/* triv */ A[href$="id=policy"] ~ CENTER ~ P + CENTER > B:only-child

{background: #00A url(http://i7.photobucket.com/albums/y268/AmandaKerik/KOL/Restyling/gradient-white.png) bottom repeat-x !important; color: #fff !important;/*text color here is best set to white - overriding it is bloaty*/}

/* *** Alt header *** */
TD[bgcolor="orange"]
{background: #33C url(http://i7.photobucket.com/albums/y268/AmandaKerik/KOL/Restyling/gradient-white.png) bottom repeat-x  !important; color: #fff !important;/*text color here is best set to white - overriding it is bloaty*/}
TD[style*="border: 1px solid orange;"] 
{border-color: #33C !important;}

/* *** Sidebar pseudoheaders *** */
/* last ad in la/f/e side */ #rollover + CENTER > FONT[size="2"] a,
/*fam in la/f/e side*/ #rollover + CENTER > P:last-child > TABLE[width="90%"]:only-child TR:first-child > TD[align="center"][colspan="2"]:only-child FONT[size="2"],
/* fam in la/e/f */ #rollover + CENTER:last-child > CENTER:last-child > P:last-child TD[colspan="2"]:only-child > FONT[size="2"]:only-child,
/* effe in la/f/e side */ #rollover + * + CENTER > P:only-child > B:first-child > FONT[size="2"],
/* eff la/e/f */ #rollover + CENTER  B[oncontextmenu*="uneffect.php"]:first-child > FONT[size="2"]:only-child,
/* announc */ A[href$="id=policy"] + * + * + * + CENTER > B:only-child,
/* triv */ A[href$="id=policy"] ~ CENTER ~ P + CENTER > B:only-child
{display: block !important; max-width: 85% !important; padding: .2em !important;}
/*fam in la/f/e side*/ #rollover + CENTER > P:last-child > TABLE[width="90%"]:only-child TR:first-child > TD[align="center"][colspan="2"]:only-child FONT[size="2"],
/* fam in la/e/f */ #rollover + CENTER:last-child > CENTER:last-child > P:last-child TD[colspan="2"]:only-child > FONT[size="2"]:only-child
{max-width: 100% !important;}
/* effe in la/f/e side */ #rollover + * + CENTER > P:only-child > B:first-child > FONT[size="2"],
/* eff la/e/f */ #rollover + CENTER  B[oncontextmenu*="uneffect.php"]:first-child > FONT[size="2"]:only-child
{margin-bottom: -2em !important;}
}
@-moz-document domain("forums.kingdomofloathing.com") {
body {background: #fff !important;}
}