body,input{font-size:13px; font-family: arial, sans-serif; color: #000;}

body {
  background-color: #fff;
  margin: 0;
}

#core-node { padding: 4px 16px 10px 16px; }

#content {
  clear: both;
  margin-top: 12px;
  padding-top: 4px;
}

h3 {margin: 12px 0 12px 0;}
h3:first-child { margin:0px; }

a:link, a:visited {color: #0033cc;}
a:hover, a:active {color: red; }

small{font-size:11px;}

/* Выебон: ссылка, подчёркнутая линией другого цвета: */
.black-link{color: #000;}
.black-link:hover{color: red;}


/* Шапка: */

#header {
  clear: both;
  line-height: 180%;
  height: 28px;
  border-bottom: 1px solid silver;
}

#top-right-links {
  color: silver;
  float:right;
  font-size:13px;
}

#header { font-size: 14px; }

#site-title a{
  float: left;
  background-color: #000;
  text-transform: uppercase;
  display: inline;
  padding: 0px 6px 0px 6px;
  margin-right: 10px;
  color: white;
  text-decoration: none;
}

#site-title :hover {text-decoration:underline }

#head-right { float: right; color: gray; }

#cat-title { float:left; }


/* Content: */
.author {margin-bottom: 10px; font-style: italic; }
.author a {font-weight: bold; font-style: normal; padding-left: 2px }
.author.user a{color:#40a050;}
.author.non-user a{color:#303030;font-style:italic;}


.author, .reply{
  margin-left:4px;
  font-size:12px;
}

.reply {
  float: right;
  margin-top: 10px;
  margin-bottom: 6px;
  margin-left:4px;
}

.subject {
  background-color: #eee;
  padding: 2px 2px 2px 4px;
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 8px;
}

.text { margin-left:4px; }

#messages {
  width: 100%;
  float:left;
  margin: 0 -210px 0 0;
}

.pages, .heading-comments, .message {
  font-size:14px;
  margin:10px 210px 10px 0px;
  clear: both;
}

.reply a{margin-left: 6px;}





/* Right navigation: */

#right-nav {
  width: 180px;
  border-left: 1px solid silver;
  padding-left: 13px;
  float: right;
  margin-bottom:20px
}

#right-nav th{padding:18px 0 6px 0;font-weight:normal}
#right-nav input{margin-bottom:4px; border:1px solid #bbb;}
#right-nav td input {margin-left:4px; } /* делаем небольшой отступ, т.к. в таблице cellpadding=cellspacing=0 */
#right-nav input:hover, #right-nav input:focus{border-color: gray;}

form{margin:0}

/* Bottom line: */

#bottom {
  clear: both;
  border-top: 1px solid silver;
  margin-top: 10px;
}


.related-heading b{
  font-size:14px;
}
.related {
  font-size: 12px;
}

.heading-comments {
  clear: both;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 18px;
  margin-top:0px;
  margin-bottom:0px;
}

.pages {
  clear: both;
  font-weight: bold;
  text-align:center;
  font-size:14px;
  padding-top: 10px;
  margin-top:0;
}

a{text-decoration:none;}
a:hover{text-decoration:underline}

.rec_maininfo { padding-bottom:10px; }
.rec_maininfo a { font-weight:bold; }
.rec_maininfo i { font-style:italic; color:#800000; }

.rec_new h1 { font-size:16px; }
.rec_new input, textarea, select { background-color:#eeeeee; font-size:14px; }
.rec_new i { font-style:italic; color:#800000; }

.rec_text { padding-left:10px; padding-top:5px; width:666px;}


.rec_reccount h1 { font-size:16px; }

.rec_annotation { padding:3px; padding-top:5px; margin-bottom:10px; width:666px; 
                  font-size:12px; text-align:justify; background-color:#f0f0f0}

  .bb_q { color:#307030; font-style:italic }
  .bb_r { color:red }
  .bb_s { color:#307030; font-size:10px }
  .bb_cg { color:#008000 }
  .bb_cy { color:#ff8040 }
  .bb_cw { color:#808080 }
  .bb_cb { color:#0000ff; font-weight:bold }
