@media only screen
and (max-width : 1200px) {
.pagewrap {
	width: -webkit-calc(100% - 40px);
	width: -moz-calc(100% - 40px);
	width: calc(100% - 40px);
}
.menu_top > ul > li {
	margin:0 10px 0 10px;
}
.menu_top > ul > li > a,
.menu_top > ul > li > span {
	font-size:20px;
}
.menu_top__sub {
	height:220px;
}
.menu_top__sub a {
	font-size:18px;
	line-height:24px;
}

}

@media only screen
and (min-width : 1020px) {
.top_header__fixed .top_header__right {
	top:auto;
	bottom:0;
}
.top_header__fixed .menu_top {
	text-align:left;
}
.top_header__fixed .menu_top > ul > li:nth-child(2) {
	margin-left:0;
}
.top_header__fixed .menu_top > ul > li > a,
.top_header__fixed .menu_top > ul > li > span {
	font-size:18px;
	-webkit-transition:all ease-in-out 0.175s;
	-moz-transition:all ease-in-out 0.175s;
	transition: all ease-in-out 0.175s;
}
.content_box__padding {
	padding-top:170px;
}

}

@media only screen  
and (max-width : 1020px) {
.top_header__fixed .top_header__right {
	display:none;
}

}

@media only screen  
and (max-width : 1080px) {
.shop_prod h6 {
	font-size:18px;
	line-height:20px;
}
.shop_prod form a {
	font-size:18px;
}
.shop_prod form a span {
	font-size:14px;
	line-height:14px;
	height:14px;
}

}

@media only screen  
and (min-width : 980px) {
.shop_prod > li:nth-child(4n),
.gal_box > li:nth-child(4n+4) {
	margin-right:0;
}

}

@media only screen
and (min-width : 980px) {
.filter_item > li {
	margin-bottom:5px;
}
.filter_title,
.filter_item a,
.filter_item__price input {
	line-height:0.7778rem;
	font-size:0.7778rem;
}
.filter_item__price input {
	line-height:1.8rem;
	height:auto
}
.slider_box {
	padding-top:10px;
}

}

@media only screen  
and (max-width : 980px) {
html {
	font-size:14px;
}
.menu_top > ul > li > a,
.menu_top > ul > li > span {
	font-size:16px;
	line-height:30px;
	height:30px;
}
.menu_top__sub a {
	font-size:1rem;
	line-height:1.2rem;
}
.footer_menu {
	-webkit-box-flex: 0;
	-webkit-flex: 0 0 49.2%;
	-moz-box-flex: 0;
	-ms-flex: 0 0 49.2%;
	flex: 0 0 49.2%;
}
.footer_menu:nth-child(2) {
	margin-right:0;
}
.footer_menu:nth-child(1),
.footer_menu:nth-child(2) {
	margin-bottom:10px;
}

}

@media only screen  
and (max-width : 920px) {
.flex-direction-nav a {
	width: 30px;
	height: 30px;
	margin: -15px 0 0;
	-webkit-background-size:60px auto;
	   -moz-background-size:60px auto;
	     -o-background-size:60px auto;
	        background-size:60px auto;
}
.flex-control-paging li a {
  width: 10px;
  height: 10px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}
.basket_item_box > li {
	flex-wrap:wrap;
}
.basket_item__link {
	width:100%;
}
.basket_item__quantity {
	width:100%;
}

}

@media only screen  
and (max-width : 980px)
and (min-width : 680px) {
.shop_prod > li,
.gal_box > li {
	-webkit-box-flex: 0;
	-webkit-flex: 0 0 32.25%;
	-moz-box-flex: 0;
	-ms-flex: 0 0 32.25%;
	flex: 0 0 32.25%;
}
.shop_prod > li:nth-child(3n+3),
.gal_box > li:nth-child(3n+3) {
	margin-right:0;
}

}

@media only screen  
and (min-width : 860px) {
.coocie_content {
    display: flex;
}
.coocie_content__left {
    padding-right: 40px;
}
.coocie_content__right h3,
.coocie_content__right span {
    display: block;
    white-space: nowrap;
}

}

@media only screen  
and (max-width : 860px) {
.top_header__right {
	padding:10px 0 10px 10px;
}
.coocie_content__left {
    padding-bottom: 20px;
}
.ccr__btn {
    margin-right: 10px;
}

}

@media only screen  
and (max-width : 860px)
and (min-width : 780px) {
.top_search input {
	width:80px;
}
.top_search input[type=text]:focus {
	width:200px;
	-webkit-transition:all ease-in-out 0.175s;
	-moz-transition:all ease-in-out 0.175s;
	transition: all ease-in-out 0.175s;
}

}

