* {
  padding: 0; margin: 0
}

html, body {margin:0;padding:0;width:100%;height: 100%;min-height: 100%;max-height: 100%;/*overflow:hidden;*/}

body {
  background: #fff;
}

body > #layout {height: auto; height: 100%; min-height: 100%; border: 0px solid red}
#main {padding-bottom: 0px;} /*150*/

#layout {
/*background: url(../i/test.jpg) no-repeat center center; height: 960px;*/
}


#main
{

margin: 0 auto; padding: 0;
width: 100%;
width: expression(
	(
		document.getElementById('measurer')
		/* min-width in em * 0.8 */
		&& document.getElementById('measurer').clientWidth <  1000
	)
	?	document.getElementById('measurer').clientWidth + 'px'
	:	(
			document.getElementById('measurer')
			/* max-width in em * 0.8 */
			&& document.getElementById('measurer').clientWidth < 1176
		)
		?	'100%'
		:	( document.getElementById('measurer') )
			?	1176 + 'px'
			:	'auto'
);
min-width: 1000px; max-width: 1176px;
}

#measurer
{
position: absolute;
left: 0;
top: -1em;
visibility: hidden;
width: 100%; height: 1em;
line-height: 1em;
background: white;
}


#footer {
    width: 100%;
	height: 70px;
	clear:both;
    border: 0px solid red;
    overflow: hidden;
    position: relative;
    z-index:100;
}

.slogo {
  margin-top: 110px;
  float:right;
  position: relative;
  /*margin-right:0px;*/
  left: -20px
}
.menu {
  text-align: left; width:490px; height: 270px;
}


.menu .item {
  width: 214px;
  background-repeat: no-repeat;
  background-position: 0 0;
  display: block;
  height: 42px;
  float: left;
  clear: left;
}

.menu a.item:hover{
  background-position: 0 -42px;
}

.menu #m1 {
  background-image: url(../i/menu1.png);
}
.menu #m2 {
  background-image: url(../i/menu2.png);
}
.menu #m3 {
  background-image: url(../i/menu3.png);
}
.menu #m4 {
  background-image: url(../i/menu4.png);
}
.menu #m5 {
  background-image: url(../i/menu5.png);
}


.fmenu { margin-top: 5px }
.fmenu a {
  height: 14px; overflow: hidden; float: left; display: block; background-image: url(../i/menu.png); background-repeat: no-repeat; margin-right: 6px
}
.fmenu #m1 { width: 41px; background-position: 0 0; }
.fmenu #m2 { width: 62px; background-position: -41px 0; }
.fmenu #m3 { width: 47px; background-position: -103px 0; }
.fmenu #m4 { width: 31px; background-position: -150px 0; }
.fmenu #m5 { width: 46px; background-position: -181px 0; }
.fmenu #m6 { width: 50px; background-position: -227px 0; }
.fmenu a#m1:hover { background-position: 0 -14px !important;}
.fmenu a#m2:hover { background-position: -41px -14px !important;}
.fmenu a#m3:hover { background-position: -103px -14px !important;}
.fmenu a#m4:hover { background-position: -150px -14px !important;}
.fmenu a#m5:hover { background-position: -181px -14px !important;}
.fmenu a#m6:hover { background-position: -227px -14px !important;}

img {
  border: 0
}
.click{
  cursor: pointer; cursor: hand;
}

.xgNav {
  width: 49px; height: 87px; display: block;
}
#xgPrev {
  background: url(../i/arrow1.png) no-repeat 0 0; float: right;
}
#xgNext {
  background: url(../i/arrow2.png) no-repeat 0 0
}
a.xgNav:hover {
  background-position: 0 -87px !important;
}


.mooSlide .cont {
 padding: 20px
}


.xgallery {
  margin-top: 0px;
}


.fs_thumbs_holder { /*background: #d7d7d3;*/width:500px; height:58px; margin-top: 0px;}
.fs_els_holder {height:65px;left:32px;margin-bottom:0px;overflow:hidden;position:relative;width:500px;}
.fs_els_holder .fs_els_real_holder {height:58px; left:0; top:0px; position:absolute; width:2070px;}

.xgallery .pic_preview {width:45px;height:45px;border: 3px solid #dcdddd; /*padding:3px;*/ float: left;position:relative;display:block;float:left;margin:0;overflow:hidden; margin-right: 5px}
.xgallery .pic_preview img {left:0;position: absolute;top:0;width:45px;height:45px;}
.xgallery .cur_preview { border: 3px solid #7f8080; padding:0px;}

.xgallery .cin { height: 53px; overflow: hidden;}
.xgallery a.pic_preview:hover { border: 3px solid #7f8080; }

.xgallery .nav{ position: absolute; margin-top: 10px; width: 564px;}
.fs_rail_r, .fs_rail_l { float: left; width: 20px; height: 35px; margin-top: 0px; display: block;}
.fs_rail_l { background: url(../i/tarrow1.png ) no-repeat 0 0 ;}
.fs_rail_r { background: url(../i/tarrow2.png ) no-repeat 0 0; float: right;}
a.fs_rail_l:hover, a.fs_rail_r:hover { background-position: 0 -35px !important }


.fs_knob { position: absolute; margin-top: 90px;}
.xg_loading {display:none;width:100%;	height:460px; text-align:center;}
.xg_loading img{margin-top:0px; position: relative; top:200px}



