@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document url-prefix("http://custombuttons2.com/forum/") {


/* ---------------------------------
   CB2 forum blue style + clean-up 
   http://userstyles.org/styles/3205
   by:  jw25  20070818 
   status: not quite done :(
  
   changelog:
   20070901 better integration with default themes
                   fix some pagination and text issues
   20070911 cleaned up a few details
   20070912 a few more details
   20070913 new chat-box
   20071008 adjusted for new layout and minor color tweaks
    adjusted for new layout
   20080906 clean-up and minor fixes
   20080908 clean-up and minor fixes
   --------------------------------- */


/* remove pink rules strip */
  
div.rules { 
     display: none !important; 
} 


/* remove link and warning above chatbox on index page */
 
#page-body > P:first-child + P + UL + DIV + DIV + DIV + SCRIPT + STYLE + DIV {  
     display: none !important; 
} 


/* remove CustomButonsÂ² logo & adjust top of page */

#logo {
     display:none !important; 
}

#drupheader {
     height: 15px !important;
}


/*  site-slogan */

.site-slogan {
     color: #eeeeee !important;
     font-weight: bold !important;
     margin-top: .5em !important; 
     margin-left: -1em !important;       
} 

/*  primary menu  */

#primarymenuin { 
     margin-top: .5em !important;
}

#primarymenuin a {
     color: #eeeeee !important;
}


/* change forum background color */

BODY,
#drupwrapper,
#drupwrapper2,
#drupheader,
#druplogo  {
     background-image : none !important;
     background-color: #4B556B !important; 
}

h2, h3, hr { 
     border-color: #4B556B !important; 
}


/* title and navigation */

.navbar, .navbar-foot { 
     margin-left: 1.6em !important;
     background-color: #728092 !important;
     width: 93% !important; 
}

ul.navlinks, 
.linklist { 
     border-bottom-color: #4b556b !important; 
}

/* frames around forums topics and threads */

#phpbbforumwrap { 
     width: 98% !important; 
}

.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: #BABFB9 !important; 
}

.bg1:hover,
.bg2:hover,
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: #aaa !important; 
}


/* --- text --- */

* { 
     color: #000000 !important; 
}

a:hover { 
     color: #ffffff !important; 
}

.content a:hover, 
.postbody a:hover,
.postprofile a:hover { 
     color:#8C2E00 !important; 
}


/* header and navbar */

.navbar a,
.navbar strong { 
     color: #000000 !important; 
}

.navbar 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 { 
     color: #8C2E00 !important; 
}

li.header a:hover { 
     color: #ffffff !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; 
}



/* chat */

.post.chatbg1, .post.chatbg2 { 
     font-size: 8pt !important;
     background-color: #BABFB9 !important;
     border-bottom: 1px solid #789 !important; 
}

NOBR { 
     font-size: 7pt !important; 
}

.profile-icons.postprofile { 
     font-size: 8pt !important; 
}

.shouts { 
     height: 140px !important; 
}

.onlinelist { 
     background-color: #BABFB9 !important;
     height: 140px !important; 
}

.onlinelist:hover { 
     background-color: #BABFB9 !important; 
}

#chat p.author { 
     border-bottom: none !important; 
}

#chat a:link, .username-coloured { 
     color: #000066 !important; 
}

.username-coloured:hover { 
     color: #8C2E00 !important; 
} 

.delete-icon { 
     display: none !important; 
}


/* Ajax chat Star Trek guide div */

#page-body > P:first-child + P + UL + DIV + DIV + DIV + SCRIPT + STYLE + DIV + DIV + DIV + DIV {
     display:none !important; 
}


/* chat and search  input boxes */

.inputbox,
select { 
     background-color: #CCD2D2 !important; 
}

.inputbox:hover,
select:hover { 
     background-color: #dddddd !important;
     border-color: #4B556B !important; 
}


/* other pages */


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: #BABFBF !important; 
}

.panel a, .panel p, .panel strong { 
     color: #000000 !important; 
}

.panel a:hover { 
     color: #8C2E00 !important; 
}

#cp-main > H2:first-child + DIV + DIV {
     background-color: #728092 !important;
     margin-top: -12em !important;
     border-bottom: none !important;
}

#cp-main .pm { 
     background-color: #BABFBF !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 */

/*  Inbox alert  */

#inboxAlert,
#inboxAlert a,
#inboxAlert FONT,
#inboxAlert STRONG {
     color: #ffff00 !important;
     background: transparent !important;
}

#inboxAlert a:hover,
#inboxAlert FONT:hover,
#inboxAlert STRONG:hover {
     color: #ffffff !important;
}

/*  post attachment container  */

.attachbox {
     max-width: 100% !important;
}


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: 0 !important; 
}

#page-body > P:first-child + H2 + P, 
#postcontent {
     display:none !important; 
}

.search-box { 
     margin-top: -10px !important; 
}

#search_keywords { 
     width: 200px !important;  
}

.right.rightside {
     margin-top: 0 !important;
}

#page-body > UL {
     margin-top: -1.3em !important;
}

}


/*****  page specific  *****/


@-moz-document url("http://custombuttons2.com/forum/memberlist.php") {

div a:hover { 
     color: red !important; 
}

.linklist a:hover { 
     color: #ffffff !important; 
}

}


@-moz-document url("http://custombuttons2.com/") {

a:hover {
     color: red !important;
}

}