/* ОСНОВНЫЕ РАЗМЕРЫ */
body, #main {
	min-width: 1000px;
	width: expression(document.body.clientWidth>1000?"100%":"1000px");
}

#left {
	width: 221px;
}

#right {
	width: 198px;
	padding-left: 12px;
}

#footer {
	height: 80px;
}

#clearfooter {
	height: 80px;
}

#main {
	margin-bottom: -70px;
}

#content_out {
	/*margin: 0 210px 0 244px;*/
	margin: 0 6px 0 244px;
/*	height: 1px;*/
	background: #fff;
	min-height: 800px;
}
/* /ОСНОВНЫЕ РАЗМЕРЫ */

/* ОСНОВНОЕ */
html>body #main {
	height: auto;
}

html, body {
	height: 100%;
}

body {
	padding: 0;
	margin: 0;
	background: #31586e url(i/left_fon.jpg) 0 295px repeat-y;
}

#main {
	height: 100%;
	min-height: 100%;
	/*
	background: url(i/right_fon.jpg) right 295px repeat-y;
	*/
	background: url(i/right_fon2.gif) right 295px repeat-y;
}

html>body #main {
	height: auto;
}
/* /ОСНОВНОЕ */

/* ШАПКА */
#head {
	background: url(i/head_fon.gif) 0 0 repeat-x;
	margin-top: -10px;
	position: relative;
}

#head_2 {
	background: url(i/head_left2.jpg) 0 0 no-repeat;
}

#head_3 {
	height: 223px;
	background: url(i/head_right.jpg) right 0 no-repeat;
}

#head_img {
	float: right;
}

#head_text {
	position: absolute;
	margin-left: 30%;
	width: 480px;
	height: 80px;
	color: #84a2cd;
	font: 0.7em tahoma;
	top: 85px;
	line-height: 1.3;
	padding-top: 4px;
}

#head_text span {
	font: 2em tahoma;
	padding: 3px 0;
	display: block;
}

#flash_logo {
	position: absolute;
	top: 0;
	left: 0;
}
/* /ШАПКА */

/* ОСНОВНОЕ МЕНЮ */
#menu_out {
	background: #0d2150 url(i/menu_left.jpg) 0 0 no-repeat;
}

#menu_in {
	background: url(i/menu_right.jpg) right 0 no-repeat;
	text-align: right;
	padding: 2px 0;
	height: 30px;
	font: bold 1em arial;
}

.menu_item_def, .menu_item_act, .menu_item_hov {
	float: right;
	padding-left: 20px;
	margin-left: -22px;
	position: relative;
}

.menu_item_def {
	background: url(i/menu/default_left.png) 0 0 no-repeat;	
}

.menu_item_act {
	background: url(i/menu/active_left.png) 0 0 no-repeat;	
}

.menu_item_hov {
	background: url(i/menu/hover_left.png) 0 0 no-repeat;	
}

.menu_item_def div, .menu_item_act div, .menu_item_hov div {
	position: absolute;
	right: 0;
	height: 32px;
	width: 20px;
}

.menu_item_def div {
	background: url(i/menu/default_right.png) right 0 no-repeat;
}

.menu_item_act div {
	background: url(i/menu/active_right.png) right 0 no-repeat;
}

.menu_item_hov div {
	background: url(i/menu/hover_right.png) right 0 no-repeat;
}

.menu_item_def a, .menu_item_act a, .menu_item_hov a {
	display: block;
	height: 25px;
	padding: 7px 10px 0 8px;
	margin-right: 20px;
	white-space: nowrap;
	text-decoration: none;
}

.menu_item_def a {
	color: #cde1ff;
}

.menu_item_act a, .menu_item_hov a {
	color: #fff;
}

.menu_item_def a {
	background: url(i/menu/default_fon.gif) 0 0 repeat-x;
}

.menu_item_act a {
	background: url(i/menu/active_fon.gif) 0 0 repeat-x;
}

