@namespace url(http://www.w3.org/1999/xhtml);

/**********************************************
     Mozillazine Forums Red & Grey
     by: jw25     ver. 20080819
     http://userstyles.org/styles/1257
     last updated:  20080906
 **********************************************/

/* Remove sidebar from all but index page */

@-moz-document url-prefix("http://forums.mozillazine.org/view"){

#sidebar { 
     display: none !important; 
}
}

/*-----------------------------------------------------*/

@-moz-document domain("forums.mozillazine.org") {

/* Remove header */

#masthead,
#gootop,
#goobot {
     display:none !important;
}

/* Sidebar */

.sidebar  {
     width: 100px !important;
     color: #000000 !important;
     background-color: #888888 !important;
}

A[href="http://www.mozillazine.org/"],
#sidebar > A:first-child + DIV + DIV + DIV,
#sidebar > DIV:last-child {
     display:none !important;
}

/* sidebar - search boxes */

.inputbox.search.itsy, .inputbox.search.tiny {
     background-image:none !important;
     border: solid 1px #666666 !important;
     background-color: #efefef !important; 
}

/* Forum background */

BODY {
     background-color: #7a2121 !important; 
}

.headerbar {
     display: none !important; 
}

h3,
hr {
     border-bottom-color: #360000 !important; 
}
.navbar, .navbar-foot { 
     margin-left: 2em !important;
     background-color: #666666 !important;
     width: 93% !important; 
     }

ul.navlinks, .linklist { 
     border-bottom-color: #333333 !important; 
}

/* frames around forums topics and threads */

.forabg,
.forumbg { 
     background-image: none !important;
     border: black !important;
     color: #bbbbbb !important;
     font-weight : bold !important;
     background-color: #666666 !important; 
}


/* forums topics and threads */

ul.forums,
.bg1, .bg2, bg3 { 
     background-image: none !important;
     background-color: #888888 !important; 
}

.bg1:hover,
.bg2:hover,
li.row:hover { 
     background-color: #999999 !important; 
}

ul.topiclist dd { 
     border: none !important; 
}

li.row { 
     border: 1px solid #7a2121 !important; 
}

p.author { 
     border-bottom: 1px solid #7a2121 !important;
}

.signature { 
     border-top-color: #666666 !important; 
}

.postprofile { 
     border-color: #7a2121 !important; 
}


/* --- text --- */

/* default unless otherwise specified */

a, b, p, i, strong, h1, h2, h3, em, label,
.copyright, font, li { 
     color: #000000 !important; 
}

a:hover,
.content a:hover, 
.postbody a:hover,
.postprofile a:hover { 
     color:#ffffff !important; 
} 


/* header and navbar */

.headerbar { 
     text-align: center !important; 
}

.headerbar a, 
.headerbar p, 
.navbar a, 
.navbar strong { 
     color: #000000 !important; 
}

.navbar a:hover, 
.headerbar a:hover { 
     color: #ffffff !important; 
}

/* forums and threads */

li.header a, DD, DT, 
li.row a, li.row, 
li.row strong  { 
     color: #000000 !important; 
}

li.row a:hover, 
li.header a:hover { 
     color: #ffffff !important; 
}

.postlink { 
     border:none !important; 
     text-decoration:underline !important; 
}

.postlink:hover { 
     background: transparent !important; 
}

/* pagination */

.pagination, 
.pagination span a, 
.pagination span strong,
.pagination span a:active,
.pagination span a:visited { 
     color: #000000 !important;
     background-color: transparent !important;                       
     border-color: #4B556B !important; 
}

.pagination span a:link { 
     color: #000000 !important;
     font-weight: bold !important; 
}

.pagination span a:hover { 
     color: #0000ff !important;
     background-color: #dddddd !important;
     font-weight: bold !important;
     text-decoration: underline !important; 
}


/* other pages */

.panel h2 { 
     border-bottom-color: #4B556B !important; 
}

table.table1 tbody tr { 
     border-color: #728092 !important; 
}

table.table1 tbody td { 
     border-top-color: #728092 !important; 
}


/* user control panel */
.panel, 
.panel.bg1, 
.panel.bg2 { 
     background-color: #888888 !important; 
}

.panel a, 
.panel p, 
.panel strong { 
     color: #000000 !important; 
}

.panel a:hover { 
     color: #ffffff !important; 
}

#cp-main .pm { 
     background-color: #BABFB9 !important; 
}

#cp-main a:hover, 
#cp-main .pm a:hover, 
#topicreview a:hover { 
     color: #ffffff !important; 
}

/* quote and code boxes */

blockquote { 
     background-color: #aaaaaa !important;
     border-color: #555555 !important; 
}

blockquote blockquote { 
     background-color: #cccccc !important;
     border-color: #555555 !important; 
}

dl.codebox { 
     background-color: #883333 !important;
     border-color: #883333 !important; 
}

dl.codebox a:hover { 
     color: #ffffff !important; 
}

dl.codebox code { 
     background-color: #efefef !important; 
}


/*  misc details */

span.corners-top, 
span.corners-bottom, 
span.corners-top span, 
span.corners-bottom span { 
     background-image: none !important; 
}

#page-body > P:first-child,
#page-body > P:first-child + P {
     margin-bottom: 5px !important; 
}

#page-body > P:first-child + H2 + P { 
     display: none !important; 
}

.icon-logout,
A[href="./ucp.php?mode=delete_cookies"] { 
     display: none !important; 
}

.search-box { 
     margin-top: 0px !important; 
}

#search_keywords { 
     width: 200px !important; 
}

#search_keywords:hover { 
     background-color: #ffffff !important;
     border: 1px solid #996633 !important; 
}

.inputbox { 
     background-color: #efefef !important; 
}
}
