html, body, form, ul,li
{
    height: 100%;
    padding:0;
	margin:0;
    overflow:overflow-x;
}
body
{
	background: #fff;
	color:black;
	font-family: Verdana, sans-serif;
	font-size: 81.3%;
}
table, tr, td
{
	font-family: Verdana, Sans-Serif;
	font-size:12px;
}
ol, ul { list-style:none; }

h1, h2, h3, h4, h4, h6
{
	font-family: Verdana, sans-serif;
	color: #686868;
	font-weight: normal;
	margin: 0px;
	padding: 0px;
}
a
{
	color:#666666;
}
h1 a, h2 a, h3 a
{
	text-decoration: none;
	color:#686868;
}
h1
{
  	letter-spacing: -1px;
  	font-size: 162.5%;
}
h2
{
  	font-size: 150%;
}
h3
{
  	font-size: 137.5%;
}
h1 a:hover
{
	text-decoration: underline;
}
#png
{
	width: expression(this.firstChild.width);
	filter: expression("progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+this.firstChild.src+"', sizingMethod='image')");
	/*background: expression("transparent url("+this.firstChild.src.replace(".png",".gif")+") no-repeat");*/
	background: none !important;
}
#topnav { padding-top: 40px; color: #ffffff; font-size: 12px;}
#topnav a { text-decoration: underline; color: #ffffff; }
#main1 {padding-right: 18px;}
.lefttitle { padding-left: 28px; color: #686868; }
.lefttext { padding-left: 30px; color: #242420; }
#adv-fut { padding: 8px; padding-left: 28px; }
#adv-center { padding: 7px; }
#fnews { padding-left: 21px; }
.edit, .edit_2, .xfield_edit 
{
	border:1px solid #c4c4c4;
	color:#666;
	padding:4px;
}
.edit
{
	font:11px Tahoma, Verdana;
}
.edit_2
{
	margin-top:4px;
	margin-bottom:4px;
	font:12px Tahoma, Verdana;
}
.edit_file
{
	font:11px Tahoma, Verdana;
	padding:2px;
	border:1px solid #c4c4c4;
	margin-top:4px;
	margin-bottom:4px;
}
.xfield_edit
{
	font:11px Tahoma, Verdana;
}
.atext
{
	padding:4px;
	font:12px Tahoma, Verdana;
	border:1px solid #c4c4c4;
}
a.category
{
 	color:#da7925;
}
a.category:hover
{
	text-decoration:underline;
}
a.autor
{
	color:#666;
}
a.autor:hover {}

/*		Панель "загрузки"	*/
#loading-layer
{
	padding:12px;
    border:3px solid #e4e4e4;
    width:150px;
    text-align:center;
    vertical-align:middle;
    background-color:#FFF;
    display:none;
    font:11px Tahoma, Verdana;
    color:#666;
}
#copyright1 { padding:15px; padding-top: 45px; color: #fff; }
#copyright1 a { color: #fff; text-decoration:underline }
/* -------------------------------------------------------------------------- *

 *		Новостная навигация ( самое новое, самое популярное и т.д. )

 * --------------------------------------------------------------------------- */
.news_navigation
{
  	 border-bottom:1px dashed #767676;
	 padding-bottom:10px;
 	 margin-bottom:25px;
}
.news_navigation a
{
 	 font:12px Tahoma, Verdana;
	 color:#da7925;
}
.news_navigation a:hover
{
	 text-decoration:none;
}
/* -------------------------------------------------------------------------- *

 *		Облако тегов

 * -------------------------------------------------------------------------- */
.tags
{
	text-align:left;
	font-size: 15px;
	margin-bottom:20px;
	margin-right:16px;
}
.tags a
{
	color: #da7925;
	text-decoration: none;
	line-height:1.6em;
	font-family:Verdana;
}
.tags a:hover { border-bottom:1px dashed #336699; }
a.all_tags
{
	font:12px Tahoma, Verdana;
	text-decoration:none;
}
a.all_tags:hover
{
	text-decoration:underline;
	border:0px solid #FFF;
}
.tags-short { 
	font:11px Tahoma, Verdana;
	text-decoration:none;
	color: #666666; }
.tags-short a { text-decoration: underline; color: #666666; }
.tags-short a:hover { text-decoration: none; }
/* -------------------------------------------------------------------------- *

 *    Элементы основного меню и подменю

 * -------------------------------------------------------------------------- */
 #menu
{
	color:#242420;
	vertical-align:middle!important;
	font:12px Tahoma, Verdana;
	cursor:hand;
}
#menu li
{
	cursor: hand;
	height: 18px;
	padding-top:4px;
	padding-bottom:4px;
	background: url(../images/mb.gif) bottom repeat-x;
}
#menu li div
{
	cursor:hand;
}
#menu li a
{
	text-decoration:none;
	color:#242420;
}
#menu li a:hover
{
	text-decoration: underline;
}
/* -------------------------------------------------------------------------- *

 *		Вид основных блоков (Жёлтый, Синий, Серый)

 * -------------------------------------------------------------------------- */
#b_gray 	 { background-color: #edeceb; margin-right:16px; zoom:1; }
.text
{
	padding-left: 12px;
	padding-right: 12px;
	padding-top:5px;
	padding-bottom:5px;
}
.text ul
{
	padding-top:15px;
}
.text ul li
{
	color:#666;
	font:11px Tahoma, Verdana;
	padding:4px;
}
.text li a
{
	text-decoration:none;
	color:#666;
	font:11px Tahoma, Verdana;
}
.text li a:hover
{
	text-decoration:underline;
}
/* -------------------------------------------------------------------------- *

 *		Постраничная навигация

 * -------------------------------------------------------------------------- */
.navigation
{

	clear:both;
	padding-top:20px;
}
.navigation span
{
	color:#666;
	font-size:20px;
	padding-top:10px;
}
.navigation a
{
	font-size:20px;
	text-decoration: none;
	color:#da7925;
}
.navigation a:hover
{
	border-bottom:1px dashed #666;
}
/* -------------------------------------------------------------------------- *

 *  	Оформление новостей

 * -------------------------------------------------------------------------- */
#story
{
	border-bottom: 1px dashed #767676;
	margin-bottom: 28px;
}
#info
{
	font:10px Verdana, Tahoma;
	color:#666;/*#bec2cb;*/
	padding-top:15px;
	padding-bottom:5px;
}
#c_story
{
	padding-top:20px;
	margin-bottom:5px;
}
#c_story a
{
	text-decoration:none;
	color:#999;
}
#c_story a:hover
{
	text-decoration:underline;
}
#thanks
{
	margin-top:5px;
	margin-bottom:15px;
}
#full_link
{
	padding-top:15px;
	padding-right: 10px;
	color: #767676;
}
#full_link a
{
	text-decoration: none;
	color: #767676;
}
#full_link a:hover
{
	text-decoration: underline;
	color: #767676;
}
.category-title { color:#da7925; }
.category-title a { color:#da7925; }
.c_autor { color: #666; font-size: 10px; }
.c_autor a { color: #666; font-size: 10px; text-decoration: underline }
  
/* -------------------------------------------------------------------------- *

 *		Оформление тегов в новостях

 * -------------------------------------------------------------------------- */
#tag
{
	margin-top:3px;
	margin-bottom:7px;
	padding-bottom:5px;
	background: url(../img/tag.gif);
	background-repeat:no-repeat;
	padding-left:25px;
	color:#666;
	font:11px Tahoma, Verdana;
	height:16px;
}
#tag a
{
	text-decoration: underline;
	color:#666;
}
#tag a:hover { text-decoration:none; }
/* -------------------------------------------------------------------------- *
 *		Оформление блока ошибок
 * -------------------------------------------------------------------------- */

#info_err
{
	font:12px Tahoma, Verdana;
}

#info_err a
{
	font:12px Tahoma, Verdana;
	color: #da7925;
	text-decoration: none;
}

#info_err a:hover
{
	text-decoration: underline;
}
/* -------------------------------------------------------------------------- *
 *		Панель авторизации
 * -------------------------------------------------------------------------- */

#login_form
{
   position: absolute;
	width: 24%;
	left: 38%;
  	top: 85px;
  	background: #fff;
	border:solid #eee 5px;
	display: none;
  	z-index: 99;

    overflow: hidden;
}

#login_form #border
{
   border:1px solid #c4c4c4;
   padding:15px;
   padding-left:65px
}

#login_form a
{
	font:11px Tahoma, Verdana;
	text-decoration: none;
	color:#da7925;
}

#login_form a { text-decoration: underline; }

#login_form a:hover { text-decoration: none; }
/* -------------------------------------------------------------------------- *
 *		Редактирование профиля
 * -------------------------------------------------------------------------- */

#options
{
	clear:both;
	margin-top:15px;
	margin-bottom:20px;
}

/* comments */

#comments
{
	padding:6px;
}

.comments_gray
{
	background-color:#fafafa;
	border:1px solid #c4c4c4;
}

#comments .line
{
	text-align:right;
	clear:both;
	font:11px Tahoma, Verdana;
	padding-top:5px;
}

#comments .line a
{
	text-decoration: none;
	color:#666;
}
.line
{
	text-align:right;
	clear:both;
	font:11px Tahoma, Verdana;
	padding-top:5px;
}
.line a
{
	text-decoration: none;
	color:#666;
}
.line a:hover
{
	text-decoration: underline;
}
#comments .line a:hover
{
	text-decoration: underline;
}
.reputations a { color:#000; text-decoration: none; }
.reputations a:hover { text-decoration: underline; }

/* PM */

.pm_head
{
	font: 12px Tahoma, Verdana;
	padding:4px;
}

.pm_list
{
	font:11px Tahoma, Verdana;
	color: #757575;
	padding:4px;
}
.pm_list a
{
	color:#da7925;
	font-weight:normal;
	text-decoration: none;
}

.pm_list a:hover
{
	text-decoration: underline;
}

.pm_unread
{
    padding:4px;
}

/* attachment */

#attachment
{
		font-style: italic;
}
/* -- Пережитки старины -- */

#reputation
{

}

#reputation a
{
	text-decoration: none;
	color:#000;
}
#reputation a:hover
{
	text-decoration: underline;
}

.bbcodes
{
 	padding:4px;
 	color:#666;
 	border:1px solid #c4c4c4;
 	background-color:#FFF;
	width: 100%;
}

.editor_button
{
	float:left;
	cursor:pointer;
	padding-left: 2px;
	padding-right: 2px;
}

.editor_buttoncl
{
	float:left;
	cursor:pointer;
	padding-left: 1px;
	padding-right: 1px;
	border-left: 1px solid #BBB;
	border-right: 1px solid #BBB;
}
.editbclose
{
	float:right;
	cursor:pointer;
}
div.title_quote
{
 	font-size:10px;
 	padding-bottom:3px;
}
div.quote
{
	padding:6px;
	padding-left:15px;
	border-left:4px solid #f4f4f4;
	font-style: italic;
}

/* ==================== Репутация */
.repa {
margin:20px 10px 20px 10px;
padding:10px;
border:1px solid #DDDDDD;
background-color:#FFFFFF;
}

.repa {
color: #757575;
text-decoration: none;
}
.repa a {
color: #666;
text-decoration: none;
}
.repa a:hover {
color: #666;
text-decoration: underline;
}