.show640 {
	display: none;
}

.hide640 {
	display: auto;
}

@media screen and (min-width: 968px) and (max-width: 1200px) {
	.stretch-wrap {
		width: 968px;
	}
	
	#search {
		margin:30px 0 0 25px;
		width: 270px;
	}
	
	#search .query-field {
		width: 180px;
	}
	
	#logo {
		width: 180px;
		background-size: 162px 65px;
	}

	.footer-nav li.block:nth-child(1) { width: 200px; }
	.footer-nav li.block:nth-child(2) { width: 320px; }
	.footer-nav li.block:nth-child(3) { float: right; }

	.footer-nav form.quick-pay {
		width:100%;
	}
	
	.footer-nav form.quick-pay input {
		width: 225px;
	}
	
	#center {
		width: 736px;
	}
	
	.product-item .product-name-spacer {
		display: none;
	}
	
	.product-item .product-name {
		width: 100%;
		font-size: 20px;
		line-height: 24px;
		margin-bottom: 20px;
	}
	
	.product-item .detail-block {
		width: 320px;
	}
	
	.product-item .articul {
		margin-top: 0;
	}
	
	.product-item dd.prop-value {
		width: 30%;
	}

	.product-item dd.prop-value2 {
		width: 40%;
		margin: 0 0 0 10px;
	}
	
	.product-item .buy {
		width: 50% !important;
	}

	.product-item #product-image-gallery {
		width: 390px;
	}
	
	.product-item .product-image {
		width: 385px;
		height: 315px;
	}
	
	.product-item .preview-show, .product-item .preview-show li {
		width: 385px;
		height: 315px;
	}
	
	.product-item .frame img {
		max-width: 385px;
		max-height: 315px;
	}
	
	.product-item .controls {
		display: block;
		padding: 10px 10px 10px 10px;
		background: #f9f9f6;
	}
	
	.product-grid > li {
		width: 33%;
	}
	
	#banner, #banner ul.slider, #banner > ul.slider > .frame, #banner > ul.slider > .frame a {
		width: 736px;
		height: 254px;
	}
	
	#banner > ul.slider > .frame img {
		width: 736px;
	}

	.light-product-grid>li {
		width: 25%;
	}
	
	.delivery-line td {width: 20% !important;}
	
	.product-item .recommendations li {
		width: 25%;
		flex-basis: 25%;
	}

	.product-item .recommendations li:nth-child(5){
		display:none;
	}
}

