@media screen and (max-width: 1220px) {
  main>.main-wrapper #content>.page-header {
    text-align: center;
  }
  .vm-product-container {
    max-width: 887px;
    margin: 0 auto;
  }
	.footer-catalog li {
		width: 50%;
	}
	.pagination-start, .pagination-prev,
	.pagination-next, .pagination-end {
	  display: none!important;
	}
	.vm-pagination {
	  margin: 30px auto 0;
	  display: flex;
	  flex-direction: column;
	  align-items: center;
	  float: unset!important;
	}
	.vm-page-counter {
	  margin-top: 10px;
	}
	#right-sidebar {
	  display: none!important;
	}
	.category-header {
	  text-align: center;
	}
	.products-wrapper .product-container {
	  margin-left: 10px;
	  margin-right: 10px;
	}
	.products-wrapper {
	  justify-content: center;
	}
	.products-wrapper .product-name {
	  text-align: center;
	}
	.products-wrapper .product-s-desc {
	  text-align: center;
	}
	main>.main-wrapper #content {
	  padding-right: 0;
	}
  header .vmsearch form .button {
    clip-path: none;
    padding-right: 0;
    width: 70px;
  }
  header .search.vmsearch form {
    padding-right: 2px!important;
    height: 49px!important;
  }
	.mainpage-bottom-wrapper {
		max-width: 750px;
		-webkit-flex-wrap: wrap;
		-moz-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		-o-flex-wrap: wrap;
		flex-wrap: wrap;
		margin-bottom: 0;
	}
	.mainpage-bottom-section {
		margin-bottom: 0;
	}
	.mainpage-bottom-item {
		width: calc(50% - 15px);
		margin-bottom: 30px;
	}
	.advantages {
		height: 476px;
	}
	.advantage {
		height: 25%;
		border-bottom: 2px solid #fff;
		width: 50%;
		justify-content: flex-start;
	}
	.advantage br {
		display: none;
	}
	.advantages-section {
		max-width: 750px;
	}
	.advantages-section h2, .partners-section h3 {
		text-align: center;
	}
	nav.flex.fixed-nav {
		display: none;
	}
	.shipment-container:before {
		display: none;
	}
	.shipment {
	  background: #19b329;
	}
	.shipment-container {
		clip-path: unset;
		top: 3px;
		left: 3px;
		bottom: 3px;
		right: 3px;
		padding: 21px;
		padding-left: 21px;
		background: url(../images/shipment-bg.png) center -20%/37% auto no-repeat;
		background-color: #f9f9f9;
		-ms-align-items: center;
		align-items: center;
		text-align: center;
	}
	.shipment h3 {
		display: none;
	}
	.shipment-container h3 {
		display: block;
		color: #000;
		text-align: center;
		margin-bottom: 10px;
	}
	.shipment {
		max-width: 750px;
		min-height: 350px;
	}
	.blog-featured {
		max-width: 750px;
		max-height: 1170px;
	}
	.blog-featured .item {
		width: calc(((100vw - (100vw - 750px)) - 30px) / 2);
		height: calc(((100vw - (100vw - 750px)) - 30px) / 2);
	}
	.blog-featured .item:nth-of-type(3) {
		height: calc((((100vw - (100vw - 750px)) - 30px) / 2) * 2 + 30px);
		margin-bottom: 30px;
	}
	.blog-featured .item:nth-of-type(4) {
		order: -1;
	}
	.fade-slide-viewer {
		min-height: 333px;
	}
	.banner-menu {
		-webkit-flex-wrap: wrap;
		-moz-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		-o-flex-wrap: wrap;
		flex-wrap: wrap;
		max-width: 502px;
	}
	.banner-menu li {
		width: 100%;
		margin-bottom: 13px;
		border-bottom: 2px solid #ccc;
		padding-bottom: 13px;
	}
	.banner-menu li:last-of-type, .banner-menu li:nth-of-type(5n - 1) {
	  border-bottom: none;
	}
	.banner-menu li:last-of-type {
	  margin-bottom: 0;
	  padding-bottom: 0;
	}
	.banner-menu li:last-of-type a {
	  font-size: 1.5em;
	  padding: 10px;
	}
	.banner-section {
		margin-bottom: 20px;
	}
	.main-slider .fade-slide-buttons {
		bottom: 30px;
	}
	.banner-menu {
		position: relative;
		bottom: auto;
		left: auto;
		right: auto;
		-webkit-box-shadow: none;
		box-shadow: none;
		padding: 13px 21px;
	}
	.slide-wrapper {
		-ms-align-items: center!important;
		align-items: center!important;
	}
	.header-top, .header-middle {
		margin-left: 141px;
	}
	header .search form:before {
		display: none;
	}
	header {
		height: auto;
		height: 170px;
	}
	.logo img {
		width: 120px;
	}
	header .search form {
		height: 50px;
		padding-right: 2px;
		padding-left: 2px;
	}
	input.search-query {
		height: 46px;
	}
	header .search form button {
		height: 46px;
	}
	header .search form button:after {
		display: none;
	}
	header .search form:after {
		display: none;
	}
	header .search {
		z-index: 5;
		position: absolute;
		left: 0;
		right: 0;
		top: 120px;
		height: 50px;
	}
	.logo {
		position: absolute;
		top: 0;
		left: 0;
		height: 120px;
		overflow: hidden;
	}
	.header-wrapper {
		position: relative;
		height: 120px;
	}
	.address {
		flex-grow: 2;
		justify-content: flex-start;
	}
	.header-menu {
		display: none;
	}
	nav.flex {
		min-height: 0;
		width: 100vw;
	}
	nav ul.nav {
		font-size: 0.91em;
		color: inherit;
	}
	.nav-wrapper {
		overflow-y: auto;
		overflow-x: hidden;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background-color: #f9f9f9;
		padding: 20px 0;
		height: calc(100vh - 170px);
		visibility: hidden;
		opacity: 0;
		max-width: unset;
	}
	.adaptive-menu-wrapper {
		width: 100vw;
	}
	nav ul.nav {
		-webkit-flex-direction: column;
		-moz-flex-direction: column;
		-ms-flex-direction: column;
		-o-flex-direction: column;
		flex-direction: column;
		height: auto;
		-ms-align-items: center;
		align-items: center;
		width: 100vw;
	}
	.menu_container {
		display: -webkit-flex;
		display: -moz-flex;
		display: -ms-flex;
		display: -o-flex;
		display: flex;
	}
	nav div.nav-child-container {
		visibility: visible;
		opacity: 1;
		position: static;
		background-color: transparent;
		text-transform: none;
		padding: 0;
		overflow: hidden;
		height: auto;
		max-height: 0;
	}
	nav.adaptive li.adaptive div.nav-child-container {
		max-height: 700px;
	}
	nav ul.nav-child {
		-ms-align-items: center;
		align-items: center;
	}
	nav ul.nav-child li {
		padding: 0;
		margin: 0;
	}
	nav ul.nav-child li a {
	  color: #121212!important;
	  padding-right: 0;
	  text-align: center;
	  padding-top: 10px;
	  padding-bottom: 10px;
	}
	nav ul.nav>li>a {
		padding: 0;
		margin: 10px 0;
		width: auto;
		-webkit-transition: none;
		-o-transition: none;
		transition: none;
	}
	nav li.deeper>a:after {
		display: none;
	}
	nav ul.nav>li:not(:last-of-type):after {
	  display: none;
	}
	nav ul.nav>li.deeper {
		display: -webkit-flex;
		display: -moz-flex;
		display: -ms-flex;
		display: -o-flex;
		display: flex;
		-webkit-flex-direction: column;
		-moz-flex-direction: column;
		-ms-flex-direction: column;
		-o-flex-direction: column;
		flex-direction: column;
		-ms-align-items: center;
		align-items: center;
		justify-content: flex-start;
	}
	.sales {
		max-width: 460px;
		-webkit-flex-wrap: wrap;
		-moz-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		-o-flex-wrap: wrap;
		flex-wrap: wrap;
	}
	.sale {
		width: 100%;
	}
}

