@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document url-prefix("http://userstyles.org/"),
               url-prefix(http://821use.owen.hostingrails.com/forum/) , url-prefix("https://userstyles.org/") {

html {
  background: #253960 url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAFCCAMAAAAHcEfNAAAABGdBTUEAAK/INwWK6QAAABl0RVh0 U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAEOUExURQAdPyM5YSI4YSE4YSQ5YBs2YSA4 YR43YRk1YB03YRw2YQEeQQgnTxc0Xw0sVh84YQQiRwopUg4tVwkoUAEfQhg0YBo1YSQ5YRAvWgIg RBEvWxQyXQQiSAwrVRUzXhYzXwopUQYkSw8uWBIwWwclTAwrVBIwXBUyXgMhRRMxXQIfRAIfQg8u WQsqUx83Yho2YQcmTgEdQQMhRwUkSgMhRgYlSw4sVwUjSBYzXgYlTBg1YBMxXAcmTQUjSSI5YQ0s VQYkSgQjSB43Yg8tWBEwWwkpUQspUxY0XxAvWQsrVBEvWgUjShQyXgAdQAgnThc0YAgmTgMgRR83 YQspUgknUBAuWRQxXQsqVB02YQMgRLiVdJ0AAAC9SURBVHjaxMV5M4JhHIXhQ0VCSERSWZN9K2RJ 9kL2yvf/Ip0585tnnvcd/zvXnLmBf94rDmjUkzZbsinz5hcf2JBjOqRJk5MGTuiSnnFE11iSCp3R qlzQPr2jjTHnG9PmHkWZMl94wA510cSaLEodSadKKXOLZdmmHzxhzrSQNXdYkXU5p7J0sGBeUJK8 nFJBHjHuvGHG1CjumTV7FAtIeHoY8QzLjfUTuzThDAVEQgZDrjDwh4xEdU9fgAEA1aYdEAeBB8AA AAAASUVORK5CYII=") top left repeat-x !important;
} 

#donate, #paypal-donate-by-name, #paypal-donate-by-feedback {display:none!important;}

body {
  background: none !important;
  color: #FFF !important;
  font-family: Tahoma, Arial, Helvetica, sans-serif !important;
  margin: 0 !important;
  padding: 0 1em !important;
  background-image: none !important;
}

#page {
  background: none !important;
  color: #FFF !important;
}

a:link,
#Comments .CommentHeader span a {color: #82BDFF !important;}
a:visited,
#Comments .CommentHeader span a:visited {color: #72DFAD !important;}

img {
  border: none !important;
}

#header-bar a {
  color: #fff !important;
}

#header-bar {
  background-color: #415983 !important;
  border: 3px solid #50668d !important;
  border-top: none !important;
}

#logo {
  background: transparent url(chrome://stylish/skin/bigicon.png) center left no-repeat !important;
  padding-left: 1em !important;
} 

#header-bar #navigation li a {
  border: 2px solid #50668d !important;
  background-color: transparent !important;
}
#header-bar #navigation li a:hover {
  background-color: #50668d !important;
}
#header-bar #navigation li .current-page {
  border-bottom: 3px solid white !important;
}

#search input[type="submit"] {
	border: 1px solid #50668d !important;
	background-color: #83A2D1 !important;
}
#search input[type="submit"]:hover {
	background-color: #415983 !important;
}

h1, h2, #screenshots, #style-meta, #errorExplanation,
.screenshot-table, #donate, .linking-note, #miscellaneous,
#show-code, #install-options {
  text-align: center !important;
  width: 100% !important;
}

#sidebar > ul {
  padding-left: 0 !important;
  margin-bottom: 1em !important;
}

li {
  padding-bottom: 2px !important;
} 

h2 > a + a > img {
  margin-bottom: -3px !important;
}

#main-text {
  margin-top: 3em !important;
}

div#obsoletion-message {
  float: none !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 1em !important;
  width: auto !important;
  border: 3px solid #50668d !important;
  -moz-border-radius: 10px !important;
  background-color: #415983 !important;
}

div#long-description {
  text-align: justify !important; 
  margin: 0 auto !important;
  width: 80% !important; 
}

.multiple-screenshot:hover, .single-screenshot:hover {
  max-width: 100% !important;
}

#install-options {
  margin: 0 auto !important;
}
#install-options > * {
  display: block !important;
  margin: 0 auto !important;
}
#install-options td {
  display: table-row !important;
  text-align: left !important;
}

#control-panel {
  text-align: center !important;
  width: auto !important;
}

#view-code {
  text-align: left !important;
  overflow:   auto  !important;
  outline:    none  !important;
  max-height: 20em  !important;
  margin: 0em 2em 0em 3em !important;
  background-color: lemonchiffon !important;
  color: #000 !important;
}

