* {
	padding:0;
	margin:0;
}

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

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

img {
	border:none;
}

p {
	margin-bottom:10px;
}

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

a:hover {
	text-decoration:none;
}

h1 {
	color:#00AEEF;
	font-size:1.8em;
	font-weight:normal;
	text-shadow:1px 1px 0px #000000;
}

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 {
	margin: auto;		/**равные отступы***/
    max-width: 1150px;	/**максимальная ширина**/
    min-width: 980px;	/**минимальная ширина**/
	width:92%;			/**ширина в процентах**/
	padding:0 1%;		/**поля сверху и снизу 0 справа и слва по 1 %**/
	overflow: hidden;/*--этот параметр для вывода блока последних каментов, чтоб не уезжала страница по горизонтали вправо в опере*/
}

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

#header {
	border-top:5px solid #00ADEE;
	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;
}

/*---forms---*/
.baseform .heading { color: #707070; font-size: 1.4em; }
.baseform, .mass_comments_action { margin: 0 0px 15px 0px; background-color: #f1f0ed; }
.mass_comments_action { padding: 10px 13px; }
	.baseform .dcont { padding: 13px 0; margin: 0 13px; }
		.baseform .dcont .heading { margin: 0; }

.tableform { width: 100%; }
	.tableform td { }
	.tableform td.label { width: 20%; vertical-align: top; padding-right: 0; font-weight: bold; }
	.fieldsubmit, .tableform td { padding: 10px 13px; border-top: 1px solid #fff; }
	.addnews { font-weight: bold; }
	.impot { color: #d51e44; font-weight: normal; }
	.checkbox { padding: 4px 0; line-height: 1em; }
		.checkbox input { margin-top: -2px; vertical-align: middle; }

.f_input { width: 300px; padding: 1px; }
.f_textarea { width: 458px; }
.fieldtr select, .textin, .f_textarea, .f_input, .xfields textarea, .xprofile textarea,
.xfields input, .xprofile input, .xfields select, .xprofile select, .mass_comments_action select, .logform li.lfield input { padding: 2px; background: #fff url("../images/fields.png") repeat-x; border: 1px solid #bcc0c2; }
.f_textarea, .editor_button select { padding: 0; }
.textin { padding: 2px; }


/* окно пользователя (по клику на Привет user) */
.clr { clear: both; }
.lcol, .rcol, form { display: inline; }
.lcol { float: left; } .rcol { float: right; }
.reset, .reset li { list-style: none; padding: 0; margin: 0; }

/*---login---*/
.logform li.lfield { margin-bottom: 10px; }
.logform li.lbtn { text-align: center; }
	.logform li.lfield input { width: 265px; }
		.logform li.lfchek input { width: 13px; border: none; background: none; }
		.logform li.lfchek label { display: inline; margin-bottom: 0.2em; }



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

#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;
}
/*---Userinfo---*/
.userinfo { padding-left: 125px; }
	.rateui { width: 85px; height: 17px; margin: 0 auto; padding-top: 4px; }
	.userinfo .lcol { margin-left: -125px; width: 110px; padding-right: 15px; }
		.userinfo .lcol .avatar { margin-bottom: 10px; padding: 4px; background-color: #fff; border: 1px solid #dfddd9; }
			.userinfo .lcol .avatar img { width: 100px; }

	.userinfo .rcol { width: 100%; }
		.userinfo .rcol ul { list-style: none; margin-left: 0; }
		.userinfo .rcol ul li { margin-bottom: 0.2em; } 

		.ussep { padding-top: 12px; background: url("../images/ussep.png") no-repeat; }
/* Классы для форм */

.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;
}
.tags_center a {color: #FF1D1D;}
/* Правая колонка */

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

#right a {
	/*text-decoration:none;
	color:#555;*/
}

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

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

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

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

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

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

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

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

.block img {
	margin:2px 2px;
}

.block li {
	list-style:none;
}

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

/*блок популярных новостей*/
.blockpopnew {
	background:#F2F0F0;
	padding:0 10px 10px;
	margin-bottom:10px;
	
}
.blockpopnew h2{
	color:#fff;
	
}
.blockpopnew  a {
	color: #595959;
	text-decoration:none;
	}

/*блок последних каментов*/
.blocklastcom {
	
	background:#F2F0F0;
	padding:0 10px 10px;
	margin-bottom:10px;
	
}
.blocklastcom  a {
	text-decoration:none;
	color: #595959;
	}
/* вывод последних каментов в модуле */

.com_span {
	border-bottom: 1px solid #00ADEF;
	padding: 1px;
	font-size: 9px;
	overflow:hidden;
	color: #595959;
}

.com_news a:link, .com_news a:visited, .com_news a:active, .com_news a:hover {
	text-decoration: none;
	color: #FF1D1D;
	font-style: bolder;
	font: 10pt sans-serif;
}

.com_line {
	clear: both;
	height: 2px;
	background: url({THEME}/images/com_line.gif) repeat-x;
}

.com_comment {
	border: 1px solid #eee;
	padding: 1px;
	margin: 1px;
	
	font-size: 9pt;
	
}

.com_comment > span, .com_news > span {
	right:210px;
	display:none;
	font-family: Verdana;
	font-size: 12px;
	color: #000;
	background: #62C4F2;
	border: 1px solid #000;
	border-radius: 5px;
	padding: 2px;
	margin: 3px;
	z-index: 100;
	position: absolute;
	width:400px;
	-webkit-border-radius: 5px; 
    -moz-border-radius: 5px;
}	


/*блок вывода тегов*/
.blocktag {
	background:#F2F0F0;
	padding:0 10px 10px;
	margin-bottom:10px;
	text-align: justify;
	
}
.blocktag a:hover {
	background: #fff;
	}
/* сами теги ссылки */
.clouds_xsmall {
	font-size: x-small;
	color: #245195;
}
.clouds_small {
	font-size: small;
	color: #306433;
}
.clouds_medium {
	font-size: medium;
	color: #F38721;
}
.clouds_large {
	font-size: large;
	color: #BF2124;
}
.clouds_xlarge {
	font-size: x-large;
	color: #EF1821;
}
/* Меню в левой колонке */

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

#menu li a {
	color:#3E3E3E;
	
	padding-left:32px;
	font-size:1.1em;
	font-weight:bold;
	text-decoration:none;
	display: block;
}

	
#menu li a:hover {
	background:url("../images/arrow.gif") no-repeat left top;
	text-decoration:none;
	color: #00ADEF;
	
}

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

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

#footer a {
	color:#448CCB;
}

/* новости по теме */
.news_po_teme_1  {background-color: #F2F0F0; padding-left: 10px; margin-top:10px; margin-bottom:10px;} .news_po_teme_1 a{color: #EF1821; font: 12px; font-weight:bold; } .news_po_teme_1 a:hover{color: #00AEEF;} .news_po_teme_1 li {list-style-type: none; /* Убираем маркеры */
   }
   
   .how {background-color:#098876; height: 20px; padding:5px 0px 0px 10px;}
   .how  a{color: #fff; font: 14px; font-weight:bold;}
   .how  a:hover {color: #FFE622;}
   .how_1 {background-color:#098876; float:right;padding-right:5px;} 
   .how_1  a{color:fff;}

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

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

.shorta a {
	color:#0046AA;
}

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

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

.answer {
	width:100%;
	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 a:link{ color: #FF0035;}
.answer .user_comment {
	background:#f9f9f9;
	padding:5px 10px;
	vertical-align:top;
}


.comment_bottom td {
	background:#eeeeee;
	padding:3px 5px;
	color:#00aeef;
	font-size:0.9em;
}

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

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

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

.addcomment {
	width:100%;
	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;
}

/* ==================== Диалоговые и всплывающие окна 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 #CCCCCC;
	color: #222222;
}
.ui-widget-content a {
	color: #222222;
}
.ui-widget-header {
	background: #F9F9F9;
	border: 1px solid #CCCCCC;
	color: #000;
	font-weight: bold;
}
.ui-widget-header a {
	color: #000;
}
.ui-state-default, .ui-widget-content .ui-state-default {
	background: #F9F9F9;
	border: 1px solid #CCCCCC;
	color: #000;
	font-weight: bold;
}
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited {
	color: #000;
	text-decoration: none;
}
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus {
	background: #D8D8D8;
	border: 1px solid #CCCCCC;
	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 #CCCCCC;
	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 #CCCCCC;
	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;
	background-color: #00ADEE;
	
}

.noreg {
	background-color: #F2B4B7;
	height: 24px;
	padding-top:8px;

}
/*Link to news *by DeN*/
#news_address {
width:auto;
 text-align:center;
 padding:10px;
 background:#F9F9F9;
 }
.na_inp {
width:100%;
 padding:0px;
 margin:0px 0 0px 0;
 }
 
 .topnews{font:normal 11px Tahoma;margin-bottom:7px;color:#999;}
.topnews a, .topnews a:link, .topnews a:active, .topnews a:visited{display:block;margin:4px 0;padding:4px;background:#f7f7f7;color:#00ADEE;font:bold 12px Tahoma;text-decoration:underline;}
.topnews a:hover{text-decoration:none;color:#999;background:#f0f0f0;}
.editnews {padding: 3px; background: #F7F7F7;}
.formen {padding-left:5px;}

/* стили для вывода последних каментов */
/* -- */


.lastcomm li {
	position: relative;
	cursor: pointer;
	list-style-type: none; /* Убираем маркеры */
	}
	.lcommbox {
		position: absolute;
		z-index: 3;
		right: 99999px;
		top: 0px;
		padding:10px; /* -- */
		margin-right: 15px; /* -- */
		border: 1px solid #00ADEE; /* -- */
		background: #fff; /* -- */
		font-size: 12px; /* -- */
		}
		.lcomment.hover .lcommbox {right: 100%;} /* если нужно, чтобы комментарий показывался слева - заменить на right: 100%; */
		.lcomment {
			padding: 5px; /* -- */
			background: #fff; /* -- */
			}
			.lcomment a {text-decoration: none;} /* -- */
			.lcomment.even {
				background: #F2F0F0; /* -- */
				}
			.lcomment.hover {
				background: #fff; /* -- */
				padding: 4px; /* -- */
				border: solid 1px #00ADEE; /* -- */
				border-radius: 4px;  /* -- */
				-moz-border-radius: 4px; /* -- */
				-webkit-border-radius: 4px; /* -- */
				}
				.lcomment.hover a, .lcomment.hover a:hover {
					color: #3d3d3d; /* -- */
					}
			.lcomment span {
				color: #b3b7ba; /* -- */
				}
		.lcom_info {
			margin: -9px -9px 10px -9px; /* -- */
			padding: 10px; /* -- */
			background: #fafafa; /* -- */
			color: #0066B6; /* -- */
			}
			
	.top_news	{display: inline; padding:10px; color: red; float: left; font-size:1.3em; font-weight:normal;}	
/*--- оформление Block_Pro ---*/			
.bp_item 	{
			float: left; /* Выравнивание изображения по левому краю */
			border:none;
			padding-right: 8px;
			}
.text1 {	background: url(../images/line-news-footer1.png) no-repeat left bottom; font: 12px/16px "Verdana", sans-serif;color: #000;border-bottom: 1px solid #ABAFB0;}
.text1  span {text-decoration: none;}
.text1  a {text-decoration: none;}
.text2{	background: url(../images/line-news-footer1.png) no-repeat left bottom;font: 12px/16px "Verdana", sans-serif;color: #000;}
span.themes{color:#00ADEF;cursor:pointer;text-transform: uppercase;font-size:14px;}
span.gadg{color:#595959; font-family:Verdana; font-size:12px; font-weight:bold;}
			