html {height: 100%;}

body {
min-height: 100%;
height: 100%;
width: 100%;
min-width: 1000px;
width:expression((document.documentElement.clientWidth || document.body.clientWidth) < 980? "1000px":"auto");
margin-left: auto;
margin-right: auto;}


/* Контейнер всего содержимого кроме подвала */
div.page {
/*----------------------- 100% высоты контейнера относительно клиентской области и контента для IE, FF, Opera */
height: auto !important;
min-height: 100%;
height: 100%;
width: 100%;
min-width: 1000px;
width:expression((document.documentElement.clientWidth || document.body.clientWidth) < 980? "1000px":"auto");
margin-left: auto;
margin-right: auto;
background: url('http://dom-bania.ru/media/images/right.gif') repeat-y right 310px;}

div.page0 {
padding-left: 0;
padding-right: 0;}

/* Контейнер шапки */
div.page div.header {
width: 100%;
float: left;
height: 350px;
background: #fff url('http://dom-bania.ru/media/images/fon0.gif') repeat-x 0 0;
position: relative;
z-index: 90;}

/* Патч для установки минимальной высоты в IE */
div.page div.patch_minheight {
width: 1px;
height: 51px;
float: right;}

div.page div.footer_guarantor {
height: 51px;
clear: both;}

.main {
float: left;
width: 100%;
position:relative;
margin-top: 0;
z-index: 99;}

.main div.sidebar {
width: 278px;
float: right;
padding-bottom: 10px;
background: url('http://dom-bania.ru/media/images/menu_top.gif') no-repeat 0 0;
position: relative;
margin-top: -78px;}

.main div.mainbar {
margin-right: 280px;
padding-left: 10px;}


/* Контейнер подвала */
div.footer {
margin-top:-80px;
clear: both;
height: 80px;
background: #fff;
margin-left: auto;
margin-right: auto;
width: 100%;
min-width:1000px;
width:expression((document.documentElement.clientWidth || document.body.clientWidth) < 980? "1000px":"auto");}