/********************* all *******************/
@media (max-width: 1201px) and (min-width: 320px) {

}


@media (max-width: 1170px) and (min-width: 320px) {
	/*контейнеры*/
	.container {
		width: 100%;
		min-width: 100%;
		padding: 0 2%;
	}

	.left_block {
		width: 22%;
	}

	.site_content {
		width: 76%;
		margin-left: 2%;
	}
	/*header*/
	.header_top {
		padding-top: 0;
	}

	.logo {
		top: 40px;
	}

	.header_top > .container:first-child {
	    padding-top: 55px;
	}

	.header_contacts {
		padding-top: 0;
	}

	.header_search_container {
		display: none;
	}

	.header_top .header_search_container {
	    display: block;
		position: absolute;
		top: 5px;
		right: 2%;
		margin: 0;
	}

	/*меню категорий*/
	div.category_menu li {
		width: 16%;
		margin-right: 1%;
	}

	div.category_menu img {
		width: 100%;
		height: auto;
	}

	/*парвая страница каталога*/
	ul#shop_menu li {
		width: 32%;
		margin-right: 2%;
	}

	/*ul#shop_menu li:nth-child(3n) {
		margin-right: 0;
	}*/
	
	h2.category_menu_title span,
	.h2.category_menu_title span {
	  font-size: calc(100vw/80);
	}

	h2.category_menu_title span.name, h2.category_menu_title span.name span,
	.h2.category_menu_title span.name, .h2.category_menu_title span.name span {
	  font-size: calc(100vw/70);
	}

	/*ссылки на подкатегории второго уровня*/
	.list_cat_level_2 .shop_cat_link {
		width: 23.5%;
		margin-right: 2%;
	}

	.list_cat_level_2 .shop_cat_link:nth-child(4n){
		margin-right: 0;
	}

	/*корзина*/

	form.cart_form {
	    display: block;
	    width: 104%;
	    margin-left: -2%;
	    padding: 2%;
	    background: #e2f4fb;
	}

	/*статьи*/
	.clauses_list .block {
		width: 32%;
		margin-right: 2%;
	}

	.clauses_list .block:nth-child(3n){
		margin-right: 0;
	}

}

@media (max-width: 1069px) and (min-width: 320px) {

}

@media (max-width: 1023px) and (min-width: 320px) {

	/*слайдер на главной*/
	.main_slider .main_slider_text {
		top: 110px;
		min-height: 56%;
	}

	/*карта товара*/

	.shop-item-right {
		float: left;
		padding-top: 20px;
	}

	/*основное меню магазина*/

	body {
	    padding-top: 42px;
	}

	.header_bottom .container {
		border-bottom: 1px solid #dbdbdb;
	}

	.main_menu_container {
	    position: fixed;
	    top: 0;
	    width: 100%;
	    background: #fff;
	    z-index: 3;
	}

	.toggleChildList {
		display: block;
	}

	button.c-hamburger {
		display: block;
	}

	.main_menu_container .container{
		height: 42px;
		position: relative;
		/*border-top: 2px solid #d3e4eb;*/
		border-bottom: 2px solid #d3e4eb;
	}

	/*!!!!*/
	ul#main_menu>li.home_pres:hover>ul {
	    display: none;
	}

	ul#main_menu {
		width: 100%;
		position: absolute;
		top: 100%;
		left: 0;
		background: #fff;
		padding: 10px 2%;
		z-index: 1;
		display: none;
		max-height: 1000px;
		overflow: auto;
		padding-top: 0;
	}

	ul#main_menu>li {
		padding: 0 5px 0 20px;
	}

	ul#main_menu>li, ul#main_menu>li>a {
	    display: block;
		position: relative;
	}

	ul#main_menu li a {
		padding: 0 !important;
	}

	ul#main_menu>li>a::after{
		content: '';
		display: block;
		width: 25px;
		height: 2px;
		background: #ff3700;
		position: absolute;
		bottom: 0;
		left: 18px;
	}

	ul#main_menu>li:first-child>a {
		padding: 0 18px;
	}

	/*!!!!*/
	/*блокируем всплывающие меню при клике*/
	ul#main_menu>li:hover>ul {
	    display: none;
	}

	ul#main_menu>li.home_pres:hover>ul {
	    display: none;
	}

	/*второй уровень*/
	.menu_triangle_grya, .vert_line {
		display: none;
	}

	ul#main_menu>li>ul {
	    /*display: block;*/
	    position: relative;
		top: 0;
		left: 0;
	    width: auto;
	    height: auto;
		border: none;
		box-shadow: none;
		padding: 10px 5px 10px 15px;
		border-bottom: 1px solid #d3e4eb;
	}

	ul#main_menu>li.home_pres>ul {
		max-height: none;
	}

	ul#main_menu>li>ul>li {
		padding-bottom: 0;
	}

	ul#main_menu>li>ul ul{
		padding: 10px 5px 10px 15px;
	}

	ul#main_menu>li>ul li  {
		display: block;
		width: auto;
		float: none;
	}
	/*!!!*/
	/*ul#main_menu>li.home_pres>ul {

	}*/

	/*подбор подарка*/

	ul#main_menu>li.pic_present>ul {
		padding-left: 15px;
	}

	ul#main_menu>li.pic_present>ul>li,
	ul#main_menu>li.pic_present>ul>li:nth-child(6),
	ul#main_menu>li.pic_present>ul>li:nth-child(7) {
	    width: 100%;
	    display: block;
	}

	.pic_present_sub_menu {
	    position: relative;
	    width: 100%;
	    height: auto;
	    left: 0;
	    top: 0;
		border-bottom: 1px dashed #d3e4eb;
		margin-bottom: 10px;
	}

	ul#pic_sub_menu li {
	    margin-bottom: 10px;
	}

	ul#pic_sub_menu li:last-child {
		margin-bottom: 0;
	}

	ul#main_menu>li.pic_present .link_level_2 {
		margin-bottom: 0;
	}

	/*корзина*/
	.peyment_massage {
	    clear: both;
	    margin-left: 0;
	    margin-top: 10px;
	}

}

