@namespace url(http://www.w3.org/1999/xhtml);

/**********************************************
     Mozillazine Forums Blue & Grey
     by: jw25     ver. 20080819
     http://userstyles.org/styles/1283
     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 { 
     display:none !important; 
}

/* Sidebar */

.sidebar  {
     padding-left: 0 !important;
     margin-top: 3em !important;
     width: 9em !important;
     color: #000000 !important;
     text-align: center !important;
     background-color: #4B556B !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;
     max-width: 8em !important; 
}

/* Forum background */

BODY { 
     background-color: #4B556B !important;
}

#phpbbforumwrap { 
     width: 95% !important; 
}

.headerbar { 
     display: none !important; 
}

h3 { 
     border-bottom-color: #222222 !important; 
}

hr { 
     border-color: #222222 !important; 
}

.navbar, 
.navbar-foot { 
     margin-left: auto !important;
     margin-right: auto !important;
     background-color: #728092 !important;
     width: 95% !important; 
}

ul.navlinks, 
.linklist { 
     border-bottom-color: #4b556b !important; 
}

/* frames around forums topics and threads */

.forabg,
.forumbg { 
     background-image: none !important;
     background-color: #728092 !important; 
}


/* forums topics and threads */

ul.forums, 
.bg1, .bg2, bg3 { 
     background-image: none !important;
     background-color: #BABFBf !important; 
}

.bg1:hover,
.bg2:hover { 
     background-color: #CCD2D2 !important; 
}

li.row:hover { 
     background-color: #CCD2D2 !important; 
}

ul.topiclist dd { 
     border: none !important; 
}

li.row { 
     border-color: #728092 !important; 
}

p.author { 
     border-bottom: 1px solid #728092 !important; 
}

.signature { 
     border-top-color: #728092 !important;
     margin-top: 5em !important; 
}

.postprofile { 
     border-left-color: #aaaaaa !important; 
}


/* --- text --- */

/* default unless otherwise specified */

a, b, p, i, strong, 
h1, h2, h3, em, label,
.copyright, font, li { 
     color: #000000 !important; 
}

a:hover { 
     color: #ffffff !important; 
}

.content a:hover, 
.postbody a:hover,
.postprofile a:hover { 
     color:#8C2E00 !important; 
} 

/* header and navbar */

.headerbar { 
     text-align: center !important; 
}

.headerbar a, 
.headerbar p, 
.navbar a, 
.navbar strong { 
      color: #000000 !important; 
}

.headerbar a:hover, 
.navbar a:hover { 
     color: #ffffff !important; 
}

/* forums and threads */

li.header a, DD, DT { 
     color: #000000 !important; 
}

li.header a:hover { 
     color: #ffffff !important; 
}

li.row a, li.row,
li.row strong { 
     color: #111111 !important; 
}

li.row a:hover { 
     color: #8C2E00 !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 { 
     background-color: #728092 !important; 
}

.panel.bg1, .panel.bg2 { 
     background-color: #96A2A3 !important; 
}

.panel a, .panel p, .panel strong { 
     color: #000000 !important; 
}

.panel a:hover { 
     color: #8C2E00 !important; 
}

#cp-main .pm { 
     background-color: #BABFB9 !important; 
}

#cp-main a:hover { 
     color: #ffffff !important; 
}

#cp-main .pm a:hover,
#topicreview a:hover { 
     color: #8C2E00 !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: #96A2A3 !important;
     border-color: #728092 !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,
.icon-logout,
A[href="./ucp.php?mode=delete_cookies"] { 
     display: none !important; 
}

}