label.rating {
  border: 1px solid #50668d !important;
  padding: 2px 5px !important;
}
label.rating:hover {
  background-color: #50668d !important;
}

#delete-comment, #update-comment, #new-comment {
  margin-top: -1em !important;
}

  img[src*="star_1"] {
    width: 0 !important;
    height: 5px !important;
    padding-left: 5px !important;
    margin-left: 1px !important;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAB3RJTUUH1gIQEgYH9fYUVgAAAAlwSFlzAAAewQAAHsEBw2lUUwAAAARnQU1BAACxjwv8YQUAAAA0SURBVHjaY1Tt0P7PgARuV1xlZAIxNDzFwBgKdFlA5FeRX8iKGcGCjxd%2FYEARhWlBYv8HAKT6Cu%2FxhxNwAAAAAElFTkSuQmCC) !important;
  }
  img[src*="star_05"] {
    width: 0 !important;
    height: 5px !important;
    padding-left: 5px !important;
    margin-left: 1px !important;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAALHRFWHRDcmVhdGlvbiBUaW1lAFRodSAxNiBGZWIgMjAwNiAxOTowMzo0NiArMDEwMDWTPi0AAAAHdElNRQfWAhASNAMf64Q%2BAAAACXBIWXMAAB7BAAAewQHDaVRTAAAABGdBTUEAALGPC%2FxhBQAAAERJREFUeNpjVO3Q%2Fs8ABCmMcSCKoby8nJEJxNDwFGMwMjJigAJdsOBXkV8M7OzsMEFGFhD5ePEHhuOMxxngojAtSOz%2FAOURDKDw9C4LAAAAAElFTkSuQmCC) !important;
  }
  img[src*="star_0.png"] {
    width: 0 !important;
    height: 5px !important;
    padding-left: 5px !important;
    margin-left: 1px !important;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAALHRFWHRDcmVhdGlvbiBUaW1lAFRodSAxNiBGZWIgMjAwNiAxOTowMzo0NiArMDEwMDWTPi0AAAAHdElNRQfWAhASMzWfEIdgAAAACXBIWXMAAB7BAAAewQHDaVRTAAAABGdBTUEAALGPC%2FxhBQAAADNJREFUeNpj7Ozs%2FM%2BABMrLyxmZQAwjIyMwhgJdFhDJzs6OrJgRLHj8%2BHEGFFGYFiT2fwBHXgj%2B7AQFuwAAAABJRU5ErkJggg%3D%3D) !important;
  }

.screenshot-note {
  font-size: x-small !important; 
}

#style-list {
  -moz-column-count: 3 !important;
  font-size: small;
}

textarea#long-description {
  height: 10em !important;
}

}



@-moz-document url-prefix(http://userstyles.org/user/) , url-prefix("https://userstyles.org/user/") {

#header-bar + h1 + ul {
  text-align: center !important;
  list-style-type: none !important;
  padding-right: 3em !important;
  margin-top: 0 !important;
}

h2 { margin-bottom: 0 !important; }
#style-list { margin-top: 0.5em !important; }

label, th {
  font-size: small !important;
  white-space: normal !important;
}
}


@-moz-document url-prefix(http://userstyles.org/style/new),
url-prefix(http://userstyles.org/style/edit),
url-prefix(http://userstyles.org/style/update) , url-prefix("https://userstyles.org/style/new"), url-prefix("https://userstyles.org/style/edit"), url-prefix("https://userstyles.org/style/update") {

#header-bar + p  {
  text-align: center !important;
  margin: 1em 0em 2em 0em !important;
  font-size: large !important;
}

#short-description,
#long-description,
#css,
#before-screenshot-new + input,
#before-screenshot-change + input,
#after-screenshot-new + input,
#after-screenshot-change + input {
  background-color: lemonchiffon !important;
}

input[type="submit"][value="Save"] {
  position: absolute !important;
  right: 2em !important;
  top: 6em !important;
}

}

