@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain("kingdomofloathing.com"),
domain(kbay.turias.net) {
/* background #EEF3FB
   border     #3162A6
   header     #95AED1, #3162A6
   alt header #AE95D1, #6231A6
   alt border #6231A6
*/

/* *** Background *** */
body, tr.a td {background: #EEF3FB !important;}

/* *** White background *** */
DIV#ChatWindow,
[style*="border"],
#options > #tabs + #body,
/* kbay (not an endorsement) */ .content_table_title + table,
#ctc_div
{background: #fff !important; }

/* *** Border *** */
* {border-color: #3162A6 !important;}
#options > #tabs .active {border-right: 0 !important;}

/* *** Header background *** */
DIV[style*="background-color: blue;"],
td[style*="background-color: blue"],
TD[bgcolor="#5a5a5a"],
TD[bgcolor="black"],
TD[bgcolor="blue"],
#options > #tabs + #body > .header,
P.rcm:hover,
INPUT.button, INPUT.tinybutton,
/* kbay (not an endorsement) */ .content_table_title,

/*  Sidebar pseudoheaders (3 Feb 2011) */
/* Current Quest */   #nudgeblock A[target="mainpane"][href="questlog.php"],
/* Last Adventure */  #rollover ~ CENTER B A[target="mainpane"][onclick],                     
/* Familiar */        #rollover ~ CENTER TABLE[width="90%"] TD[colspan="2"] > FONT[size="2"] > B,
/* Effects */         #rollover ~ CENTER P:only-child FONT[size="2"],

/* macros header */ table#current tr th,
/* GM Scripts */
#recipeHeader, hr[style*="background-color"], .ctc_tab_on,
DIV[style^="background: none repeat scroll 0% 0% blue"]
{ /*For <3.5 versions */
background-color: #3162A6 !important;
background-image: url(http://i7.photobucket.com/albums/y268/AmandaKerik/KOL/Restyling/gradient-white.png) !important;
background-position: bottom;
background-repeat: repeat-x;
/*For 3.5+ versions*/
background-image: -moz-linear-gradient(top, #95AED1, #3162A6) !important;
color: #fff !important;/*text color here is best set to white - overriding it is bloaty*/}

#rollover ~ CENTER TABLE[width="90%"] TD[colspan="2"] > FONT[size="2"] > B
   {margin-bottom: 0 !important;}
#rollover ~ CENTER P:only-child FONT[size="2"]   {margin-bottom: -2em !important;}

/* *** Alt header *** */
TD[bgcolor="orange"],
/* gm */ .ctc_tab_new
{ /* For <3.5 versions */
background-color: #6231A6 !important;
background-image: url(http://i7.photobucket.com/albums/y268/AmandaKerik/KOL/Restyling/gradient-white.png) !important;
background-position: bottom;
background-repeat: repeat-x;
/*For 3.5+ versions*/
background-image: -moz-linear-gradient(top, #AE95D1, #6231A6) !important; 
color: #fff !important;/*text color here is best set to white - overriding it is bloaty*/}

/* Older Account */ #rollover ~ * > CENTER > FONT[size="2"] > B a,
/* Noob - Last Adventure */ #nudgeblock ~ * B a {color: #fff !important;}

TD[style*="border: 1px solid orange;"]
{border-color: #6231A6 !important;}

INPUT.button, INPUT.tinybutton {border-width: 1px !important;}

/* *** Disabled Header *** */
input.button[disabled], input.button[disabled] ~ input.button
{background: -moz-linear-gradient(top, #EEF3FB, #CCC) !important; color: #000 !important; border-color: #CCC !important;}

/*  Sidebar pseudoheaders (3 Feb 2011) */
/* Current Quest */   #nudgeblock A[target="mainpane"][href="questlog.php"],
/* Last Adventure */  #rollover ~ CENTER B A[target="mainpane"][onclick],                     
/* Familiar */        #rollover ~ CENTER TABLE[width="90%"] TD[colspan="2"] > FONT[size="2"] > B,
/* Effects */         #rollover ~ CENTER P:only-child FONT[size="2"]
{display: block !important; padding: .2em !important;}

/* Familiar Adjust */ #rollover ~ CENTER TABLE[width="90%"] {width: 100% !important;}

/* Noob - Current Quest */ #nudgeblock > FONT[size="2"] > A[target="mainpane"] > B,
/* Noob - Last Adventure */ #nudgeblock ~ * B
{margin-bottom: -1em !important;}
#rollover + * + CENTER B > FONT[size="2"]
{margin-bottom: -2em !important;}
}
@-moz-document domain("forums.kingdomofloathing.com") {

TD.thead[style^="font-weight: normal;"] a,
TD.thead[style^="font-weight: normal;"] {color: #3162A6 !important;}
body {background: #fff !important;}
}

@-moz-document domain(kol.coldfront.net) {
BODY >a:first-child,
BODY >a:first-child+ TABLE>tbody> TR:first-child,
BODY >a:first-child + TABLE>tbody> TR:first-child + TR,
BODY >a:first-child + TABLE>tbody> TR:first-child + * + TR,
IMG[width][src^="http://kol.coldfront.net/thekolwiki/skins/monobook/images/"]
{display: none !important;}

/* *** Background *** */
body, BODY > TABLE[bgcolor="#ffffff"],
BODY > TABLE > TBODY > TR > TD,
TABLE#p-cactions, TABLE#p-cactions TR > TD.nothing {background: #EEF3FB none !important;}

/* *** White background *** */
/*
{background: #fff !important; }*/

/* *** Border *** */
* {border-color: #3162A6 !important;}
TD[style^="border-left: 3px solid rgb(99, 134, 168)"] {border-left: 0 !important;}
FORM#searchform > INPUT {border-width: 1px !important; margin: 2px !important;}

/* *** Header / Tab *** */
TD[style^="border-left: 3px solid rgb(99, 134, 168)"] H5,
#p-cactions *.nothing + TD:not(.selected),
p-cactions *.nothing + TD > A > NOBR
{ /*For <3.5 versions */
background-color: #3162A6 !important;
background-image: url(http://i7.photobucket.com/albums/y268/AmandaKerik/KOL/Restyling/gradient-white.png) !important;
background-position: bottom;
background-repeat: repeat-x;
/*For 3.5+ versions*/
background-image: -moz-linear-gradient(top, #95AED1, #3162A6) !important;
color: #fff !important;/*text color here is best set to white - overriding it is bloaty*/}

#p-cactions *.nothing + TD:not(.selected) a {color: #fff !important;}
}
