ыги_дштл {height: 100%}

body {
    font: 12px/18px Arial, Tahoma, Verdana, sans-serif;
	width:100%;height:100%;
    background: #f6f6f6  url(../images/body_bg.png) top left repeat-x;
}
#forum {
	width:1004px;height:auto !important;min-height:100%;
	margin:0px auto;
	position:relative;z-index:1;
    background: url(../images/head_inner.jpg) right top no-repeat;
}
div.header {
	height:520px;
    width:1024px;
	
}
.logo_link {
	position:absolute;
    right:6px;
    top:212px;
}
.icon_menu_inner {
	position: absolute;
	top: 326px;
	left: 862px;
}
.header .menu {
	width:170px;
	padding:5px 0 0 30px;
}
.header .menu table {
	vertical-align:middle;
	width:100%;
	height:100%;
	cursor:pointer;
}
.header .link {
	margin:5px 0px;
	position:relative;
	cursor: pointer;
}  
.link {
	cursor: pointer;
}
.two_line  a{
	height:35px !important;
    line-height:16px !important;
    padding-top:4px;
}
.two_line img {
	margin-top:3px;
}
.link a {
	background: url('../images/button_n_nar.png') no-repeat left top;
	width:167px;
	height:39px;
	clear:both;
	display:block;
	text-align:center;
	font-family:Arial;
    font-size:15px;
    font-weight:bold;
	color:#ffffff;
	text-decoration:none;
	cursor:pointer;
}
.link table {
	cursor:pointer;
	height:100%;
	vertical-align:middle;
	width:100%;
}
.link a:hover {
	color:#000000;
	background: url('../images/button_h_nar.png') no-repeat left top;
	cursor:pointer;
}
.link:hover .sub_links, .link:hover .sub_links_b, 
.link:hover .sub_links_dynamic {
	display: block;
}
/*dynamic menu*/
.sub_links_dynamic {
	position:absolute;
	left: 170px;
	top:0px;
	display:none;
	padding-left:30px;
	background: url("../images/sub_links_arrow.png") no-repeat 5px top  transparent;
	z-index:30;
}
.sub_links_dynamic a{
	background: url("../images/sub_links_big.png") top left no-repeat transparent !important;
	width: 320px;
	height: 40px;
	color: #000;
	line-height: 20px; 
	overflow: hidden;
	padding: 5px 10px;
}
.sub_links_dynamic a:hover{
	background: url("../images/sub_links_big.png") 0 -50px no-repeat transparent !important;
	color: #fff;       
	z-index:30;
}
/*end dynamic menu*/
*html .link, .sub_links_b {
    behavior: url(/hover.htc);
}
.visible_submenu {
    z-index:111;
}
.visible_submenu .sub_links, .visible_submenu .sub_links_b {
    display:block!important;
}

*html .sub_links a, .sub_links_b a, .sub_links_b  a, .bottom_menu .link a {
    background: none!important;
    color:#fff!important;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader (src='/images/sub_links_ie.png', sizingMethod='scale');
}
*html .sub_links a:hover, .sub_links_b a:hover, .sub_links_b a:hover, .bottom_menu .link a:hover  {
    background: none!important;
    color:#000!important;
    cursor:pointer;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader (src='/images/sub_links_hover_ie.png', sizingMethod='scale');
}
*html .png {
    background: none!important;
    behavior: url('/pngfix.htc');
}

