@namespace html url(http://www.w3.org/1999/xhtml);
@namespace xul url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

@-moz-document url-prefix(http://), url-prefix(https://), url-prefix(ftp://){


/* Universal - sets color of text, border */

* {
color: #4b4b4b !important; 
border-color: #e9ebee !important;
text-shadow: none !important;}

html *:after ,
html *:before

{color: #4b4b4b !important;
border-color: #e9ebee !important;
background: none transparent !important}

/*No background images. try to exclude icons */

*:not(:empty):not([onclick*="open"]):not(span):not(IMG):not(INPUT):not([class*="icon"]):not([id*="icon"]):not([class*="star"]):not([id*="star"]):not([id*="rating"]):not([class*="rating"]):not([class*="SPRITE"]):not([id*="SPRITE"]):not([id*="lbImage"])

{ background-image: none !important }


/* Text Selecting Color */

*::-moz-selection {

color: #3c3e41 !important;
background: #c2c4c8 !important;

}


/* Link */


a, a *, [onclick]{ 

color: #5d5d5e !important;
background-color: transparent !important;
border-color: #e9ebee !important;}

a[class]:not([onclick]):not(:empty):not([class*="icon"]):not([class*="logo"]) {background-image: none !important}

a:hover, [href]:hover, 
a > *:hover,
a > * > *:hover,
[onclick]:hover {


color: #363636 !important; 
background-color: transparent !important;
border-color: #e9ebee !important}


/* Visited links */

a:visited{
/* content: "\00A0\221A" !important; */
/* text-decoration: line-through !important; */    /* #CCCCFF */
/* color: #c0c !important; */
color: #9ca3a6 !important;
opacity: 1 !important;
/* color: red !important; */
font-weight: bold !important;
}

a:visited:hover {
opacity: 1 !important;
text-decoration: underline !important;
}


/* Basic Bodies */

HTML, BODY {  background: none #e9ebee !important  }


/* Make images transparent */

IMG           { opacity: .9 !important }
IMG:hover     { opacity: 1 !important  }


/* DIV and SPAN */

DIV {background-color: transparent !important}

DIV[id]:not(:empty):not(#lightbox-nav):not(#imageContainer):not([style*="url"]):not([onclick]):not(IMG):not(a):not(INPUT):not(BUTTON):not([class*="icon"]):not([id*="icon"]):not([class*="star"]):not([id*="star"]):not([id*="rating"]):not([class*="rating"]):not([class*="SPRITE"]):not([id*="SPRITE"]):not([class*="button"]):not([class*="layer"]) {

background-color: inherit !important;
background-image: none !important}

DIV[style*="border"]:not([id]):not([class]):not([align]) {background-color: #e9ebee !important}

html:root > BODY > * > * > * > *:not(INPUT) > DIV:not(:empty) {background: none #e9ebee !important}

SPAN:not(:empty):not([class*="icon"]):not([class*="button"]):not([onclick]):not([class*="icon"]):not([id*="icon"]):not([class*="star"]):not([id*="star"]):not([id*="rating"]):not([class*="rating"]) {

background-color: inherit !important; background-image: none !important}


/* Text Presentation */


DFN, FONT, B, I, BIG, SMALL, STRONG  { background-color: transparent !important }

EM, CENTER {background-color: transparent !important}

MARK,
CODE, PRE,
BLOCKQUOTE, BLOCKQUOTE > DIV > *,
[class*="quote"],
TD[style*="inset"][class="alt2"]   {  background-color: #eaedf0 !important }


/* Paragraph */

P{ background-color: transparent !important }

/* Headings */

H1, H2  { 

background: none #e9ebee !important;
-moz-border-radius: 5px !important} 

H3 {

background: none #e9ebee !important;
-moz-border-radius: 5px !important} 

H4 {

background: none #e9ebee !important;
-moz-border-radius: 5px !important} 

H5, H6 {background: none #e9ebee !important}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a   {color: #454545 !important}


/* stuff */

ADDRESS {background: none #eaedf0 !important}

FIELDSET, LEGEND, LABEL, FORM  {background: none transparent !important}

NOBR {background-color: #e9ebee !important}

IFRAME {background-color: transparent !important}

HR {background-color: #f0f3f6 !important}


/* Lists */

DT     {background-color: #e9ebee !important}

DL, DD { background-color: #e9ebee !important}

LI, UL {background-color: inherit !important}

OL, UL[class], UL[id], LI[class], LI[id], DIV[class] UL LI { background-color: #e9ebee !important}

LI A:not([class*="icon"]):not([id*="icon"]):not([onclick]),
DT A:not([class*="icon"]):not([id*="icon"]):not([onclick])

{background-image: none !important; text-indent: 0 !important}


/* Tables, cells */

TABLE {background-color: inherit !important}

TABLE[bgcolor], TABLE[cellspacing]:not([class]), TABLE[cellpadding]:not([class]),

COLGROUP, COL, CAPTION, THEAD, TBODY, TFOOT, TR {

background-color: #e9ebee !important;
border-color: #e9ebee !important}

TABLE[border="0"]:not([class]) {background-color: inherit !important}
TABLE[WIDTH] {background-color: #e9ebee !important}


TH   {background-color: #e9ebee !important}
TD   {background: none #e9ebee !important}
TD[colspan] {background-color: #e9ebee !important}


/*Textareas, Inputs*/

TEXTAREA, INPUT:not([type="RESET"]):not([type="submit"]):not([type="button"]):not([type="image"]){

color: #4b4b4b !important;
background: none #e9ebee !important;
border-color: #e9ebee !important;
border-style: solid !important;
-moz-border-radius: 0 !important;
-moz-appearance: none !important;
opacity: 1 !important}


/*Buttons*/

INPUT[type="RESET"],INPUT[type="submit"], INPUT[type="button"], BUTTON:not(:empty)

{-moz-appearance: none !important;
color: #4b4b4b !important;
background-color: #e9ebee !important;}

INPUT[type="image"] {opacity: .85 !important}
INPUT[type="image"]:hover {opacity: .95 !important}

INPUT[type="RESET"]:hover,INPUT[type="submit"]:hover, INPUT[type="button"]:hover, BUTTON:not(:empty):hover{
background-color: #e9ebee !important}


/* Drop-down menu */

SELECT, OPTION{

background: #e9ebee !important;
border-color: #e9ebee !important;
color: #4b4b4b !important;
-moz-appearance: none !important;}

/* Radio styling */

INPUT[type="radio"] {border-style: solid !important}

/********************************
** More stuff ******************/


/* Remove Rounded Corners, Borders, Spacer, Padding images */

IMG[src*="spacer"]:empty,
[id*="round"]:empty,
[id*="bottom"]:empty, [class*="bottom"]:empty,
[id*="top"]:empty, [class*="top"]:empty,
[class*="spacer"]:empty

{background-image: none !important;}


/* Menus and Navigation */

NAV *, MENU *,
[id*="menu"]:not(SELECT),[class*="menu"]:NOT(SELECT),
[class*="tooltip"],
[class*="popup"], [id*="popup"]

{ background-color: inherit !important }


/* Hover Highlight */

[id*="menu"] a:hover, [class*="menu"] a:hover,
[class*="menu"] [class*="item"]:hover,
[id*="menu"] [class*="item"]:hover,
LI[class*="item"]:hover, LI[class*="Item"]:hover,

BODY[onload*="google"] .gac_m .gac_c:hover /*google search dropdown fix*/

{ background-color: #e9ebee !important }


/* Headers, Logos */

[id*="masthead"] a,[id*="header"] a,
[id*="logo"] a, [class*="logo"] a

{text-indent: 0 !important;}

}


/*********************
About...**************/

@-moz-document url(about:blank) {

html, html * {
  background: none #e9ebee !important;
  color: #4b4b4b !important;}

}

@-moz-document url-prefix("about:neterror") {

html, body {background-color: #e9ebee !important; color: #4b4b4b !important}
#errorPageContainer {background-color: #e9ebee !important; border-color: #e9ebee !important}
#errorPageContainer button {opacity: .8 !important}

/*resurrect pages FF extention*/

#resurrect {background-color: #e9ebee !important; border-color: #e9ebee !important} 

}

