#wrap {
width:100%;
min-width:980px;
max-width:1440px;
margin:0 auto;
position:relative;
overflow:hidden;
}
#space {
margin:0 15px;
position:relative;
}
.both {
width:100%;
clear:both;
overflow:hidden;
}
.clear {
width:100%;
height:1px;
overflow:hidden;
font-size:0px;
clear:both;
overflow:hidden;
}

/* ---------------------------------- подвал */
#footer {
width:100%;
padding:1.36em 0 5.46em 0;
position:relative;
overflow:hidden;
font:.92em/1.64em tahoma,arial,verdana,sans-serif;
}
#footer .left {
width:43%;
float:left;
position:relative;
}
#footer .right {
width:46%;
float:right;
position:relative;
right:5%;
}
#footer .left .hr {
padding:11px 0 6px 0;
background-position:0 12px;
}
#footer .copy {
font-size:.91em;
}
#footer .about {
width:100%;
overflow:hidden;
}
#footer .about .counter {
padding:0 0 1.18em 0;
float:left;
}
#footer .about img {
display:block;
}
#footer .about p {
padding:.45em 0 0 15px;
margin:0px;
display:block;
float:left;
}
#footer ul.legend li {
padding:0 0 6px 26px;
}
#footer ul.legend li.have {background:url('../img/ico/have-new.png') no-repeat 0 0;}
#footer ul.legend li.havent {background:url('../img/ico/havent-new.png') no-repeat 0 0;}
#footer ul.legend li.closed-new {background:url('../img/ico/closed-new.png') no-repeat 0 0;}
#footer ul.legend li.closed {background:url('../img/ico/closed.png') no-repeat 0 0;}
#footer ul.legend li.moved {background:url('../img/ico/moved.png') no-repeat 0 0;}


/* ---------------------------------- шапка */
#header {
width:100%;
height:10em;
position:relative;
overflow:hidden;
background:url('../img/header.jpg') no-repeat 38% 0;
}
#logo {
position:absolute;
top:1em;
left:0px;
}
#logo img {
width:18.58em;
height:6.25em;
display:block;
}
#header .welcome {
position:absolute;
top:9.9em;
left:0px;
font:.83em tahoma,arial,verdana,sans-serif;
}
#header .nav {
position:absolute;
top:9.9em;
left:0px;
font:.83em tahoma,arial,verdana,sans-serif;
}
#header .nav a {
color:#000;
}
#header .nav .purple {
color:#cd89b0;
}
#header .dating {
font-weight:bold;
position:absolute;
top:7.83em;
right:0px;
}
#header .menu {
position:absolute;
top:1.27em;
right:-10px;
overflow:hidden;
font:.92em tahoma,arial,verdana,sans-serif;
}
#header .menu li {
padding:.1em 10px .1em 16px;
float:left;
color:#000;
background:none;
}
#header .menu li a {
color:#000;
}
#header .menu li.register {background:url('../img/ico/register.gif') no-repeat 0 50%;}
#header .menu li.enter {background:url('../img/ico/enter.gif') no-repeat 0 50%;}
#header .menu li.search {padding-left:17px;background:url('../img/ico/search.gif') no-repeat 0 50%;}
#header .menu li.users {padding-left:19px;background:url('../img/ico/users.gif') no-repeat 0 50%;}

#header .show {
border-color:#c2beae;
overflow:hidden;
position:absolute;
top:3.83em;
right:0px;
}
#header .show label {
padding:.2em 6px;
float:left;
display:block;
color:#474747;
}
#header .show select {
width:15.9em;
float:left;
display:block;
color:#474747;
}

#header .moders {
position:absolute;
top:8.81em;
right:8.91em;
font:.92em tahoma,arial,verdana,sans-serif;
}

#header .newtheme {
position:absolute;
top:7.5em;
right:0px;
}
#header .newtheme img {
width:7.16em;
height:1.92em;
display:block;
color:#9e1b7c;
}

#header .reply {
position:absolute;
top:7.5em;
right:7.5em;
}


/* ---------------------------------- форум */
table.forum {
width:100%;
border-collapse:collapse;
}
table.forum th {
padding:.67em 0 .58em 63px;
border:.08em solid #e8c2d8;
margin:0px;
font-weight:bold;
color:#946b8e;
text-align:left;
background:#ffe6f1 url('../img/th.gif') repeat-x 0 0;
}
table.forum .top th {
padding:.67em 0 .58em 0;
border-right:.08em solid #ffe6f1;
border-left:.08em solid #ffe6f1;
border-bottom:.33em solid #cd89b0;
color:#fffbec;
background:#e6accd url('../img/th-top.png') repeat-x 0 0;
}
table.forum .top th p {
padding:0 10px;
}
table.forum th.forum {
padding-left:53px;
border-left:.08em solid #e8c2d8;
}
table.forum th.new {width:4%;}
table.forum th.blank {width:15%;}
table.forum th.message {width:9%;text-align:center;}
table.forum th.topic {width:4%;text-align:center;}
table.forum th.last {width:27%;}

