* {margin: 0; padding: 0;}

html, body, #wrap {height: 100%; margin: 0; padding: 0;}

body {font: 0.8em "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif; background: #ebd5c3;}
body > #wrap {height: auto; min-height: 100%;}
img {border-style: none;}

/* ------------- HEADER ------------- */
#header {
	height: 400px;
	background: url(../images/bag_bg.jpg) repeat-x;
	text-align: center;
}

#header img.bag {
	text-align: center;
}
/* ------------- HEADER END ------------- */
/* ------------- MENU ------------- */
#mainmenu {
	text-align: center;
	list-style:none;
	white-space:nowrap;
	padding-top: 10px;
}

ul #nav {
	overflow: hidden;
	width: 100%;
}

#mainmenu li {
	font-size: 1.2em;
	list-style-type: none;
	text-align: center;
	display:inline-block;
	vertical-align:top;
	border-right: 1px solid #4a1a14;
	margin-left: -1px;
}


#mainmenu li a {
	display:inline-block;
	padding: 5px 2em;
	text-decoration: underline;
	color: #4a1a14;
	vertical-align:bottom;
}


@-moz-document url-prefix() {
  #mainmenu LI {display:-moz-inline-grid;display:inline-block;} /*For FF2 only*/
  #mainmenu LI {margin:0 -2px;} /*For FF*/        
  #mainmenu LI, x:-moz-any-link, x:default { margin:0 -2px;} /*For FF3*/}

/* ------------- MENU END ------------- */


#top {
	padding-top: 30px;
	width: 100%;
	text-align: center; text-justify:newspaper;
}

.box{ display:-moz-inline-box; display:inline-block; vertical-align:top; width:240px; text-align: center;
}
.box p{ padding:5px 20px;}
/*IE6*/* html .box{ display:inline; }
/*IE7*/* + html .box{ display:inline; }
.under{display:-moz-inline-box; display:inline-block; width:100%; }

p.sName a {
	text-decoration: underline;
	color: #000;
	text-align: center;
	font-size: 1.2em;
	padding: 5px 20px;
}

p.sPrice {
	color: #000;
	font-size: 1.2em;
	padding-top: 5px;
}

p.sZakaz a {
	text-decoration: underline;
	color: #974f38;
	text-align: center;
	font-size: 1.2em;
	padding-top: 5px;
}


/* ------------- FOOTER ------------- */
#main {padding-bottom: 53px;}  /* отступ должен быть равен высоте футера */


#footer {position: relative;
	margin-top: -53px; /* отрицательное значение высоты футера */
	height: 53px;
	clear:both;
	background: url(../images/footer_bg.gif) repeat-x;
} 

#footer span#copywright {
	width: 20%;
	font-size: 12px;
	color: #974f38;
	text-align: left;
	height: 35px;
	padding: 13px 0 0;
	margin: 0 10% 0 0;
	display: block;
	position: relative;
	float: right;
}

#conf {
	width: 150px;
	color: #974f38;
	font-size: 12px;
	vertical-align: middle;
	left: 200px;
	background: url(../images/logo_conf.gif) no-repeat 0;
	padding-left: 50px;
	display: block;
	position: relative;
	float: left;
	top: 13px;
}

#conf a {
	color: #974f38;
	font-size: 12px;
	text-decoration: underline;
}



.clearfix:after {content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;}
.clearfix {display: inline-block;}
/* Hides from IE-mac \*/
* html .clearfix { height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */

/* ------------- FOOTER END ------------- */
