html, body
{
	padding: 0 0 0 0;
	margin: 0 0 0 0;
	height: 100%;
	width: 100%;
}

body
{
	color: #000000;
	background-color: #ffffff;
}

body, td
{
	font-size: 11px;
	font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
}

table, td
{
	padding: 0 0 0 0;
	margin: 0 0 0 0;
	border-collapse: collapse;
	border-width: 0px;
	vertical-align: top;
}

img
{
	border-width: 0;
}

form
{
	margin: 0;
}

object, embed
{
	margin: 0;
	padding: 0;
}

em
{
	font-style: normal;
	font-weight: bold;
	color: #ff0000;
}

div
{
	box-sizing: content-box;
	-moz-box-sizing: content-box;
}

#fix_png, td#fix_png
{
	filter: expression(fix_png(this));
}

blockquote, pre
{
	font-family: "Courier New", "Lucida Console";
}

hr
{
	color: #000000;
	background: #000000;
	border: 0px solid #000000;
	height: 2px;
}

.hvcenter
{
	text-align: center;
	vertical-align: middle;
}

/* Пейджер */
table.pager_links
{
	margin-top: 5px;
}

table.pager_links td
{
	color: #666666;
	font-size: 12px;
}

a.pager_page, .pager_page_sel, a.pager_page:link, a.pager_page:visited
{
	display: block;
	width: 18px;
	height: 18px;
	margin: 0px 2px 2px 2px;
	float: left;
	clear: none;
	background: #ffffff;
	color: #333333;
	text-align: center;
	text-decoration: none;
	border: 1px #333333 solid;
	font-weight: bold;
}

a.pager_page:active, a.pager_page:hover
{
	border: 1px #333333 solid;
	background: #eeeeee;
	text-decoration: none !important;
}

.pager_page_sel
{
	border: 1px #333333 solid;
	background: #333333;
	color: #ffffff;
}

.border
{
	padding: 1px;
	border: #4060b0 1px solid;
}

.pic
{
	text-align: center;
	padding: 16px 0px 16px 0px;
}

.pic img
{
	border: black 1px solid;
}

.ui_pic_table
{
	width: 100%;
	height: 100%;
}

.ui_pic_table td
{
	text-align: center;
	vertical-align: middle;
}

.code
{
	display: block;
	padding: 16px 16px 16px 16px;
	background: #eeffee;
	margin: 16px 0px 16px 0px;
	border: 1px solid #008000;
}

textarea, select
{
	font-size: 12px;
	padding: 2px;
	border: #000000 1px solid;
	color: #2f2f2f;
	background: white url(/ui/text.gif) repeat-x;
}

textarea:hover, select:hover
{
	border: #0080ff 1px solid;
}

textarea:focus, select:focus
{
	border: #c00000 1px solid;
}

.normal_textbox, .admin_textbox
{
	font-size: 12px;
	padding: 2px;
	border: #000000 1px solid;
	color: #2f2f2f;
	background: white url(/ui/text.gif) repeat-x;
	height: 14px;
}

.normal_textbox:hover, .admin_textbox:hover
{
	border: #0080ff 1px solid;
}

.normal_textbox:focus, .admin_textbox:focus
{
	border: #c00000 1px solid;
}

.normal_button, .admin_button
{
	font-size: 10px;
	padding: 2px;
	border: #000000 1px solid;
	color: #2f2f2f;
	background: white url(/ui/button.gif) repeat-x;
	width: 80px;
	cursor: pointer;
}

.normal_button:hover, .admin_button:hover
{
	border: #0080ff 1px solid;
	background: white url(/ui/text.gif) repeat-x;
}

.normal_button:focus
{
	border: #c00000 1px solid;
}

.data_table
{
	width: 100%;
}

.data_table thead
{
	text-align: left;
	font-size: 12px;
}

.data_table th
{
	text-align: left;
	font-size: 12px;
	font-weight: bold;
	background: #368fc8;
	color: white;
}

.data_table td, th
{
	font-size: 12px;
	font-weight: normal;
	border: #368fc8 1px solid;
	padding: 2px 4px 2px 4px;
	color: #333333;
}

.data_table a:link, .data_table a:visited
{
	color: #333333;
	padding: 0;
	margin: 0;
}