@media only screen  
and (min-width : 780px) {
.top_header__left {
	position:absolute;
	top:0;
	left:0;
}
.top_header__right {
	position:absolute;
	top:0;
	right:0;
	padding:10px 0;
	z-index:3;
}
.top_header__fixed #site_logo {
	display:none;
}
.top_header__fixed .menu_top > ul > li {
	margin:0 10px;
	-webkit-transition:all ease-in-out 0.175s;
	-moz-transition:all ease-in-out 0.175s;
	transition: all ease-in-out 0.175s;
}
.menu_top {
	position:relative;
}
.menu_top__sub {
	border-bottom:1px solid #F2F2F2;
	border-right:1px solid #F2F2F2;
	border-left:1px solid #F2F2F2;
}
.prod_box__gal li:nth-child(3n+3) {
	margin-right:0;
}

}

@media only screen  
and (max-width : 780px) {
body {
	padding-top:50px;
}
.top_header {
	position:fixed;
	top:0;
	left:0;
	width:100%;
	z-index:44;
}
.top_header__box {
	padding-top:50px;
}
.top_header__left,
.top_header__right {
	display:none;
	text-align:right;
}
.mt_visible .top_header__left {
	display:block;
}
.mt_visible .top_header__right {
	display:block;
}
.top_header__right {
	padding-top:0;
	padding-bottom:40px;
	padding-left:0;
}
.lang_box {
	padding:0;
	margin-bottom:10px;
	display:block;
}
a.login_top_box {
	line-height:30px;
	height:30px;
	margin-left:0;
	margin-bottom:10px;
}
a.topbasket {
	margin-right:0;
	margin-bottom:10px;
	display:block;
	color:#999;
	width:100%;
}
.top_search input[type=text]:hover,
.top_search input[type=text]:focus {
	background-color:transparent;
}
/*a.topbasket {
	overflow:hidden;
	text-indent: -9999px;
	width:24px;
}*/
#site_logo {
	top:auto;
	left:0;
	bottom:5px;
	margin-left:0;
	width:251px;
	height:40px;
    background-position: left center;
	-webkit-background-size:auto 40px;
	     -o-background-size:auto 40px;
	        background-size:auto 40px;
}
html[lang*=lv] #site_logo {
    width: 271px;
}
html[lang*=lt] #site_logo {
    width: 311px;
}
html[lang*=ru] #site_logo {
    width: 256px;
}
/*a.login_top_box {
	overflow:hidden;
	text-indent: -9999px;
	width:15px;
}*/
.menu_top {
	min-height:50px;
	text-align:right;
}
/*.menu_top > ul {*/
.mobil_menu {
	display:block;
	position:fixed;
	top:0;
	right:0;
	width:auto;
	height:100vh;
	margin:0;
	z-index:102;
	background-color:#506e88;
	padding:50px 20px 20px;
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
	-webkit-transform: translateX(110%);
	-moz-transform: translateX(110%);
	-ms-transform: translateX(110%);
	transform: translateX(110%);
	-webkit-transition:all ease-in-out .2s;
	-moz-transition:all ease-in-out .2s;
	transition: all ease-in-out .2s;
}
.menu_top__ico {
	display:block;
}
/*.mt_visible .menu_top > ul {*/
.mt_visible .mobil_menu {
	-webkit-transform: translateX(0);
	-moz-transform: translateX(0);
	-ms-transform: translateX(0);
	transform: translateX(0);
	-webkit-transition:all ease-in-out .2s;
	-moz-transition:all ease-in-out .2s;
	transition: all ease-in-out .2s;
}
.menu_top > ul > li {
	margin:0;
	display:block;
	position:relative;
}
.menu_top > ul > li > a,
.menu_top > ul > li > span {
	font-size:20px;
	line-height:30px;
	height:30px;
}
.menu_top > ul > li.menu_top__on > a {
	border-bottom:1px solid #dcafad;
}
.mt_visible .menu_top__darck {
	position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
	width:100vw;
	height:100vh;
	z-index:100;
    background-color: rgba(0, 0, 0, 0.6);
	-webkit-transition:all ease-in-out .2s;
	-moz-transition:all ease-in-out .2s;
	transition: all ease-in-out .2s;
}
.menu_top > ul > li.menu_top__close {
	display:block;
	position:absolute;
	right:20px;
	top:20px;
	height:20px;
	width:20px;
	background-color:#506e88;
}
.menu_top__close a {
	color: #999;
	font: 20px/100% arial, sans-serif;
	position: absolute;
	width:20px;
	height:20px;
	z-index:120;
	right: 0;
	text-decoration: none;
	top: 0;
}
.menu_top__close a:after {
	content: '✖';
	color: #999;
}
.menu_top__close a:hover:after {
	color: #dcafad;
}
.menu_top__sub {
	text-align:right;
	position:relative;
	width:100%;
	height:auto;
	right:auto;
	margin-top:0;
	visibility: visible;
	opacity: 1;
	z-index:999;
	background-color:transparent;
	border-top:none;
}
.menu_top__sub ul {
	padding:3px 0 10px 0;
	text-align:right;
	-webkit-overflow-scrolling: touch;
	-webkit-transform: translateY(0);
	-moz-transform: translateY(0);
	-ms-transform: translateY(0);
	transform: translateY(0);
	-webkit-transition:all ease-in-out .2s;
	-moz-transition:all ease-in-out .2s;
	transition: all ease-in-out .2s;
}
.menu_top__sub a {
	font-size:0.8rem;
	line-height:1.2rem;
	margin-bottom:0;
}
.triangle_up,
.menu_top__sub img {
	display:none;
}
.prod_box {
	display:block;
}
.prod_box__data {
	padding-left:0;
}
.prod_box__bigpic {
	display:-webkit-box;
	display:-webkit-flex;
	display:-moz-box;
	display:-ms-flexbox;
	display:flex;
	padding-bottom:40px;
}
.prod_box__gal li {
	-webkit-box-flex: 0;
	-webkit-flex: 0 0 32.25%;
	-moz-box-flex: 0;
	-ms-flex: 0 0 32.25%;
	flex: 0 0 49.2%;
	margin:0 1.6% 1.6% 0;
}
.filter_item > li {
	display:block;
}
.filter_title {
	width:100%;
	padding-right:0;
	padding-bottom:5px;
}
.filter_item__variants,
.filter_item__price {
	width:100%;
}
.filter_item > li {
	margin-bottom:5px;
}
.login_sub {
	width:100%;
	position:relative;
	display:none;
	margin-bottom:20px;
}
.login_top_box:hover .login_sub,
.tpShow,
.login_top_box:hover .login_sub__triangle_up {
	display:block;
}
.login_sub__triangle_up { 
	bottom:auto;
	left:auto;
	top:42px;
	right:0;
	position:absolute;
	display:none;
}
.login_top_box:hover .login_sub__triangle_up {
	display:block;
}
.login_sub__item input {
	width:100%;
}

}

