@media screen and (max-width:1700px) {
	#footer:after, #footer .footer-image{
		display: none;
	}
}
@media screen and (max-width:1279px){
	.nav-categories {
		background-image: none;
	}
	#filter .between-prices{
		position: relative;
	}
	#filter .between-prices .min-price{
		position: absolute;
		top:-26px;
		left:0;
	}
	#filter .between-prices .max-price{
		position: absolute;
		top:-26px;
		right:0;
	}
	#filter .jslider{
		width: 93%;

	}
}
@media screen and (max-width:1200px) {
   	#footer:after{
		display: none;
	}
	/*.listing-products .col-3{
   		width: 33%;
   	} */
   	#nav-content #basket-cart{
		position: absolute;
		top:143px;
		right: -15%;
		z-index: 9;
	} 
	#category-banner .category a em{
		font-size: 0.8em;
		padding:0.5em 5px;
	}
	#page-homepage #choose{
		height: 86px;
	}
	.nav-categories .col-category {
		width: 25%;
	}
	.nav-categories .col-category:nth-child(5n+1) {
		clear: none;
	}
	.nav-categories .col-category:nth-child(4n+1) {
		clear: both;
	}
	.nav-categories li:nth-child(5n):after {
		display: block;
	}
	.nav-categories li:nth-child(4n):after {
		display: none;
	}
}
@media screen and (min-width:960px) and (max-width:1700px){
	#nav-content .close{
		display: none !important;
	}
}
@media screen and (max-width:1050px) and (min-width:768px)  {
	.listing-products .col-3{
		width: 33.33%;
	}
}
@media screen and (max-width:960px) and (min-width:768px) {
	.content {
		max-width: inherit;
		min-width: inherit;
		width: inherit;
		margin:  0 0.5% 0.5em 0.5%;
		padding: 0 0.5% 3em;
	}
	input, textarea, select {
		/*-webkit-appearance: none;*/
		webkit-border-radius: 0px;
	}
	
	.container{
		z-index: auto;
	}
	.listing-products .col-3{
		width: 50%;
	}
	#col-left{
		width: 25%;
	}
	#col-right{
		width: 73.5%;
		padding-left:1%;
	}
	#page-detail #col-right, #page-user #col-right{
		width: 99%;
		padding-left:1%;
	}
	#logo {
	    margin-left: 26px;
	    margin-top: 60px
	}
	#logo img{
		width: 85%;
	}
	#nav-content #basket-cart{
		position: absolute;
		top:143px;
		right: -10%;
		z-index: 9;
	}
	.listing-products img {
		height: auto;
	}
	.nav-categories .col-category {
		width: 33.3%;
	}
	.nav-categories a{
		padding-top: 0.6em;
		padding-bottom: 0.6em;
		font-size: 1.1em;
		padding-right: 6%;
		width: 88%;
	}
    .nav-categories a img, #nav-categories a img, #page-user #col-left, #breadcrumbs a:before, #breadcrumbs em:before, #breadcrumbs a:hover:before, #breadcrumbs a:after, #breadcrumbs em:after,  .products h1#title,  .product h1#title, #page-detail #col-left, #choose .icon-na-motorku, #choose .icon-namotorkare, #nav-content #basket-cart .basket .legend, #nav-content #basket-cart .basket .label, .nav-categories a .icon{
		display: none;
	}
	.nav-categories .col-category:nth-child(4n+1) {
		clear: none;
	}
	.nav-categories .col-category:nth-child(3n+1) {
		clear: both;
	}
	.nav-categories li:nth-child(4n):after {
		display: block;
	}
	.nav-categories li:nth-child(3n):after {
		display: none;
	}
	#breadcrumbs .last em {
	    font-size: 1.25em;
	    margin: 0.25em 0;
	    padding: 0.5em 5%;
	    width: 90%;
	}
	#breadcrumbs .last {
    	width: 99%;
    	margin-right: 1%;
	}
	#category-banner .btn-large{
		font-size: 1.8em;
	}
	#contact-banner .legend{
		font-size: 1.25em;
	}
	#contact-banner .tel {
    	font-size: 1.7em;
	}
	#category-banner #contact-banner a {
	    padding: 0 10px 0 40%;
	    width: 60%;
	}
	#nav-categories .nav-title{
		padding: 0.5em 1em
	}
	.listing-products .col-3{
		width: 50%;
	}
	#product-description .add-to-cart .btn-buy {
		font-size: 1.25em;
	}
	#top-seller .final-price .price{
		font-size: 1.5em;
	}
	.col-special {
    	margin: 0 3%;
    	width: 94%;
	}
	#filter .col-6{
		width: 100%;
	}
	#filter .between-prices{
		position: relative;
	}
	#filter .jslider{
		width: 77%;
		margin: 0 9.5%;
	}
	.sort .sorter{
		width: 60%;
	}
	.sort .page-count{
		width: 40%;
	} 
	#filters #filter-tags{
		margin:0;
	}
	#filter .between-prices .min-price{
		position: absolute;
		top:-26px;
		left:9.5%;
	}
	#filter .between-prices .max-price{
		position: absolute;
		top:-26px;
		right:9.5%;
	}
	.row-fluid{
		width: 52%;
		left:48%;
	}
	#form-search{
		width:95%;
	}
	#nav-category-tabs li .btn-gray {
		padding-left: 18px;
	}
	#nav-category-tabs li.home .btn-gray {
		padding-right: 50px;
	}
	#nav-category-tabs li .btn-gray .icon {
		display: none;
	}
	#nav-category-tabs li.home .btn-gray .icon {
		display: inline-block;
	}

}
@media (max-width:767px) {
	body{
		background: none;
	}
	#nav-skiplink .hide {
		display: none;
	}
	#nav-skiplink .btn{
		margin-top: -4px;
		text-transform: uppercase;
	}
	#product-variants{
		width: 100%;
	}
	#nav-content a.btn, #nav-content .btn, #nav-content .account, #nav-content .btn:hover, #nav-content .account:hover, #nav-content .contact, #nav-content .contact:hover{
		border: 0 none;
	}
	#page-homepage #choose{
		height: auto;
	}
	#nav-subcategories li {
		width: 45%;
	}
	.listing-products img {
		height: auto;
	}
	*:after, *:before {
		display: none !important;
	}
	h1.title, h1#title{
		font-size: 1.5em;
	}
	.content {
		max-width: inherit;
		min-width: inherit;
		width: inherit;
		margin:  0 0.5% 0.5em 0.5%;
		padding: 0 0.5% 3em;
	}
	.container {
		z-index: auto;
	}
	.image img {
		max-width: 100%;
		height: auto;
	}
	#basket-cart .cart .legend, #basket-cart .cart .label, #category-banner, #category-tabs .nav-categories .image, #nav-content li:hover .sub, #nav-content .hover .sub, #nav-content #basket-cart .cart:hover .hide, #search-product, #content-filter #filter-clear {
		display: none !important;
	}
	.sort .sorter a.sort-method-1, #logo .hide, #nav-content #basket-cart .basket{
		display: inline-block !important;
	}
	#nav-content #basket-cart .icon, #nav-skiplink {
		display: block !important;
	}
	.quantity .btn, #nav-categories, .sort .sorter a, .products h1#title, #filter .between-prices, .listing-products .prices .save-price, #top-seller .prices .save-price, #nav-content .icon, #nav-category-tabs .icon, #nav-category-tabs .home, #nav-product, .slidesjs-navigation, .listing-products .description, #top-seller .description, #col-left, #banners-top, #logo img, #nav-content, #form-search, #product h1#title, #category-tabs  {
		display: none;
	}
	#filters #filter-tags .col-special {
		width: 33.222%;
	}
	#col-right, #col-left{
		width:98%;
		margin:0 1% 1em;
	}
	#special-offer, #gallery, #product-info, #special-offer img {
		margin-right: 0;
		height: auto;
		width: 100%;
	}
	.form .col-6, .col, #col-right, #col-left{
		width: 100%;
		margin: 0;
	}
	.page{
		padding: 0 2%;
	}
	.help .hide{
		right: 0;
		left: auto;
	}
	#nav-content, #form-search, #category-tabs, #modal-login, .modal {
		background-color: #ffffff;
		left: 21%;
		margin: 0;
		max-height: 400px;
		height: auto;
		overflow-y: scroll;
		position: fixed;
		top: 42px;
		width: 75%;
		z-index: 500;
	}
	#form-search, #category-tabs{
		padding: 0.25em 3%;
		width: 86%;
		left: 4%;
		z-index: 250;
	}
	#category-tabs {
		padding: 1em 3%;
	}
	#form-search  .available-products{
		color:#333333;
		text-align: center;
	}
	#nav-content .account, #nav-content li, #nav-content #basket-cart {
		bottom: auto;
		clear: both;
		display: block;
		float: none;
		left: auto;
		margin: 0;
		position: relative;
		right: auto;
		top: auto;
	}
	#category-tabs {
		max-height: 80%;
	}
	#category-tabs .tab {
		position: relative;
	}
	#nav-category-tabs a, #nav-category-tabs .active a {
		margin-right: 0;
	}
	.nav-categories .col-category {
		width: 50%;
	}
	#category-tabs .nav-categories{
		background:none;
	}
	.nav-categories a{
		padding-top:0.6em;
		padding-bottom:0.6em;
		font-size: 1.1em;
	}
	#na-motorku, #namotorkare {
		display: inline-block;
		left: 0;
		margin: 0;
		padding: 1em 0;
		position: relative;
		top: 0;
		width: 100%;
		z-index: 1000;
	}
	#nav-content a, #nav-contect .account a, #nav-content #basket-cart a {
		display: inline-block;
		margin: 0;
		padding: 0.7em 5% 0.45em;
		width: 90%;
	}
	#nav-content .btn{
		padding: 0;
		color:#000000;
		border:0 none;
		background: none;
	}
	
	#nav-skiplink a {
		padding: 5px;
	}
	#nav-content .account {
		margin-right: 0.5em;
	}
	.close{
		background-color: #ffffff;
	    padding: 0.2em 0.5em;
	    position: fixed;
	    right: 13px;
	    top:0px;
	}
	#nav-skiplink {
		z-index: 100;
		position: fixed;
		top: 0px;
		right: 4%;
		width: 92%;
		float: none;
		height: 40px;
		padding-top: 6px;
		background-color: #f8f8f8;
	}
	#nav-skiplink li {
		display: inline-block;
		float: right;
	}
	#header{
		height:45px; 
	}
	#logo {
		padding: 1em 0 0;
		margin-left: 0.5em;
		margin-top: 0em;
		font-size: 1.25em;
		text-transform: uppercase;
		font-weight: normal;
		z-index: 200;
		position: fixed;
		top: 0;
		width: 20%;
	}
	#page-basket_aio .form .col-3{
		width: 33%;
		margin:0;
	}
	#page-basket_aio .form .prices{
		width: 40%;
		float: right;
	}

	#nav-category-tabs a{
		margin-right: 0;
	}
	.listing-products .availability {
		padding: 0.5em;
	}
	.listing-products .product-title h2.main, .listing-products .image, .listing-products .no-image, #top-seller .product-title h2.main, #top-seller .image, #top-seller .no-image {
		height: auto !important;
	}
	.listing-products .no-image, #modal-buy .listing-products .no-image, #top-seller .no-image {
		padding: 0;
		font-size: 1.1em;
	}
	#modal-buy .listing-products .prices, #modal-buy .listing-products .product-title, #modal-buy .listing-products .col-12, .listing-products .product-title, .listing-products .col-12, #top-seller .product-title, #top-seller .col-12, .listing-products .prices, #top-seller .prices{
		clear: none;
		display: inline-block;
		width: 65%;
		margin:0;
		padding: 0;
		float: left !important;
	}
	#modal-buy h2.main, #top-seller h2.title{
		font-size: 1.2em;
	}
	#modal-buy .image{
		width:30%;
	}
	#modal-buy .listing-products .product-title h2.main, .listing-products .product-title h2.main, #top-seller .product-title h2.main{
		text-align: left;
		font-size: 1.1em;
		padding:1em 0;
	}
	#modal-buy .listing-products .image, .listing-products .image, #top-seller .image{
		display: inline-block;
		margin: 0 2%;
		padding: 0;
		width: 30%;
		float: left;
	}
	.listing-products .count{
		position: absolute;
		bottom: 0em;
		left: 0em;
		width: auto;
	}
	.listing-products .add-to-cart .center, #top-seller .add-to-cart .center{
		float: right;
		width: auto;
	}
	.listing-products .inner, #top-seller .inner {
		padding: 0 0 0 0.5em;
	}
	.listing-products .item.hover .add-to-cart, .listing-products .item:hover .add-to-cart, .listing-products .item .add-to-cart, .#top-seller .item.hover .add-to-cart, #top-seller .item:hover .add-to-cart, #top-seller .item .add-to-cart {
		left: auto;
		position: relative;
		top: auto;
	}
	.listing-products .inner .add-to-cart, #top-seller .inner .add-to-cart{
		background-color: transparent;
	}
	#modal-buy .listing-products .add-to-cart, .listing-products .add-to-cart{
		position: relative;
		bottom: auto;
		left: auto;
		padding: 0;
	}
	#top-seller .btn-buy{
		position: relative;
		right: auto;
		top:auto;
	}
	#top-seller .product-title{
		padding: 0;
	}
	.modal, #modal-login{
		left:2%;
		margin:0;
		width: 92%;
		padding: 1em 2%;
		top: 78px;
		z-index: 1001;
	}
	.modal .title{
		font-size: 1.2em;
	}
	.modal  .btn {
		text-align: center;
		width: 89%;
		margin-bottom: 0.5em;
	}
	#modal-login .btn{
		width: 100%;
	}
	#modal-buy .listing-products .col-3{
		width: 100%;
	}

	#modal-buy .listing-products .btn {
		font-size: 1em;
		float: right;
	}
	#breadcrumbs .last em {
		margin: 0.25em 0;
		font-size: 1.25em;
		width: 90%;
		padding: 0.5em 5%;
	}
	#breadcrumbs .last {
		width: 100%;
	}
	#nav-category-tabs {
		margin-top: 0;
		position: relative;
		left: auto;
		top: auto;
		right: auto;
		bottom: auto;
	}
	#nav-category-tabs a, #nav-category-tabs .active a {
		padding: 0.25em 0.35em;
		text-align: center;
		height: auto;
	}
	#nav-content li {
		display: inline-block !important;
		width: 80% !important;
		margin: 0 5% !important;
		padding: 0.35em 5% 0.15em !important;
		font-size: 1em;
	}
	#nav-content li a:hover {
		color: #c20000
	}
	#nav-content li a {
		display: inline-block;
		width: 100%;
		padding: 0;
		margin: 0;
		font-size: 1em;
		text-decoration: underline;
	}
	#nav-content #basket-cart a {
		background-color: #4e0000;
	}
	#nav-content #basket-cart .basket{
		background: none;
	}
	#nav-content #basket-cart .basket{
		display: inline-block !important;
	}
	#nav-content #basket-cart a strong, #modal-buy .listing-products .inner{
		padding:0;
	}
	.listing-products .states {
		font-size: 0.85em;
	}
	#summary-basket .listing-table .title{
		padding:0 5% 0 2%;
		width: 93%;
	}

	#page-basket_aio .form h1.title{
		margin:0;
	}
	#summary-basket .listing-table .quantity{
		float: left !important;
		margin:5px 1em;
	}
	#summary-basket .listing-table .prices{
			float: left !important;
			margin-top: 1.6em;
	}
	#summary-basket .listing-table .item .price{
		font-size: 1.2em
	}
	.sort .sorter{
		width:30%;
	}
	.sort .page-count{
		width: 70%;
	}
	.paginator li.prev, .paginator li.next, .paginator li.active{
		display: block;
	}
	#filters #filter-tags{
		padding: 0.5em 0;
		width: 100%;
		margin: 0;
	}
	#filters #filter-tags li, #sort-bottom #on-page-select, #sort-bottom .paginator{
		width: 50%;
	}
	#configuration .col-2 {
		width: 20%;
	}
	#configuration .col-10 {
		width: 80%
	}
	#product-colors {
		width: 100%;
		margin: 0;
		padding: 0;
		float: left;
		display: inline-block;
	}
	.input-quantity {
    margin: 0;
    padding: 16px 5% 16px 5%;
    text-align: center;
    width: 90%;
	}
	.form fieldset, #order #submit {
    margin-bottom: 0em;
    padding: 0;
	}
	#summary-basket .listing-table .title{
		width: 85%;
		padding: 0 10% 0 2%;
	}
	#summary-basket .listing-table .price{
		float: right;
	}
	#order #summary-summ {
       margin: 0 1.5%;
   	   padding: 0.4em 5%;
       width: 87%;  
	}
	#order .listing-table .item {
		padding-bottom: 0;
	}
}

@media (max-width: 450px) {
	.nav-categories .col-category {
		width: 100%;
	}
}

@media (max-width: 400px) {
	#nav-category-tabs a{
		font-size: 1.15em;
	}
	.variants .col-6 {
	   width: 95%;
	}
}