html { /*------------ 100% высота контейнера div.page  */
height: 100%;
}

body {
/*--------------- 100% высота контейнера div.page  */
min-height:100%;
height: 100%;
background-color: #ffffff;
}

/* Контейнер всего содержимого кроме подвала */
div.page {
width: 100%;
height: auto !important;
min-height:100%;
height: 100%;
/*----------------------- 100% высоты контейнера относительно клиентской области и контента для IE, FF, Opera */
min-width:1000px;
width:expression((document.documentElement.clientWidth || document.body.clientWidth) < 990? "1000px":"auto");
margin-left:auto;
margin-right:auto;
background: url('/public/img/fon_left.gif') repeat-y 0 0;
}

div.page0 {
}

/* Контейнер шапки */
div.page div.header {
width: 100%;
float:left;
background: #ffffff url('/public/img/fon0.jpg') no-repeat 0 bottom;
}
div.page div.header0 {
width: 100%;
float:left;
background: url('/public/img/top_fon.gif') repeat-x 0 0;
padding-bottom:123px;
}
div.page div.header1 {
width: 100%;
float:left;
background: #ffffff url('/public/img/fon00.jpg') repeat-x 0 bottom;
}

/* Патч для установки минимальной высоты в IE */
div.page div.patch_minheight {
width: 1px;
height: 190px;
float: right;
}

div.page div.footer_guarantor {
height: 190px;
clear: both;
background-color: #ffffff;
}

.main {
float:left;
width:100%;
margin-top:-60px;
position:relative;
background: url('/public/img/fon_line.gif') repeat-x 0 0;
}

.main div.sidebar {
width:325px;
float:left;
position:relative;
left:0px;
margin-top:50px;
}

.main div.mainbar {
margin-left:385px;
margin-right:50px;
}

/* Контейнер подвала */
div.footer {
margin-top:-100px;
width: 100%;
clear: both;
height: 100px;
margin-left:auto;
margin-right:auto;
min-width:1000px;
width:expression((document.documentElement.clientWidth || document.body.clientWidth) < 990? "1000px":"auto");
background: url('/public/img/fon_line.gif') repeat-x 0 70px;
}