@-moz-document url(http://userstyles.org/login),
               url-prefix(http://userstyles.org/user/edit_password/),
               url(http://userstyles.org/user/update_password) , url("https://userstyles.org/login"), url-prefix("https://userstyles.org/user/edit_password/"), url("https://userstyles.org/user/update_password") {
    form table:not([class="form-controls"]) .two-column { margin: auto !important; }
    form, p { text-align: center !important; }
    #password, #username { width: 10em !important }
}

@-moz-document url-prefix(http://userstyles.org/forum/),
               url-prefix(http://821use.owen.hostingrails.com/forum/) , url-prefix("https://userstyles.org/forum/") {

body {
  font-size: 1em !important;
}

body,
h1,
h2,
table,
td,
legend,
label,
#AccountProfile,
#AccountHistory,
.CommentBody,
.CommentBody blockquote,
.CommentBody blockquote cite {
  color: #fff !important;
}

#Panel,
#AboutVanilla,
#Discussions > li,
#Discussions > li > ul,
#frmPostDiscussion,
#frmPostComment,
#Form form,
.CommentBody blockquote {
  background: none !important;
}

#Session {
  top: 3px !important;
  right: 35px !important;
  color: #6282a5 !important;
}

#Header {
  background: #415983!important;
  border: 3px solid #50668d !important;
  border-top: none !important;
  -moz-border-radius-bottomleft: 10px !important;
  -moz-border-radius-bottomright: 10px !important;
  padding: 0 20px !important;
}

#Header a {
  color: white !important;
}

#Header > h1 {
  margin: 0 0 1px 1px !important;
  background: transparent url(chrome://stylish/skin/bigicon.png) center left no-repeat !important;
  padding: 11px 0 14px 32px !important;
  color: white !important;
  font-size: xx-large !important;
  text-align: left !important;
}

#Header > ul {
  margin-top: -22px !important;
  text-align: right !important;
}

#Header > ul > li {
  border: none !important;
  background-color: transparent !important;
}

#Header > ul > li > a {
  border: 2px solid #50668d !important;
  border-bottom: none !important;
  -moz-border-radius-topleft: 5px !important;
  -moz-border-radius-topright: 5px !important;
  background-color: transparent !important;
  padding: 0 10px !important;
  font-weight: bold !important;
  font-size: 16px !important;
}

#Header > ul > li > a:hover {
  background-color: #50668d !important;
}


#Header > ul > li.TabOn > a {
  background-color: white !important;
  color: #83A2D1 !important;
  border-bottom: 2px solid white !important;
}

#Panel p {
  margin: 20px auto !important;
}

#CommentBoxController {
  border: 1px solid #415983 !important;
  background: none !important;
  margin: -8px -4px 0 0 !important;
  -moz-border-radius: 5px !important;
}

#CommentBoxController:hover {
  background-color: #415983 !important;
}

#CommentBox {
  width: 100% !important;
}

#Content .Top {
  white-space: normal !important;
  overflow: visible !important;
}

#Content .Top > .PageInfo {
  border-top: 0 !important;
  border-bottom: 1px solid #CCCCCC !important; 
  margin-bottom: -5px !important;
}

#Content .Top > .PageInfo > p {
  float: none !important;
  display: block !important;
  text-align: left !important;
}

#Content .Top > .PageInfo > .PageList {
  margin-top: -23px !important;
}

#Content .Middle > .PageInfo,
#Content .Bottom > .PageInfo {
  border-bottom: 0 !important;
}

#Categories > li {
  background: none !important;
  color: white !important;
}

#SearchDiscussions,
#SearchComments {
  border-bottom: none !important;
}

.ContentInfo h1 {
  font-size: 2em !important;
}
.ContentInfo h1 * {
  font-size: inherit !important;
}

#Discussions {
  margin-top: 0 !important;
}

.Description,
.Description strong,
.Description i,
#CustomInfo li,
#Form.Account label small,
#SimpleSearchRadios {
  color: #DFAD72 !important;
}

.DiscussionType {
  color: #BBBBBB !important;
}

#Form.AddComments {
  margin-top: 1em !important;
}

/* quotes */
.CommentBody blockquote {
  border-left: 1px solid #CCCCCC !important;
  background-color: #415983 !important;
}

.CommentBody code {
  text-align: left !important;
  overflow:   auto  !important;
  outline:    none  !important;
  max-height: 20em  !important;
  margin: 0em 2em 0em 3em !important;
  background-color: lemonchiffon !important;
  color: #000 !important;
  border: 1px dashed black !important;
}

.CommentBody blockquote blockquote {
  border-bottom: 1px solid #CCCCCC !important;
  border-right: 1px solid #CCCCCC !important;
  border-left: 1px solid #CCCCCC !important;
}

.CommentBody blockquote cite {
  border-bottom: 1px solid #CCCCCC !important;
}

.CommentBody p {
  border-left: 1px solid #CCCCCC !important;
  background-color: #415983 !important;
  border-bottom: none !important;
}

.CommentBody blink {
  text-decoration: none !important;
}

#CommentFormats {
  color: #6282a5 !important;
}

#Comments code {
  overflow: auto !important;
  display:    block !important;
  max-height: 45em !important;
}

}

@-moz-document url-prefix(http://userstyles.org/forum/comments) , url-prefix("https://userstyles.org/forum/comments") {

#Panel {display: none !important;}

#Content {
  margin:0px 50px 0px 50px !important;
}

}


@-moz-document url(http://userstyles.org/apps/ads.html) , url("https://userstyles.org/apps/ads.html") {
body {
  padding: 0 !important;
}
}