* {
	padding:0;
	margin:0;
}

body {
	font:0.7em Verdana;
	color:#595959;
	background:#fff;
}

/* ==================== Информационное оконо загрузки AJAX */
#loading-layer {
	   display:none;
          font-family:  Verdana;font-size: 11px;
          background:#000;padding:10px;
          text-align:center;
  	   border:1px solid #000;
  	   color: #FFF;
  	   border-radius: 5px;
  	   -webkit-border-radius:  5px; 
  	   -moz-border-radius: 5px;
}	  

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

img {
	border:none;
}

p {
	margin-bottom:10px;
}

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

a:hover {
	text-decoration:underline;
}

h1 {
	color:#00AEEF;
	font-size:1.8em;
	font-weight:normal;
}

h2 {
	font-size:1.2em;
	color:#fff;
	background:url("../images/h2.png") no-repeat;
	height:33px;
	line-height:33px;
	padding-left:30px;
	margin:0 -10px 5px;
}

h3 {
	background:url("../images/h3.gif") no-repeat left center;
	color:#80C42E;
	font-size:1.8em;
	padding:7px 0 0 40px;
	margin:0 0 0 20px;
	font-weight:normal;
}

h4, h5 {
	color:#1CBBB4;
	font-size:1.2em;
	font-weight:normal;
	padding-left:20px;
	margin-bottom:10px;
}

h4 {
	background:url("../images/search.gif") no-repeat left center;
}

h5 {
	background:url("../images/author.gif") no-repeat left center;
}

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

#wrapper {
	min-width:980px;
	width:98%;
	padding:0 1%;
	width:expression(((document.documentElement.clientWidth || document.body.clientWidth) < 980)? "980px" : "98%");
}

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

#header {
	border-top:5px solid #F05555;
	text-align:right;
}

#logo {
	margin:15px 0 0 20px;
	float:left;
}

#nav {
	margin:15px 20px 0 0;
}

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

#navigation {
	margin:20px 0 2px;
}

#navigation li {
	list-style:none;
	display:block;
	float:right;
	margin-left:7px;
	height:28px;
}

#navigation li a {
	text-transform:lowercase;
	padding:5px 20px;
	color:#fff;
	font-size:1.2em;
	line-height:28px;
	height:28px;
	background:#0F5069 url("../images/menu_list.gif") no-repeat right top;
}

#navigation li a:hover {
	background:#0188BA url("../images/menu_list_current.gif") no-repeat right top;
	text-decoration:none;
}

#navigation .current a {
	background:#0188BA url("../images/menu_list_current.gif") no-repeat right top;
}

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

#panel {
	background:#3E3E3E url("../images/panel1.gif") repeat-x bottom;
	margin-top:50px;
	text-align:left;
	color:#fff;
}

#panel .inside1 {
	background:url("../images/panel2.gif") no-repeat bottom left;
}

#panel .inside2 {
	background:url("../images/panel3.gif") no-repeat bottom right;
	padding:15px 10px 45px 20px !important;
	padding:15px 10px 15px 20px;
}

#panel a {
	color:#D7D7D7;
}

.red a {
	color:#f00;
}

#panel ul {
	list-style:none;
	float:right;
	padding:15px 0 0 0;
}

#panel li {
	margin-bottom:5px;
}

#panel li a {
	background:url("../images/panel_list.gif") no-repeat left center;
	padding-left:12px;
}

#panel .inside2 .left {
	width:48%;
}

#panel .inside2 .right {
	width:49%;
	padding-left:20px;
	background:url("../images/lines.gif") repeat-y left;
}

#panel table {
	width:100%;
	vertical-align:top;
}

/* Классы для форм */

.button {
	border:1px solid #393939;
	color:#1CBBB4;
	font:0.9em Verdana;
	height:19px;
	background:#323232;
	padding:0 5px;
}

.button1 {
	border:1px solid #999;
	color:#666;
	font:0.9em Verdana;
	height:19px;
	background:#fff;
	padding:0 5px;
}

.search {
	border:1px solid #B2B2B2;
	background:#fff;
	height:16px;
	padding:0;
	margin:0;
	width:82%;
	vertical-align:bottom;
}

.textbox {
	border:1px solid #B2B2B2;
	background:#fff;
	height:16px;
	padding:0;
	margin:0;
	width:15%;
	vertical-align:bottom;
}

/* Контент сайта */

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

#content {
	margin-left:220px;
	padding-left:14px;
}

/* Топ последних файлов */

#top {
	background:url("../images/top.png") repeat-x;
	margin-bottom:14px;
}

#top .inside1 {
	background:url("../images/top_left.png") no-repeat left;
}

#top .inside2 {
	background:url("../images/top_right.png") no-repeat right;
	height:204px;
	padding:0 0 0 185px;
}

