html, body
{
	padding: 0 0 0 0;
	margin: 0 0 0 0;
	height: 100%;
	width: 100%;
}

body
{
	color: #ffffff;
	background: white;
}

textarea, select, body, td, input
{
	font-family: Tahoma, Verdana, Arial, Helvetica, Sans-Serif;
}

body, td
{
	font-size: 11px;
	line-height: 16px;
	white-space: normal;
}

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;
}

#admin_menu div, #admin_menu a, .block_body
{
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

#fix_png
{
	filter: expression(fix_png(this));
}

.data
{
	display: none;
}

.all
{
	width: 100%;
	height: 100%;
}

em
{
	font-style: normal;
	font-weight: bold;
}

.bb_text
{
	text-align: justify;
}

p
{
	text-align: justify;
	padding: 0em 0 1em 0;
	margin: 0px;
}

p.p0
{
	text-indent: 0px;
}

.hr
{
	display: block;
	height: 1px;
	background: url(/ui/base/h_splitter_bg.gif) repeat-x;
	overflow: hidden;
}

/* Ссылки */
a:link, a:visited
{
	color: #0fb0ff;
	padding: 0;
	margin: 0;
}

a:hover, a:active
{
	color: #00ffff;
	padding: 0;
	margin: 0;
}

.grey
{
	color: #7d7d7d;
}

.ui_form_title
{
	/*font-weight: bold;*/
	color: #9b9b96;
	margin-top: 8px;
	margin-bottom: 2px;
}

.ui_table, .ui_admin_table
{
	width: 100%;
	height: 100%;
}

.ui_admin_table .ui_body
{
	height: 100%;
	padding: 16px 16px 24px 16px;
}

.ui_admin_data_tool_table
{
	width: 100%;
	border: #9b9b96 1px solid;
	margin: 16px 0px 16px 0px;
}

.ui_admin_data_tool_table td
{
	padding: 4px 4px 4px 4px;
	background: #555e61;
	vertical-align: middle;
	white-space: nowrap;
}

textarea, select
{
	font-size: 11px;
	background: #3b3b3b;
	border: #9b9b96 1px solid;
	color: #ffffff;
}

select
{
	padding: 1px 0px 1px 0px;
}

textarea
{
	padding: 2px;
}

label.ui_form_title
{
	display: block;
}

h1, h2, h3, h4, h5, h6
{
	color: #ffffff;
}


h1
{
	font-size: 16px;
	font-weight: bold;
	margin: 9px 0px 9px 0px;
}

h2
{
	font-size: 15px;
	font-weight: bold;
	margin: 8px 0px 8px 0px;
}

h3
{
	font-size: 14px;
	font-weight: bold;
	margin: 7px 0px 7px 0px;
}

h4
{
	font-size: 13px;
	font-weight: bold;
	margin: 6px 0px 6px 0px;
}

h5
{
	font-size: 12px;
	font-weight: bold;
	margin: 5px 0px 5px 0px;
}

h6
{
	font-size: 11px;
	font-weight: bold;
	margin: 4px 0px 4px 0px;
}

blockquote, pre
{
	font-family: Lucida Console, monospace;
}

hr
{
	color: #404080;
	background: #404080;
	border: 0px solid #404080;
	height: 2px;
}

.hr1
{
	height: 1px;
}

.hr3
{
	height: 3px;
}

/* Админка */

.admin_panel
{
	background: #8a8a84 url(/ui/admin_panel_bk.gif) repeat-x;
	color: #182743;
	padding: 0px 1px 2px 1px;
	border: #000000 1px solid;
	text-align: center;
}

.admin_panel_bar
{
	font-size: 10px;
	color: #ffffff;
	background: #088cf2 url(/ui/admin_panel_bar_bg.gif) repeat-x;
	margin: 0;
	padding: 0px;
	border: none;
	height: 22px;
	z-index: 50000;
	position: relative;
}

.admin_panel_bar_info
{
	font-size: 10px;
	color: #ffffff;
	white-space: nowrap;
	text-align: right;
	vertical-align: middle;
	float: right;
	padding-right: 12px;
	margin: -20px 0px 0px -10px;
}

.admin_panel_bar_info a
{
	color: #00ffff !important;
}

.admin_panel_bar_info a:hover
{
	color: #ffffff !important;
}

.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;
}

a.admin_new, a.admin_new:visited
{
	color: #006000;
	font-weight: bold;
}

a.admin_new:hover, a.admin_new:active
{
	color: #ddffbb;
	background-color: #008000;
	text-decoration: none;
}

a.admin_edit, a.admin_edit:visited
{
	color: #0000c0;
	font-weight: bold;
}

a.admin_edit:hover, a.admin_edit:active
{
	color: #bbddff;
	background-color: #0000c0;
	text-decoration: none;
}