/*поиск в хедере*/
.ya_search {
	position: absolute;
	left: 690px;
	top: 2px;  
	z-index: 1;
}
.ya_search img {
	float:left;
}
.ya_search .text-input {
	border:0px;
	width:139px;
	position: relative;
	top: 7px;
    margin: 0px 0px 0px 0px;
    height:20px;
	background:#fff url(../images/yandex_bg.png) 4px;
    background-repeat: no-repeat;
	font-size: 14px;
}
.ya_search .bg_left {
	background: url('../images/button_n_left_nar.png') no-repeat left top;
	width:6px;height:33px;
	float:left;
}
.ya_search .bg_center {
	background: url('../images/button_n_center_nar.png') repeat-x left top;
    height:33px;
	padding-top:0px;
	float:left;
	overflow: hidden;
}
.ya_search .bg_right {
	background: url('../images/button_n_right_nar.png') no-repeat left top;
	width:6px;height:33px;
	float:left;
}
.ya_search_sub {
	border:0px;
	background: url('../images/btn_search2.gif') no-repeat center center;
	width:40px!important;
    height:20px;
    cursor: pointer;
    top:7px;
    right:2px;
	position: absolute;
}
/*выбор катагорий поиска*/
/*.ya_list_search {
	border:0px;
	background-color: #FFFFFF;
	width:140px!important;
    height:27px;
    cursor: pointer;
    position:absolute;
    top:9px;
    left:410px;
	color: #AAAAAA;
	visibility:hidden;
	border-left: gray 1px dotted;
	padding-left: 5px;
}
#panel_category{
	width: 134px;
	display: none;
	background-color: #FFFFFF;
	position: absolute;
	left: 411px;
	top: 36px;
	border-left: gray 1px solid;
	border-right: gray 1px solid;
	border-bottom: gray 1px solid;
	padding-left: 10px;
	overflow: hidden;
}
#panel_category a{
	text-decoration: none;
	cursor: pointer;
}
#panel_category a:hover{
	font-size: 14px;
	color: red;
}*/
/*form login*/
.exit_panel{
	width: 15px;
	height: 15px;
	background: url("../images/login_panel_exit.gif") no-repeat;
	position: absolute;
	top: 2px;
	left: 220px;
}
#panel_login {
	background-color: white;
	border: solid 1px black;
	position: absolute;
	left: 210px;
	top: 170px;
	display: none; 
}
.login_form {
	float:left;
	overflow: hidden;
	display:none;
}
.login_form .title {
	width:235px;
	height:20px;
}
.login_form strong {
	font-size:13px;
	margin-left:30px;
}
.login_form .form {
	width:224px;
	padding:5px 5px 10px 10px;
	/*float:left;*/
}
.login_form input {
	width:210px;
	margin-bottom:5px;
    border:1px solid #000;
}
.login_form a {
	color:#314396;
}
.login_form p {
	clear:both;
	margin-bottom:5px;
}
.sub_button {
	width:70px!important;height:26px;
	background: url('../images/sub_button.png') no-repeat 5px;
	margin-left:54px;
	border:0px;
	color:#ffffff;
	float:left;
    border:0px!important;
    cursor: pointer;
}
.sub_new_button {
	width:63px!important;height:26px;
	background: url('../images/sub_button.png') no-repeat left top;
	border:0px;
	color:#ffffff;
    border:0px!important;
    cursor: pointer;
	padding: 0px 0px 3px;
}
/*end form login*/
/* center */
#wrap {
    /*top:-80px;
    position: relative;*/
}
.main_head {
    line-height:66px;
    position: absolute;
    z-index:10;
    /*top:-90px;*/
    top:-90px;
    margin:0px 0 0 0px;
    padding:0px 3px 0px 0px;
    background: url(../images/forum_main_head_r.gif) right 19px no-repeat;
}
.main_head .icon {
    width:85px;
    height:71px;
    background: url(../images/forum_ico.gif) no-repeat;
    float:left;
}
.main_head h1 {
    float:left;
    font-size:15px;
    line-height:20px;
    color: #000;
    margin:0;
    width:845px;
    padding:25px 10px 10px 0;
    height:40px;
    background: url(../images/forum_main_head.gif) 0px 19px repeat-x;
}
.center {
    padding:0px 10px 0px 10px;
}
#container {
    background: url("../images/border_right.png") repeat-y scroll right top transparent;
    width:100%;
    float:left;
    position: relative;
    min-height:400px;
    padding:0px 0px 20px 0px;
    margin:0px 0px 30px 0px;

}
.content_top {
    width:964px;
    height:3px;
    background: url(../images/forum_content_top.jpg) no-repeat;
    position: absolute;
    top:-2px;
    right:0px;
}
.content_bottom {
    width:964px;
    height:3px;
    background: url(../images/forum_content_bottom.jpg) right top no-repeat;
    position: absolute;
    bottom:-2px;
    right:2px;
}
*html .content_bottom {
    bottom:-14px;
}
.breadcrumbs {
    font-size:15px;
    font-weight:bold;
    letter-spacing: 1px;
    position:absolute;
    right:20px;
    text-align:right;
    top:-130px;
    line-height:22px;
    width:740px;
	z-index: 0;
}
.breadcrumbs a, .main_head a {
    color:#0c8fd3;
    text-decoration: none;
}
.breadcrumbs a span, .main_head a span {
    text-decoration: underline;
}
.breadcrumbs a span:hover{
    text-decoration: none;
}
#search-box {
    background: url(../images/forum_search_bg.jpg) left top no-repeat;
    padding:5px 10px 5px 13px;
}
#search-box .inp_button{
    border: 0px;
    background: url(../images/forum_search_button.png) no-repeat;
    width:36px;
    height:30px;
    margin:5px 0 0 3px;
}
#search-box #keywords {
    border:0px;
    height:25px;
    width:373px;
}
.topic-actions .search-box{
    display: none;
}
/*footer*/
.footer {
	/*background: url('../images/footer_bg.jpg') no-repeat 30px top;
	width:1004px;height:175px;
	margin:20px auto 0px; /*-175px*/
	/*clear:both;
	position:relative;*/
	background:url("../images/footer_bg_white.jpg") no-repeat scroll left top transparent;
	clear:both;
	margin:80px auto 0;
	min-height:85px;
	overflow:hidden;
	padding-bottom:100px;
	position:relative;
	width:1024px;
}
.foot_banners {
	margin-top:30px;
	min-height:100px;
}
.footer_banners {
	float:left;
	height:125px;
	position:relative;
	width:760px;

}