@media (max-width: 1000px) and (min-width: 320px) {


}

/************************************* ipad mini *************************/

@media (max-width: 961px) and (min-width: 320px) {
	/*header*/
	.header_contacts {
	    width: 270px;
	}

	/*слайдер на глвной*/
	.main_slider .main_slider_text {
		top: 50px;
	}


	/*div.category_menu li:nth-child(4) h2.category_menu_title,
	div.category_menu li:nth-child(4) .h2.category_menu_title {
		padding: 0 30px;
		padding-top: 10px;
	}

	div.category_menu li:nth-child(6) h2.category_menu_title,
	div.category_menu li:nth-child(6) .h2.category_menu_title {
	    padding-top: 20px;
	}*/

	/*скрываем левый блок*/
	.left_menu_container {
		padding-bottom: 15px;
	}

	.left_menu_bt {
		display: block;
	}

	.container > .left_block {
		width: 250px;
		height: 100%;
		padding: 5px;
		position: fixed;
		left: -250px;
		top: 0;
		background: #fff;
		border-right: 1px solid #8ab0c0;
		z-index: 1002;/*чтобы перекрыть кнопку кнопки верхнего меню*/
		overflow-y: auto;
	}

	.filter_price_param.filter_price_param_from {
		margin-right: 15px;
	}

	.site_content {
		width: 100%;
		margin-left: 0;
	}

}

@media (max-width: 959px) and (min-width: 320px) {
	/*footer*/

	footer {
	    padding-bottom: 0;
	}

	footer > .container:first-child {
		padding-bottom: 120px;
		position: relative;
	}

	.footer_col.footer_menu {
	    width: 48%;
	    margin-right: 0;
	    float: left;
		margin: 0 1%;
	}

	.footer_col.footer_menu > .servise_menu {
		float: right;
	}

	.copyright {
	    margin-top: 9px;
	}

	.footer_col.logo_copyright {
		position: absolute;
		bottom: 10px;
	    left: 50%;
	    -moz-transform: translate(-50%, 0);
	    /* Для Firefox */
	    -ms-transform: translate(-50%, 0);
	    /* Для IE */
	    -webkit-transform: translate(-50%, 0);
	    /* Для Safari, Chrome, iOS */
	    -o-transform: translate(-50%, 0);
	    /* Для Opera */
	    transform: translate(-50%, 0);
	}
}


/********************* ipad pro *******************/

@media (max-width: 866px) and (min-width: 320px) {
	/*header*/
	.header_top > .container:first-child {
	    padding-bottom: 85px;
	}

	/*.header_top .header_search_container {
	    display: block;
		position: relative;
		top: 0;
		left: 0;
		float: left;
		margin-left: 20px;
	}*/

	.logo {
	    top: auto;
	    bottom: 0;
	}

	.header_contacts {
		padding-top: 0;
	}

	/*парвая страница каталога*/
	ul#shop_menu li, ul#shop_menu li:nth-child(3n) {
		width: 48%;
		margin-right: 4%;
	}

	ul#shop_menu li:nth-child(2n) {
		margin-right: 0;
	}

	/*ссылки на подкатегории второго уровня*/
	.list_cat_level_2 .shop_cat_link, .list_cat_level_2 .shop_cat_link:nth-child(4n) {
		width: 32%;
		margin-right: 2%;
	}

	.list_cat_level_2 .shop_cat_link:nth-child(3n){
		margin-right: 0;
	}
}

