html, body
{
	padding: 0 0 0 0;
	margin: 0 0 0 0;
	height: 100%;
	width: 100%;
}

body
{
	color: #000000;
	background: #ffffff;
}

body, td
{
	font-size: 12px;
	font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
}

th
{
	font-size: 12px;
	font-weight: normal;
	padding: 2px 4px 2px 4px;
	color: #ffffff;
	background: #888888;
}

table.border, table.border td
{
	border: #888888 1px solid;
}

table, td
{
	padding: 0 0 0 0;
	margin: 0 0 0 0;
	border-collapse: collapse;
	border-width: 0px;
	vertical-align: top;
}

#fix_png, td#fix_png
{
	filter: expression(fix_png(this));
}

img
{
	border-width: 0;
}

form
{
	margin: 0;
}

object, embed
{
	margin: 0;
	padding: 0;
}

em
{
	font-style: normal !important;
	font-weight: bold;
	color: #ff9315;
}

a.bb_bar_btn
{
	display: block;
	width: 22px;
	height: 22px;
	float: left;
	background: url(/ui/bb/bg.gif) 0px 0px no-repeat;
	margin-right: 4px;
}

span.bb_bar_splitter
{
	display: block;
	width: 4px;
	height: 22px;
	float: left;
}

.ui_form_title
{
	font-weight: bold;
	color: #585858;
	margin-top: 8px;
	margin-bottom: 2px;
}

/* Admin */

/* Меню админки */

ul#admin_menu
{
	margin: 0;
	border: 0 none;
	padding: 0;
	/*width: 500px;*/
	list-style: none;
	height: 22px;
	text-align: left;
}

ul#admin_menu li
{
	margin: 0;
	border: 0 none;
	padding: 0;
	float: left;
	display: inline;
	list-style: none;
	position: relative;
	height: 22px;
	background: none;
}

