@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document url-prefix("http://userstyles.org/forum/") {

body, #Body, #Panel { background: #2d3340 !important; }

#Body, #AccountPage, #SearchPage { 
  background: #2d3340 url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAJaCAMAAADZHd2mAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAADAUExURUBHWS82QzpBUTxDUy00QS40QT5FVj9GVzU8SzQ6STI5RkBHWDM5SDE3RTA3RDI4Rz9HVz1FVjc+TTxDVDlATzlAUDY9TD1EVTg/Tj1EVDQ7SS00QD1FVC41QS81Qj9FVztCUjE3RjA2RTU7Sjc+TDxEUzc+TjQ7SDY9Sz5FVztDUjE4RS41QjI5Rzg+TjhATztCUzlBUDpBUDA2QzpCUTQ7Sjc9TC81QzY8Sz9HWDE4RjhATjU7SzI5SDpBUjA2RJHYtkEAAACTSURBVHja7MHVDgIxEADAxd3d3d0d/v+v2DRNcy27PXhnBuCPEGNfcJoZsmw5TuSgZYZc+ljXVow58kD1uVyLU7nt+IQ99n55izdigZgnr8QblI1LcahmyX31iIvEsXzGYcs79NQDrhoj7JEcZz9gIaaYUfYVd9SZnGB21STzBTvs+fkJNx3nckMbsPa7rOnfAgwAcKojYMyaVGsAAAAASUVORK5CYII=") top left repeat-x !important; 
  height: auto !important;
}

#Header { 
  background: #262935 url("data:image/gif;base64,R0lGODlhAQBBANUAACcsOCYqNiovOygtOTI5SCovPSkuOiwxPy81QzE3RiovPCYqNS40QTQ7SicrNy81RCYpNSkuOy0zQCswPTE4Ri00QS82QzI4RysxPjM5SSwyQCwxPjA2RTM7SSYrNiwyPzE3RQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAAAAAAALAAAAAABAEEAAAY0QAhksQgYAx6HA8BkDp6GaCQiqCoUhexkgtkcDh+NRFKpMBgIhOXx4IASCQrlQqhnOo1GEAA7") bottom left repeat-x !important; 
  border-color: #717f98 !important; 
}


#Header h1 { color: #fff !important; }

/* Top bar 
-----------*/

.ContentInfo h1 { 
  background-color: #78879f !important; 
  color: #fff !important;
}

html > body div.ContentInfo h1 {
  width: 100% !important;
  padding: .3em !important;
  border-bottom: 1px solid #b8c5db !important;
}

.ContentInfo h1 a {
  color:#fff !important;
}

/* Mid bar
---------- */

.PageInfo { 
  background-color: #a0abbd !important; 
  margin: 0 !important;
  padding: .2em !important;
  border-bottom: 1px solid #8292ac !important;
  line-height: -moz-initial !important;
}
.PageInfo p { color: #4a5464 !important; }

.PageList { color: #fff !important; }
.PageList a, .PageList li a, .PageList li:first-child { color: #69768b !important; }
.PageList .CurrentPage { color: #fff !important; }


/* Comment Header
----------------- */

.CommentHeader {
  background-color: #c0cad9 !important;
}

#Comments li:not(:first-child) .CommentHeader {
  border-top: 2px solid #d5e4fd !important;
}

/* poster's name */
.CommentHeader a {
  color: #546291 !important;
}

/* time */
.CommentHeader li { color: #516486 !important; }

/* edit/quote links */
.CommentHeader span a { color: #516486 !important; font-size: 1.2em !important; }

/* "edited" */
#Comments .CommentHeader em {
  color: #969eaa !important;
}

/* Comment
---------- */

#Comments > li {
  padding: 0 !important;
  margin-bottom: .5em !important;
  font-family: Verdana, Arial, sans-serif;
}

.CommentBody { 
  background: #e4e9ee url("data:image/gif;base64,R0lGODlhAQANALMAAKiyvLfByt3i6ODl68/X3dnf5bC6w8TM1OPo7crR2b7Hz6axu9Tb4QAAAAAAAAAAACH5BAAAAAAALAAAAAABAA0AAAQKcAET1EmEFTFQBAA7") top left repeat-x !important;
  padding: 1em !important;
  margin: 0 !important;
  border-bottom: 1px solid #a2a5a9 !important;
}

/* Comment Editor 
----------------- */

#Form legend { color: #fff !important; }
#Form form {
  background-color: #e4e9ee !important;

}

/* Quotes and Code
------------------- */

blockquote, code {
  background-color: #fff !important;
  border: 1px solid #bec8d7 !important;
  margin-top: 1em !important; 
}

blockquote { color: #666 !important; padding: .7em !important; margin: .7em !important; border-left: .5em solid #9199a4 !important;}
blockquote cite { border-color: #999 !important; margin: 0 !important; padding: 0 !important;  }

code { border: 1px solid #bec8d7 !important; }


/* Discussions
-------------- */

.NewComments, #Discussions li.Read.NewComments ul {
  background-color: #e4e9ee !important;
}

.NoNewComments, #Discussions li.Read ul {
  background-color: #c0cad8 !important;
}

#Discussions li ul {
  background-color: #fff !important;
}

#Discussions li ul {
  border-bottom: 1px solid #9ca4b0 !important;
}

.DiscussionTopic a {
  color: #546291 !important;
}

#Discussions li {
  margin-bottom: 0.25em !important;
}

.Discussion ul li:not(:last-child) :first-child {
  color: #6f7dab !important;
}

.ContentInfo a:hover { color: #fff !important; }

/* Tabs
-------- */

#Header ul li a {
  background: #4e576f !important;
  color: #ccc !important;
  border-bottom: 1px solid #717f98 !important;
}

#Header ul li a:hover {
  color: #fff !important;
}

#Header ul li.TabOn a,
#Header ul li.TabOn a:hover {
  background-color:#fff !important;
  color:#000 !important;
}

/* Panel
--------- */

#Panel { 
  background: none !important; 
  padding: 1em !important; 
  margin: 0 !important; 
} 

#Panel ul ul, #Panel ul p, #Panel select {
  margin: 0 1em !important;
}

#Panel h1 a { color: #fff !important; }

#Panel h2 { color: #d6e1f3 !important; border-color: #a1b5d5 !important; }

#Panel ul ul li a {
  color: #c4cfdd !important;
}

#Panel ul ul li a:hover {
  background-color: #2d333f !important;
  color: #fff !important;
}

/* Session
----------- */

#Session { color: #b7c3d8 !important; }
#Session a:hover { color: #fff !important; }

/* Forms
--------- */

#Form li, #Form label { color: #000 !important; }
#Form form { border: 2px solid #a0abbd !important; }

.SearchSwitch { color: #fff !important; }


/* Account Profile 
-------------------*/

#AccountProfile {
  background: #fff !important;
  padding: 1em !important;
}




/* Cleanup
-------------*/


/* Don't care! */
#AboutVanilla { display: none !important; }

/* Link should be underlined */
#Session a { text-decoration: underline !important; }

/* too much whitespace sometimes */
blockquote + br + br, .CommentBody li + br { display: none !important; }

}