.menu_item_hov a {
	background: url(i/menu/hover_fon.gif) 0 0 repeat-x;
}

.end div, .end_act div, .end_hov div {
	width: 20px;
}

.end div {
	background: url(i/menu/default_fon.gif) 0 0 repeat-x;
}

.end_act div {
	background: url(i/menu/active_fon.gif) 0 0 repeat-x;
}

.end_hov div {
	background: url(i/menu/hover_fon.gif) 0 0 repeat-x;
}

.end a, .end_act a, .end_hov a {
	padding-right: 0;	
}

.links {
	margin: 3px 0;
}

.links a {
	display: inline;
	padding: 2px 4px;	
}

.links a:hover {
	background: #f8fbff;
}

.top {
	padding-top: 5px;
}
/* /ОСНОВНОЕ МЕНЮ */

/* ПУТЬ В КАТАЛОГЕ */
#path {
	padding: 2px 0 2px 10px;
	font: 0.7em verdana;
	background: #fff;
}

#path a {
	color: #36568a;
}

#path a:hover {
	color: #000;
	text-decoration: none;
}
/* /ПУТЬ В КАТАЛОГЕ */

/* ЛЕВАЯ КОЛОНКА */
#left {
	position: relative;
	float: left;
	display: inline;
	height: 1%;
	padding: 0 23px 12px 0;
}

.left_block_border span {
	display: block;
	margin-right: 10px;
	background: #fff;
	height: 9px;
	font-size: 1px;
}

.left_block_border img {
	float: right;
}

.left_block_body {
	background: #fff;
	font: 0.8em verdana;
	padding: 0 6px 0 8px;
}

.left_block_body a {
	color: #000;
}

.left_block_body a:hover {
	text-decoration: none;
	color: #005da8;
}

.item_one {
	display: block;
	color: #595a5c;
	text-decoration: none;
	background: url(i/left_block_body_a.gif) 0 5px no-repeat;
	padding: 1px 0 1px 12px;
}

.kon_links {
	background: #d5d5d5;
	padding: 2px 4px;
	text-align: center;
}

.kon_links a {
	background: url(i/left_block_body_a_active.gif) 0 4px no-repeat;
	padding-left: 9px;
	margin-right: 80px;
}

.item_two {
	display: block;
	color: #413e5c;
	text-decoration: none;	
	background: url(i/left_block_body_a.gif) 11px 4px no-repeat;
	padding: 1px 0 1px 21px;
	font-size: 0.95em;
}

#active {
	color: #ef7b00;
	background: url(i/left_block_body_a_active.gif) 0 5px no-repeat;
}

.item_one:hover {
	color: #ef7b00;
	background: url(i/left_block_body_a_active.gif) 0 5px no-repeat;
}

.item_two:hover {
	color: #ef7b00;
	background: url(i/left_block_body_a_active.gif) 11px 4px no-repeat;
}

.test {
	border: 1px solid red;
}

.test a {
	background: red;
	display: block;
	border: 2px solid blue;
	width: 100%;
}

.test a:hover {
	background: ;
	display: block;
}

.left_head {
	height: 50px;
	background: url(i/left_head.png) 0 0 no-repeat;	
	position: retalive;
}

.left_head div {
	text-transform: uppercase;
	color: #fff;
	font: bold 0.95em arial;
	padding: 14px 0 0 65px;
}

.bottom {
	margin-bottom: 15px;
}
/* /ЛЕВАЯ КОЛОНКА */

/* ЦЕНТРАЛЬНАЯ ЧАСТЬ */
#content_in {
	display: inline-block;
	width: 100%;
}

h1 {
	background: #d2d6db;
	margin: 0;
	padding: 6px 0;
	text-align: center;
	font: bold 0.9em verdana;
	color: #313854;
	text-transform: uppercase;
}

#h1_bottom {
	background: url(i/h1_center.gif) 0 0 repeat-x;
}

#h1_bottom div {
	background: url(i/h1_left.gif) 0 0 no-repeat;
}