a.admin_delete, a.admin_delete:visited
{
	color: #c00000;
	font-weight: bold;
}

a.admin_delete:hover, a.admin_delete:active
{
	color: #ffddbb;
	background-color: #c00000;
	text-decoration: none;
}

.admin_checkbox, .normal_checkbox
{
	margin: 0;
}

.admin_textbox, .normal_textbox
{
	font-size: 11px;
	padding: 2px;
	background: #3b3b3b;
	border: #9b9b96 1px solid;
	color: #ffffff;
	height: 20px;
}

.admin_button, .normal_button
{
	font-size: 10px;
	padding: 2px;
	border: #9b9b96 1px solid;
	color: #93938f;
	background: #26261f;
	width: 80px;
	cursor: pointer;
}

.admin_textarea
{
	font-size: 11px;
	padding: 2px;
	border: #9b9b96 1px solid;
	color: #ffffff;
	background: #3b3b3b;
}

.data_table
{
	width: 100%;
}

.data_table thead
{
	text-align: left;
	font-size: 12px;
	background: white;
}

.data_table th
{
	text-align: left;
	font-size: 12px;
	font-weight: bold;
	background: #dce6ff url(/ui/admin_panel_bk.gif) repeat-x;
}

.data_table td, th
{
	font-weight: normal;
	border: #9b9b96 1px solid;
	padding: 2px 4px 2px 4px
}

.data_table a:link, .data_table a:visited
{
	color: #e0e0e0;
	padding: 0;
	margin: 0;
}

.data_table a:hover, .data_table a:active
{
	color: #00ffff;
	padding: 0;
	margin: 0;
}


.data_table .odd
{
	background: #696962;
}

.data_delete
{
	background: #ffc0c0;
	color: maroon;
}

.data_apply
{
	background: #c0ffc0;
	color: green;
}

.data_cell_apply
{
	background: lime;
	color: green;
}

.error
{
	color: red;
	font-weight: bold;
}

.pager
{
	text-align: center;
}


td.bb, th.bb
{
	font-weight: normal;
	border: #a7bac7 1px solid;
}

td.bb
{
	padding: 8px;
}

.bb th
{
	color: #46576e;
	text-align: left;
	font-size: 11px;
	font-weight: bold;
	background: #d1e6f0;
	padding: 5px 4px 5px 4px;
}

.bb caption
{
	font-size: 14px;
	font-weight: bold;
	color: maroon;
}

h1.bb, h2.bb, h3.bb
{
	color: #525d72;
}

h1.bb
{
	font-size: 13px;
	font-weight: bold;
	margin: 8px 0px 8px 0px;
}

h2.bb
{
	font-size: 12px;
	font-weight: bold;
	margin: 7px 0px 7px 0px;
}

h3.bb
{
	font-size: 11px;
	font-weight: bold;
	margin: 6px 0px 6px 0px;
}

.bb_border
{
	padding: 1px;
	border: #a7bac7 1px solid;
	background: white;
}

.hvcenter
{
	text-align: center;
	vertical-align: middle;
}


/* Меню */
ul#admin_menu
{
	margin: 0;
	border: 0 none;
	padding: 0;
	list-style: none;
	height: 22px;
	text-align: left;
	background: url(/ui/admin_panel_bar_menu.gif) 0px 0px no-repeat;
}

ul#admin_menu li
{
	margin: 0;
	border: 0 none;
	padding: 0;
	float: left;
	display: inline;
	list-style: none;
	position: relative;
	height: 22px;
}

ul#admin_menu li li
{

}

ul#admin_menu ul
{
	margin: 0px 0px 0px 0px;
	border: 0 none;
	padding: 0;
	width: 180px;
	list-style: none;
	display: none;
	position: absolute;
	top: 22px;
	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;
	height: 24px;
	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: #ffffff;
	font: bold 10px/22px Verdana, Arial, Helvetica, sans-serif;
	text-decoration: none;
	height: 22px;
}

/* Корень меню при наведении */
ul#admin_menu a:hover,
ul#admin_menu li:hover a,
ul#admin_menu li.iehover a
{
	background: url(/ui/admin_panel_bar_menu.gif) 0px -22px no-repeat;
	color: #00ffff;
	text-decoration: underline;
}

/* 2 уровень */
ul#admin_menu li:hover li a,
ul#admin_menu li.iehover li a
{
	float: none;
	height: 24px;
	padding-left: 17px;
	background: #005de3 url(/ui/admin_panel_bar_item_bg.gif) 10px 10px no-repeat !important;
	color: #ffffff;
	border: 1px solid #003ad4;
	border-left-color: #337de9;
	border-top-color: #337de9;
	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
{
	color: #00ffff;
	text-decoration: none;
}

/* 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;
}

.hide
{
	display: none;
}