.data_table a:hover, .data_table a:active
{
	color: #368fc8;
	padding: 0;
	margin: 0;
}


.data_table .odd
{
	background: #c9e4f5;
}

.adblock
{
	clear: both;
	color: #bbbbbb;
	line-height: 10px;
	font-size: 10px;
	padding: 8;
}

.adblock a
{
	color: #bbbbbb;
}

div#adblock_left, div#adblock_right
{
}

#adblock_left, #adblock_left a, #adblock_right, #adblock_right a
{
	color: #c9c4f5;
}

.hr1
{
	height: 1px;
}

.adblock, .adblock a
{
	font-size: 9px;
	color: a0c0a0;
}

#adblock_footer
{
	padding: 10px 60px 10px 60px;
}

.admin_error
{
	color: red;
}

/* Меню */
ul#admin_menu
{
  margin: 0;
  border: 0 none;
  padding: 0;
  width: 710px;
  list-style: none;
  height: 24px;
  text-align: left;
}

ul#admin_menu li
{
	margin: 0;
	border: 0 none;
	padding: 0;
	float: left;
	display: inline;
	list-style: none;
	position: relative;
	height: 24px;
}

ul#admin_menu ul
{
  	-moz-opacity: 0.9 !important;
	opacity: 0.9 !important;
	filter: alpha(opacity=90);

	margin: 0;
	border: 0 none;
	padding: 0;
	width: 180px;
	list-style: none;
	display: none;
	position: absolute;
	top: 24px;
	left: 0;
}

ul#admin_menu ul:after
{
	clear: both;
	display: block;
	font: 1px/0px serif;
	content: ".";
	height: 0;
	visibility: hidden;
}

ul#admin_menu ul li
{
	width: 180px;
	float: left;
	display: block !important;
	display: inline;
	font-family: Georgia, "Times New Roman", Times, serif;
}

/* Корень меню */
ul#admin_menu a
{
	border: 0 none;
	padding: 0 10px;
	float: none !important;
	float: left;
	display: block;
	color: #800000;
	font: bold 10px/22px Verdana, Arial, Helvetica, sans-serif;
	text-decoration: none;
	height: auto !important;
	height: 1%;
	background: url(/ui/ms.gif) no-repeat 0px 6px;
}

/* Корень меню при наведении */
ul#admin_menu a:hover,
ul#admin_menu li:hover a,
ul#admin_menu li.iehover a
{
	/*background: #800000;*/
	color: #ee0000;
	text-decoration: underline;
}

/* 2 уровень */
ul#admin_menu li:hover li a,
ul#admin_menu li.iehover li a
{
	float: none;
	background: #f3f0e9;
	color: #800000;
	border: 1px solid #FFF;
	border-right-color: #CCC;
	border-bottom-color: #CCC;
	text-decoration: none;
}

/* 2 уровень при наведении */
ul#admin_menu li:hover li a:hover,
ul#admin_menu li:hover li:hover a,
ul#admin_menu li.iehover li a:hover,
ul#admin_menu li.iehover li.iehover a
{
	background: #800000;
	color: #f3f0e9;
	text-decoration: underline;
}

/* 3 уровень */
ul#admin_menu li:hover li:hover li a,
ul#admin_menu li.iehover li.iehover li a
{
	background: #f3f0e9;
	color: #800000;
	text-decoration: none;
}

/* 3 уровень при наведении */
ul#admin_menu li:hover li:hover li a:hover,
ul#admin_menu li:hover li:hover li:hover a,
ul#admin_menu li.iehover li.iehover li a:hover,
ul#admin_menu li.iehover li.iehover li.iehover a
{
	background: #800000;
	color: #f3f0e9;
	text-decoration: underline;
}

/* 4 уровень */
ul#admin_menu li:hover li:hover li:hover li a,
ul#admin_menu li.iehover li.iehover li.iehover li a
{
	background: #f3f0e9;
	color: #800000;
	text-decoration: none;
}

/* 4 уровень при наведении */
ul#admin_menu li:hover li:hover li:hover li a:hover,
ul#admin_menu li.iehover li.iehover li.iehover li a:hover
{
	background: #800000;
	color: #f3f0e9;
	text-decoration: underline;
}

