* {
	padding:0;
	margin:0;
}

body {
	background:#272B2E url("../images/bg.gif") repeat-x top;
	font:0.7em Verdana;
	color:#fff;
}

/* Основные элементы */

a {
	text-decoration:none;
	color:#ccc;
}

a:hover {
	text-decoration:underline;
}

a img {
	border:0;
}

h1 {
	font-size:1.8em;
	font-weight:normal;
	color:#37B1AE;
}

h2 {
	color:#D67081;
	font-weight:normal;
	background:#21292F;
	height:32px;
	line-height:32px;
	font-size:1.5em;
	margin:0 -7px 10px;
	padding-left:25px;
}

h3 {
	font-weight:normal;
	color:#1CBBB4;
	font-size:1.2em;
	margin-bottom:7px;
}

/* Элементы формы */

.textbox {
	background:#fff;
	border:1px solid #666;
}

.button {
	background:#323232;
	border:1px solid #555;
	font:0.9em Verdana;
	color:#1CBBB4;
	padding:1px 3px;
	height:18px;
	vertical-align:top !important;
	vertical-align:baseline;
}

.button1 {
	margin-bottom:5px;
	background:#eee;
	border:1px solid #555;
	font:0.9em Verdana;
	color:#333;
	padding:1px 3px;
	height:18px;
	vertical-align:top !important;
	vertical-align:baseline;
}

textarea {
	border:1px solid #666;
	background:#fff;
}

/* Структура сайта */

#wrapper {
	width:100%;
	min-width:1000px;
	width:expression(((document.documentElement.clientWidth || document.body.clientWidth) < 1000)? "1000px" : "100%");
}

#container {
	width:100%;
	float:left;
	margin-right:-250px;
}

#content {
	margin-right:250px;
	padding:0 12px 0 16px;
}

/* Шапка сайта */

#header {
	height:215px;
	position:relative;
	background:url("../images/header.jpg") no-repeat right top;
}

.logo {
	position:absolute;
	top:2px;
	left:10px;
	z-index:9;
}

/* Авторизация */

#author {
	margin:0 200px 0 307px;
	padding:0 0 0 42px;
	background:url("../images/author.gif") no-repeat left top;
	top:16px;
	height:75px;
	position:relative;
}

#author .textbox {
	width:16%;
}

#author td {
	vertical-align:top;
	padding-right:5px;
}

.reg {
	float:right;
	line-height:16px;
	padding-top:10px;
}

.reg a {
	color:#fff;
	background:url("../images/reg_list.gif") no-repeat left center;
	padding-left:11px;
}

/* Верхнее меню */

#menu {
	position:relative;
	height:49px;
	background:url("../images/menu.jpg") repeat-x;
	padding:0 0 0 300px;
	margin-right:141px;
}

#menu li {
	list-style:none;
	float:left;
	height:49px;
	line-height:46px;
	width:19%;
	text-align:center;
}

#menu li a {
	color:#fff;
	text-decoration:none;
	font-size:1.2em;
	font-weight:bold;
}

#menu li a:hover {
	text-decoration:underline;
}

/* Поиск */

.searchform {
	float:left;
	margin-top:20px;
	margin-left:30px !important;
	margin-left:15px;
	padding:5px 0;
	padding-left:35px;
	background:url("../images/search.gif") no-repeat left top;
	height:19px;
	width:34%;
}

.searchform .textbox {
	width:75%;
}

/* Алфавит */

.alphabet {
	float:right;
	margin:20px 130px 0 0 !important;
	margin:20px 65px 0 0;
	background:url("../images/alphabet.gif") no-repeat left top;
	height:29px;
	padding-left:35px;
}

.alphabet a {
	color:#fff;
}

/* Левая колонка */

.news {
	margin-bottom:20px;
}

.news img {
	padding:4px;
	background:#fff;
	margin:0 5px;
}

.title {
	padding:3px 0 3px 32px;
	background:#28363C url("../images/title.gif") repeat-y left;
	margin:0 0 15px 0;
}

.title a {
	color:#1CBBB4;
}

.title img {
	padding:0;
	background:none;
	margin:0;
}

.rating {
	float:right;
	margin:7px 15px 0 0 !important;
	margin:7px 7px 0 0;
}

.postfooter {
	clear:both;
	padding:10px;
}