ul#admin_menu ul
{
	margin: -2px 0px 0px 0px;
	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;
	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: white;
	font: 10px/22px Verdana, Arial, Helvetica, sans-serif;
	text-decoration: none;
	height: auto !important;
	height: 1%;
	font-weight: bold;
	/*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: #ffde34;
	text-decoration: none;
}

/* 2 уровень */
ul#admin_menu li:hover li a,
ul#admin_menu li.iehover li a
{
	float: none;
	/*background: #e1cdaa;*/
	
	padding-left: 20px;
	background: #2a2a2a url(/ui/admin/menu-2.gif) 10px 9px no-repeat;
	
	color: #ffffff;
	border: 1px solid #555555;
	border-right-color: #070707;
	border-bottom-color: #070707;
	text-decoration: none;
	font-weight: bold;
}

/* 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
{
	padding-left: 20px;
	color: #FFEA5F;
	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;
}

div#ui_admin_panel
{
	position: relative;
	width: 100%;
	z-index: 1000;
}

ul#admin_menu li a#main, ul#admin_menu li a:visited#main
{
	padding: 0px;
	width: 89px;
	background: url(/ui/admin/menu-main.gif) 0px 0px no-repeat;
}

ul#admin_menu li:hover a#main, ul#admin_menu li.iehover a#main
{
	background-image: url(/ui/admin/menu-main-h.gif) !important;
}

ul#admin_menu li a#control, ul#admin_menu li a:visited#control
{
	padding: 0px;
	width: 97px;
	background: url(/ui/admin/menu-control.gif) 0px 0px no-repeat;
}

ul#admin_menu li:hover a#control, ul#admin_menu li.iehover a#control
{
	background-image: url(/ui/admin/menu-control-h.gif) !important;
}

ul#admin_menu li a#help, ul#admin_menu li a:visited#help
{
	padding: 0px;
	width: 79px;
	background: url(/ui/admin/menu-help.gif) 0px 0px no-repeat;
}

ul#admin_menu li:hover a#help, ul#admin_menu li.iehover a#help
{
	background-image: url(/ui/admin/menu-help-h.gif) !important;
}

ul#admin_menu li a#exit, ul#admin_menu li a:visited#exit
{
	padding: 0px;
	width: 70px;
	background: url(/ui/admin/menu-exit.gif) 0px 0px no-repeat;
}

ul#admin_menu li:hover a#exit, ul#admin_menu li.iehover a#exit
{
	background-image: url(/ui/admin/menu-exit-h.gif) !important;
}



/* */

table.admin_panel
{
	/*width: 100%;*/
	height: 27px;
}

td.admin_panel_content
{
	width: 100%;
	font-size: 12px;
	background: #ff6a21 url(/ui/admin/panel_bk.gif) 0px 0px repeat-x;
	color: #ffb590;
	padding: 0px 1px 2px 1px;
	text-align: center;
	vertical-align: middle;
}

td.admin_panel_left
{
	width: 8px;
	background: #ff6a21 url(/ui/admin/panel_bk_left.gif) 0px 0px no-repeat;
}

td.admin_panel_right
{
	width: 8px;
	background: #ff6a21 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: none;
}

.admin_panel_content a:hover, .admin_panel_content a:active
{
	color: #ffea5f;
	font-weight: bold;
	text-decoration: none;
}

/* меню админки */

.admin_panel_bar
{
	font-size: 10px;
	color: white;
	background: url(/ui/admin/panel_bar_bg.gif) 0px 0px repeat-x;
	margin: 0;
	height: 22px;
	z-index: 50000;
	position: relative;
}

.admin_panel_bar_info
{
	font-size: 10px;
	color: white;
	white-space: nowrap;
	text-align: right;
	vertical-align: middle;
	float: right;
	padding-right: 20px;
	margin: -20px 0px 0px -10px;
}

.admin_panel_bar a, .admin_panel_bar a:link, .admin_panel_bar a:visited
{
	color: #ffffff;
}

.admin_panel_bar a:hover, .admin_panel_bar a:active
{
	color: #ffde34;
}

/* */

/* data_tool_table */

.ui_admin_data_tool_table_splitter
{
	width: 1px !important;
	padding: 0 !important;
	background: #ff9315 !important;
}

.ui_admin_data_tool_table
{
	/*width: 100%;*/
	border: #ff9315 1px solid;
	margin: 16px 0px 8px 0px;
}

.ui_admin_data_tool_table td
{
	padding: 4px 4px 4px 4px;
	background: #f5e4c9;
	vertical-align: middle;
	white-space: nowrap;
}

/* data_table */

table.data_table
{
	width: 100%;
}

table.data_table thead
{
	text-align: left;
	font-size: 12px;
}


table.data_table td, table.data_table th
{
	font-size: 12px;
	font-weight: normal;
	border: #ff9315 1px solid;
	padding: 2px 4px 2px 4px;
	color: #333333;
}

table.data_table th
{
	text-align: left;
	font-size: 12px;
	font-weight: bold;
	background: #ff9315;
	color: white;
}

table.data_table a:link, table.data_table a:visited
{
	color: #333333;
	padding: 0;
	margin: 0;
}

table.data_table a:hover, table.data_table a:active
{
	color: #ff9315;
	padding: 0;
	margin: 0;
}

table.data_table .odd
{
	background: #f5e4c9;
}

/* Элементы управления */

input.button, button.button, a.button, a:link.button, a:visited.button, a:hover.button, a:active.button
{
	border-top: solid 1px #ff6a21;
	border-left: solid 1px #ff6a21;
	border-bottom: solid 1px #ff6a21;
	border-right: solid 1px #ff6a21;
	background: #ff6a21 url(button.gif) 0px 0px repeat-x;
	color: #ffffff;
	font-family: Tahoma;
	font-size: 11px;
	font-weight: bold;
	padding: 2px;
	width: 72px;
}

a.button, a:link.button, a:visited.button, a:hover.button, a:active.button
{
	padding: 4px;
	text-decoration: none;
}

input.text, textarea.text
{
	border: solid 1px #B5BABD;
	padding: 4px;
	font-size: 12px;
	font-family: "Tahoma";
	color: #484E53;
}

input.text
{
	height: 24px;
}

select.select
{
	border-top: solid 1px #888888;
	border-left: solid 1px #888888;
	border-bottom: solid 1px #eeeeee;
	border-right: solid 1px #eeeeee;
}

a.bb_bar_btn
{
	display: block;
	width: 22px;
	height: 22px;
	float: left;
	background: url(/ui/bb/bg.gif) 0px 0px no-repeat;
	margin-right: 4px;
}

a.bb_bar_btn span
{
	display: block;
	width: 22px;
	height: 22px;
	background: url(/ui/bb/bg.gif) 0px 0px no-repeat;
}

span.bb_bar_splitter
{
	display: block;
	width: 4px;
	height: 22px;
	float: left;
}

.ui_form_title
{
	font-weight: bold;
	color: #585858;
	margin-top: 8px;
	margin-bottom: 2px;
}

/* */

.ui_pic_table
{
	width: 100%;
	height: 100%;
}

.ui_pic_table td
{
	text-align: center;
	vertical-align: middle;
}

/* Пейджер */

.pager_links
{
}

.pager_links td
{
	color: #0071bc;
}

.pager_links td a
{
}

a.pager_page, .pager_page_sel, a.pager_page:link, a.pager_page:visited
{
	text-align: center;
}

a.pager_page:active, a.pager_page:hover
{
}

.pager_page_sel
{
	color: #ff6a21;
	font-weight: bold;
	text-decoration: none;
}

.pager_r_td
{
	text-align: left;
	width: 80px;
	padding-left: 6px;
}

.pager_l_td
{
	text-align: right;
	width: 80px;
	padding-right: 6px;
}

a.pager_r, a.pager_r:link, a.pager_r:visited
{
	display: inline-block;
	padding: 0px 15px 0px 0px;
	background: url(pager_r.gif) right 4px no-repeat;
}

a.pager_l, a.pager_l:link, a.pager_l:visited
{
	display: inline-block;
	padding: 0px 0px 0px 15px;
	background: url(pager_l.gif) left 4px no-repeat;
}
