html, body
{
	padding: 0 0 0 0;
	margin: 0 0 0 0;
	height: 100%;
	width: 100%;
}

body {
	font: normal 12px "Arial", Verdana, Helvetica, Tahoma;
	color: #313131;
}

h1, h2, h3 {
	color: #697B69;
}

h1 {
	margin-top: 1em;
	margin-bottom: 1em;
	font-size: 160%;
	font-weight: normal;
	letter-spacing: 0px;
}

h2 {
	font-size: 140%;
	font-weight: bold;
	letter-spacing: 0px;
}

h3 {
	font-size: 120%;
	font-weight: bold;
}

/* Menu */

#menu {
	width: 728px;
	height: 100%;
}

#menu div {
    text-align: left
}

#menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#menu a {
	display: block;
	height: auto;
	padding: auto;
	padding-left: 10px !important;
	color: #DDF0DD;
	line-height: 160%;
	font-size: 12px;
	font-weight: bold;
    text-decoration: none;
}

#menu a:hover {
	text-decoration: underline;
	background: #C5D7C5;
	color: #697b69;
}

.menu_first a {
	display: block;
	height: auto;
	padding: auto;
	padding-left: 10px !important;
	padding-top: 10px !important;
	color: #DDF0DD;
	font-size: 12px;
	font-weight: bold;
    text-decoration: none;
}

.menu_first a:hover {
	text-decoration: underline;
	background: #C5D7C5;
	color: #697b69;
}

/* Скрытие меню */
#swblock {
	display: none;			
}
	
	div.hid #swblock {
	display: none;
}

	div.vis #swblock {
	display: block;
}

.menu_last a, #menu_last a:link  {
	display: block;
	height: auto;
	padding: auto;
	padding-left: 10px !important;
	padding-bottom: 10px !important;
	color: #DDF0DD;
	font-size: 12px;
	font-weight: normal;
    text-decoration: none;
}

.menu_last a:hover {
	text-decoration: underline;
	background: #C5D7C5;
	color: #697b69;
}

.arrow {
	font-weight: normal !important;
}

table, td
{
	padding: 0 0 0 0;
	margin: 0 0 0 0;
	border-collapse: collapse;
	border-width: 0px;
	/*vertical-align: top;*/
}

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: #656600;
}

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: 5px 0px 25px 0px;
}

table.pager_links td
{
	color: #b4bdb4;
	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 0px 2px;
	float: left;
	clear: none;
	background: #c5d7c5;
	color: #697b69;
	text-align: center;
	text-decoration: none;
	border: 1px #c5d7c5 solid;
}

a.pager_page:active, a.pager_page:hover
{
	border: 1px #c5d7c5 solid;
	background: #c5d7c5;
	color: #697b69 !important;
	text-decoration: none !important;
}

.pager_page_sel
{
	border: 1px #ffffff solid;
	background: #ffffff;
	color: #697b69;
	font-weight: bold;
}

.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: #666600 1px solid;
	color: #697B69;
	background: white url(/ui/text.gif) repeat-x;
	height: 21px;
}

.normal_textbox:hover, .admin_textbox:hover
{
	border: #C5D7C5 1px solid;
}

.normal_textbox:focus, .admin_textbox:focus
{
	border: #697B69 1px solid;
}

.normal_button, .admin_button
{
	font-size: 10px;
	padding: 2px;
	border: #666600 1px solid;
	color: #697B69;
	background: white url(/ui/button.gif) repeat-x;
	width: 80px;
	cursor: pointer;
}

.normal_button:hover, .admin_button:hover
{
	border: #C5D7C5 1px solid;
	background: white url(/ui/text.gif) repeat-x;
}

.normal_button:focus
{
	border: #697B69 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: #666633;
	color: white;
}

.data_table td, th
{
	font-size: 12px;
	font-weight: normal;
	border: #666633 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: #666633;
	padding: 0;
	margin: 0;
}


.data_table .odd
{
	background: #cccc99;
}

.adblock
{
	clear: both;
	color: #808080 !important;
	line-height: 10px;
	font-size: 10px;
	padding: 8;
	font-family: Tahoma;
}

.adblock a
{
	color: #bbbbbb;
	text-decoration: none;
	text-transform: lowercase;
}

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: #697B69;
	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: #81814e 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: #81814e url(/ui/admin_panel_bk_left.gif) 0px 0px no-repeat;
}

td.admin_panel_right
{
	width: 3px;
	background: #81814e 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: #666633 !important;
}

.ui_admin_data_tool_table
{
	width: 100%;
	border: #666633 1px solid;
	margin: 16px 0px 0px 0px;
}

.ui_admin_data_tool_table td
{
	padding: 4px 4px 4px 4px;
	background: #cccc99;
	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;
}

/* Стиль формы поиска Yandex */
div.brd { width: 360px;}
div.b-yandexbox * { width: 360px; font-size: 12px !important; margin: 0 !important; }
div.b-yandexbox a img { border: 0 !important; }
div.b-yandexbox input, div.b-yandexbox label { vertical-align: middle; }
div.b-yandexbox table { font-size: 12px; width: 100%; border-collapse: collapse; border: 0; background: #697B69; }
div.b-yandexbox table td { padding: 7px 0 6px 0; white-space: nowrap; vertical-align: middle; }
div.b-yandexbox .b-yandexbox-image { padding: 6px 6px 0 6px; }
div.b-yandexbox .b-yandexbox-search { width: 100%; padding: 0 6px; }
div.b-yandexbox .b-yandexbox-search table { margin: 0; padding: 0; background: none; }
div.b-yandexbox .b-yandexbox-search .b-yandexbox-txt { width: 100%; padding-right: 6px; }
div.b-yandexbox .b-yandexbox-text { position: relative; width: 100%;}
div.b-yandexbox .b-yandexbox-text input { float: left; width: 100%; padding-right: 0; border: 1px solid #697B69; color: #697B69;}
div.b-yandexbox .b-yandexbox-search .b-yandexbox-submit { padding: 0; }
div.b-yandexbox .b-hint-input { position: absolute; z-index: 100; left: 0; display: none; width: 30px; height: 11px; margin: 0.16em 0.2em !important; cursor: text; line-height: 0; background: url(http://site.yandex.ru/i/ysearch_small.png) no-repeat; }
div.b-yandexbox .button-search { width: 19px; height: 15px; outline: none; cursor: pointer; border: none; background: url(/pic/pic-28.gif) no-repeat; }
.background_search {background-image: url(/pic/pic-29.gif); background-position: center center; background-repeat: no-repeat}
<!--[if lte IE 8]><style type="text/css">*:first-child+html div.b-yandexbox .b-hint-input { position: absolute; margin-top: 4px !important; } * html div.b-yandexbox .b-hint-input { position: relative; bottom: -0.5em; left: 0.3em; float: left; display: block; margin: 0 0 -1em !important; }</style><![endif]-->