@media screen and (min-width: 640px) and (max-width: 968px) {
	body {min-width: auto;}
	
	.stretch-wrap {
		width: 640px;
	}
	
	#logo {
		width: 160px;
		background-size: 145px 58px;
		margin: -6px 0 0 0;
	}

	#search>.query-field {
		width: 180px;
	}
	
	#search {
		width: 180px;
		margin: 4px 15px 0 15px;
	}
	
	#search>.query-field {
		width:130px;
	}
	
	#search>.query-field > input {
		border-radius: 4px;
		padding: 0 5px 0 5px;
	}
	
	#search>.query-field > input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
		color: #FFF;
		opacity: 0;
	}
	#search>.query-field > input::-moz-placeholder { /* Firefox 19+ */
		color: #FFF;
		opacity: 0;
	}
	#search>.query-field > input:-ms-input-placeholder { /* IE 10+ */
		color: #FFF;
		opacity: 0;
	}
	#search>.query-field > input:-moz-placeholder { /* Firefox 18- */
		color: #FFF;
		opacity: 0;
	}
	
	#search .search-button {
		background: url('../pix/icons_sprite.png') no-repeat 0px -221px;
		background-size: 35px 253px;
		font-size: 0;
		box-shadow: none;
		width: 35px;
		border-color: #e1e1e1;
		border-radius: 0 4px 4px 0;
	}
	
	#search .search-button:hover {
		box-shadow: none;
	}
			
	#phone {
		margin:0px;
		width: 145px;
	}

	#phone>b, #phone>span {
		font-size: 11px;
	}
	
	.my-cab {margin: 3px 0 0 0; padding-left: 15px;}
	.my-cab .personal-label {display:none;}
	.my-cab > .personal-btn > a {display:none;}
	
	a#basket {margin: 4px 0 0 0; width: 50px;}
	a#basket .basket-legend {
		display: none;
	}
	
	#left {
		border: none;
		background: #f9f9f6;
		position: absolute;
		left: 0;
		width: 100%;
		text-align: center;
		z-index: 1000;
		float:none;
		display: none;
	}
	
	#catalog-menu-header {
		width:180px;
	}
	
	#catalog-menu-header #catalog-icon {
		display: none;
	}
	
	#catalog-menu-header #drop-down-catalog-icon {
		display: block;
	}
	
	/* Animate menu (onn/off) */
	input#menu-toggle-flag:checked ~ #left{ display:block; }
	
	ul#catalog-menu {
		width: 640px;
		margin: 0 auto 0 auto;
		padding: 30px 0 0 0;
		float:none;
		display: flex;
		flex-wrap: wrap;
		align-items: flex-start;
		align-content: flex-start;
	}
	
	ul#catalog-menu>li {
		width: 30%;
		padding: 0 20px 30px 0;
		margin-bottom: 0;
	}
	
	ul#catalog-menu, #left #catalog-menu ul {
		list-style-type: none;
		text-align: left;
	}
	
	ul#catalog-menu>li>a {
		font-size: 14px;
		line-height: 16px !important;
		height: 32px;
		padding: 0;	
		display: inline-block;
		border: none;
	}
	
	ul#catalog-menu li>a>span.menu-icon {
		display: none;
	}
	
	ul#catalog-menu>li:nth-child(2){order:1;} 
	ul#catalog-menu>li:nth-child(4){order:2;}
	ul#catalog-menu>li:nth-child(5){order:3;}

	ul#catalog-menu>li:nth-child(1){order:4;}
	ul#catalog-menu>li:nth-child(3){order:5;}
	ul#catalog-menu>li:nth-child(7){order:6;}

	ul#catalog-menu>li:nth-child(6){order:7;}
	ul#catalog-menu>li:nth-child(8){order:8;}
	ul#catalog-menu>li:nth-child(10){order:9;}


	ul#catalog-menu>li:nth-child(9){order:9;}
	ul#catalog-menu>li:nth-child(11){order:10;}
	ul#catalog-menu>li:nth-child(12){order:11;}

	ul#catalog-menu>li:nth-child(13){order:13;}


	/* Footer */
	.payment-line .pl-elex, .payment-line .pl-svyaznoy, .payment-line .pl-alpha, .payment-line .pl-sb {
		display:none;
	}
	
	.delivery-line td {text-align: center !important;}
	.delivery-line .title {display: block; text-align: center; margin-top:3px !important;}
	
	.footer-nav>li:nth-child(2) {display:none;}
	.nav-wrap {min-width: 640px; width: 100%;}
	
	#path-menu {
		padding-left: 0;
		float: none;
	}
	
	#center {
		width: 640px;
	}
	
	.product-collection-header {
		width: 640px;
		margin: 0;
	}
	
	.product-list .controls {
		width: 140px;
	}
		
	.product-grid > li {width: 33.3%;}
	.product-grid .price-num {font-size: 14px;}
	.product-grid .addForm .qty {display: none;}
	.product-grid .buy button {border-radius: 4px;}
	
	.product-item {
		padding-left: 0;
	}
	
	.product-item .product-name {
		float:left;
		width: 100%;
		font-size: 20px;
		line-height: 24px;
		margin-bottom: 20px;
	}
	
	.product-item #product-image-gallery {
		width: 100%;
	}
	
	.product-item .preview-show, .product-item .preview-show li {
		width: 640px;
		height: 365px;
	}
	
	.product-item .frame img {
		max-width: 640px;
		max-height: 365px;
	}
	
	.product-item .detail-block {
		width: 100%;
		margin-top: 10px;
	}
	
	.product-item .recommendations li {
		width: 33%;
		flex-basis: 33%;
	}
	
	.product-item .recommendations li:nth-child(4), .product-item .recommendations li:nth-child(5){
		display:none;
	}
	
	#banner, #banner ul.slider, #banner > ul.slider > .frame, #banner > ul.slider > .frame a {
		width: 640px;
		height: 220px;
	}
	
	#banner > ul.slider > .frame img {
		width: 640px;
	}
}

