/* Тестовая таблица */
.maintable td { border: #000000 1px 1px 1px 1px solid; }

html,body{
	height:100%;
	margin:0px;
	padding:0px
}

body {
	background-color: #FFFFFF;
	color: #000000;
	font-family: Verdana, Helvetica, sans-serif;
	padding: 0px; margin: 0px;
}

table, td, form, fieldset, img { border: 0px; padding: 0px; margin: 0px; }

td { vertical-align: top; }

strong { color: #7F9340; }

fieldset { background-color : transparent; }
label { cursor: hand; }

ul, li { margin: 0px; padding: 0px; }
ul { list-style-position: inside; margin: 2px 0px 5px 0px; }
li { margin-bottom: 2px; margin-left: 7px; }

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: Arial Cyr, Arial, Helvetica, sans-serif;
	font-weight: bold;
	margin: 0px;
	padding: 0px;
}
p {
	margin: 0.5em 0px 0.5em 0px;
	padding: 0px;
}

h1, .h1 { font-size: 180%; color :#7F9340; }
h2, .h2 { font-size: 160%; color :#7F9340; }
h3, .h3 { font-size: 140%; color :#7F9340; }
h4, .h4 { font-size: 120%; color :#7F9340; }

a 	{ color: #43550A; }
a:link, a:visited { text-decoration: underline; }
a:active, a:hover { color: #FF0000; text-decoration: none; }

#ta_r, .ta_r { text-align: right; }
#ta_c, .ta_c { text-align: center; }
#ta_l, .ta_l { text-align: left; }

#va_t, .va_t { vertical-align: top; }
#va_m, .va_m { vertical-align: middle; }
#va_b, .va_b { vertical-align: bottom; }

#bgr_x, .bgr_x { background-repeat: repeat-x; }
#bgr_y, .bgr_y { background-repeat: repeat-y; }
#bgr_n, .bgr_n { background-repeat: no-repeat; }

.buttonblock { clear: both; }

input.button, input.defaultbutton  {
	background-image:url('../images/button_bg.gif');
	height: 24px;
	font-weight: bold;
	color: #FFFFFF;
	border: 0px;
	cursor: pointer; cursor: hand;
	font-size: 12px;
	font-family: Tahoma;
	border-bottom: #7F9244 1px solid;
}

.search_bg {
	background-image: url('../images/search_bg.jpg');
}
.search_bg_inner {
	background-image: url('../images/search_bg_inner.jpg');
}

hr {
	height: 1px;
	border: 0px;
	width:100%;
	color: #43550A;
}

.notdefaultbuttons {
	display: inline;
}
.notdefaultbuttons .button, .notdefaultbuttons .defaultbutton {
	background-image:url('../images/button_nd_bg.gif');
}

.panelborderbottom{ border-bottom: #ADBB7F 1px solid; }

.loginform {
	background-color: #F7F9F2;
}
#panelborderright1{ border-right: #ADBB7F 1px solid; }

ul.leftmenu { list-style: none; padding: 0; margin: 0; }
ul.leftmenu li, ul.leftmenu li a { padding: 0; margin: 0; }
ul.leftmenu li a:link,
ul.leftmenu li a:visited,
ul.leftmenu li a:active,
ul.leftmenu li a:hover { text-decoration: none; color: #000; }
ul.leftmenu li.selected a:link,
ul.leftmenu li.selected a:visited,
ul.leftmenu li.selected a:active,
ul.leftmenu li.selected a:hover { text-decoration: none; color: #C00; }
ul.leftmenu li.level0 { text-transform: uppercase; font-family: Verdana, Arial, sans-serif; padding: 0.2em 0; font-weight: bold; }
ul.leftmenu li.level0 a:link,
ul.leftmenu li.level0 a:visited,
ul.leftmenu li.level0 a:active,
ul.leftmenu li.level0 a:hover { text-decoration: none; color: #2a4d75; font-family: Verdana, Arial, sans-serif; font-weight: bold; }
ul.leftmenu li.level1 { margin-left: 1em; }
ul.leftmenu li.level1 a:link,
ul.leftmenu li.level1 a:visited,
ul.leftmenu li.level1 a:active,
ul.leftmenu li.level1 a:hover { text-decoration: none; color: #000; }
ul.leftmenu li.level2 { margin-left: 2em; }
ul.leftmenu li.level3 { margin-left: 3em; }
ul.leftmenu li.level4 { margin-left: 4em; }

ul.leftmenu li.selected a:link,
ul.leftmenu li.selected a:visited,
ul.leftmenu li.selected a:active,
ul.leftmenu li.selected a:hover { text-decoration: none; color: #C00; }