#h1_bottom div div {
	background: url(i/h1_right.gif) right 0 no-repeat;
	height: 12px;
	font-size: 1px;
}

#content {
	font: 0.75em verdana;
	padding: 1px 10px 0 10px;
	color: #2e2f30;
	text-align: justify;
	line-height: 1.5;
}

#content a {
	color: #000;
}

#content a:hover {
	text-decoration: none;
	color: #0d2150;
}

/*
.inner {
	float: left;
	width: 47%;
}
*/
.page-accordeon, .page-accordeon li {
	padding: 0;
	margin: 0;
	list-style-type: none;
} 

#page-accordeon-wrap {
	padding-left: 15px;
}

#page-accordeon-wrap h2 {
	font: bold 1em verdana;
	margin: 0;
}

.add {
	clear: both;
}

.add a {
	display: block;
	text-align: right;
	padding-right: 12px;
	background: url(i/left_block_body_a.gif) right 4px no-repeat;
}

.add a:hover {
	background: url(i/left_block_body_a_active.gif) right 4px no-repeat;
}

.link_two_cols a {
	background: url(i/left_block_body_a.gif) 4px 4px no-repeat;
	padding: 0 2px 2px 14px;
	display: block;
	border: 0px solid red;
	width: 48%;
	float: left;
	text-align: left;
}

.link_two_cols a:hover {
	background: #f3f7ff url(i/left_block_body_a_active.gif) 4px 4px no-repeat;
	color: #0d2150;
}

.h2 {
	margin: 0;
}

.h2 h2 {
	margin: 6px 0 2px;
	font: bold 1.2em verdana;
	background: #f5f5f5;
	padding: 2px 4px;
}

.h2 h2 a {
	color: #4c81cd;
}

.margin {
	margin: 15px 0 3px;
}

.new_head {
	font-size: 0.8em;
}

.new_head span {
	font: normal 0.85em verdana;
}

.data_public, .insochnik {
	text-align: right;
	color: #003c89;
	background: #f3f7ff;
	padding: 2px 4px;
}

.navbar_out {
	float: left;
	text-align: right;
	padding-right: 8px;
	font-weight: bold;
}

.navbar a, .navbar span {
	padding: 2px 3px;
	background: #f3f8ff;
	border: 1px solid #f3f8ff;
}

.navbar a:hover, .navbar span:hover {
	border: 1px solid #d5d5d5;
}

.navbar span {
	font-weight: bold;
}
/* /ЦЕНТРАЛЬНАЯ ЧАСТЬ */

/* ПРАВАЯ КОЛОНКА */
#right {
	position: relative;
	float: right;
	padding: 0 0 12px;
	display: none
}

.clearfooter_right {
	clear: both;
	height: 12px;
}

.right_block_body {
	background: #fff;
	font: 0.75em verdana;
	padding: 0 6px 0 8px;
}

.right_block {
	width: 186px;
	float: right;
}

.right_block a {
	color: #000;
}

.right_block a:hover {
	color: #005da8;
	text-decoration: none;
}

.right_block_border span {
	display: block;
	margin-left: 10px;
	background: #fff;
	height: 9px;
	font-size: 1px;
}

.right_block_border img {
	float: left;
}

.news_right {
	padding-bottom: 4px;
}

.news_right span {
	color: #7687cb;
	font-size: 0.8em;
}

.navbar_index a {
	border: 1px solid #fff;
}

.navbar_index a:hover {
	border: 1px solid #d5d5d5;
}
/* /ПРАВАЯ КОЛОНКА */

/* ПОДВАЛ */
#clearfooter {
	clear: both;
	background: #fff;
}

#footer {
	clear: both;
	position: relative;
	text-align: center;
	background: #bac3d3;
}

#address {
	color: #334f79;
	text-decoration: none;
	padding: 4px 0;
}

#address a {
	text-decoration: none;
	color: #334f79;
}

#address a:hover {
	color: #000;
	text-decoration: underline;
}