@media screen and (max-width: 950px) {
  .vm-product-media-container {
    width: 100%;
    max-width: 400px;
    align-self: center;
  }
  .vm-product-container .product-title {
    text-align: center;
    margin-bottom: 30px;
    order: -1;
  }
  .vm-product-container .product-description {
    padding-left: 0;
  }
  .vm-product-container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
  }
  .vm-product-details-container {
    display: flex;
		-webkit-flex-direction: column;
		-moz-flex-direction: column;
		-ms-flex-direction: column;
		-o-flex-direction: column;
		flex-direction: column;
		-ms-align-items: stretch;
		align-items: stretch;
		justify-content: flex-start;
  }
  .vm-product-media-container {
    margin-right: 0;
    float: unset;
  }
  .uk-grid {
    float: unset;
    margin-left: 0;
    min-width: 100%;
  }
}
@media screen and (max-width: 850px) {
	.footer-top .wrapper {
		-webkit-flex-direction: column;
		-moz-flex-direction: column;
		-ms-flex-direction: column;
		-o-flex-direction: column;
		flex-direction: column;
		-ms-align-items: stretch;
		align-items: stretch;
		justify-content: flex-start;
	}
	.footer-bottom {
		background-color: #fff;
	}
	.footer-bottom .wrapper {
		-webkit-flex-direction: column;
		-moz-flex-direction: column;
		-ms-flex-direction: column;
		-o-flex-direction: column;
		flex-direction: column;
		text-align: center;
		border-top: none;
	}
	.counters {
		margin-top: 21px;
		margin-bottom: 21px;
	}
	.footer-left {
		padding-right: 0;
		max-width: 100%;
		min-width: 100%;
		border-right: none;
		border-bottom: 1px solid #d7d7d7;
	}
	.footer-catalog li {
		width: auto;
		padding-left: 10px;
		padding-right: 10px;
		margin-bottom: 15px;
		flex-grow: unset;
	}
	.footer-right {
		padding-left: 0;
	}
	.footer-catalog {
		text-align: center;
		justify-content: center;
	}
	.footer-nav {
		-ms-align-items: center;
		align-items: center;
		text-align: center;
	}
	.social-btns {
		-ms-align-self: center;
		align-self: center;
	}
	.footer-right h3 {
		text-align: center;
	}
	.advantages {
		height: 700px;
	}
	.advantage {
		height: calc(100% / 8);
		width: 100%;
		padding: 0 50px;
	}
	.advantages-section {
		max-width: 460px;
	}
	.shipment-container {
		-webkit-background-size: 77%;
		background-size: 77%;
	}
	.shipment-container h3 {
		margin-top: 35px;
	}
	.shipment {
		max-width: calc(100vw - (100vw - 460px));
	}
	.top-sales-item p {
		padding: 0;
		margin-bottom: 10px;
	}
	.top-sales-item a {
		height: 38px;
		font-size: 21px;
	}
	.top-sales-item {
		-ms-align-items: center;
		align-items: center;
		justify-content: center;
		text-align: center;
	}
	.blog-featured {
		-ms-align-items: center;
		align-items: center;
		max-height: unset;
		max-width: calc(100vw - (100vw - 460px));
	}
	.header-phones-section button {
		display: none;
	}
	.blog-featured .item {
		width: calc(100vw - (100vw - 460px));
		height: calc(100vw - (100vw - 460px));
	}
	.blog-featured .item:nth-of-type(3) {
		height: calc((100vw - (100vw - 460px)) * 2 + 30px);
	}
}

