@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain("kingdomofloathing.com"), domain(store.asymmetric.net) {
/* 
#6E9394 (dk!) - font
#99B5B6 (dk) - border / contrasting header
#C3D7D7 (lt) - header
#EDF9F9 (lt!) - background */

/* ----------------- KOL / FORUM FONT ----------------- */
body {color: #000 !important;}
span.black, font[color="black"], a, .time,
*:not([color]):not([style*="color:"]):not(center):not([size="2"]):not([href="lchat.php"])>b, 
b>*:not([color]):not([style*="color:"]):empty, 
*:not([color]):not([style*="color:"])>strong, 
strong>*:not([color]):not([style*="color:"]):empty,
/*familiar*/ *:not([width="90%"]) *:not([colspan="2"]):not([align="center"])>font[size="2"]>b,
/*ronin*/font[size="2"]>a[href="storage.php"]+b,
td[valign="center"]>font[size="2"]>b,
/*date*/a[href$="id=policy"]+p+center>b,
#ChatWindow center b,
td[style^='border: 1px solid blue;'] center *:not([color]):not([style*="color:"])>b,
td[style^='border: 1px solid orange;'] center *:not([color]):not([style*="color:"])>b,
optgroup,
font[size="+2"] {color: #6E9394 !important;}

/* ----------------- KOL / FORUM JUST BORDER ----------------- */
/*general*/[style*="border: 1px solid blue;"], 
/*images*/ img,
/*text input*/ input[type="text"], input.text, textarea, select, input.bginput,
/*store*/ input[name^="qty"], input[name^="price"], input[name^="limit"],
/*progress bars*/ *[style*="border: 1px"], td[height="3"], td[height="5"], td[height="10"],
/*right-click menu*/ div.rcm,
/*forum */ .tborder, .panel, .vBulletin_editor, fieldset, hr, .vbmenu_popup, td.alt1 td.alt2, div td[style='border: 1px inset ;'].alt2,
/*alert content*/ td[style*="border: 1px solid orange;"],
/*alert header*/ td[bgcolor="orange"], #ChatWIndow, #InputForm,
table[style='border: 2px groove ;'], div.helpbox, table.infobox
 {border: 1px solid #99B5B6 !important;}

/* ----------------- KOL / FORUM BORDER AND HEADER ----------------- */
/*header*/ td[bgcolor="blue"],
/*buttons*/ input[class*="button"], 
/*last adv*/ 
BODY > CENTER ~ CENTER > TABLE:first-child ~ TABLE ~ BR ~ BR + FONT[size="2"] > B > A[target="mainpane"].nounder,
BODY > CENTER ~ CENTER > FONT[size="2"] > B > A[target="mainpane"].nounder,
/*effects*/ BODY > CENTER:last-child > TABLE:first-child ~ TABLE ~ BR ~ BR ~ CENTER + CENTER > P > B > FONT[size="2"],
BODY > CENTER + CENTER + CENTER > P > B > FONT[size="2"],
/*familiar*/ BODY > CENTER:last-child > CENTER:last-child > P > TABLE > TBODY > TR:first-child > TD > FONT > B,
BODY > CENTER + CENTER > P > TABLE > TBODY > TR:first-child > TD > FONT > B, 
/*enter chat*/ BODY > SPAN:first-child > CENTER:first-child > * > *, 
/*announcements and trivial updates*/ BODY > SPAN.small > P + CENTER + P + CENTER > B,
/*right-click menu*/ p.rcm:hover
{border: 1px solid #99B5B6 !important; background: #C3D7D7 !important; color: #FFF !Important; font-weight: bold !important;}

   /* ----------------- KOL / FORUM Border Adjust ----------------- */
/*header*/ td[bgcolor="blue"] 
{border-bottom: none !important;}
/*image*/ td[style*="border: 1px solid blue;"] img,
/* "older trivial updates" */ BODY > SPAN > CENTER:last-child,
/* forum */img:not([src*="images.kingdomofloathing.com"]), .vBulletin_editor fieldset,
blockquote td[height='10'] {border: none !important;}
div.vbmenu_popup ~  table.tborder td.alt2,
#threadslist [id^="threadbits_forum"] td.alt2,
[id^="collapseobj_"] td.alt2 
{border-bottom: 1px solid #FFF !important;}
div.vbmenu_popup ~  table.tborder tbody:last-child td.alt2,
#threadslist [id^="threadbits_forum"] tbody:last-child td.alt2
 {border-bottom: none !important;}
.page td[style*="border"]
 {border-color: #FFF !Important;}
/* right-click menus invisible borders */ p.rcm 
{border: 1px solid #EDF9F9 !important; border-width: 1px 0 1px 0 !important;}
/*right-click menu highlight*/ p.rcm:hover 
{border-style: solid none !important;}

/* ----------------- KOL / FORUM Header ----------------- */
   /*  _____ SET _____ */
/*header*/ td[bgcolor="blue"] b a,
/*progress bars and pseudo hr's*/ td[height][bgcolor], td[height][bgcolor="#5a5a5a"],
/* forum headers*/ .vbmenu_control, .vbmenu_control a, .thead, .tfoot, .thead a, .tfoot a,
.vbmenu_hilite, .vbmenu_hilite *, .fjsel
{background: #C3D7D7 !important; color: #FFF !Important; font-weight: bold !important;}

   /* _____ ADJUST _____ */ 
/* remove header styling from "older trivial updates" */
HTML > BODY > SPAN > CENTER:last-child, 
/*right-click menu*/ div.rcm, p.rcm, .tborder, .tborder [id^="forum"].vbmenu_control>a
 {background: inherit !important;}

/* ----------------- KOL / FORUM Contrasting Header ----------------- */
/* alert header */ td[bgcolor="orange"], 
/* forum important headers */ td.tcat, td.tcat a, .tcat a, td.vbmenu_control#forumtools, td.vbmenu_control#forumtools a,
/* spoiler boxes*/ td[bgcolor="black"], td[bgcolor="black"] font[color="black"] {background: #99B5B6 !important; color: #FFF !Important; font-weight: bold !important;}

td[bgcolor="black"] font[color="black"]{background: transparent !important;}

/* ----------------- KOL / FORUM Main Background ----------------- */
/*body*/ body, body > *, .page > div, .alt2,
.panelsurround, .vBulletin_editor, .vbmenu_option,
.fjdpth0, div.inputform, tr.a > td {background: #EDF9F9 !important;}

/* ----------------- KOL / FORUM White Background ----------------- */
/*content*/ td[style*="border: 1px solid blue;"],
/*chat*/ #ChatWindow,
/*text input*/ input.text,
/* alert content */ td[style^="border: 1px solid orange;"],
.panel,
.alt1, .alt1 > *, .alt1Active,
/* store sections - hr fore and aft */ tr > FORM[action="store.php"] td[height="1"][bgcolor="black"][colspan="4"],
/* notification body */ td[style="border: 1px solid orange;"],
/* disabled textarea*/ div.controlbar textarea  {background: #FFF !important;}

/* ----------------- KOL / FORUM Misc Adjustments ----------------- */
/* make progress bar borders show, then adjust */
td[height="3"], td[height="5"], td[height="10"] {empty-cells: show !important; border-width: 0 1px 0 0 !important;}

/* make block style */
/*last adv*/ BODY > CENTER ~ CENTER > TABLE:first-child ~ TABLE ~ BR ~ BR + FONT[size="2"] > B > A[target="mainpane"].nounder, 
BODY > CENTER ~ CENTER > FONT[size="2"] > B > A[target="mainpane"].nounder,
/*effects*/ BODY > CENTER:last-child > TABLE:first-child ~ TABLE ~ BR ~ BR ~ CENTER + CENTER > P > B > FONT[size="2"],
BODY > CENTER + CENTER + CENTER > P > B > FONT,
/*familiar*/ BODY > CENTER:last-child > CENTER:last-child > P > TABLE > TBODY > TR:first-child > TD > FONT > B,
BODY > CENTER + CENTER > P > TABLE > TBODY > TR:first-child > TD > FONT > B,
/*enter chat*/ BODY > SPAN:first-child > CENTER:first-child > * > *,
/*announcements and trivial updates*/ 
BODY > SPAN > P + CENTER + P + CENTER > B,
/*makes links one per line*/ [id^='td_post_'] *[id*="post_"] a,
/*announcements and trivial updates*/ BODY > SPAN > P + CENTER + P + CENTER>B
{display: block !important;}

/*makes links one per line - image fix*/ [id^='td_post_'] *[id*="post_"] a>img {display: inline !important;}
/* spoiler boxes*/td[bgcolor="black"] font:before {content: "Spoiler! Spoiler! Spoiler! - "; font-weight: bold !important;}

body > center > center:last-child > p > *,
BODY > CENTER ~ CENTER > P > * {width: 100% !important;}

/*effects*/ BODY > CENTER > TABLE:first-child ~ TABLE ~ BR ~ BR ~ CENTER + CENTER > P > B > FONT[size="2"],
BODY > CENTER ~ CENTER ~ CENTER > P > B > FONT[size="2"]
 {margin-bottom: -2em !important;}
/*last adv*/ BODY > CENTER ~ CENTER > TABLE:first-child ~ TABLE ~ BR ~ BR + FONT[size="2"] > B > A[target="mainpane"].nounder,
BODY > CENTER ~ CENTER > FONT[size="2"] > B > A[target="mainpane"].nounder {margin-bottom: -0.5em !important;}
.page table {margin-bottom: 10px !important;}
/*header*/ td[bgcolor="blue"]>*, table.tborder td.tcat strong, table.tborder td.thead strong {color: #FFF !important;}
img[src$="misc/forumlogo.gif"] {opacity: 0.7 !important;}
}

@-moz-document domain("kol.coldfront.net") {
/* #6E9394 (dk!) - font
#99B5B6 (dk) - border
#C3D7D7 (lt) - header
#EDF9F9 (lt!) - background */

/* ----------------- wiki font ----------------- */
a, a:visited, 
*:not([color]):not([style^="color:"])>b, b>*:not([color]):not([style^="color:"]), 
*:not([color]):not([style^="color:"])>strong, strong>*:not([color]):not([style^="color:"]), 
h1, h2, h3, h4, h5, h6, div.pBody ul, div[style*='font-size: 1.5em']
{color: #6E9394 !important;}

/* ----------------- wiki border ----------------- */
.pBody, .pBody:hover, .toc, div.portlet > h5, #p-cactions td.nothing + td, input[type="text"], input[type="submit"], #catlinks, 
.pBody h1, .pBody h2, .pBody h3, .pBody h4, .pBody h5, .pBody h6, .pBody h1.firstHeading, #collection, table[cellpadding="3"][border="1"], table[cellpadding="3"][border="1"] td, table[cellpadding="3"][border="1"] th, hr, #collection th, *[style*="border: 1px solid"],
div[style*='border-bottom: 1px dotted rgb(136, 134, 133);'],
table[style*='border: 2px solid black;']
{border: 1px solid #99B5B6 !important;}

table[cellpadding="3"][border="1"] {border-width: 1px 0 0 1px !important;}
table[cellpadding="3"][border="1"] td, table[cellpadding="3"][border="1"] th {border-width: 0 1px 1px 0 !important;}
div.portlet > h5, #p-cactions td.nothing + td {border-bottom: none !important;}
.pBody h1, .pBody h2, .pBody h3, .pBody h4, .pBody h5, .pBody h6, .pBody h1.firstHeading, hr,
div[style*='border-bottom: 1px dotted rgb(136, 134, 133);'] {border-width: 0 0 1px 0 !important;}
td[style^="border-left: 3px solid rgb(99, 134, 168)"] {border-left: none !important; padding-left: 10px !important;}

/* ----------------- wiki main background ----------------- */
body[class^="ns"], body[class^="ns"]:hover, body[class^="ns"] > a:first-child + table >tbody >tr >td,
#p-cactions, #p-cactions .nothing, .toc, #catlinks, 
table[cellpadding="3"][border="1"] tr:first-child +tr td:not([style*="background-color"]), 
table[cellpadding="3"][border="1"] tr:first-child +tr+tr+tr td:not([style*="background-color"]), 
table[cellpadding="3"][border="1"] tr:first-child +tr+tr+tr+tr+tr td:not([style*="background-color"]),
table[cellpadding="3"][border="1"] tr:first-child +tr+tr+tr+tr+tr+tr+tr td:not([style*="background-color"]),
table[cellpadding="3"][border="1"] tr:first-child +tr+tr+tr+tr+tr+tr+tr+tr+tr td:not([style*="background-color"]),
table#toc[style*='border: 1px solid rgb(224, 224, 224)'] td[style*='background: rgb(238, 238, 238)'], table.wikitable
{background: #EDF9F9 !important;}

/* ----------------- wiki white background ----------------- */
#p-cactions td.nothing + td:not(.selected), 
table[cellpadding="3"][border="1"] tr:first-child td:not([style*="background-color"]), 
table[cellpadding="3"][border="1"] tr:first-child +tr+tr td:not([style*="background-color"]), 
table[cellpadding="3"][border="1"] tr:first-child +tr+tr+tr+tr td:not([style*="background-color"]),
table[cellpadding="3"][border="1"] tr:first-child +tr+tr+tr+tr+tr+tr td:not([style*="background-color"])
{background: #FFF !important;}

#p-cactions td.nothing + td * {background: transparent !important;}

/* ----------------- wiki header ----------------- */
div.portlet > h5, #p-cactions td.selected, #p-cactions td.selected *, input[type="submit"],
table[cellpadding="3"][border="1"][cellspacing='0'] tr:last-child td:not([style*="background-color"]), table tr th,
table[style*='border: 2px solid black;'],
/* damn kwe page*/ td[style*='background: blue'], td[style*='background-color: blue'], td[style*='background-color: lightblue']
 {background: #C3D7D7 !important; color: #FFF !important;}

th>*,  th>strong,
table[cellpadding="3"][border="1"] tr:last-child td:not([style*="background-color"]) *, 
table[style*='border: 2px solid black;'] *,
/* damn kwe page*/ td[style*='background: blue'] *, td[style*='background: blue'] b a, 
td[style*='background-color: blue'] *, td[style*='background-color: blue'] b a, 
.infobox td[style*='background-color: lightblue'] *, 
.infobox td[style*='background-color: lightblue'] b a,
#forumsearch a
 {color: #FFF !important; background: transparent !important;}

/* ----------------- wiki cleanup ----------------- */
body[class^="ns"] > a:first-child > img, body[class^="ns"] > a:first-child + table > tbody >tr:first-child,
body[class^="ns"] > a:first-child + table > tbody >tr:first-child + tr, body[class^="ns"] > a:first-child + table > tbody >tr:first-child + tr + tr, body[class^="ns"] > a:first-child + table > tbody >tr:last-child 
{position: absolute !important; left: -1000px !important; visibility: hidden !important;}

/* ----------------- margin settings ----------------- */
div#p-tb > h5:first-child + div.pBody {margin-top: 0 !important;}
input[type="text"], input[type="submit"] {margin-top: 10px !important; margin-bottom: -5px !important;}
table[cellpadding="3"][border="1"],
h1+table, h2+table, h3+table, h4+table, h5+table, h6+table {margin-top: 1em !important;}
.pBody ul:only-child {margin-bottom: -0.5em !important;}
.pBody {margin-top: -1px !important;}

td[style*="width: 186px;"] 
{width: 186px !important;}
div.coldfront:after {content: "<-- If these links are all you see, move your mouse over the links. It's a glitch I'm trying to fix, sorry about that. Amanda Kerik." !important;}
}