/* CSS Document */
@media all and (max-width: 970px) {
	/* Header */ 
	
		#navigation > ul > li {
		display: none;
	}
	
	#menu {
		margin: 0 auto;
		display: block;
		margin: 0 0 2px 0;
	}
	
	#header h2, #header h2 a {
width: 100%;
}
	
	#header .center {
		width: 315px;
margin: 0 auto;
float: none;
clear: both;
height: 45px;
margin-bottom: 15px;
margin-top: 10px;
	}
	#header p.phone, #header p.delivery {
		clear: right;
		margin: auto;
float: none;
padding: 2px 0px;
text-align: center;
	}
	
	#header p.topmenu {
	
		margin: auto;
float: none;
padding: 2px 0px;
text-align: center;
    background: url(../images/shipping.png) no-repeat left center;
    padding-left: 25px;
        clear: both;
    width: 285px;
	}
	#header p.delivery {
		clear: none;
		margin: 25px 30px 0 0 ;
	}
	#header form {
		float: left;
		clear: left;
		padding: 0px;
		width: 303px;
	}
	#header .acountbox {
		width: 366px;
float: none;
margin: 0 auto;
	}
	/* Footer */
	#footer .bottom p {
		width: 100%;
		float: none;
		text-align: center;
		line-height: 30px;
	}
}
@media all and (max-width: 900px) {
	/* Adverts */
	#header h2, #header h2 a {
width: 100%;
  margin: 4px 0px 18px 0;
}

  

#header p.phone, #header p.delivery, #header form {
margin: auto;
float: none;
padding: 2px 0px;
}

#header .acountbox {
width: 388px;
float: none;
margin: 0 auto;
}
	
	#adverts .box.newsletter {
		width: 100%;
	}
	#adverts .box.newsletter form {
		max-width: 350px;
		margin: auto;
	}
	#adverts .box + .box {
		_width: 48%;
		_margin: 1%;
	}
}

@media all and (max-width: 851px) {
	
  ul.products li .photo {
	max-height: 180px;
	min-height: 180px;
}

#header h2 {
	height: 106px;
}


ul.categories li {
	height: 200px;
}

ul.categories li .box {
    height: 170px;
    }

}


@media all and (max-width: 730px) {
	
	#relative ul.products li {
    width: 25%;
margin-right: 10px !important;

}

ul.categories li {
	height: 250px;
}

ul.categories li .box {
    height: 220px;
    }



#relative ul.products li:nth-child(4n+1) {
	margin-right: 0px !important;
	 width: 25%;
}


	
	
	/* header */
	
	
	#header h2, #header h2 a {
		width: 100%;
		margin: 8px 0 16px;
	}
	
	#header .center {
		width: 315px;