.postfooter a {
	color:#098876;
	background:url("../images/arrow.gif") no-repeat left center;
	padding-left:13px;
	margin-right:10px;
	font-weight:bold;
}

/* Правая колонка */

#sidebar {
	width:230px;
	padding:20px 6px 30px 14px;
	float:right;
	background:#392C2E;
}

.block {
	margin-bottom:20px;
	padding:0 7px;
}

.block li {
	list-style:none;
}

.block li a {
	color:#fff;
	padding-left:8px;
	background:url("../images/arw.gif") no-repeat left top;
}

/* Меню в правой колонке */

#right_menu li a {
	background:#4D393C;
	display:block;
	font-size:1.1em;
	font-weight:bold;
	border-bottom:1px dashed #21292F;
	padding:4px 5px;
}

#right_menu li a:hover {
	text-decoration:none;
	background:#2D373F;
}

/* Рекламный блок */

#commerce {
	text-align:center;
	background:url("../images/commerce_bg.gif") repeat-x bottom;
	margin-top:-20px;
}

.inside {
	background:url("../images/commerce.jpg") no-repeat left bottom;
	height:67px;
	padding:40px 0 20px 150px;
}

/* Подвал сайта */

#footer {
	background:#212427;
	text-align:center;
	padding:20px 0;
}

#footer ul {
	list-style:none;
}

#footer li {
	list-style:none;
	display:inline;
	margin:0 20px;
}

#footer li a {
	font-size:1.2em;
	font-weight:bold;
	color:#fff;
}

/* Дополнительные классы */

.clearing {
	height:0;
	clear:both;
	font-size:0;
}

.nobg {
	background:none;
}

/* Информация о пользователе */

.userinfo {
	width:100%;
	margin-bottom:10px;
}

.userinfo td {
	padding:3px;
	vertical-align:top;
}

.userinfo textarea {
	width:100%;
	height:80px;
}

.userinfo .textbox {
	width:200px;
}

/* Добавление комментариев */

.addcomment {
	width:100%;
	border-collapse:separate;
	margin-bottom:10px;
	vertical-align:top;
}

.addcomment th {
	padding:4px;
	background:#28363C;
	color:#fff;
}

.addcomment textarea {
	width:100%;
	border:none;
	height:100px;
}

.textform {
	border:1px solid #ddd;
	background:#fff;
}

.commentform {
	line-height:25px;
	width:200px;
}

/* Стили для комментариев */

.answer {
	width:100%;
	margin:10px 0;
	border-collapse:separate;
}

.answer td {
	padding:0;
}

.answer th {
	background:#28363C;
	color:#fff;
	font-weight:normal;
	padding:4px;
	text-align:left;
}

.answer th a {
	color:#fff;
	text-decoration:underline;
	font-weight:bold;
}

.answer .comment_user_info {
	width:25%;
	padding:5px;
	font-size:0.9em;
	vertical-align:top;
	background:#2F363B;
}

.answer .user_comment {
	padding:5px 10px;
	vertical-align:top;
	background:#2F363B;
}

.comment_bottom td {
	background:#28363C;
	padding:3px 5px;
	color:#fff;
	font-size:0.9em;
}

.comment_bottom td a {
	color:#fff;
	text-decoration:underline;
}

.comment_bottom td a:hover {
	text-decoration:none;
}

/* Добавление новости */

.addnews {
	width:100%;
}

.addnews td {
	padding:3px;
}

.addnews textarea {
	width:100%;
	height:100px;
}

.addnews .textbox {
	width:200px;
}

/* Обратная связь */

.feedback {
	width:100%;
}

.feedback td {
	padding:3px;
}

.feedback textarea {
	width:100%;
	height:100px;
}

/* Восстановление забытого пароля */

.lostpassword td {
	padding:3px;
}

/* Персональные сообщения */

.pm {
	width:95%;
	border-collapse:separate;
}

.pm td {
	padding:3px;
}

.pm textarea {
	width:100%;
	border:0;
	height:100px;
}

/* Регистрация */

.registration td{
	padding:5px;
}

.registration .button1 {
	margin-bottom:0;
}

.registration .textbox {
	width:150px;
}

/* Поиск */

.searchmenu {
	width:100%;
	border:0;
	margin-bottom:10px;
}

/* Статистика */

.stats {
	width:100%;
	border-collapse:separate;
	margin-bottom:10px;
}

.stats td {
	vertical-align:top;
	padding:3px;
}

