@media (min-width:1900px){
	.prices-wrapper:before {
		left: -130px;
		margin-left: 0;
	}
	.prices-wrapper:after {
		right: -130px;
		margin-right: 0;
	}
}
@media (max-width:1900px){
	.prices-wrapper:before {
		left: calc((1168px - 100%)/2 + 9%);
		margin-left: 0;
	}
	.prices-wrapper:after {
		right: calc((1168px - 100%)/2 + 9%);
		margin-right: 0;
	}
}

@media (max-width:1800px){
	.prices-wrapper:before, .prices-wrapper:after {
		display: none;
	}
}

@media (max-width:1200px){
	.prices-wrapper .table-wrapper,  .prices-wrapper .table-wrapper-inner{
		background: none;
	}
	.prices-wrapper:before, .prices-wrapper:after{
		display: none;
	}
}

@media (max-width:769px){
	.container {
		padding: 0 15px;
	}
	.prices-wrapper .table-wrapper-inner {
		display: block;
	}
}

@media (max-width:700px) {
	.p404-block .left-block,
	.p404-block .right-block {
		width: 100%;
		max-width: 100%;
	}
	.p404-block .right-block {
		height: auto;
		padding-left: 0;
		border-left: 0;
	}
	header ul li:first-child {
		display: block;
	}

	.partners ul {
		grid-template-columns: 1fr;
	}
	.partners ul li{
		border: 1px solid #24443b;
		padding: 20px;
	}
	.mobile-menu {
		display: flex;
	}
	header ul {
		display: block;
		position: absolute;
		top: 0;
		width: 100%;
		background: rgba(0,0,0,0.9);
		text-align: center;
		left: 0;
		margin: 0;
		overflow: hidden;
		max-height: 0;
		transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
		z-index: 100;
	}
	header ul.open {
		max-height: 400px;
		transition: max-height 1s ease-in-out;
	}

	header ul.open li {
		border-bottom: 1px solid #fff;
	}

	header ul.open li a{
		color: #fff;
		border: 0;
		font-size: 18px;
		padding: 15px 0;
	}
	.item-page .list ul {
		grid-template-columns: 1fr 1fr;
	}
	.custom-k-nam .text ul, .custom-advantages ul {
		grid-template-columns: 1fr;
	}

	.custom-k-nam .text ul {
		grid-row-gap: 30px;
	}

	.custom-why ul {
		grid-template-columns: 1fr 1fr;
	}
	.zayavka-block .inputs-line {
		grid-template-columns: 1fr;
		grid-gap: 20px;
	}
	footer .container {
		display: block;
	}

	.custom-slogan p.slogan {
		text-transform: uppercase;
		font-weight: bold;
	}


	.custom-footer-contacts, .custom-slogan, .custom-footer-logo {
		text-align: center;
	}
	.custom-footer-logo {
		margin-bottom: 20px;
	}
	.custom-slogan {
		margin-bottom: 30px;
	}
	.container.prices {
		padding: 50px 15px 0;
	}
	.prices > .pakets:first-child {
		margin-top: 0;
	}
	.prices .pakets table td {
		display: block;
		padding: 0;
		width: 100%;
	}
	.prices .pakets table tr {
		display: block;
		margin-bottom: 15px;
		padding: 0 15px;
	}
	.prices .pakets table tr.table-head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin-bottom: 15px;
		padding: 0;
	}

	.prices .pakets table tr.table-head th{
		display: block;
		width: auto;
		white-space: nowrap;
		padding: 10px 0;
	}
	.prices .pakets table tr.table-head th:first-child {
		flex-grow: 1;
		padding-left: 15px;
	}
	.prices .pakets table tr.table-head th:last-child {
		padding-right: 15px;
	}

	.prices .pakets table td:last-child {
		font-weight: bold;
	}
	.prices .pakets:last-child table {
		width: 100%;
	}
	.prices .pakets {
		width: 100%;
		padding: 0 0 1px;
	}
	.prices .pakets p {
		padding: 0 15px;
	}

	.prices .pakets a {
		margin-bottom: 15px;
	}

	.prices .table-wrapper {
		display: block;
	}
	.prices p.subtitle.first-subtitle {
		position: relative;
		margin-bottom: 0;
		padding-bottom: 30px;
	}
	.prices p.subtitle {
		padding-left: 0;
	}
	.prices-wrapper .table-wrapper-inner {
		padding-bottom: 0;
	}
	/*
	.prices p.subtitle.first-subtitle:after {
		display: block;
		content: "";
		width: 24px;
		height: 29px;
		background: url(../images/swipe-ico.png) top left no-repeat;
		position: absolute;
		right: 0;
		bottom: 0;
		-moz-transform: scale(-1, 1);
		-o-transform: scale(-1, 1);
		filter: FlipH;
		-ms-filter: "FlipH";
		-webkit-animation: hand-icon 2s infinite;
		animation: hand-icon 2s infinite;
	}
	*/
	@-webkit-keyframes hand-icon {
		0% {
			-webkit-transform:translate3d(0px,0,0);
			opacity:0
		}
		10% {
			-webkit-transform:translate3d(0px,0,0);
			opacity:0
		}
		20% {
			-webkit-transform:translate3d(0px,0,0);
			opacity:1
		}
		70% {
			-webkit-transform:translate3d(-40px,0,0);
			opacity:1
		}
		80% {
			-webkit-transform:translate3d(-40px,0,0);
			opacity:1
		}
		81% {
			-webkit-transform:translate3d(-40px,0,0);
			opacity:0
		}
		100% {
			-webkit-transform:translate3d(-40px,0,0);
			opacity:0
		}
	}
	@keyframes hand-icon {
		0% {
			transform:translate3d(0px,0,0);
			opacity:0
		}
		10% {
			transform:translate3d(0px,0,0);

			opacity:0
		}
		20% {
			transform:translate3d(0px,0,0);
			opacity:1
		}
		70% {
			transform:translate3d(-40px,0,0);
			opacity:1
		}
		80% {
			transform:translate3d(-40px,0,0);
			opacity:1
		}
		81% {
			transform:translate3d(-40px,0,0);
			opacity:0
		}
		100% {
			transform:translate3d(-40px,0,0);
			opacity:0
		}
	}

	.cat-children .cat-items {
		display: block;
	}
	.cat-children .items-names ul {
		display: none;
	}
	.items-img {
		display: none;
	}
	.items-names > a {
		margin: 30px 15px 0 15px;
	}
	.service-dop-info {
		display: block;
		text-align: center;
	}

	.mobile-select {
		width: 100%;
		display: block;
		margin-bottom: 20px;
	}

	.mobile-select select{
		width: 100%;
		padding: 12px 15px;
	}

	.usefull-links {
		padding-left: 0;
	}

	.partners ul li .img {
		filter: none;
		-webkit-filter: none;
	}
}

