@charset "UTF-8";

/*********** General Resets ***********/

body {
	margin: 0;
	padding: 0;
	font-family: verdana, arial, helvetica, sans-serif;
	font-size: 12px;
	color: #636466;
	line-height: 1.5;
	background: #7aa6d1;
}
body#mainpage {
	display: block;
}
img {
	float: left;
	border: none;
	margin: 0 0 0 0;
}
ul {
	float: left;
	margin: 0;
}
li {
	margin: 0 0 0 -25px;
	padding: 0;
}
p {
	float: left;
	margin: 0;
	text-align: left;
	padding: 0;
	width: 100%;
}

a {
	color: #ffffff;
	text-decoration: none;
}
a:hover { color: blue; }

/***** main page *****/
a.home_consign {
	position: absolute;
	top: 16px;
	left: 308px;
	width: 65px;
	height: 19px;
	display: block;
	overflow: hidden;
	background: url(../images/sprite.png) -791px -33px;
}
a.home_accessories {
	position: absolute;
	top: 91px;
	left: 419px;
	width: 95px;
	height: 19px;
	display: block;
	overflow: hidden;
	background: url(../images/sprite.png) -795px -81px;
}
a.home_furniture {
	position: absolute;
	top: 244px;
	left: 292px;
	width: 75px;
	height: 19px;
	display: block;
	overflow: hidden;
	background: url(../images/sprite.png) -710px -80px;
}
a.home_onsale {
	position: absolute;
	top: 379px;
	left: 177px;
	width: 60px;
	height: 19px;
	display: block;
	overflow: hidden;
	background: url(../images/sprite.png) -827px -110px;
}

/***** footer ******/
div.footer {
	float: right;
	width: 505px;
	height: 15px;
	margin: 30px 68px 50px 0;
	overflow: hidden;
	position: relative;
	background: url(../images/sprite.png) -25px -188px no-repeat;
}
a.footer_contactus {
	position: absolute;
	top: 0;
	left: 0;
	width: 80px;
	height: 8px;
}
a.footer_press {
	position: absolute;
	top: 0;
	left: 117px;
	width: 39px;
	height: 8px;
}
a.footer_subscribe {
	position: absolute;
	top: 0;
	left: 192px;
	width: 70px;
	height: 8px;
}
a.footer_aboutus {
	position: absolute;
	top: 0;
	left: 300px;
	width: 64px;
	height: 8px;
}
a.footer_returns {
	position: absolute;
	top: 0;
	left: 399px;
	width: 97px;
	height: 8px;
}

/**** furniture ****/
div.sitecontainer {
	float: left;
	width: 855px;
	margin: 15px 0 20px 0;
}
div.sitecontainer img {
	float: left;
	width: 400px;
	height: 300px;
	margin: 5px 0 5px 8px;
	padding: 4px;
	border: 1px solid black;
}

/******* Default CSS for pan containers ***********/
.pancontainer {
	position:relative; /*keep this intact*/
	overflow:hidden; /*keep this intact*/
	width: 360px;
	height: 456px;
	margin: 9px 10px;
}
.mainbox { 
	width: 100%;
	max-width: 1200px;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	margin: 0 auto;
	position: relative;
	z-index: 1;
	font-family: verdana;
}
.mainbox div {
	width: 20%;
	margin: 2%;
}
@media screen and (max-width: 1000px) {
	.mainbox div { 
		width: 45%;
	}
}

@media screen and (max-width: 800px) {
	.mainbox {  display: block; }
	.mainbox div {
		width: 90%;
		float: left;
		margin: 2% 0 2% 5%;
	}
}