margin: 0 auto;
float: none;
clear: both;
height: 30px;
margin-bottom: 15px;
	}
	
	#header p.phone, #header p.delivery, #header form {
		margin: auto;
		float: none;
		padding: 2px 0px;
	}

	#header p.topmenu a {
		margin: 0px;
		padding: 0px 5px;
		clear: both;
		float: none;
		width: 90px;
		background: #7B7B7B;
		white-space: nowrap;
		display: none;
		font-size: 11px;
		line-height: 25px;
	}
	#header p.topmenu:hover a {
		display: block;
	}
	#header p.topmenu a:hover {
		background: #d92612;
		color: #FFF;
	}
	#header .acountbox {
		margin: -97px 0px 0px;
		padding: 40px 0px 0px;
		float: right;
		height: 0px;
		width: 40px;
		position: relative;
		z-index: 10;
		background: #fff url(../images/acount_back.png) no-repeat center center;
	}
	#header .acountbox > ul {
		margin: 0px;
		padding: 0px;
		float: right;
		background: #fff;
		width: 155px;
		position: relative;
		z-index: 10;
		display: none;
	}
	#header .acountbox:hover > ul {
		display: block;
	}
	#header .acountbox > ul > li {
		display: block;
		margin: 0px;
		padding: 0px;
		clear: both;
		float: none;
		position: static;
	}
	#header .acountbox ul > li.basket > a span , #header .acountbox ul > li.wishlist > a span{
		width: auto;
	}
	#header .acountbox ul > li > ul {
		position: relative;
		background: #fff;
		margin: 0px;
		padding: 0px;
		width: 155px;
		clear: both;
		float: none;
		left: 0px;
		top: 0px;
		right: 0px;
		bottom: 0px;
	}
	#header .acountbox ul > li > ul > li {
		background: #fff;
		position: static;
		display: block;
		margin: 0px;
		padding: 0px;
		clear: both;
		float: none;
		left: 0px;
		top: 0px;
		right: 0px;
		bottom: 0px;
	}
	#header .acountbox ul > li > ul > li > ul {
		position: static;
		margin: 0px;
		padding: 0px;
		clear: both;
		float: none;
		background: #fff;
		left: 0px;
		top: 0px;
		right: 0px;
		bottom: 0px;
	}
	/* Adverts */
	#adverts .box h3 {
		font-size: 20px ;
		line-height: 20px;
	}
	/* Categories */
	ul.categories li, ul.categories li:nth-child(4n+1) {
		width: 33%;
		margin-left: 0px;
		margin-right: 0px;
		clear: none;
	}
	ul.categories li:nth-child(3n+1) {
		clear: left;
	}
	/* Products */
	.sidebar + .content ul.products li:nth-child(3n+1),
	.sidebar + .content ul.products li, 
	.sidebar + .content ul.products li:nth-child(4n+1) {
		width: 45%;
		margin-left: 2%;
		clear: none;
		height: 235px;
	}
	.sidebar + .content ul.products li:nth-child(2n+1) {
		margin-left: 0px;
		clear: left;
	}
	ul.products li, ul.products li:nth-child(4n+1) { 
		width: 32%;
		margin-left: 1.5%;
		clear: none;
	}
	ul.products li:nth-child(3n+1) { 
		margin-left: 0px;
		clear: left;
	}
	/* sidebar */
	#main .sidebar {
		width: 25%;
	}
	/* Content */
	#main .sidebar + .content {
		width: 73%;
	}
	.filters p {
		width: auto;
		margin-right: 20px;
	}	
	
	ul.products li {
	
}
ul.products li .allbox {
  _top: 106px;
  }
  ul.products li:hover .allbox {
top: 110px;
background: rgba(255, 255, 255, 0.92);
}
}

@media all and (max-width: 600px) {

  
  #tabs ul.products li {
  	height: 280px;
  }

  
#tabs ul.products li .allbox h4 {
		_width: 270px;
}
  }
  
  @media all and (max-width: 851px) {
	
.sidebar + .content ul.products li:nth-child(3n+1), .sidebar + .content ul.products li, .sidebar + .content ul.products li:nth-child(4n+1) {
    height: 225px;
}

ul.portfolio li {
	width: 32%;
	float: left;
}
}
	


@media all and (max-width: 550px) {
	/* Footer */
	#footer p.banks, #footer p.b2b, #footer p.social {
	width: 100%;
	text-align: center;
	margin: 5px 0px;
	padding: 0px;
	}
	#footer p.social a {
		display: inline-block;
		float: none;
	}
	#footer p.banks img {
		width: auto;
		height: auto;
		max-width: 30%;
	}
	/* Adverts */
	#adverts .box.newsletter, #adverts .box + .box  {
	
	}
	/* Categories */
	ul.categories li, ul.categories li:nth-child(3n+1), ul.categories li:nth-child(4n+1) {
		width: 50%;
		margin-left: 0px;
		margin-right: 0px;
		clear: none;
	}
	ul.categories li:nth-child(2n+1) {
		clear: left;
	}
	/* sidebar */
	#main .sidebar {
		width: 100%;
		float: none;
	}
	#main .sidebar ul li {
		width: 100%;
		float: left;
	}
	/* Content */
	#main .sidebar + .content {
		width: 100%;
		float: none;
		clear: both;
	}
	/* Products */
	
	#relative ul.products li {
width: 100%;
margin: 0px 0 15px 0 !important;
    height: 230px;
}

