body {
	background:#fff url(../img/mainpage-bg.jpg) 0 0 no-repeat;
}

#header {
	position:relative;
	height:450px;
}

#logo {
	position:absolute;
	top:0;
	left:50px;
	width:289px;
	height:122px;
	overflow:hidden;
}
#logo span {
	position:absolute;
	top:0;
	left:0;
	background:url(../img/mainpage-logo.jpg) no-repeat;
	width:289px;
	height:122px;
}	

#head-button {
	position:absolute;
	top:0;
	left:339px;
	width:540px;
	height:386px;
	cursor:pointer;
}
#head-button .open {
	display:block;
	position:absolute;
	top:96px;
	left:208px;
	background:url(../img/mainpage-animation-open.gif) no-repeat;
	width:100px;
	height:100px;
}
#head-button div {
	width:540px;
	height:386px;
}
#head-button .frame-01 {background:url(../img/mainpage-animation.jpg) 0 0 no-repeat; }
#head-button .frame-02 {background:url(../img/mainpage-animation.jpg) -540px 0 no-repeat; }
#head-button .frame-03 {background:url(../img/mainpage-animation.jpg) -1080px 0 no-repeat; }
#head-button .frame-04 {background:url(../img/mainpage-animation.jpg) -1620px 0 no-repeat; }
#head-button .frame-05 {background:url(../img/mainpage-animation.jpg) -2160px 0 no-repeat; }
#head-button .frame-06 {background:url(../img/mainpage-animation.jpg) -2700px 0 no-repeat; }
#head-button .frame-07 {background:url(../img/mainpage-animation.jpg) -3240px 0 no-repeat; }

#content-button {
	position:relative;
	width:411px;
	height:346px;
	cursor:pointer;
	margin-bottom:30px;
}
#content-button .open {
	display:block;
	position:absolute;
	top:106px;
	left:156px;
	background:url(../img/mainpage-animation2-open.gif) no-repeat;
	width:100px;
	height:100px;
}
#content-button div {
	width:411px;
	height:346px;
}
#content-button .frame-01 {background:url(../img/mainpage-animation2.jpg) 0 0 no-repeat; }
#content-button .frame-02 {background:url(../img/mainpage-animation2.jpg) -411px 0 no-repeat; }
#content-button .frame-03 {background:url(../img/mainpage-animation2.jpg) -822px 0 no-repeat; }
#content-button .frame-04 {background:url(../img/mainpage-animation2.jpg) -1233px 0 no-repeat; }
#content-button .frame-05 {background:url(../img/mainpage-animation2.jpg) -1644px 0 no-repeat; }
#content-button .frame-06 {background:url(../img/mainpage-animation2.jpg) -2055px 0 no-repeat; }
#content-button .frame-07 {background:url(../img/mainpage-animation2.jpg) -2466px 0 no-repeat; }
#content-button .frame-08 {background:url(../img/mainpage-animation2.jpg) -2877px 0 no-repeat; }

#content {
	position:relative;
	padding:0 0 0 50px;
	overflow:hidden;
	zoom:1;
}

#secondary {
	float:left;
	position:relative;
	padding:138px 0 50px 0;
	width:289px;
}
#secondary a {color:#ffe359; }
#secondary .first-link {
	position:absolute;
	left:0;
	top:70px;
	width:289px;
	height:60px;
	overflow:hidden;
	font-size:16px;
	text-align:center;
}
	#sidebar {
		position:relative;
		background:#525252 url(../img/mainpage-sidebar-bg.gif) bottom no-repeat;
		color:#fff;
		text-align:center;
		margin-bottom:50px;
	}
		.offers {
			padding:10px 0 1px 0;
			background:url(../img/mainpage-sidebar-big-cep.gif) center bottom no-repeat;
			margin-bottom:20px;			
		}
		.offers .item {
			margin:21px 0 0 0;
			padding-bottom:16px;
			background:url(../img/mainpage-offers-p-bg.gif) center bottom no-repeat;
		}
		.offers .nobg {background:none; }
		.offers p {margin:0 0 7px 0; }
		.offers p.links {line-height:1.5em; }
		

	#secondary .banner {text-align:center; }
	#secondary .banner p {margin:0 0 8px 0; }
	#secondary .banner a {color:#2e5299; }



#primary {
	position:relative;
	float:left;
	width:611px;
	padding-left:50px;
}

#primary .catalog p.img {margin:1em 0 3.5em 0; }