@media screen and (max-width: 640px) {
	.show640 {
		display: inherit;
	}
	
	.hide640 {
		display: none;
	}
	
	.mobile-hide {
		display: none;
	}
			
/*	#search {
		position: absolute;
		background: #eee;
		width: 640px;
		margin: 30px 0 0 0;
		display: none;
	}
	
	#search .search-button {
		background: none;
		border: none;
		box-shadow: none;
	}*/

	body {min-width: auto;}
	.stretch-wrap {width: auto;}
	
	#bar {display: none;}
	#main-menu-bar {margin:0;height: 80px;}
	
	#main-menu-bar .stretch-wrap {
		width: 100%;
		flex: none;
	}
	
	#logo {
		width: 160px;
		background-size: 145px 58px;
		margin: 0 0 0 -80px;
		position: absolute;
		left: 50%;
		top: 12px;
	}
	
	.my-cab {
		position: absolute;
		left: 10px;
		top: 20px;
		padding: 0 !important;
		margin: 0 !important;
	}
	.my-cab .personal-label {display:none;}
	
	#basket {
		position: absolute;
		right: 10px;
		top: 23px;
		padding: 0 !important;
		margin: 0 !important;
	}
	
	a#basket {width: 50px;}
	a#basket .basket-legend {
		display: none;
	}
	
	#phone {
		display: none;
	}
	
	#under-menu-bar-left-block {
		display: none;
	}
	
	#search {
		position: absolute;
		top: 84px;
		left: 0;
		width: 100%;
		margin: 0;
		
		