@media only screen  
and (max-width : 780px)
and (min-width : 640px) {
.prod_box__gal {
	padding-top:0;
	padding-left:10px;
	margin-right:-1.6%;
	margin-bottom:0;
	-webkit-align-content:flex-start;
	-ms-flex-line-pack:start;
	align-content:flex-start;
	-webkit-box-flex:40%;
	-webkit-flex:40%;
	-moz-box-flex:40%;
	-ms-flex:40%;
	flex:40%;
}
.prod_box__gal li:nth-child(2n+2) {
	margin-right:0;
}
.copy_adress {
	margin-top:40px;
	padding-top:20px;
	padding-left:0;
	white-space:normal;
	border-left:none;
	border-top:1px solid #4e0000;
}

}

@media only screen  
and (max-width : 680px)
/*and (min-width : 430px)*/ {
.shop_prod > li,
.gal_box > li {
	-webkit-box-flex: 0;
	-webkit-flex: 0 0 49.2%;
	-moz-box-flex: 0;
	-ms-flex: 0 0 49.2%;
	flex: 0 0 49.2%;
}
.shop_prod > li:nth-child(2n+2),
.gal_box > li:nth-child(2n+2) {
	margin-right:0;
}

}

@media only screen  
and (max-width : 640px) {
.form ul li {
	width:100%;
}
.prod_box__bigpic {
	display:block;
}
.prod_box__gal li {
	-webkit-box-flex: 0;
	-webkit-flex: 0 0 32.25%;
	-moz-box-flex: 0;
	-ms-flex: 0 0 32.25%;
	flex: 0 0 32.25%;
	margin:0 1.6% 1.6% 0;
}
.prod_box__gal li:nth-child(3n+3) {
	margin-right:0;
}
.prod_box__data_add {
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}
.prod_box__add_but {
	width:100%;
	margin-top:10px;
}
.q_plus {
	margin-right:0;
}
.discount_box span {
	display:block;
}
.search_input {
	-webkit-flex-wrap:wrap;
	-ms-flex-wrap:wrap;
	flex-wrap:wrap;
}
.search_input span {
	width:100%;
}

}

@media only screen  
and (max-width : 580px) {
.footer_content {
	display:block;
}
.footer_menu {
	margin-right:0;
	margin-bottom:1.6%;
}
.social_box {
	margin-bottom:0;
}
.news_block img {
	width:100px;
}
.pb_size_box th {
    padding: 10px;
}
.pb_size_box th strong  {
    display: inline-block;
    writing-mode: vertical-rl;
    white-space: nowrap;
    text-align: right;
}

}

@media only screen  
and (max-width : 430px) {
/*.shop_prod > li,
.gal_box > li {
	-webkit-box-flex: 0;
	-webkit-flex: 0 0 100%;
	-moz-box-flex: 0;
	-ms-flex: 0 0 100%;
	flex: 0 0 100%;
}
.shop_prod > li,
.gal_box > li {
	margin-right:0;
}*/
	.shop_prod form a span {
		top: -2px;
		left: auto;
		right: 50px;
	}
.news_block img {
	float:none;
	margin-left:0;
	display:block;
	width:100%;
	margin-bottom:10px;
}
    .ccr__btn {
        display: block;
        width: 100%;
    }
    .coocie_content .s_btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    .coocie_content .s_btn__no {
        margin-left: 0;
        margin-bottom: 0;
    }

}

@media only screen  
and (max-width : 380px) {
#site_logo,
html[lang*=lv] #site_logo,
html[lang*=lt] #site_logo,
html[lang*=ru] #site_logo {
	width:127px;
}
}