/* Блок с последним файлом */

.last_file {
	width:33%;
	background:url("../images/last_file.png") no-repeat top center;
	text-align:center;
	float:left;
	margin:7px 0 0 0;
	padding:7px 0 0 0;
}

.last_file img {
	margin-bottom:10px;
}

.last_file a {
	color:#333;
	font-size:1.2em;
}

/* Центральная колонка */

#main {
	margin-right:220px;
	padding-right:8px;
}

#main ul {
	margin-bottom:10px;
}

#main li {
	list-style-position:inside;
}

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

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

#right {
	width:220px;
	float:right;
}

#right a {
	text-decoration:underline;
	color:#555;
}

#right a:hover {
	text-decoration:none;
}

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

#sidebar {
	width:220px;
	float:left;
}

#sidebar a {
	text-decoration:underline;
	color:#555;
}

#sidebar a:hover {
	text-decoration:none;
}

/* Информационные блоки */

.block {
	background:#F2F0F0;
	padding:0 10px 10px;
	margin-bottom:10px;
}

.block form {
	line-height:20px;
	padding-left:20px;
}

.block img {
	margin:5px 3px;
}

.block li {
	list-style:none;
}

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

/* Меню в левой колонке */

#menu li {
	padding:5px 0;
	border-bottom:1px solid #ddd;
}

#menu li a {
	color:#9B9B9B;
	background:url("../images/arrow.gif") no-repeat left top;
	padding-left:32px;
	font-size:1.1em;
	font-weight:bold;
	text-decoration:none;
}

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

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

#footer {
	border-top:5px solid #F05555;
	padding:7px 0;
	text-align:center;
	font-size:0.9em;
}

#footer a {
	color:#448CCB;
}

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

.clearing {
	height:0;
	clear:both;
}

.left {
	float:left;
}

.right {
	float:right;
}

.red {
	color:#F26C4F;
}

.green {
	color:#47958A;
}

/* Темы */

.shortnews {
	clear:left;
}

.shortnews img {
	margin-right:5px;
}

.topic img {
	margin-right:5px;
}

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

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

.answer td {
	padding:0;
}

.answer th {
	background:#00AEEF;
	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:25%;
	padding:5px;
	font-size:0.9em;
	vertical-align:top;
}

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

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

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

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

.addcomment th {
	padding:4px;
	background:#00AEEF;
	color:#fff;
}

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

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

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

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

.registration td{
	padding:5px;
}

.registration .textform {
	width:150px;
}

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

.addnews {
	width:95%;
}

.addnews td {
	padding:3px;
}

.addnews textarea {
	border:1px solid #ddd;
	width:100%;
	height:100px;
}

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

.feedback {
	width:98%;
}

.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;
}

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

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

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

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

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

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

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

/* Поиск */

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

.white a {
	color:#fff;
}e a {
	color:#fff;
}

/* Удаление индекса яндекса */

.inv {
  display: none
}