/*		display: flex;
		flex-wrap: nowrap;
		justify-content: flex-start;
		align-items:stretch;*/
	}
	
	#search>.query-field {
		height: 34px;
		display: block;
		float:none;
		margin: 0 10px 0 54px;
		width: auto;
		border-radius: 4px;
		border: 1px solid #e1e1e1;
		/*flex-grow: 1;*/
		
	}
	
	#search>.query-field > input {
		border-radius: 4px;
		padding: 0 5px 0 5px;
		height: 34px;
		width: 100%;
	}
	
	#search>.query-field > input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
		color: #FFF;
		opacity: 0;
	}
	#search>.query-field > input::-moz-placeholder { /* Firefox 19+ */
		color: #FFF;
		opacity: 0;
	}
	#search>.query-field > input:-ms-input-placeholder { /* IE 10+ */
		color: #FFF;
		opacity: 0;
	}
	#search>.query-field > input:-moz-placeholder { /* Firefox 18- */
		color: #FFF;
		opacity: 0;
	}
	
	#search .search-button {
		background: url('../pix/icons_sprite.png') no-repeat 0px -201px;
		background-size: 31.85px 230px;
		font-size: 0;
		box-shadow: none;
		height: 36px !important;
		border: none;
		position: absolute;
		top: 2px;
		right: 10px;
		width: 30px;
	}
	
	#search .search-button:hover {
		box-shadow: none;
	}
	
	#left {
		border: none;
		position: absolute;
		width: 100%;
		background: #f9f9f6;
		left: 0;
		text-align: center;
		z-index: 1000;
		float:none;
		display: none;
	}
	
	#catalog-menu-header {
		position: absolute;
		width: 40px;
	}
	
	#catalog-menu-header #catalog-icon {
		display: none;
	}
	
	#catalog-menu-header #drop-down-catalog-icon {
		display: block;
	}
	
	#catalog-menu-header #drop-down-catalog-icon {
		overflow: hidden;
		width: 0px;
		padding-left: 25px;
		margin-left: 10px;
	}
	
	/* Animate menu (onn/off) */
	input#menu-toggle-flag:checked ~ #left{ display:block; }
	
	ul#catalog-menu {
		width: auto;
		margin: 0 auto 0 auto;
		padding: 30px 0 0 0;
		float:none;
		display: flex;
		flex-wrap: wrap;
		align-items: stretch ;
		align-content: space-between;
	}
	
	ul#catalog-menu>li {
		width: 40%;
		padding: 0 5% 30px 5%;
		margin-bottom: 0;
	}
	
	ul#catalog-menu, #left #catalog-menu ul {
		list-style-type: none;
		text-align: left;
	}
	
	ul#catalog-menu>li>a {
		font-size: 14px;
		line-height: 16px !important;
		height: 32px;
		padding: 0;	
		display: inline-block;
		border: none;
	}
	
	ul#catalog-menu li>a>span.menu-icon {
		display: none;
	}
	
	ul#catalog-menu>li:nth-child(2){order:1;} 
	ul#catalog-menu>li:nth-child(5){order:2;}
	
	ul#catalog-menu>li:nth-child(4){order:3;}
	ul#catalog-menu>li:nth-child(6){order:4;}
	
	ul#catalog-menu>li:nth-child(1){order:5;}
	ul#catalog-menu>li:nth-child(3){order:6;}

	ul#catalog-menu>li:nth-child(10){order:7;}
	ul#catalog-menu>li:nth-child(8){order:8;}
	
	ul#catalog-menu>li:nth-child(7){order:9;}
	ul#catalog-menu>li:nth-child(9){order:10;}
	
	ul#catalog-menu>li:nth-child(11){order:10;}
	ul#catalog-menu>li:nth-child(12){order:11;}

	ul#catalog-menu>li:nth-child(13){order:13;}
	
	#path-menu {
		padding: 10px 10px 0 10px;
		float: none;
		width: auto;
		line-height: 20px;
	}
	
	#path-menu * {
		line-height: 20px;
	}
	
	#center {
		/*width: 100%;*/
		width: 100%;
	}
	
	.product-collection-header {
		width: auto;
		margin: 0;
		padding: 0 10px 0 10px;
	}
	
	.catalog-bar h1, .catalog-bar h2 {
		margin: 0px 10px 0 10px;
	}
	
	.product-grid {margin: 0; padding: 0;}
	.product-grid > li {width: 50%;}
	.product-grid .price-num {font-size: 14px;}
	.product-grid .addForm .qty {display: none;}
	.product-grid .buy button {border-radius: 4px;}
	

	/* Footer */
	.footer-title {
		padding: 0 10px 0 10px;
	}
	
	#footer .nav-wrap {
		height: auto;
	}
	
	.footer-nav {
		padding: 0 10px 0 10px;
		width: auto;
		height: auto;
	}
	
	.footer-nav .block {
		width: 100% !important;
		clear: both;
	}
	
	.footer-nav li.block:nth-child(3) {
		float:none !important;
		width: 100%;
		margin-top: 30px;
	}
	.footer-nav li.block:nth-child(3) {
		float:none !important;
		width: 100%;
	}
	
	.payment-line .pl-elex, .payment-line .pl-svyaznoy, .payment-line .pl-alpha, .payment-line .pl-sb, .payment-line .pl-paw {
		display:none;
	}
	
	.payment-line {padding: 0 10px 0 10px;}
	
	.delivery-line {margin: 0 10px 0 10px; width: auto;}
	.delivery-line td {text-align: center !important; width: 25% !important;}
	
	.delivery-line .title {display: block; height: auto; text-align: center; margin:3px 0 10px 0 !important;}
	.delivery-line td.courier {display: none;}
	.footer-nav>li:nth-child(2) {display:none;}
	/*.nav-wrap {min-width: 640px; width: 100%;}*/
	
	
	.product-list {
		margin: 12px 10px 0 10px;
		width: auto;
	}
	
	.product-list>li {
		padding: 10px 0 10px 0;
	}
	
	.product-list > li .item-info-wrap {
		flex-direction: column; 
	}
	
	.product-list .info {
		width:auto;
	}
	
	.product-list h3 a {
		font-size: 14px;
	}
	
	.product-list .descr {
		font-size: 11px;
	}
	
	.product-list .articul, .product-list .articul b, .product-list .avl, .product-list .navl, .product-list .avl span, .product-list .navl span {
		font-size: 10px;
	}
	
	.product-list .articul, .product-list .avl span, .product-list .navl span {
		padding: 1px 2px 1px 2px;	
	}
	
	.product-list .controls {
		width: 100%;
		display: flex;
		flex-direction: row;
		align-items: flex-end;
		flex-wrap: wrap;
	}
	
	.product-list .price {
		clear: none;
		height: 30px;
		line-height: 30px;
		padding-right: 20px;
	}
	
	.product-list .buy {
		clear: none;
		margin-top: 5px;
	}
	
	.product-list .buy .addForm {
		display: flex;
		align-items: stretch;
		flex-wrap: nowrap;
		flex-direction: row-reverse;
	}
	
	.product-list .buy .qty {
		width: 25px;
	}
	
	.product-list .buy .qty input {
		width: 23px;
	}
		
	
	.product-item {
		padding-left: 0;
		margin: 20px 10px 20px 10px;
	}
	
	.product-item .product-name {
		float:left;
		width: 100%;
		font-size: 20px;
		line-height: 24px;
		margin-bottom: 20px;
	}
	
	.product-item #product-image-gallery {
		width: 100%;
	}
	
	.product-item .preview-show, .product-item .preview-show li {
		width: 100%;
		height: 365px;
		overflow: hidden;
	}
	
	.product-item .preview-show li {
		width: 90%;
	}
	
	.product-item .frame img {
/*		max-width: 640px;*/
		width: 90%;
		max-height: 365px;
	}
	
	.product-item .detail-block {
		width: 100%;
		margin-top: 10px;
	}
	
	.product-item dd.prop-value {
		width: 70%;
	}
	
	.product-item dd.prop-value2 {
		display: none;
	}
	
	.product-item .recommendations li {
		width: 33%;
		flex-basis: 33%;
	}
	
	.product-item .recommendations li>*{
		margin-left: 10px;
		margin-right: 10px;
	}
	
	.product-item .recommendations li:nth-child(1)>*{
		margin-left: 0px;
		margin-right: 0px;
	}
	
	.product-item .recommendations li:nth-child(3)>*{
		margin-left: 0px;
		margin-right: 0px;
	}
	
	.product-item .recommendations li:nth-child(4), .product-item .recommendations li:nth-child(5){
		display:none;
	}
	
	.product-item .recommendations li .preview {
		height: 50%;
		display: flex;
	}

	
	.product-item .recommendations li .title {
		font-size: 12px;
		line-height: 15px;
	}
	
	.product-item .recommendations .list-item-offer-wrap {
		margin-top: 0px;
	}
	
	.product-item .recommendations li .buy {
		display: none;
	}
	
	.light-product-grid {
		width: 100%;
	}
	
	.light-product-grid>li {
		width: 50%;
	}
	
	#center-inner {
		width: auto;
		display: block;
		margin: 0 10px 0 10px;
	}
	
	.my-cab > .personal-btn {
		display:none;
	}
	
	.data-table .remove-button > a {
		width: 0px;
		overflow: hidden;
	}
	
	table.l-f-table td.field input {
		width: 100%;
	}
	
	.delivery_type ul.city_list>li{
		padding: 0;
	}
	
	.delivery_type ul.city_list>li>a{
		font-size: 14px;
	}
	
	.delivery_type dt input {
		margin: 13px 10px 0 0px;
	}
	
	.delivery_type dt {
		width: 20px;
	}
	
	.delivery_type dd {
		width: 130px;
		padding: 5px 0 5px 0;
		height: auto;
	}
	
	.delivery_type dd:after {
		content: '';
		display: block;
		clear: both;
	}
	
	/*	IML PVZ*/
	.delivery_type .delivery_info {
		margin: 15px 10px 15px 35px;
	}
	
	.pvz_delivery_tipe .delivery_info {
		margin: 15px 0px 15px 0px !important;
	}
	
	.delivery_type > label > span {
		padding-left: 0px;
	}
	
	.geo-object-finder {
		padding: 0;
		margin: 0;
		height: auto;
	}
	
	.geo-object-finder .roll-up-header span {
		display: none !important;
	}
	
	.geo-object-finder #geoObjectFinderMap {
		width: 100%;
		height: auto;
	}
	
	.geo-object-finder #controlsContainer {
		margin: 0;
		padding: 2px 0 2px 0;
		position: relative;
		height: auto;
		width: 100%;
	}
	
	.geo-object-finder .geo-objects-collection {
		position: relative;
		margin: 0;
		height: auto;
		width: 100%;
	}
	
	.geo-object-finder .active .controls-arrow {
		display: none !important;
	}
	
	.delivery_type div.letters_geo_objects_list ul {
		width: 100%;
	}
	
	.two-half-container {
		flex-direction: column-reverse;
	}

	.first-half, .second-half {
		width: 100%;	
	}
	
	.payment_type > label > span {
		width: 80%;
	}
	
	#banner, #banner-buttons {
		display: none;
	}
}