.footer .mic {
	background:url("../images/mic_icon.png") no-repeat scroll left top transparent;
	bottom:105px;
	height:104px;
	position:absolute;
	width:80px;
	left:5px;
	bottom:100px;
}

/*.footer .mic {
	background: url('../images/mic_icon.png') no-repeat left top;
	width:80px;height:104px;
	position:absolute;top:40px;
	z-index:2;
}*/
.banners {
	/*position:absolute;top:50px;left:65px;*/
	margin-left:85px;
	margin-top:60px;
}
.banner_line {
	clear:both;
	height:auto;
}
.banner_line img {
	float:left;
	margin:5px;
}
.banner_line div {
	float:left;
	height:45px;
	margin:5px 7px;
	text-align:center;
	width:75px;
}
.count_block {
	/*position:absolute;
	right:0;
	top:10px;
	width:240px;*/
}
.count_block {
	bottom:10px;
	height:80px;
	left:10px;
	position:absolute;
}
.count_block .left {
	background:url("../images/contacts_bg_left.png") no-repeat scroll left bottom transparent;
	float:left;
	height:77px;
	width:11px;
}
.count_block .center {
	background:url("../images/contacts_bg_center.png") repeat-x scroll left bottom transparent;
	float:left;
	height:77px;
	width:990px;
	padding:0px;
}
.count_block .center p {
	margin-bottom:0px;
}
.count_block .right {
	background:url("../images/contacts_bg_right.png") no-repeat scroll left bottom transparent;
	float:left;
	height:77px;
	width:13px;
}
.count_block a {
	color:#314396;
}
.count_block img {
	float:right;
}
.foot_contacts {
	float:right;
	margin-top:60px;
	position:relative;
}
.foot_contacts  p {
	clear:both;
	position:relative;
	z-index:10;
}
.foot_contacts  a {
	color:#000000;
}
.bottom_menu {
    margin:auto;
    padding:41px 0 21px 1px;
    width:750px;
}
.bottom_menu .link {
    /*float:left;
	margin:0px 7px 0px 0px;*/
	float:left;
	margin:0 5px;
	position:relative;
	width:167px;
}
.copyright {
    bottom:10px;
    right:20px;
    position: absolute;
}
/*end footer*/



.sub_links {
	position:absolute;
	left: 170px;
	top:0px;
	display:none;
	padding-left:30px;
	background: url("../images/sub_links_arrow.png") no-repeat top left transparent;
	z-index: 100;
}

.sub_links_b {
	position:absolute;
	left: -40px;
	top:40px;
	display:none;
	padding-top: 10px; 
	background: url("../images/sub_links_arrow_bottom.png") no-repeat center 10px transparent;
	z-index:100;
}
.sb_inner {
	left: 170px;
	top:auto;
	margin-top:-48px !important;
}
.sb_inner_b {
	left:auto;
	top:auto;
	margin-left:-35px;
}
.sub_links div {
	margin-top: 6px;
}

.sub_links a, .sub_links_b a {
	background: url("../images/sub_links.png") top left no-repeat transparent !important;
	width: 262px;
	height: 36px;
	color: #000;
	line-height: 36px;
}
.sub_links a:hover, .sub_links_b a:hover {
	background: url("../images/sub_links.png") 0 -36px no-repeat transparent !important;
	color: #fff;
}

