html, body {height: 100%}
*, html, body {margin: 0px; padding: 0px}
.clear {clear: both; height: 0px}
body {background: url(../img/bg.jpg) repeat; width: 100%; height: 100%}
form {margin-bottom: 0px}
img {border: 0px}

#main_bg {width: 100%; position: relative; margin: 0 auto}
#main {max-width:1280px; height: 100%; margin:auto;}
html>body #main {height:auto}

#header {background: url(../img/header.jpg) repeat-x; height: 60px; min-width:1000px;//width:expression(document.body.clientWidth>1000?"100%":"1000px"); float: left}
html>body #header {float: none}
#header_left {height: 44px; margin: 16px 0 0 16px; font:  bold 14px Tahoma, Verdana sans-serif; color: #e1c54e; float: left}
html>body #header_left {margin: 16px 0 0 30px;}
#header_right {margin: 19px 16px 0 0; font: bold 12px Tahoma, Verdana sans-serif; color: #e1c54e; float: right}
html>body #header_right {margin: 16px 30px 0 0}
#header_right_img {margin: 2px 10px 0 0; width: 64px; height: 15px; float: left}
#header_right_img a {margin-right: 10px; float: left}
#header_right_img a.home {background: url(../img/home.gif) no-repeat; height: 10px; width: 11px}
#header_right_img a.home:hover {background: url(../img/home_active.gif) no-repeat; height: 10px; width: 11px}
#header_right_img a.map {background: url(../img/map.gif) no-repeat; height: 10px; width: 11px}
#header_right_img a.map:hover {background: url(../img/map_active.gif) no-repeat; height: 10px; width: 11px}
#header_right_img a.mailto {background: url(../img/mailto.gif) no-repeat; height: 10px; width: 12px}
#header_right_img a.mailto:hover {background: url(../img/mailto_active.gif) no-repeat; height: 10px; width: 12px}
#header_right_lang {float: leftt}
#header_right_lang a {margin-left: 10px; font: bold 12px Tahoma, Verdana sans-serif; color: #e4cba2}
#header_right_lang a:hover {color: #77342a; text-decoration: none}

#logo_main {background: url(../img/logo_longer.jpg) repeat-x; height: 222px; float: left; width: 100%}
#logo_main_right {background: url(../img/logo_main.jpg) no-repeat; height: 222px; width: 845px; margin-top: 1px; float: right}
#logo {margin: 24px 0 0 30px; position: absolute; float: left}

#menu_gor_longer {background: url(../img/menu_gor_longer.jpg) repeat-x; height: 45px; min-width:1000px;//width:expression(document.body.clientWidth>1000?"100%":"1000px")}
#menu_gor_left {background: url(../img/menu_gor_left.jpg) no-repeat; width: 30%; height: 45px; float: left}
#menu_gor_right {margin-left: 2%; float: left}
html:root #menu_gor_right {margin-left: 6%; float: left}
#menu_gor_right a {text-decoration: none; font: bold 12px Tahoma, Verdana sans-serif; color: #dcc0a4}
#menu_gor_right a:hover {text-decoration: underline; color: #77342a}
#menu_gor_right td {height: 44px}
#menu_gor_right td.lir {background: url(../img/menu_gor_right_li.jpg) no-repeat; background-position: 0 12px; width: 28px}
#menu_gor_right td.lit {padding-right: 16px}

#center {min-width:1000px; //width:expression(document.body.clientWidth>1000?"100%":"1000px")}