@media (max-width:450px){
	.map-text p.tel, .map-text-contacts p.phone-contacts {
		flex-wrap: wrap;
	}
	.map-text p.tel > span, .map-text-contacts p.phone-contacts > span {
		width: 100%;
		display: block;
		margin-bottom: 5px;
	}

	.call-phone1 .call-phone-block {
		right: auto;
		left: 50%;
		transform: translateX(-50%);
	}
	.map-text {
		min-width: auto;
	}
	#map1, #map {
		height: 450px;
	}
	.item-page .list a.all {
		display: block;
		text-align: center;
	}
	.map-text-contacts {
		min-width: auto;
	}
	.cat-children .cat-items .item-content-inner {
		display: block;
	}
	.custom-banner img {
		display: none;
	}
	.banner .text {
		margin: 0;
		font-size: 24px;
		line-height: 28px;
	}

	.item-page .list {
		text-align: left;
	}

	.item-page .list a.zapis {
		text-align: center;
	}

	.map-text, .map-text-contacts {
		padding: 20px;
	}

	.partners ul li .img {
		margin: 0 auto;
	}

	.zayavka-block {
		padding: 30px 0;
	}

	.modal {
		padding: 20px;
	}

	.item-page .list ul li {
		display: grid;
		align-items: center;
		justify-content: flex-start;
		grid-template-columns: 120px auto;
		grid-gap: 20px;
	}

	.item-page .list ul li .text {
		margin-top: 0;
		text-align: left;
	}

	.item-page .list ul li .price {
		text-align: left;
	}

	.item-page .list ul li:before {
		width: 120px;
		height: 120px;
	}

	.custom-k-nam {
		padding: 50px 0 230px;
		background: url(../images/imidge-bg.png) bottom center no-repeat;
		margin-bottom: 30px;
	}

	.banner {
		padding-top: 60px;
		background: none;
		display: block;
		height: auto;
	}

	.banner > .container {
		height: 269px;
		background: url(../images/banner-375px.jpg) top center no-repeat;
		background-size: 100% auto;
	}
	.banner .text br {
		display: none;
	}
	.custom-banner {
		position: absolute;
		left: 15px;
		right: 15px;
		top: 0;
	}
	.item-page .list ul, .custom-why ul, .services ul, .usefull-links ul, .partners ul  {
		grid-template-columns: 1fr;
	}
	.partners ul li .text {
		grid-template-columns: 1fr;
		align-items: center;
		text-align: center;
	}
	.partners ul li a.title, .partners ul li span.title {
		text-align: center;
	}
	.services-links {
		background: #f0f0f0;
	}
	.services-links ul {
		width: 100%;
	}
	.mobile-swipe {
		display: block;
		text-align: right;
		padding-right: 10px;
	}
	.mobile-swipe img{
		width: 25px;
	}
	.prices-wrapper .table-wrapper {
		display: block;
	}
}