#relative ul.products li, #relative ul.products li:nth-child(4n+1) {
	margin: 0px !important;
	width: 100%;
}
	
	ul.products li, ul.products li:nth-child(4n+1), ul.products li:nth-child(3n+1) { 
		width: 48%;
		margin-left: 4%;
		clear: none;
	}
	ul.products li:nth-child(2n+1) { 
		margin-left: 0px;
		clear: left;
	}
	/* Product */
	#product .photos, #product .data {
		float: none;
		width: 100%;
		margin-bottom: 25px;
    display: inline-block;
		clear: both;
	}
	
	#footer .lists ul {
		width: 46%;
		margin-bottom: 15px;
	}
	
		#tabs ul.products li .allbox {
  top: 196px;
  }
  
  #tabs ul.products li {
  height: 230px;
}
	ul.products li {
	height: 280px;
}
ul.products li .allbox {
  _top: 106px;
  }
  ul.products li:hover .allbox {
top: 115px;
background: rgba(255, 255, 255, 0.92);
}

#footer ul, #footer form, #footer .social {
	width: 95%;
	float: left !important;
}
#top p.use {
	float: left !important;
}
ul.portfolio li {
	width: 45%;
	float: left;
}
	
}
@media all and (max-width: 450px) {
	
	

	#mainbanner {
		width: 100%;
		margin-bottom: 17px;
	}
	
	#mainbannerright {
		width: 100%;
		float: none;
	}
	
	#mainbannerright p img {
		height: auto;
		max-height:inherit;
	}
	
	
	/* Navigation */
	#navigation > ul > li {
		width: 25%;
	}
	#navigation > ul > li > div {
		width: 100%;
	}
	#navigation > ul > li > div > ul {
		width: 50%;
		border-left: none 0;
	}
	#navigation > ul > li > a {
		font-size: 14px;
		padding: 0px;
		text-align: center;
	}
	/* Tabs */
	#tabs ul.titles li {
		margin: 0px;
	}
	#tabs ul.titles li a {
		font-size: 13px;
		padding: 0 10px;
	}
	#adverts .box {
		width: 100%;
	}
#relative {
  float: left;
  width: 99%;
  }
  #product .fullpro #tabs {
  	width: 100%;
  }
  #product .fullpro #tabs .content {
  	width: 92%;
  }
  #menu select {
  	width: 100%;
  }
  #header .center {
  	width: 95%;
  }
  #header form {
  	width: 98%;
  }
  #header form input[type="text"] {
  	padding: 0px;
  	
    width: 296px;
  }
  #footer .newsletter p input[type="text"] {
  	width: 80%;
  }
  #probanner {
  	width: 100%;
  }
  #tabs ul.products li {
  	height: 220px;
  }
  #tabs ul.products li .allbox {
  top: 200px;
  }
  #tabs ul.products li:hover .allbox {
top: 120px;
background: rgba(255, 255, 255, 0.92);
}

ul.products li {
	height: 220px;
}
ul.products li .allbox {
  top: 114px;
  }
  ul.products li:hover .allbox {
top: 40px;
background: rgba(255, 255, 255, 0.92);
}
#relative ul.products li .allbox h4 {
	display: block;
	width: 100%;
}
#tabs ul.products li .allbox h4 {
  _width: 278px;
  }
  
  .chechoutbox.long {
  	width: 100% !important;
  }
  
  .chechoutbox.long + .chechoutbox {
 		width: 100% !important;
  }
  ul.products li .photo {
	max-height: 185px;
	min-height: 185px;
}

.sidebar + .content ul.products li:nth-child(3n+1), .sidebar + .content ul.products li, .sidebar + .content ul.products li:nth-child(4n+1) {
	width: 97%;
	margin: 0 0 15px 0;
	height: 230px;
}
#relative {
    padding: 0;
}

ul.categories li, ul.categories li:nth-child(3n+1), ul.categories li:nth-child(4n+1) {
	width: 97%;
	margin: 0 0 15px 0;
}

.wrapper .boxbanners li {
	width: 100%;
}






}