/**************  ipad mini ** ***************/


@media (max-width: 801px) and (min-width: 320px) {

	/*header*/

	.header_bottom .container {
	    padding-top: 15px;
	    padding-bottom: 7px;
	}


	/*верхнее меню*/
	nav.top_menu {
	    width: 370px;
	    float: none;
	    margin: 10px auto;
	    text-align: center;
	}

	ul#top-menu li {
		padding: 5px 0;
	}
	
	
	
	div.category_menu li {
	  display: block;
	  width: 32%;
	}

	/*меню категорий*/
	h2.category_menu_title span,
	.h2.category_menu_title span {
		font-size: calc(100vw/40);
	}
	h2.category_menu_title span.name, h2.category_menu_title span.name span,
	.h2.category_menu_title span.name, .h2.category_menu_title span.name span {
		font-size: calc(100vw/35);
	}

	/*список товаров*/
	.shop-item, .site_content .shop-item {
		width: 33.333%;
	}

	.shop-item:nth-child(4) {
	    border-top: none;
	}

	.shop-item:nth-child(4n+1), .site_content .shop-item:nth-child(3n+1) {
	    border-left: none;
	}

	.shop-item:nth-child(3n+1) {
		border-left: 1px solid #e9e9e9;
	}

	/*корзина*/
	table.delivery_table td.cart_summ, table.delivery_table td.cart_check {
	    width: 19%;
	}

	/*статьи*/
	.clauses_list .block, .clauses_list .block:nth-child(3n) {
		width: 49%;
		margin-right: 2%;
	}

	.clauses_list .block:nth-child(2n){
		margin-right: 0;
	}

}

@media (max-width: 769px) and (min-width: 320px) {

	/*header*/

	.header_contacts_col.work_time p:first-child {
	    float: left;
	    margin-right: 10px;
	}

	a.phone {
		margin-bottom: 2px;
	}

	.header_contacts {
	    width: 230px;
	}

	.header_contacts_col.work_time{
		width: 100%;
	}
	.work_time p{
		float: left;
	}

	.kont__flex {
		flex-wrap: wrap;
	}
	.kont__left {
		width: 100%;
	    padding-right: 0 !important;
		padding-bottom: 20px;
	}

	/*слайдер на глвной*/
	.main_slider_text p {
		font-size: 40px;
		line-height: 1;
	}
}

@media (max-width: 721px) and (min-width: 320px) {
	/*footer*/
	/*.footer_col.footer_menu {
	    width: 55%;
	}*/

	/*ссылки на подкатегории второго уровня*/
	.list_cat_level_2 .shop_cat_link, .list_cat_level_2 .shop_cat_link:nth-child(4n),
	.list_cat_level_2 .shop_cat_link:nth-child(3n) {
		width: 49%;
		margin-right: 2%;
	}

	.list_cat_level_2 .shop_cat_link:nth-child(2n){
		margin-right: 0;
	}

	/*** текстовая страница ***/
	.container.text_page {
	    width: 100%;
	    min-width: 100%;
	    margin: 0 auto;
		padding-left: 2%;
		padding-right: 2%;
	}

	/*корзина*/
	.cart_order input[type="submit"].btn_resul.btn {
	    font-size: 13px;
	    width: 170px;
	    margin-top: 20px;
	    position: relative;
	}
}

@media (max-width: 719px) and (min-width: 320px) {

	/*header*/
	.header_top {
		padding-top: 0;
	}
	.header_top > .container:first-child {
		padding-top: 50px;
	}
	.header_top .header_search_container {
		margin: 0;
		position: absolute;
		top: 5px;
		bottom: auto;
		right: 2%;
		left: auto;
	}

	.header_contacts {
		margin-top: -44px;
	}

	.header_contacts_col.work_time {
		padding-top: 18px;
	}

	.work_time p {
		clear: both;
		width: 100%;
	}

	/*меню категорий*/
/*	div.category_menu li:nth-child(5) h2.category_menu_title,
	div.category_menu li:nth-child(5) .h2.category_menu_title {
		padding-top: 0;
	}*/

}


/********************* sred *******************/