/* ==================== Автозаполнение облака тегов */
.autocomplete-w1 { position:absolute; top:0px; left:0px; margin:8px 0 0 6px; /* IE6 fix: */ _background:none; _margin:0; }
.autocomplete { border:1px solid #999; background:#FFF; cursor:default; text-align:left; max-height:350px; overflow:auto; margin:-6px 6px 6px -6px; /* IE6 specific: */ _height:350px;  _margin:0; _overflow-x:hidden; }
.autocomplete .selected { background:#F0F0F0; }
.autocomplete div { font-size: 11px;font-family: verdana;padding:2px 5px; white-space:nowrap; }
.autocomplete strong { font-weight:normal; color:#3399FF; }

/* ==================== Быстрый поиск на сайте */
#searchsuggestions { border-width:1px; border-color:#919191; border-style:solid; width:300px; background-color:#5c9ccc; font-size:10px; line-height:14px; }
#searchsuggestions a { padding:5px;display:block; background-color:#ffffff; clear:left; height:70px; text-decoration:none; }
#searchsuggestions a:hover { background-color:#fdd08b; color:#ffffff; }
#searchsuggestions a span.searchheading { background: #5c9ccc; display:block; font-weight:bold; padding:5px; color:#ffffff; }
#searchsuggestions a:hover span.searchheading { color:#ffffff; }
#searchsuggestions a span {color:#555555; }
#searchsuggestions a:hover span { color:#0000; }
#searchsuggestions span.seperator { float:right; padding-right:15px; margin-right:5px;}
#searchsuggestions span.seperator a { background-color:transparent; display:block; height:auto; color:#ffffff; }
#searchsuggestions span.notfound {  padding:5px;background-color:#ffffff; display:block; height:auto; color:#00000; }
/* ==================== Диалоговые и всплывающие окна jQuery UI */
.ui-helper-clearfix:after {
	clear: both;
	content: ".";
	display: block;
	height: 0;
	visibility: hidden;
}
.ui-helper-clearfix {
	display: inline-block;
}
* html .ui-helper-clearfix {
	height: 1%;
}
.ui-helper-clearfix {
	display: block;
}
.ui-icon {
	background-repeat: no-repeat;
	display: block;
	overflow: hidden;
	text-indent: -99999px;
}
.ui-widget {
	font-family: Tahoma, Lucida Sans, Arial, sans-serif;
	font-size: 11px;
}
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
	font-family: tahoma, Arial, sans-serif;
	font-size: 11px;
}
.ui-widget-content {
	background: #fcfdfd 50% bottom repeat-x;
	border: 1px solid #a6c9e2;
	color: #222222;
}
.ui-widget-content a {
	color: #222222;
}
.ui-widget-header {
	background: #5c9ccc url(../images/ui-bg_gloss-wave.png) 50% 50% repeat-x;
	border: 1px solid #4297d7;
	color: #ffffff;
	font-weight: bold;
}
.ui-widget-header a {
	color: #ffffff;
}
.ui-state-default, .ui-widget-content .ui-state-default {
	background: #dfeffc url(../images/ui-bg_glass_85.png) 50% 50% repeat-x;
	border: 1px solid #c5dbec;
	color: #2e6e9e;
	font-weight: bold;
}
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited {
	color: #2e6e9e;
	text-decoration: none;
}
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus {
	background: #d0e5f5 url(../images/ui-bg_glass_75.png) 50% 50% repeat-x;
	border: 1px solid #79b7e7;
	color: #1d5987;
	font-weight: bold;
}
.ui-state-hover a, .ui-state-hover a:hover {
	color: #1d5987;
	text-decoration: none;
}
.ui-state-active, .ui-widget-content .ui-state-active {
	background: #f5f8f9 50% 50% repeat-x;
	border: 1px solid #79b7e7;
	color: #e17009;
	font-weight: bold;
}
.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited {
	color: #e17009;
	text-decoration: none;
}
.ui-widget :active {
	outline: none;
}
.ui-state-error {
	background: #fef1ec 50% 50% repeat-x;
	border: 1px solid #cd0a0a;
	color: #cd0a0a;
}
.ui-widget-header .ui-icon {
	background-image: url(../images/ui-icons.png);
}
.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {
	background-image: url(../images/ui-icons_h.png);
}
.ui-icon-close {
	background-position: -80px -128px;
}
.ui-icon-closethick {
	background-position: -96px -128px;
}
.ui-button .ui-button-text {
	display: block;
	line-height: 1.4;
}
.ui-button-text-only .ui-button-text {
	padding: .4em .8em;
}
input.ui-button {
	padding: .4em 1em;
}
.ui-button-set {
	margin-right: 7px;
}
.ui-button-set .ui-button {
	margin-left: 0;
	margin-right: -.3em;
}
button.ui-button::-moz-focus-inner {
	border: 0;
	padding: 0;
}
.ui-dialog {
	overflow: hidden;
	padding: .2em;
	position: absolute;
	width: 300px;
}
.ui-dialog .ui-dialog-titlebar {
	padding: .5em 1em .3em;
	position: relative;
}
.ui-dialog .ui-dialog-title {
	float: left;
	margin: .1em 16px .2em 0;
}
.ui-dialog .ui-dialog-titlebar-close {
	height: 18px;
	margin: -10px 0 0 0;
	padding: 1px;
	position: absolute;
	right: .3em;
	top: 50%;
	width: 19px;
}
.ui-dialog .ui-dialog-titlebar-close span {
	display: block;
	margin: 1px;
}
.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus {
	padding: 0;
}
.ui-dialog .ui-dialog-content {
	background: none;
	border: 0;
	overflow: hidden;
	padding: .5em 1em;
	position: relative;
	zoom: 1;
}
.ui-dialog .ui-dialog-buttonpane {
	background-image: none;
	border-width: 1px 0 0 0;
	margin: .5em 0 0 0;
	padding: .3em 1em .5em .4em;
	text-align: left;
}
.ui-dialog .ui-dialog-buttonpane button {
	cursor: pointer;
	float: right;
	line-height: 1.4em;
	margin: .5em .4em .5em 0;
	overflow: visible;
	padding: .2em .6em .3em .6em;
	width: auto;
}
.ui-dialog .ui-resizable-se {
	bottom: 3px;
	height: 14px;
	right: 3px;
	width: 14px;
}
.ui-draggable .ui-dialog-titlebar {
	cursor: move;
}