#footer_couters {
	background: #d2d6db;
	height: 34px;
	padding-top: 3px;
}

#footer_couters img {
	border: 0;
}

#footer_copyright {
	color: #41659a;
	font: 0.7em verdana;
	line-height: 1.5;	
}

#flexites {
	float: right;
	position: absolute;
	width: 136px;
	font-size: 0.85em;
	right: 0;
	margin-top: -3px;
}

#flexites a {
	text-decoration: none;
	color: #4370ac;
}

#flexites a:hover {
	color: #000;
}
/* /ПОДВАЛ */

.ov {
	overflow: hidden;
}

.gallery {
	padding-left: 30px;
}

.gallery li {
    width: 125px;
	height: 115px;
    text-align: center;
    float: left;
	list-style-type: none;
}

.gallery a:hover {
	text-decoration: none;
}

.picture_li img {
    filter: progid: DXImageTransform.Microsoft.Alpha(opacity=90);
    -moz-opacity: 0.90;    /* Mozilla 1.6 и ниже */
    -khtml-opacity: 0.90;  /* Konqueror 3.1, Safari 1.1 */
	opacity: 0.90;         /* CSS3 - Mozilla 1.7b +, Firefox 0.9 +, Safari 1.2+, Opera 9 */
    filter: alpha(opacity=90); /* IE 5.5+*/
	cursor: hand;
}
 
.picture_li_over img {
    filter: progid: DXImageTransform.Microsoft.Alpha(opacity=100);
    -moz-opacity: 1;    /* Mozilla 1.6 и ниже */
    -khtml-opacity: 1;  /* Konqueror 3.1, Safari 1.1 */
	opacity: 1;         /* CSS3 - Mozilla 1.7b +, Firefox 0.9 +, Safari 1.2+, Opera 9 */
    filter: alpha(opacity=100); /* IE 5.5+*/
	cursor: hand;
}

.picture_li a:hover, .picture_li_over a:hover {
	text-decoration: none;
}

/*==== form styles ====*/
.form_text {
	text-align: center;
}
.form {
  margin: 2em auto 2em auto;
}
.form-narrow {
  width:90%;
}
.form .error-string {
  margin-bottom:15px;
  font-weight:bold;
  color:#c00;
}
.form .field {
  margin-bottom:1em;
}
.form .field label {
  display:block;
}
.form .field label.field-name {
  width:255px;
  margin-right:10px;
  float:left;
  border-top: 1px solid #daeaff;
  border-left: 1px solid #daeaff;
  padding: 3px 2px 4px 4px;
  background: #f8fbff;
}
.form .short_text input, .form .int input,
.form .double input, .form .url input,
.form .e_mail input {
  width:75%;
}

.form .long_text textarea {
	width: 97%;
}

.form .enum select, .form .pointer select {
  width: 86%;
}
.form .date input, .form .date_time input {
  width: 120px;
}
.form .date button, .form .date_time button {
  position:absolute;
  left:130px;
  top:19px;
  width:20px;
  height:20px;
  font-size:0;
  background:url(/i/calendar-icon.png) 50% 50% no-repeat;
}
.form .long_text textarea {
  height:100px;
  overflow: auto;
}
.form .captcha {
  text-align:center;
  font-style: italic;
  color: #005da8;
}
.form .captcha label {
  margin-bottom:2px;
  display:block;
}

.form .ov input {
	border: 1px solid #7f9db9;
}
.form .captcha img {
  vertical-align:middle;
}
.form .error label.field-name, .form .error label.captcha-text {
  font-weight:bold;
  color:#c00;
}
.form .submit {
  margin-top:1em;
  text-align:center;
}

.form .submit input {
  color: #004a85;
  background: #daeaff;
  border: 1px solid #005da8;
  padding: 2px 4px;
  width: 20%;
}
/*==== /form styles ====*/

.ya-page_js_yes .ya-site-form_inited_no {
	display: none;
}

.ya-site-form {
	float: left;
	padding: 3px 0 0 8px;
	position: absolute;
}