@media (max-width: 669px) and (min-width: 320px) {
	/*слайдер на глвной*/
	.main_slider .main_slider_text {
	    top: 10px;
	    min-height: 90%;
	    padding-top: 40px;
	}

	/*список товаров*/
	.shop-item, .site_content .shop-item {
		width: 50%;
	}
	
	h2.category_menu_title,
.h2.category_menu_title {
	height: 30px;
	}

	.shop-item:nth-child(3), .site_content .shop-item:nth-child(3) {
	    border-top: none;
	}

	.shop-item:nth-child(3n+1) {
		border-left: none;
	}

	.shop-item:nth-child(2n+1), .site_content .shop-item:nth-child(2n+1) {
		border-left: 1px solid #e9e9e9;
	}

	/*footer*/
	.footer_contacts {
		margin-right: 20px;
	}

	/*.footer_col.footer_menu {
	    width: calc(100% - 240px);
	}

	.footer_col.footer_menu > div {
		width: 50%;
		margin: 0 !important;
		padding-right: 10px;
	}*/
	
	
	

	.coupon2e_block .coupon-d__inside {
		flex-direction: column;
	}
	.coupon2e_block .coupon-d__inside .coupon-d__heading {
		text-align: center;
		width: 100%;
		margin: 0 0 10px 0;
	}
	.coupon2e_block .coupon-d__inside .coupon-d__button {
		padding: 10px 20px;
		width: 150px;
		margin: 10px auto 0 auto;
	}
	.coupon2e_block .coupon-d__inside .coupon-d__button:hover {
		background: #fff;
		color: #ff3700;
	}
	.coupon2e_block .coupon-d__inside .coupon-d__field {
		text-align: center;
	}
	.coupon2e_block .coupon-d__inside .coupon-d__field input {
		padding: 20px 20px;
		width: 230px;
	}
}

@media (max-width: 601px) and (min-width: 320px) {
	
	.container.breadcrumbs .breadlogo {

		width: calc(100% - 180px);
		height: 74px;
		background-size: contain;
		right: 10px;
	}

	/*слайдер на глвной*/
	.main_slider .main_slider_text {
	    top: 10px;
	    min-height: 90%;
	    padding-top: 30px;
	}
	.main_slider button.slick-prev::before, .main_slider button.slick-next::before {
		font-size: 30px;
	}

	.main_slider button.slick-prev {
		left: 10px;
	}

	.main_slider button.slick-next {
		right: 10px;
	}

	.main_slider_text p {
		font-size: 37px;
	}
	
	.category_four ul li {
		width: 49%;
	}
	.category_four ul li a {
		height: 120px;
	}

	/*меню категорий*/
	/*div.category_menu li {
		width: 49%;
		margin-right: 2%! important;
	}

	div.category_menu li:nth-child(2n) {
		margin-right: 0 !important;
	}*/

	/*div.category_menu li:nth-child(5) h2.category_menu_title,
	div.category_menu li:nth-child(5) .h2.category_menu_title {
		padding-top: 8px;
	}

	div.category_menu li:nth-child(4) h2.category_menu_title,
	div.category_menu li:nth-child(4) .h2.category_menu_title {
		padding: 0 35px;
		padding-top: 10px;
	}*/

	/*таблица с описанием категории*/
	.home_text table td, .text_with_table table td {
	    display: block;
	    margin: 0;
	    padding: 0 0 15px !important;
	    width: 100% !important;
	}

	/*картинки в текстовой странице*/

	img.small_img.right, img.small_img.left {
		margin: 0;
		float: none;
	}

	img.small_img {
		width:100%;
		max-width: 100%;
		height: auto;
		margin: 10px 0;
		float: none;
	}

	/*блок сотрировки*/

	.sort_container {
	    float: left;
	    margin-top: 10px;
	}

	/*корзина*/
	.spis_pol .left_block, .spis_pol .righ_block {
		width: 100%;
		margin-right: 0;
	}

}

@media (max-width: 501px) and (min-width: 320px) {
	/*footer*/
	.footer_contacts {
		width: 50%;
		margin-right: 0;
		padding-right: 10px;
		float: left;
	}

	.footer_col.soc_panel_container {
		width: 50%;
	}

	ul.soc_panel li {
		float: left;
		margin: 0 10px;
	}

	/*.footer_col.footer_menu {
	    width: 100%;
		margin-top: 15px;
	}*/

	/*.footer_col.footer_menu > div {
		width: 50%;
		margin: 0 !important;
		padding-right: 10px;
	}*/

	/*карта товара*/
	.shop-item-left, .shop-item-right {
	    width: 100%;
	    padding-left: 0;
	}

	.shop-item-right input.button.solid, .shop_one_click input[type="button"],
	span.js_shop_one_click {
		clear: both;
		margin-left: 0;
	}

	.shop_id .shop-item-right .shop_form  .error {
		bottom: 66px;
	}

	.shop-item-right input.button.solid {
		margin-bottom: 20px;
	}

	.content p.have {
	    position: relative;
	    left: 0;
	    top: 0;
	}
}