#main_menu {width: 28%; height: 100%; float: left; margin-left: 6px}
html>body #main_menu {margin-left: 16px}
#main_menu a {font: bold 13px Tahoma, Verdana sans-serif; color:  #8c4a16; text-decoration: none; margin-top: 4px}
#main_menu a:hover {font: bold 13px Tahoma, Verdana sans-serif; color:  #8c4a16; text-decoration: underline; margin-top: 4px}
#main_menu_head {background: url(../img/main_menu_head.gif) no-repeat; background-position: 10px 0; width:292px; height: 22px}
.menu_title {font: bold 13px Tahoma, Verdana sans-serif; color:  #8c4a16; text-align: center; margin-bottom: 20px}
#menu_longer {background: url(../img/menu_longer.gif) repeat-y;  background-position: 10px 0; width:292px; height: 100%}
.menu_table {margin-left: 6px}
.tr_li {padding: 4px 0px 0 0}
.menu_item {width:250px}
.menu_item_active {background: #f5e6c4; width:250px}
.menu_item p, .menu_item_active p {padding: 4px 0 4px 10px}
.menu_li img {margin-left: -16px; position: absolute; padding-top: 10px}
.menu_img_active, .title_cont {background:url(../img/li_img.gif) repeat; height: 100%; width: 26px}
#menu_footer {background: url(../img/menu_footer.gif) no-repeat; background-position: 10px 0;  width: 292px; height: 72px; margin-top: 0px}

#center_txt {height: 100%; margin-left: 24px; font: 12px Tahoma, Verdana sans-serif; color:  #5d2c0c; float: left; width: 66%}
#center_txt_head {width: 88%; height: 22px}
html>body #center_txt_head {width: 86%}
.center_txt_head_left {background: url(../img/head_left.gif) no-repeat; height: 22px; width: 100%; float: left; position: absolute}
html>body .center_txt_head_left {position: relative}
.center_txt_head_center {background: url(../img/head_longer.jpg) repeat-x; height: 100%; width: 97%; float: right; position: absolute; margin-left: 55px}
html>body .center_txt_head_center {margin-left: 55px; width: 100%}
.center_txt_head_right {background: url(../img/head_right.gif) no-repeat; height: 22px; width: 55px; margin-left: 100%; float: right; position: absolute}
html>body .center_txt_head_right {margin-right: -110px; float: right; position: relative}

.main_ctxt_left {background: url(../img/main_left.gif) repeat-y; 100%; width: 100%; float: left; position: relative}
.main_ctxt_center {background-color: #e7cba3; width: 100%; height: 100%; position: relative; float: right; padding-top: 0; margin-left: 52px}	
html>body .main_ctxt_center {margin-left: 55px; float: left}	
.main_ctxt_right {background: url(../img/main_right.gif) repeat-y; background-position: 100% 0; height: 100%; float: right; position: relative; margin-right: -3px}
html>body .main_ctxt_right {margin: 0 -55px 0 0}


.main_title {margin-left: -60px; position: absolute; margin-bottom: 14px}
html>body .main_title {margin-left: -62px}
.main_title_form {margin-left: -60px; position: absolute; margin-bottom: 14px}
html>body .main_title_form {margin-left: -62px; margin-bottom: 14px}
html:first-child .main_title_form {margin-left: -62px}
html:root .main_title_form {margin-left: -62px}

.main_title_item {background: url(../img/main_txt_title.gif) repeat; width:500px}
.main_title_item h1 {font: bold 14px Tahoma, Verdana sans-serif; color: #8c4a16; margin-left: 36px; padding: 0px 0 2px 38px}
html:first-child .main_title_item h1 {padding: 0px 0 2px 34px}
.main_title_img {background:url(../img/li_img.gif) repeat; height: 100%; width: 26px}

#main_ctxt {line-height: 18px; width: 88%}
html>body #main_ctxt {width: 86%}
#main_ctxt p {text-indent: 36px; margin: 4px 0}
html:root #main_ctxt p {text-indent: 38px}
html:first-child #main_ctxt p {text-indent: 34px}
#main_ctxt a {font: 13px Tahoma, Verdana sans-serif; color:  #b70000}
#main_ctxt a:hover {text-decoration: none}
#for_p {width: 90%; margin: 20px 0 0 0; padding: 0; float: left}
html>body #for_p {width: 90%; margin: 0 auto; min-height: 300px; //height: expression(document.body.clientHeight>300?"100%":"300px"); margin-top: 40px; padding-right: 52px}
html:root #for_p {width: 95%; float: left; padding: 0}//расположение текста на страницах
html:first-child #for_p {width: 95%; float: left; padding: 0}
#for_p p, #for_p li {padding-right: 20px}
html>body #for_p p, #for_p li {padding-right: 0 !important}
html:first-child #for_p p, #for_p li {padding-right: 20px !important}
html:root #for_p p, #for_p li {padding-right: 20px !important}
html>body #for_p li {padding-left: 80px}

#center_footer {width: 88%; height: 72px; margin-left: -2px}
html>body #center_footer {width: 86%}
.center_txt_footer_left {background: url(../img/footer_left.gif) no-repeat; height: 72px; width: 100%; float: left; position: absolute; margin-left: 2px}
html>body .center_txt_footer_left {position: relative}
.center_txt_footer_center {background: url(../img/footer_longer.gif) repeat-x; background-position: 20px 0px; height: 100%; width: 97%; float: left; position: absolute; margin-left: 55px}
html>body .center_txt_footer_center {margin-left: 55px; width: 100%}
.center_txt_footer_right {background: url(../img/footer_right.gif) no-repeat; height: 72px; width: 55px; float: right; margin-left: 100%; position: absolute}
html>body .center_txt_footer_right {margin-right: -110px; float: right; position: relative}

#cont_form {width: 530px; font: 12px Tahoma, Verdana sans-serif; color: #643615; margin-left: 36px}
#cont_form p.form_name {height: 22px; font: bold 13px Tahoma, Verdana sans-serif; color: #d3ba91; background: #a87a56; padding: 3px 0 0 20px; margin: 0; text-indent: 0}
.form_font { background: #f3e1bd; padding: 6px 20px 20px 20px}
.contact_form {padding-top: 20px; font: bold 12px Tahoma, Verdana sans-serif; color: #ae673b}
.contact_form label {margin: 2px 0 12px 0; float: left}
.contact_form input, textarea {width: 280px; border: 1px solid #eee1bf; background: #fcf9f2; margin: 0 30px 0px 0; padding: 2px 0px 2px 8px; float: right; color: #643615}
.contact_form input {height: 16px;}
.contact_form textarea {height: 100px}
.contact_form .btn {border: 2px solid #eee1bf; width: 117px; height: 27px; margin: 6px 50px 0 0; padding: 0}
#note {font: 11px Tahoma, Verdana sans-serif; color: #643615; margin-top: -26px; position: absolute}
#for_form {width: 100%; margin: 30px 0 0 0; padding: 0}
html>body #for_form {width: 100%; margin: 0 auto;  min-height: 300px; //height: expression(document.body.clientHeight>300?"100%":"300px"); margin: 30px 54px 0 0}
html:root #for_form  {width: 100%; float: left; padding: 0; margin: 30px 0 0 0}
html:first-child #for_form  {width: 100%; float: left; padding: 0; margin: 30px 0 0 0}
#captcha {width: 60px !important; height: 25px; margin-top: 6px}
.captcha_table {color: #643615; float: left}

#footer {background: url(../img/footer_bg.jpg) repeat-x; background-position: 0 72px; width: 100%; height: 179px; margin-top: -30px; font: 14px Tahoma, Verdana sans-serif; color: #fff; bottom: 0; float: left; position: relative}
html:first-child #footer {margin-top: 0}
#footer a {font:  14px Tahoma, Verdana sans-serif; color: #fff; text-decoration: none}
#footer a:hover {text-decoration: underline}
#footer_left {width: 20%; margin: 94px 0 0 10px; float: left}
html>body #footer_left {margin-left: 30px}
#footer_center {width: 23%; margin-top: 110px; text-align: center; float: left}
#footer_right {margin-top: 94px; float: right; margin-right: -80px}
.footer_right_txt {padding-top: 22px}
#footer img.phone {float: right; margin: 0 0 0 0}

#for_p ul {list-style: none; padding-left: 58px}
html:root #for_p ul {padding-left: 60px} 
html:first-child #for_p ul {padding-left: 56px} 


#for_p ul a {font: bold 13px Tahoma, Verdana sans-serif; color:  #8c4a16; text-decoration: underline}
#for_p ul a:hover {font: bold 13px Tahoma, Verdana sans-serif; color: #8c4a16; text-decoration: none}
#for_p ul li {margin-top: 4px; width: 500px; padding-left: 30px}
#for_p ul li {background: url(/img/map_li.gif) no-repeat; background-position: 0px 3px}
html:root #for_p ul li {padding-left: 24px}
html:root #for_p ul {margin-left: -14px}

html>body #for_p ul li {padding-left: 24px}
html>body #for_p ul {margin-left: -14px}

h2 {margin-left: 38px}