* {
	padding:0;
	margin:0;
	border:0;
}

html {
	height:100%;
}

body {
	font:0.7em Verdana;
	color:#555;
	position:relative;
	min-height:100%;
	background:#fff;
}

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

a {
	color:#00A99D;
	text-decoration:none;
}

a:hover {
	text-decoration:underline;
}

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

h2 {
	height:47px;
	color:#F26522;
	font:1.2em Arial;
	font-weight:bold;
	line-height:47px;
	background:url("../images/h2.gif");
	margin:0 -10px 10px -15px;
	padding-left:12px;
}

h2 img {
	float:left;
	margin:0 10px 0 -12px;
}

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

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

.button {
	border:1px solid #80DAEB;
	background:#2ED3FC;
	font:1em Verdana;
	color:#fff;
	padding:0 3px;
	height:1.6em;
	display:inline-table;
	vertical-align:top;
}

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

#wrapper {
	min-width:1000px;
	padding-bottom:92px;
}

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

/* Шапка */

#header {
	background:url("../images/header.gif") repeat-x top;
}

#header .inside1 {
	background:url("../images/header_left.jpg") no-repeat left top;
}

#header .inside2 {
	background:url("../images/header_right.jpg") no-repeat right top;
	height:248px;
}

/* Логотип */

.logo {
	position:relative;
	top:100px;
	left:20px;
}

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

.authorization {
	position:relative;
	top:115px;
	left:70px;
	padding:0 0 0 50px;
	background:url("../images/search.gif") no-repeat left;
	height:35px;
	margin-right:310px;
}

.authorization form {
	padding:12px 0 7px;
}

.authorization .textbox {
	width:100px;
}

.authorization .right {
	padding-top:5px;
	margin-right:50px;
}

.authorization .right a {
	background:url("../images/dog.gif") no-repeat left top;
	padding-left:15px;
}

/* Навигация */

#nav {
	padding-left:255px;
	border-bottom:2px solid #E3E3E3;
	padding-bottom:5px;
}

#nav ul {
	margin-right:45px;
}

#nav li {
	float:right;
	list-style:none;
	margin-left:25px;
}

#nav li a {
	color:#00BFF3;
	font-size:1.5em;
}

/* Поиск */

#nav .textbox {
	width:30%;
}

/* Контент */

#content {
	margin-left:255px;
	padding:30px 25px 0 0;
}

.postfooter {
	border-bottom:1px solid #33D5FD;
	padding-bottom:4px;
	margin-bottom:7px;
}

/* Новостной блок */

.news {
	overflow:hidden;
	margin-bottom:7px;
}

.news p {
	margin-bottom:10px;
}

.news img {
	margin:0 5px;
}

/* Ссылки снизу новостного блока */

.bottomlink {
	text-align:right;
	height:16px;
	margin-bottom:15px;
}

.bottomlink a {
	border-left:4px solid #00AEEF;
	background:#E8E8E8;
	padding:2px 5px;
	color:#00AEEF;
	font-weight:bold;
	text-decoration:none;
	margin-left:5px;
}

.bottomlink a:hover {
	background:#f4f4f4;
	text-decoration:none;
}

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

#sidebar {
	width:234px;
	float:left;
	margin:-20px 15px 0 6px;
}

#sidebar a {
	color:#0076A3;
}

#sidebar li {
	list-style:none;
}

#sidebar li a {
	background:url("../images/list.gif") no-repeat left top;
	padding-left:10px;
}

.block {
	background:#f8f8f8;
	padding:0 10px 10px 15px;
}

/* Левое меню */

#menu {
	margin-left:10px;
}

#menu li {
	margin:1px 0;
}

#menu li a {
	color:#00AEEF;
	font:1.2em Arial;
	font-weight:bold;
	background:none;
	padding:0;
}

#menu ul {
	margin-left:15px;
}

#menu ul li a {
	color:#464646;
	font-weight:normal;
}

/* Подвал */

#footer {
	position:absolute;
	bottom:0;
	width:100%;
	background:url("../images/footer.png") repeat-x bottom;
	min-width:1000px;
	text-align:center;
	font-weight:bold;
	color:#fff;
	font-size:1.2em;
}

#footer .inside1 {
	background:url("../images/footer_left.png") no-repeat left bottom;
}

#footer .inside2 {
	background:url("../images/footer_right.png") no-repeat right bottom;
	height:40px;
	padding-top:52px;
}

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

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

.right {
	float:right;
}

.blue {
	font-weight:bold;
	color:#00AEEF;
}

/* Класс для других новостей */ 

.other ul {
	margin-left:30px;
}

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

.addcomment {
	width:462px;
	border-collapse:separate;
	margin-bottom:10px;
	vertical-align:top;
	text-align:left;
}

.addcomment th {
	padding:4px;
	background:#3FB8E4;
	color:#fff;
	text-align:center;
}

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

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

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

.center {
	text-align:center;
	width:100%;
}

.center .addcomment {
	margin:0 auto 5px;
	border:1px solid #ccc;
}

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

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

.answer td {
	padding:0;
}

.answer th {
	background:#3FB8E4;
	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 {
	background:#eee;
	width:20%;
	padding:5px;
	font-size:0.9em;
	vertical-align:top;
}

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

.comment_bottom td {
	background:#3FB8E4;
	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;
}

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

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

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

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

.userinfo .textbox {
	width:200px;
}

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

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

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

/* Панель управления */

.panel {
	border-collapse:collapse;
	width:100%;
}

.panel td {
	padding-right:15px;
}
