* {
margin:0;
padding:0;
}

body {
width:100%;
background:url(../images/bg.gif) repeat-x;
}

.wrap {
width:950px;
margin:0 auto;
background:url(../images/head.gif) no-repeat;
}

img {
border:0;
}

.cl {
clear:both;
}

ul {
list-style:none;
}

#b_head {
height:90px;
}

#b_logo {
display:block;
width:400px;
height:77px;
float:left;
background:url(../images/logo.gif) no-repeat 50% 50%;
}

#b_menu {
float:right;
}

#b_menu li {
float:left;
line-height:78px;
padding:0 0 0 25px;
color:#fff;
}

#b_menu li a {
font:13px arial;
text-decoration:none;
color:#fff;
}

#b_menu li a:hover {
color:#99ccff;
}

#b_menu .function { display:none; }
#b_menu.administrator li {
display:none;
}
#b_menu.administrator li.function {
display:block;
}
#b_menu.administrator .switch {
display:block;
}

#tags {
margin-top:50px;
}
#tags a {
display:inline;
color:#0096bc;
}

#b_left {
float:left;
width:670px;
}

#b_right {
float:right;
width:228px;
border:1px solid #abdfed;
padding:10px;
}

p {
font:13px arial;
color:#666;
padding:15px 23px;
}

.gray_block {
background:#ededed;
margin:0 0 10px;
}

h1 {
font:16px arial;
color:#007998;
padding:5px;
}
h1 a {
font:16px arial;
color:#007998;
padding:5px;
text-decoration:none;
}

.item {
margin:0 0 10px;
float:left;
border-bottom:1px solid #eaeaea;
width:310px;
}

.theme {
border:5px solid #ededed;
float:left;
height:224px;
overflow:hidden;
}

.theme img {
border:1px solid #999;
float:left;
}

.fr {
float:right;
}

.down {
font:12px arial;
color:#666;
float:left;
}

.down input {
font:12px arial;
color:#007a99;
background:url(../images/but.gif) no-repeat 0 50%;
border:none;
padding:0 0 0 15px;
cursor:pointer;
width:80px;
margin:5px;
vertical-align:middle;
}

.reit {
float:right;
padding:2px 3px 0 0;
}

.nav {
width:640px;
margin:20px auto;
}

.nav a {
float:left;
display:block;
text-decoration:none;
color:#007a99;
font:12px/17px arial;
margin:0 1px;
}

.nav a span {
display:block;
padding:0 0 0 6px;
margin:0 6px 0 0;
}

a.act {
color:#fff;
background:url(../images/bg_act.gif) no-repeat 100% 0;
}

a.act span {
background:url(../images/bg_act.gif) no-repeat;
}

#foot {
font:13px arial;
color:#666;
padding:20px 25px;
}

h2 {
font:16px arial;
padding:0 10px;
}
h2.fresh {
margin:10px 0 10px 0;
}

.rmenu {
padding:10px 10px 35px;
}

.rmenu li {
border-bottom:1px solid #e9e9e9;
}

.rmenu a {
font:12px/23px arial;
text-decoration:none;
color:#0096bc;
background:url(../images/ar.gif) no-repeat 10px 7px; 
padding:0 0 0 17px;
display:block;
}

.rmenu a:hover {
color:#000;
background:url(../images/a_ar.gif) no-repeat 10px 7px;
text-decoration:underline;
}

#b_right form {
font:12px arial;
color:#0096bc;
padding:10px 20px;
}

#b_right form div {
padding:5px 0;
}

#b_right select {
font:12px arial;
color:#000;
width:140px;
border:1px solid #cdcdcd;
}

#bsearch {
background:url(../images/b_search.gif);
border:none;
width:101px;
height:21px;
cursor:pointer;
margin:10px 0 0 50px;;
}

h3 {
font:14px arial;
color:#0096bc;
padding:10px;
background:#ededed;
}

h4 {
font:16px arial;
color:#007998;
padding:10px;
}

.item_d {
padding:15px;
background:#ededed;
position:relative;
margin:0 0 20px;
}

.item_d .tags-list {
padding-left:12px;
}
.item_d .tags-list li {
display:inline;
}
.item_d .tags-list li a {
padding-left:0;
}

.down_d input {
background:url(../images/b_down.gif);
border:0;
cursor:pointer;
width:154px;
height:28px;
margin:10px 0 0 60px;
}

.item_d .reit {
position:absolute;
right:10px;
top:10px;
z-index:50;
}

.item_d .post {
position:absolute;
left:330px;
top:13px;
}

h5 {
font:12px arial;
color:#666;
}

.item_d ul{
padding:0 0 15px 5px;
}
.item_d .reit ul{
padding:0;
}

