@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document url-prefix(http://g.e-hentai.org/),
               url-prefix(http://gm.e-hentai.org/),
               url-prefix(http://gu.e-hentai.org/),
               url-prefix(http://exhentai.org/),
               url-prefix(http://e-hentai.org/dontblockthis/ads/ads.php) {

body
{background-color: #34353b !important}

div.ido, th.ith
{background-color: #4f535b !important}


/***************************************/
/*SEARCH*/
/***************************************/

/*rows*/

.gtr0, .gtr
{background-color: #363940 !important}

.gtr1, #gtable4, #gtable1
{background-color: #43464e !important}

/*pagetabs - top then bottom*/

.ptd.ptdt, .ptd.ptdb
{background-color: #43464e !important}

/*currently selected page*/
.ptd.ptdt.ptds,.ptd.ptdb.ptds,
.ptd.ptdt.ptds > a, .ptd.ptdb.ptds > a {
color: #FFF !important;
background: none #666 !important}

/*links*/

a:link, a:active
{color: #DDD !important}

a:visited{
color: #BDBDC2 !important;
text-decoration: none !important}

a:hover{
color:#FFFBDB !important}

A[onclick="return false"]{
color: #DDD !important}

/***************************************/
/* GALLERY */
/***************************************/

/* top and bottom tables with description, thumbs, tags n' shit*/

div.g0, div.g5, .stuffbox
{background-color: #4f535b !important}

td.g11, HTML > BODY > DIV, .nopm > div > table > tbody > tr > td, .d, #uploadform, [style*="background: rgb(242, 239, 223)"]
{background-color: #363940 !important;
border-color: #000 !important}

/* border color*/
[style*="border: 1px solid rgb(92, 13, 17)"]{
border-color: #000 !important}

/*All text that isn't a link*/


td.itd, div.dp, h1.ih, p.g0, td.g11, .stuffbox > h1, td.g1c, td.g1v2, .nopm, p.ip, #imgtext_1, #imgtext_2, .stuffbox, th.ith, #advdiv, TD[colspan="5"], .ui, .t1, .d, HTML > BODY > DIV  
{color: #f1f1f1 !important}

h1.g2 {color: #CCC !important} /*Japanese title of gallery*/

/*TAGS, GP, BOUNTY STATUS*/

span.tup, .gptxt, [style*="color: green"]
{color: #00E639 !important}

SPAN[style*="color: blue"]
{color: #42A1FF !important}

SPAN[sytle*="color: red"]
{color: #FF3333 !important}

/***************************************/
/* MONSTER BATTLE*/
/***************************************/


DIV[style="border: 1px solid rgb(92, 13, 18); margin: auto; padding: 3px; background: rgb(242, 239, 223) none repeat scroll 0% 0%; width: 720px; height: 80px; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"]
{color: #f1f1f1 !important;
background-color: #4f535b !important}

/**************************************************/
/* BORDERS and INPUTS COLORS AKA I SUCK AT CSS*/
/**************************************************/

DIV[class="stuffbox"], TABLE, DIV[class="idi"], DIV[class="ido"], [style*="border: 1px solid rgb(92, 13, 18)"],
TD[class="ptd ptdt"],TD[class="ptd ptdb"], .stdinput, INPUT, TD[class="ptd ptdb ptds"], INPUT[maxlength="10"], TD[class="ptd ptdt ptds"], .g5, .g0, .stdk, .stdv,.stdinput, .stdbtn,.stdbtn:focus, .stdbtn:hover,.stdbtn_clicked
{border-color: #000 !important;}

#convamt, #convto, INPUT[size="20"], INPUT[name="f_search"], INPUT[name="hathproxy"], [name="bounty_gp"],[name="bounty_c"], .stdbtn,.stdinput,.stdbtn:focus, .stdbtn:hover,.stdbtn_clicked
{background-color: #34353b !important;
color: #FFF !important;
-moz-appearance: none !important;}

SELECT[class="stdinput"], TEXTAREA[class="stdinput"], INPUT[name="gname"], INPUT[name="gfldrnew"], #newtagfield
{background-color: #4f535b !important;
color: #FFF !important}

DIV[style*="height: 330px; width: 732px"], IMG[alt="Your Ad Here"], DIV[style="float: left"], IFRAME[src*="http://etc.e-hentai.org/imp2/"], [href*="adbrite.com"],[src*="adbrite.com"], IMG[src*="http://b1.adbrite.com/iads/"],[name*="AdBriteFrame"], DIV[style*="height: 334px; width: 732px"],

HTML > BODY > SCRIPT:first-child + P + DIV + SCRIPT + SCRIPT + SCRIPT + DIV + DIV 
/*^^get out of here for the last time...hopefully.^^*/

{display: none !important}



/*Modifications*/
.dp {display: none !important; }
.c2,
#gtable2 > TBODY > TR:first-child, TH
{background-color: #34353b !important; border-color: #111 !important}
#ebo
{display: none !important}
#gds, 
#taglist{background-color: #363940 !important}
#tagmenu_act, .gcf {background-color: #34353b !important}
HTML > BODY > P:first-child + IFRAME + DIV > DIV:first-child + SCRIPT + SCRIPT + DIV + DIV > DIV > A {display: none !important}
HTML > BODY > P:first-child + A + SCRIPT + SCRIPT + DIV + SCRIPT + P + TABLE + DIV + TABLE + DIV {display: none !important}
#gj {display: none !important}
HTML > BODY > P:first-child + DIV > A {display: none !important}

HTML > BODY > P:first-child + SCRIPT + SCRIPT + DIV > DIV:first-child + DIV,
HTML > BODY > P:first-child + DIV + SCRIPT + SCRIPT + DIV > DIV:first-child + DIV, HTML > BODY > P:first-child + IFRAME + SCRIPT + SCRIPT + DIV > DIV:first-child + DIV {background-color: #34353b !important}

HTML > BODY > DIV > H1:first-child + DIV > TABLE > TBODY > TR:first-child > TH, #ett, #etd {background-color: #4f535b !important}
#etd {border: 1px !important}
}

@-moz-document url("http://g.e-hentai.org/"),
               url-prefix("http://g.e-hentai.org/?page="),
               url-prefix("http://g.e-hentai.org/?f") {
#dm {position: relative; top: 20px !important}
HTML > BODY > P:first-child + IFRAME + DIV > DIV:first-child + DIV > DIV:first-child + P + TABLE > TBODY > TR> *, HTML > BODY > P:first-child + IFRAME + DIV > DIV:first-child + DIV > TABLE:last-child > TBODY > TR> *, HTML > BODY > P:first-child + DIV > DIV:first-child + DIV + DIV > DIV:first-child + P + TABLE > TBODY > TR > *, HTML > BODY > P:first-child + DIV > DIV:first-child + DIV > DIV:first-child + P + TABLE > TBODY > TR > *, HTML > BODY > P:first-child + DIV > DIV:first-child + DIV > TABLE:last-child > TBODY > TR > * {background-color: #4f535b !important; border: none !important}

HTML > BODY > P:first-child + IFRAME + DIV > DIV:first-child + DIV > TABLE:last-child{margin-top: 2px !important}
HTML > BODY > P:first-child + DIV > DIV:first-child + SCRIPT + SCRIPT + DIV > DIV:first-child + P + TABLE, HTML > BODY > P:first-child + DIV > DIV:first-child + DIV > DIV:first-child + P + TABLE {margin-bottom: 2px !important}
TD[style="background: rgb(237, 235, 223) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"][class="itd"][colspan="4"] {display: none !important}
}

@-moz-document url-prefix("http://g.e-hentai.org/tag/") {
HTML > BODY > P:first-child + DIV > DIV:first-child + SCRIPT + SCRIPT + DIV > TABLE:last-child > TBODY > TR > *, HTML > BODY > P:first-child + DIV > DIV:first-child + SCRIPT + SCRIPT + DIV > DIV:first-child + P + TABLE > TBODY > TR > *, HTML > BODY > P:first-child + DIV > DIV:first-child + SCRIPT + SCRIPT + DIV > DIV:first-child + P + TABLE > TBODY > TR > *, HTML > BODY > P:first-child + DIV > DIV:first-child + DIV > DIV:first-child + P + TABLE > TBODY > TR> *, HTML > BODY > P:first-child + DIV > DIV:first-child + DIV > TABLE:last-child > TBODY > TR > * {background-color: #4f535b !important; border: none 
!important}
}

@-moz-document url-prefix("http://g.e-hentai.org/g/"),
               url-prefix("http://exhentai.org/g/") {
TD, TR, #gr {background-color: #34353b !important; border: none !important}
}

@-moz-document url-prefix("http://g.e-hentai.org/s/"),
               url-prefix("http://exhentai.org/s/") {
HTML > BODY > DIV > H1:first-child + DIV {margin-top: -10px !important}
HTML > BODY > DIV > H1 {font-size: 21px !important; font-family: "Hooteroll" !important; margin-top: 6px !important}
.sn {max-height: none !important; max-width: none !important}
}

@-moz-document url-prefix("gm.e-hentai.org/gallerytorrents.php?gid=*"){
#etd {background-color: black !important}
}


@-moz-document url-prefix("http://g.e-hentai.org/ *")
                         ("http://exhentai.org/stats.php?gid= *"){
HTML > BODY > DIV > H1:first-child + DIV > TABLE > TBODY > TR:first-child 
}