table.forum th.msg {
padding-left:13px;
}
table.forum th.msg .mail {
padding:0px;
margin:0px;
position:relative;
right:12px;
float:right;
font:.92em/1.64em tahoma,arial,verdana,sans-serif;
}
table.forum th.msg .mail a {
color:#474747;
}


table.forum td {
padding:1em 0;
border:.08em solid #ecddd0;
color:#000;
background:#fffbec;
}
table.forum td p {
padding:0 10px;
}
table.forum td.topic,table.forum td.message {
color:#474747;
text-align:center;
}
table.forum td.forum p {
padding:0 7px 0 0;
float:left;
display:block;
}
table.forum td.forum div.icon {
width:48px;
padding:0 7px;
margin:-.27em 0;
position:relative;
float:left;
}
table.forum td.forum div.icon img {display:block;}
table.forum td.forum a.name,table.forum td.themes a.name {
font-size:1.17em;
}
table.forum td.new img {
margin:0 auto;
display:block;
}


table.forum td.bottom {
padding:0px;
border-top:.08em solid #ecddd0;
border-left:0px !important;
border-right:0px !important;
border-bottom:.25em solid #cd89b0;
background:#e6adce url('../img/bottom.png') repeat-x 0 0;
}
table.forum td.bottom .space {
padding:.91em .91em .83em .91em;
border-top:.17em solid #ffdef2;
border-bottom:.08em solid #e8c2d8;
overflow:hidden;
}

table.forum .rating {
margin:0 .67em -3px .67em;
}


table.forum td.userinfo {
width:178px;
padding:.83em 0;
font:.83em tahoma,arial,verdana,sans-serif;
vertical-align:top;
}
table.forum td.userinfo .level {
margin:0 0 .8em 0;
}
table.forum td.userinfo .avatar {
margin:0 0 10px 10px;
border:1px solid #bfb7b0;
display:block;
}

table.forum td.userinfo .name {
margin:0 0 .36em 0;
font:bold 1.4em arial,tahoma,verdana,sans-serif;
}
table.forum td.userinfo .name a {
color:#005fca;
}
table.forum td.userinfo .online {
margin-bottom:-4px;
}


table.forum td.messagebody {
padding-top:0px !important;
overflow:hidden;
vertical-align:top;
}
table.forum td.messagebody .theme {
padding:1em 13px 1.09em 17px;
margin:0 0 1em 0;
font:.92em tahoma,arial,verdana,sans-serif;
background:url('../img/ico/hr.gif') repeat-x 0 100%;
}
table.forum td.messagebody .theme a.moder {
float:right;
color:#000;
}
table.forum td.messagebody p {
padding:0 13px 0 17px;
}

span.quote {
padding:1em 18px;
margin-bottom:1em;
border:1px solid #ecddd0;
display:block;
background:#fff;
}


table.forum td.date {
padding:.91em 0 !important;
font:.92em tahoma,arial,verdana,sans-serif;
color:#946b8e;
background:#fff1d8;
}
table.forum td.date p {
padding:0 18px;
}
table.forum td.buttons {
padding:.33em 10px !important;
color:#946b8e;
background:#fff1d8;
}
table.forum td.buttons .btn img {
width:7.17em;
height:1.92em;
display:block;
color:#b09087;
}
table.forum td.buttons .left {float:left;margin-right:5px;}
table.forum td.buttons .right {float:right;margin-left:5px;}


#login label {
width:107px;
padding:0 0 .54em 1px;
float:left;
display:block;
}
#login .text {
width:94px;
margin:0 4px 0 0;
float:left;
display:block;
}
#login button {
width:5.63em;
height:2.09em;
display:block;
float:left;
}
#login button img {
width:5.63em;
height:2.09em;
display:block;
}


.bottom .show {
padding-top:.2em;
float:left;
border-color:#c2beae;
overflow:hidden;
}
.bottom .show label {
padding:.2em 6px;
float:left;
display:block;
color:#474747;
}
.bottom .show select {
width:15.9em;
float:left;
display:block;
color:#474747;
}

.bottom .newtheme {
float:right;
}
.bottom .newtheme img,
.bottom .reply img,
#header .newtheme img,
#header .reply img {
width:7.16em;
height:1.92em;
display:block;
color:#9e1b7c;
}
.bottom .reply {
position:relative;
right:.33em;
float:right;
}

.bottom .pager {
width:21.8em;
padding:.36em 0 0 .5em;
float:left;
font:bold .92em tahoma,arial,verdana,sans-serif;
color:#474747;
}
.bottom .back {
padding:.36em 10px 0 0;
margin-right:5em;
float:left;
font:.92em tahoma,arial,verdana,sans-serif;
background:url('../img/ico/back.gif') no-repeat 100% .46em;
}
.bottom .back a {
color:#000;
}