.item_d ul li {
padding:3px 0;
}

.item_d ul li a{
font:12px arial;
color:#007a99;
text-decoration:none;
background:url(../images/ar.gif) no-repeat 0 5px; 
padding:0 0 0 7px;
}
.item_d ul li.nb a{
background:none;
color:#0096bc;
}
.item_d .reit a {
background:none;
}
.item_d ul.rates li {
font:12px arial;
color:#007a99;
text-decoration:none;
padding:0 0 0 7px;
margin-top:10px;
}

.about p {
padding:5px 0 5px;
}

.about h6 {
font:13px arial;
color:#0099cc;
padding:5px 0;
}

.about ul {
padding:5px 0;
}

.about ul li {
background:url(../images/ar1.gif) no-repeat 0 8px;
padding:0 0 0 10px;
font:12px/26px arial;
color:#666;
margin:0 0 0 10px;
}

.big_img {
background:url(../images/big_theme.jpg) no-repeat;
width:981px;
height:1321px;
margin:0 auto;
}

.star-rating,
.star-rating a:hover,
.star-rating a:active,
.star-rating a:focus,
.star-rating .current-rating{
background: url(../images/star.gif) left -1000px repeat-x;
}
.item_d .star-rating,
.item_d .star-rating a:hover,
.item_d .star-rating a:active,
.item_d .star-rating a:focus,
.item_d .star-rating .current-rating{
background-image: url(../images/star-gray.gif);
}
.star-rating{
position:relative;
width:125px;
height:25px;
overflow:hidden;
list-style:none;
margin:0;
padding:0;
background-position: left top;
}
.star-rating li{
display: inline;
}
.star-rating a,
.star-rating .current-rating{
position:absolute;
top:0;
left:0;
text-indent:-1000em;
height:25px;
line-height:25px;
outline:none;
overflow:hidden;
border: none;
}
.star-rating a:hover,
.star-rating a:active,
.star-rating a:focus{
background-position: left -25px;
}
.disable-rating a:hover,
.disable-rating a:active,
.disable-rating a:focus{
background-position: left -1000px;
}
.star-rating .current-rating{
z-index:1;
background-position: left -50px;
}
.disable-rating .current-rating{
background-position: left bottom;
}

.inline-rating{
display:-moz-inline-block;
display:-moz-inline-box;
display: inline-block;
vertical-align: middle;
}

.small-star{
width:50px;
height:10px;
}
.small-star,
.small-star a:hover,
.small-star a:active,
.small-star a:focus,
.small-star .current-rating{
background-image: url(../images/star_small.gif);
line-height: 10px;
height: 10px;
}

.star-rating-result {
    display:none;
    z-index:700;
    background:#fff;
    top:14px;
    _top:0;
    width:125px;
    height:25px;
    line-height:25px;
    padding-right:10px;
    margin-left:-10px;
    text-align:right;
    color:#0096BC;
    font-size:12px;
    font-family:Arial;
    position:absolute;
}
.item_d .star-rating-result {
    top:auto;
    margin-top:-25px;
    overflow:hidden;
    color:#666666;
    background:#ededed;
}
@-moz-document url-prefix() { /** firefox hack */
    .item_d .star-rating-result {
        top:14px;
        margin-top:0;
    }
}
.star-rating-result.rating-loading {
    background:#fff url(../images/loading.gif) no-repeat 100px 7px;
}
.item_d .star-rating-result.rating-loading {
    background:#ededed url(../images/loading-gray.gif) no-repeat 100px 7px;
}

ul.functions {
    margin-left:5px;
    padding-bottom:10px;
}
.item_d ul.functions {
    margin-top:10px;
}
ul.functions li {
    width:20px;
    display:inline;
}
ul.functions li a {
    display:block;
    float:left;
    margin-right:5px;
    text-indent:-1000px;
    width:16px;
    height:16px;
    line-height:16px;
    background: none;
    background-repeat: no-repeat;
}
ul.functions .edit a {
    background-image:url(../images/functions-edit.png);
}
ul.functions .source a {
    background-image:url(../images/functions-source.png);
}
ul.functions .foot a {
    background-image:url(../images/functions-foot.png);
}
ul.functions .funct a {
    background-image:url(../images/functions-funct.png);
}
ul.functions .repl a {
    background-image:url(../images/functions-repl.png);
}
ul.functions .folder {
    background:url(../images/functions-folder.png) no-repeat 0 -1px;
    padding-left:19px;
}
ul.functions .folder span {
    font-size:12px;
    color:#444;
    position:relative;
    top:-2px;
}
.item_d ul.functions .folder {
    background-position:0 2px;
}