@media screen and (max-width: 750px) {
  .header-btns {
    display: none;
  }
	.add-phones {
		display: none;
	}
	.address {
		width: 100%;
		text-align: center;
		justify-content: center;
		margin-right: 0;
	}
	.header-top {
		padding-left: 0;
	}
	.main-phone p {
		display: none;
	}
	.header-wrapper, .logo, .logo img {
		height: 100px;
	}
	.logo img {
		width: auto;
	}
	.header-top, .header-middle {
		margin-left: 100px;
		padding-left: 15px;
	}
	header {
		height: 150px;
		padding-left: 0;
		padding-right: 0;
	}
	header .search {
		top: 100px;
	}
	.nav-wrapper {
		height: calc(100vh - 150px);
	}
	.header-cart-section button {
		height: 50px;
	}
	.header-cart-section button:hover {
		border-color: #3c9ce6;
		color: #fff;
		background-color: #3c9ce6;
	}
	.menu_container {
		min-width: 120px;
		width: 120px;
	}
	header .search form button {
		width: 90px;
	}
	.header-middle button {
		padding: 0 30px;
	}
}

@media screen and (max-width: 630px) {
	.mainpage-bottom-item {
		width: 100%;
	}
	.mainpage-bottom-item-header, .mainpage-bottom-item-body,
	.mainpage-bottom-item-footer {
		justify-content: center;
		text-align: center;
	}
	.mainpage-bottom-item-footer {
		-ms-align-items: center;
		align-items: center;
	}
	.reviews a, .aboutus a {
		-ms-align-self: center;
		align-self: center;
	}
}