ul#admin_menu ul ul,
ul#admin_menu ul ul ul
{
	display: none;
	position: absolute;
	top: 0;
	left: 180px;
}

ul#admin_menu li:hover ul ul,
ul#admin_menu li:hover ul ul ul,
ul#admin_menu li.iehover ul ul,
ul#admin_menu li.iehover ul ul ul
{
	display: none;
}

ul#admin_menu li:hover ul,
ul#admin_menu ul li:hover ul,
ul#admin_menu ul ul li:hover ul,
ul#admin_menu li.iehover ul,
ul#admin_menu ul li.iehover ul,
ul#admin_menu ul ul li.iehover ul
{
	display: block;
}

/* Админка */

.admin_panel, .admin_panel_bar, .ui_form_title
{
	font-family: Tahoma, Verdana, Arial, Helvetica, Sans-Serif;
}

.ui_form_title
{
	font-weight: bold;
	color: #585858;
	margin-top: 8px;
	margin-bottom: 2px;
}

label.ui_form_title
{
	display: block;
}

table.admin_panel
{
	width: 100%;
	height: 25px;
}

td.admin_panel_content
{
	font-size: 12px;
	background: #723e3e url(/ui/admin_panel_bk.gif) 0px 0px repeat-x;
	color: #ffffff;
	padding: 0px 1px 2px 1px;
	text-align: center;
	vertical-align: middle;
}

td.admin_panel_left
{
	width: 3px;
	background: #723e3e url(/ui/admin_panel_bk_left.gif) 0px 0px no-repeat;
}

td.admin_panel_right
{
	width: 3px;
	background: #723e3e url(/ui/admin_panel_bk_right.gif) 0px 0px no-repeat;
}

.admin_panel_content a, .admin_panel_content a:link, .admin_panel_content a:visited
{
	color: #ffffff;
	font-weight: bold;
	text-decoration: underline;
}

.admin_panel_content a:hover, .admin_panel_content a:active
{
	color: #ffff00;
	font-weight: bold;
	text-decoration: none;
}

.admin_panel_bar
{
	height: 24px;
	font-size: 10px;
	color: #000000;
	background: #f6dd63 url(/ui/admin_panel_bar_bg.gif) repeat-x;
	margin: 0px 0px 0px 0px;
	/*padding: 4px;*/
	border: #000000 0px solid;
	border-top: 1px solid;
	border-bottom: 1px solid;
	position: absolute;
	width: 100%;
}

.admin_panel_bar a, .admin_panel_bar a:link, .admin_panel_bar a:visited
{
	color: #000000;
}

.admin_panel_bar a:hover, .admin_panel_bar a:active
{
	color: #bf0000;
}

.admin_panel_bar_info
{
	font-size: 10px;
	color: black;
	white-space: nowrap;
	text-align: right;
	vertical-align: middle;
	float: right;
	padding-right: 20px;
	margin: -19px 0px 0px -10px;
}


.ui_admin_data_tool_table_splitter
{
	width: 1px !important;
	padding: 0 !important;
	background: #368fc8 !important;
}

.ui_admin_data_tool_table
{
	width: 100%;
	border: #368fc8 1px solid;
	margin: 16px 0px 0px 0px;
}

.ui_admin_data_tool_table td
{
	padding: 4px 4px 4px 4px;
	background: #c9e4f5;
	vertical-align: middle;
	white-space: nowrap;
}

div.admin_path
{
	margin: 0px 0px 8px 0px;
	padding: 4px;
	text-align: left;
	font-weight: bold;
	background: #c9e4f5;
	border: #368fc8 1px solid;
}

div.admin_stat
{
	margin: 8px 0px 0px 0px;
	padding: 4px;
}

.bb_text
{
	text-align: justify;
}

table.bb th
{
	font-weight: normal;
	border: none;
	background: #008ad3;
	color: white;
	text-align: left;
	font-size: 12px;
	font-weight: bold;
	padding: 5px 5px 5px 5px;
}

table.bb td
{
	font-weight: normal;
	border-bottom: #cecece 1px solid;
	padding: 8px;
}

table.bb caption
{
	font-size: 14px;
	font-weight: bold;
	color: maroon;
}

table.bb tfoot td
{
	font-weight: bold;
}