/*min*/
@media (max-width: 480px) and (min-width: 320px) {
	/*header*/
	.header_contacts, .header_top .right_block {
		width: 100%;
		text-align: center;
		margin-top: 0;
		margin-bottom: 20px;
	}

	.registration, .cart_container {
		float: none;
		display: inline-block;
	}

	.registration {
		padding-right: 10px;
	}

	.cart_container {
		padding-left: 10px;
	}

	.header_contacts_col.work_time {
	    width: auto;
	    padding-top: 0;
	}

	.header_top .header_search_container {
		width: 96%;
	}

	.header_top > .container:first-child {
	    padding-bottom: 80px;
		min-height: 235px;
	}

	.logo {
	    top: auto;
	    bottom: 0;
	}

	/*слайдер на глвной*/
	.main_slider button.slick-prev {
		left: 5px;
	}
	.main_slider button.slick-next {
		right: 5px;
	}

	.main_slider .main_slider_text {
		padding-top: 20px;
	}

	.main_slider .link_button {
	    height: 32px;
	    line-height: 30px;
	}

	/*меню категорий*/
	/*div.category_menu li:nth-child(5) h2.category_menu_title,
	div.category_menu li:nth-child(5) .h2.category_menu_title {
		padding-top: 0;
	}*/

	/*парвая страница каталога*/
	ul#shop_menu li, ul#shop_menu li:nth-child(3n) {
		width: 100%;
		margin-right: 0;
	}

	/*ссылки на подкатегории второго уровня*/
	.list_cat_level_2 .shop_cat_link{
		width: 100% !important;
		margin-right: 0 !important;
	}

	/*корзина*/
	.cart_order input[type="submit"].btn_resul.btn {
		margin-right: auto;
		margin-left: auto;
		float: none;
	}

	/*статьи*/
	.clauses_list .block{
		width: 100% !important;
		margin-right: 0 !important;
	}

	.large_image_container {
		height: auto;
	}

}

@media (max-width: 451px) and (min-width: 320px) {
	/*слайдер на глвной*/
	.main_slider_text p {
	    font-size: 30px;
	}
	
	div#to_cart_shop .buttons a, div#to_cart_shop .buttons div {
		width: 100%;
		margin-top: 10px;
	}

}


/*min*/
@media (max-width: 420px) and (min-width: 320px) {
	/*список товаров*/
	.shop-item, .site_content .shop-item {
		width: 100%;
	}

	.shop-item:nth-child(2), .site_content .shop-item:nth-child(2) {
	    border-top: none;
	}

	.shop-item:nth-child(2n+1) {
		border-left: none;
	}

	.shop-item:nth-child(n + 1), .site_content .shop-item:nth-child(n + 1) {
		border-left: 1px solid #e9e9e9;
	}

	/*footer*/
	.footer_col.soc_panel_container {
		width: 100%;
		margin-bottom: 15px;
	}

	.footer_contacts {
		width: 98%;
		margin: 20px 1% 0 1%;
	}
}

@media (max-width: 380px) and (min-width: 320px) {
	/*слайдер на глвной*/
	.main_slider_text p {
	    font-size: 26px;
	}

	.main_slider .main_slider_text {
		padding-top: 0;
	}

	/*верхнее меню*/
	nav.top_menu {
		width: 100%;
	}

	/*меню категорий*/

	/*div.category_menu {
	    padding-top: 20px;
	}

	div.category_menu li {
		width: 100%;
		margin-right: 0 ! important;
	}

	div.category_menu li:nth-child(4) h2.category_menu_title,
	div.category_menu li:nth-child(4) .h2.category_menu_title {
		padding-top: 20px;
	}

	div.category_menu li:nth-child(5) h2.category_menu_title,
	div.category_menu li:nth-child(5) .h2.category_menu_title {
		padding-top: 8px;
	}*/

	/*корзина*/
	.cart_order .left_block .pole:first-child, .cart_order .left_block .pole:nth-child(2) {
		width: 100%;
		margin-right: 0;
	}

	table.cart th, table.cart th.cart_summ, table.cart th.cart_remove {
		font-size: 12px !important;
	}

	table.cart th.cart_summ, table.cart th.cart_remove {
	    padding-left: 1px;
	    padding-right: 1px;
	}

	.coupon_block {
	    padding-bottom: 10px;
	}

	form.cart_form {
		margin-top: 0;
	}
}

@media (max-width: 320px) and (min-width: 320px) {

}