@media screen and (max-width: 520px) {
  .address a span {
    display: none;
  }
  .adaptive-phone {
    display: flex;
    flex-grow: 2;
    align-self: stretch;
    line-height: 70px;
    text-align: center;
    font-size: 2.1em;
    font-family: BebasNeue;
    font-weight: bold;
    justify-content: center;
    align-items: center;
    padding: 10px;
  }
	.item-info {
		font-size: 0.8em;
	}
	.footer-left, .footer-right {
		padding: 42px 0;
	}
	.footer-right {
		padding-bottom: 27px;
	}
	.advantage-img {
		min-height: 25px;
		height: 25px;
		min-width: 25px;
		width: 25px;
	}
	.advantage {
		padding: 0 21px;
	}
	.advantages-section h2, .advantages-section,
	.partners-section h3, .partners-section,
	.blog-featured .item, .blog-featured .item:nth-of-type(3),
	.mainpage-bottom-item {
		margin-bottom: 21px!important;
	}
	.advantages-section h2, .partners-section h3,
	.mainpage-bottom-item h3, .shipment-container h3,
	.bottom-sales-item h4 {
		font-size: 1.7em!important;
	}
	.shipment {
		min-height: 400px;
		margin-bottom: 21px;
	}
	.shipment-container {
		-webkit-background-size: 430px;
		background-size: 430px;
		background-position: center -26%;
	}
	.blog-featured {
		max-width: calc(100vw - 42px);
	}
	.blog-featured .item {
		width: 100%;
		height: calc(100vw - 42px);
	}
	.blog-featured .item:nth-of-type(3) {
		height: calc((100vw - 42px) * 2 + 21px);
	}
	.sale {
		margin-bottom: 21px;
	}
	.banner-menu {
		padding-bottom: 30px;
	}
	.sale-img {
		min-width: 40px;
		width: 40px;
	}
	.banner-section {
		margin-bottom: 0;
	}
	.banner-menu li:last-child a {
		padding: 10px;
	}
	.banner-menu img {
		max-height: 35px;
	}
	.header-btns {
		width: auto;
	}
	.header-top, .header-middle {
		padding-left: 0;
	}
	.header-btns {
		flex-grow: 2;
	}
	.header-phones-section {
		flex-grow: 2;
		-ms-align-self: stretch;
		align-self: stretch;
		font-size: 0.7em;
		-ms-align-items: center;
		align-items: center;
		justify-content: center;
	}
	.main-phone {
		margin-right: 0;
	}
	.logo, .logo img {
		height: 70px;
		width: auto;
	}
	.header-top {
		margin-left: 70px;
		height: 70px;
	}
	.header-middle {
		margin-left: 0;
	}
	header {
		height: 120px;
	}
	.nav-wrapper {
		height: calc(100vh - 120px);
	}
	.header-wrapper {
		height: 70px;
	}
	header .search {
		top: 70px;
	}
	.menu_container p {
		display: none;
	}
	.close_nav {
		-webkit-transform: unset;
		-ms-transform: unset;
		-o-transform: unset;
		transform: unset;
	}
	.address {
	  display: none;
	}
	.header-middle {
	  display: none;
	}
}

@media screen and (max-width: 420px) {
  .menu_container {
    min-width: 90px;
    width: 90px;
  }
  input.search-query, header .search form input#mod_virtuemart_search {
    padding-left: 7px;
  }
  .adaptive-phone {
    font-size: 1.4em;
  }
	.advantage {
		font-size: 0.9em;
	}
	.header-middle button {
		padding: 0 20px;
	}
	form + button#login-button p {
		display: none;
	}
	button#login-button svg {
		margin-right: 0;
	}
}