@-moz-document domain(leprosorium.ru) {

body {
  font: 18px Courier New !important;
  color: #333 !important;
  background-color: #fff !important;
  background-image: none !important;
}

#main_inner {
  padding: 20px 35px !important;
}

a {
  color: #006600 !important;
}

a:visited {
  color: #006600 !important;
}

a:hover {
  color: #006600 !important;
}

input, textarea, select {
  font: 12px Courier New !important;
  background: #fff !important;
  border: none !important;
}

input[type="text"], textarea {
  border: 1px solid #ccc !important;
}

select {
  border: 1px solid #ccc !important;
}

#navigation-thing-box {
  display: none !important;
}

#private ul li span em {
  color: #000 !important;
  border: none !important;
  padding: 0 2px !important;
}

#private ul li a:hover span {
  background: #fff !important;
}

#private ul li a:hover span em {
  background: #fff !important;
  margin: 0 !important;
}

#main .layout_left {
  background: none !important;
  width: 100% !important;
  position: relative !important;
}

#logo {
  left: 0 !important;
  position: relative !important;
  top: 0 !important;
  float: left !important;
  margin-right: 150px !important;
}

#menu {
  display: none !important;
}

#gertruda {
  display: none !important;
}

#president {
  background: none !important;
  border: none !important;
  color: #333 !important;
  margin-right: 150px !important;
  padding: 0 !important;
  float: left !important;
}

#parlament {
  margin-right: 150px !important;
  padding: 0 !important;
  float: left !important;
}

#elections {
  margin-right: 0 !important;
  padding: 0 !important;
  float: left !important;
  border: none !important;
}

#elections a, #elections a:visited, #elections a:hover {
  background: none !important;
  color: #ff0000 !important;
}

.layout_right {
  margin-left: 0 !important;
  clear: left !important;
}

#header .three {
  padding-top: 15px !important;
}

.ads {
  display: none !important;
}

#navigation #filter {
  background: none !important;
  padding-bottom: 50px !important;
}

#navigation #filter .inner {
  padding: 0 !important;
}

#navigation #filter select {
  margin: 0 !important;
}

#content {
  padding: 0 !important;
}

#content_left_inner {
  width: 100% !important;
}

#content_right {
  display: none;
}

.dd .vote div a {
  background: none !important;
  border: 1px solid #ccc;
  line-height: 18px !important;
}

.dd .vote div a:hover, .dd .vote div a.voted {
  background-color: #E9E9E9 !important;
}

.dd .vote div a.minus:hover, .dd .vote div a.minus.voted {
  color: #CC0000 !important;
}

.dd .vote div a.plus:hover, .dd .vote div a.plus.voted {
  color: #009900 !important;
}

.dd .vote div a em {
  display: block !important;
  height: 18px !important;
  width: 18px !important;
  line-height: 18px !important;
  margin-top: 0 !important;
  top: 0 !important;
}

.dd .vote div span {
  background: none !important;
  border-top: 1px solid #ccc !important;
  border-left: 1px solid #ccc !important;
  border-right: 1px solid #ccc !important;
  color: #333 !important;
  overflow: hidden !important;
  position: relative !important;
  right: 0 !important;
  width: 43px !important;
  display: block !important;
}

.rating em {
  display: block !important;
  width: 43px !important;
}

.dd .vote div a.minus {
  color: #CC0000 !important;
}

.dd .vote div a.plus {
  color: #009900 !important;
}

.pop .dd .vote div span, .golden .dd .vote div span {
  background: #fdf1bf !important;
}

#cellar {
  display: none !important;
}

.comments #content, .votes #content {
  background: none !important;
  border: none !important;
}

.comments #content .dd .vote div {
  width: 27px !important;
}

.comments #content .dd .vote div span {
  border-bottom: 1px solid #CCCCCC !important;
  width: 32px !important;
}

.comments #content .dd .vote div span em {
  width: 32px !important;
}

.comments #content .dd .vote div a.minus {
  bottom: -44px !important;
}

#under-tabs {
  background: none !important;
}

.highlight1 .new .dt, .highlight1 .new .dd .p, .highlight2 .new .dt, .highlight2 .new .dd .p, .highlight3 .new .dt, .highlight3 .new .dd .p, .highlight4 .new .dt, .highlight4 .new .dd .p {
  border: 1px solid #f4f4f0 !important;
  background: #f9f9f7 !important;
}

.highlight1 .new .dt, .highlight2 .new .dt, .highlight3 .new .dt, .highlight4 .new .dt {
  border-bottom: none !important;
}

.highlight1 .new .dd .p, .highlight2 .new .dd .p, .highlight3 .new .dd .p, .highlight4 .new .dd .p {
  border-top: none !important;
}

#usernick {
  margin: 2em 0pt 1em 50px !important;
}

#navigation-thing {
  display: none !important;
}

#headr-nonsplit {
  display: none !important;
}

#common-bar {
  margin: -20px auto 20px auto !important;
}

#common-bar .inside-wrapper-2 {
  background: none !important;
}

#common-bar #shadow-bottom-2 {
  visibility: hidden !important;
}

#common-bar #shadow-top-2 {
  visibility: hidden !important;
}

#total_pages {
  left: 0 !important;
  top: 0 !important;
}

}