/* HEADER ONLY */

@media screen and (max-width:362px) {

	/*#cart_container {padding: 5px 10px !important;}*/
	#cart_container.show {border-radius: 10px !important;}
	/*.card-dropdown.show {width:100%;margin-top: 5px !important;position: relative !important;transition: all 0s ease-in-out !important;-webkit-transition: all 0s ease-in-out !important;-o-transition: all 0s ease-in-out !important;}*/
}
@media screen and (max-width:479px) {
	#header #logo { width: 100% !important;display: block !important;}
	#header a img {width: 50%;}
	#header_contacts {width: 90% !important;margin-left:0;}
	#links {margin-top: 10px;}
}

@media screen and (min-width:926px) and (max-width:1210px) {
	.header_other {    font-size: 10px !important;}
}

@media screen and (min-width:480px) and (max-width:640px) {
	.header_other {    font-size: 9px !important;}
}

@media screen and (max-width:440px), screen and (min-width:641px) and (max-width:925px) {
	#links_second_block {display: block;}
}


@media screen and (max-width : 640px) {
	#header {height:auto;    display: block;}
	#header_text { display:none;}
	
	#header #logo { width: 30%;    display: inline-block;    vertical-align: top;}
	
	#header_contacts {    width: 63%; display: inline-block;margin-bottom: 1%;}
	#phones { margin-bottom: -3%;}
	.header_other {margin-right: 1% !important;}
	
	.main_category .content {height: 20% !important;}
	.main_category .table-cell {font-size: 10px;}
	
	.b1c.disabled {margin: 10px auto;}
	
	#cart_container {margin-top: 5px !important;}
	
}

@media screen and (max-width : 760px) {
	#cart_container {float:none !important;width:30%}
}

@media screen and (max-width : 850px) {
	#showCart {padding: 0 5px !important;}
}

@media screen and (max-width : 880px) {
	#header #vk_group {display:none;}
	#header_text {font-size: 10px !important;}
	#work_time {font-size: 10px !important;}
}

@media screen and (min-width:881px) and (max-width : 1024px) {
	#work_time {    font-size: 12px !important;}
}

@media screen and (max-width : 1090px) {
	#cart_container {display: inline-block;position: relative !important;}
	#cart_container.sticky_cart {
		position: fixed !important;
		height: 34px;
		margin: 0px !important;
		background: none;
	}
	#cart_container.sticky_cart .dropdown {padding: 0;}
	#cart_container.sticky_cart .dropdown {padding: 0;}
	#cart_container.sticky_cart .dropdown i {
		    color: red;
		font-size: 27px;
		margin-top: 4px;
	}
	#cart_container.sticky_cart .dropdown #cartCount {
		font-size: 28px;
		line-height: 1;
	}
}

/* BODY ONLY */

#price_off {width:100%;}
#price_off img {width:100%;max-width:500px;}
.full_title {display:none;}

@media screen and (max-width : 440px) {
	#items_container .sum,.sum_header {display:none;}
	#info_block dt {font-size: 12px;}
	#quantity_total, #sum_total {font-size: 12px;}
}

@media screen and (max-width : 479px) {
	.middle_item {width:50% !important;    padding-bottom: 10px;}
	
	.variant_caption {font-size:12px !important;}
	.b1c-form * {font-size:10px !important;}
	.item_title {display:none !important;}
	.item_title_sku {display:block !important;}
}

@media screen and (min-width:480px) and (max-width:640px) {
	.middle_item {width:33% !important;    padding-bottom: 10px;}
}

@media screen and (max-width : 640px) {
	.img,.img_header {display:none;}
}

@media screen and (max-width : 640px) {
	#left, #middle > #rg-gallery, #galleries, .video-container {width:100% !important;}
	#rg-gallery_beams {display:none;}
	#middle {width:98% !important;margin-top: 2%;}
	#prod_info {width:96% !important;margin-right: 2%;margin-bottom: 10%;}
	
	#sidebar_menu {
		background-color:rgba(255,255,255,0.1);
		color:#fff;
		text-align:center;
		display: block !important;width: 100%;padding:0 !important;
	}
	#menu_line {margin:0 !important; width:100%;	display: table !important;}
	#menu_line.short {width:70% !important;border-right: 3px dashed rgb(50,50,50);}
	#prev_cat.sidebar_list {display: table-cell;width:25%;}
	#prev_cat.sidebar_list a {display: block !important;}
	#prev_cat.sidebar_list span {display:none !important;}
	#prev_cat.sidebar_list i {display:block !important;}
	#sidebar_items, #sidebar_filters {display:none;z-index:9999;background: #000;width:100%}
	#show_items, #show_filters {display:table-cell;    vertical-align: middle;}
	.sidebar_item {width: 19% !important;    padding-bottom: 19% !important;}
	#sidebar_items .table-cell, #sidebar_filters .table-cell {    font-size: 9px;}
	
	h1 {text-align:center;}
	#instock {margin-bottom:5% !important;}
	.video-container {padding-bottom:56.25%;}
	#video {    width: 96% !important;margin-left: 2%;}
	.video_2 {margin-left:0;margin-top:2%}
	
	.middle_item .item_list_info_block > span {margin-right:0 !important;}
	.item_list_info h3 {font-size: 12px !important; line-height:13px !important;}
	.middle_item .price_value {max-width: 100% !important; margin-right:0 !important;}
	
}

@media screen and (max-width : 860px) {
	h1 {font-size:1.3em !important;}
	#prev_cat.sidebar_list span, #prev_cat.sidebar_filter span {display:none;}
	#prev_cat.sidebar_list a, #prev_cat.sidebar_filter a {margin: 0 auto;}
}

@media screen and (max-width : 960px) {
	#comments_left {width:100%;float:none;}
	#comments_right {width:100%;float:none;}
	
	#show_count_caption, #sort_caption, #view_caption {display:none;}
	
	.middle_item {min-height: 300px;}
	.middle_item .item {min-height: 0px;}
	.middle_item .item_list_info_block {overflow:initial;}
	.info_caption {display:none;}
	.info_value {float:none !important;}

}

@media screen and (min-width:641px) and (max-width:1024px) {
	.variant_caption {font-size:12px;}
}
@media screen and (max-width : 1024px) {
	h1 {font-size:1.5em;}
}
@media screen and (max-width : 1100px) {
	#middle_items_options {font-size:12px;}
	.price_for_not_all,.free_shipping {max-width:100% !important;}
	#info_block, #items_block {width:100%;float:none;margin:1% 0;border-left:none;border-right:none;}
	#buy_button {
		position: fixed;
		bottom: 0px;
		z-index: 9999999999;
		left: 0;
		border-radius: 0;
		padding: 20px 0;
	}
}