
@media screen and (min-width: 780px) {
	.main_top_menu li:hover > .sub_menu {
	  display: block;
	}
	.main_top_menu {display: block !important; }
}

@media screen and (min-width: 1023px) {
	.main_menu {display: block !important; }
}

@media (max-width: 1280px) and (min-width: 1024px) {
	.wrapper {max-width: 1000px;}
	.main_top_menu {float: left !important;}
	.column-1 {width: 186px;}
	.column-2 {width: 377px;}
	.column-3 {width: 585px;}
	.column-4 {width: 775px;}
	.column-5 {width: 1000px;}
	.callback {padding-left: 13px;}
	.main_top_menu li:not(.callback) a {padding: 0 8px;}
	.logo {height: inherit;}
	.logo .logo-img {width: 170px;}
	.main_menu {width: 213px;}
	.catalog .item {width: 182px; height: 182px;}
	.abs-banner {height: 181px;}
	.abs-banner .caall-free {height: 177px;}
	html {font-size: 15px;}
	.offer_item_wrap img {margin-bottom: 25px;}
	.main_wrap select {height: 40px;}
	.main_wrap .descr {margin-top: 20px; margin-left: 18px;}
	.search input[type="text"] {width: 430px;
		top: -1px;
		position: relative;
	}
	.copyright .copy_left {font-size: 14px;}
	.subsections .item {width: 178px;}
	.subsections .item img {height: 178px;}
	.people_wrap .right_pipe {width: auto;}
	.catalog .item span {width: 90%;}
	.contacts_top{padding: 0 10px;}
	.offer .wrap_center{ margin-left: 114px;}
	.section_desc{
		padding-right: 15px;

	}
	.main_actions_wrap p {font-size: 15px !important}
	.abs-banner .caall-free{
		background-size: cover;
	}
	.button3{ padding: 10px 2px; }
	.catalog .row:nth-child(1) .item:last-child{font-size: 14px}

}

@media (max-width: 1023px) and (min-width: 780px) {
	.wrapper {max-width: 768px;}
	.column-1 {width: 100%;}
	.column-2 {width: 374px;}
	.column-4 {width: 100%;}
	.column-5 {width: 768px;}
	.main_top_menu li:not(.callback) a {padding: 0 6px;}
	.callback {padding-left: 0px;}
	.logo {height: 35px;}
	.logo .logo-img {width: 170px; vertical-align: top; margin-top: 10px;}
	.search input[type="text"] {width: 100%;}
	.search {display: block; padding: 0 8px;}
	.search .button1 {position: absolute; top: 15px; right: 0; left: inherit;}
	.search-form {position: relative; margin-bottom: -20px;}
	.log-in {padding-left: 18px;}
	.top-line {position: relative;}
	.relative_top {padding-bottom: 0px;}
	.main_menu {width: 100%;}
	.catalog .item {width: calc(50% - 8px); margin: 0; height: 300px; margin-bottom: 15px;}
	.catalog .item:nth-child(2n+1) {margin-right: 15px;}
	.abs-banner {position: relative; margin-top: 15px;}
	.abs-banner .column-2 {width: 100%;}
	.abs-banner .caall-free {background-repeat: no-repeat;}
	.abs-banner .callback {background-color: #fed500; background-position: right;}
	.offer_wrap .column-1 {width: 234px;}
	.wrap_center { margin-left: 35px;}
	.wrap_span_advant {margin-top: 15px;}
	.main_wrap .descr {margin-top: 20px; margin-left: 20px;}

	.copyright .copy_left {line-height: 40px;}
	.subsections .item {width: calc(50% - 8px); margin: 0;}
	.subsections .item:nth-child(2n+1) {margin-right: 15px;}
	.main_payment_wrap p {padding-top: 0;}
	.wrap_contacts {padding: 15px;}
	.people_wrap {margin-left: 0;}
	.socials_svg_contacts {text-align: left; margin-left: 0;}
	.socials_svg_contacts ul:last-child {margin-left: 0;}
	.main_actions_wrap p {font-size: 15px}

}
@media (max-width: 1023px){
	.wrap_footer .column-1 {width: 46%;
		margin-bottom: 10px;}
	.wrap_footer .row > .wrapper{
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	.wrap_footer .row > .wrapper .column-1{
		margin-left: 0;
		width: 42%;
	}
	.main_menu ul{
		padding: 10px 0 0;
	}
	.about h3{
		margin-bottom: 20px;
	}
	.about p{
		margin-bottom: 20px;
	}
	.footer_menu li{
		margin-bottom: 6px;
	}
	footer .callback a{
		margin-top: 20px;
	}
	footer .callback{
		max-width: 200px;
	}
	.section_desc{
		padding-right: 15px;
	}
	.top-line .log-in{
		left: 0;
	}
}
@media (max-width: 1023px) and (min-width: 0px) {
	.main_menu__button {display: block;}
	.main_menu {display: none;}
	.ov-h {overflow: hidden;}
	.subsections .item img {height: auto; width: auto; max-width: 100%; margin-left: 10px;}
	.subsections .item{
		margin-right: 0 !important;
		width: 50%;
		padding-top: 10px;
	}
	.subsections br:not([clear="all"]){
		display: none;
	}
	.main-content__right-img {display: none;}
	.main-content__left-text {width: 100%; padding-right: 30px;}
	.main_payment_wrap {
		padding-bottom: 20px
	}
	.main_payment_wrap .wrap_img {
		height: auto;
		margin-bottom: 20px;
	}
	.main_actions_wrap p {font-size: 15px !important}
}

@media (max-width: 779px) and (min-width: 0px) {
	.nav-collapse-icons {display: block;}
	.wrapper {max-width: 100%; padding-left: 15px; padding-right: 15px;}
	.column-5 {width: 100%;}
	.column-1 {width: 100%;}
	.column-2 {width: 100%;}
	.column-3 {width: 100%;}
	.column-4 {width: 100%;}
	.column-5 {width: 100%;}
	.top-line {position: relative;}
	.logo {height: 35px; margin-top: 10px;}
	.logo .logo-img {width: 170px; vertical-align: top; margin-top: 0px;}
	.search input[type="text"] {width: 100%;}
	.search {display: block; padding: 0 8px;}
	.search .button1 {position: absolute; top: 15px; right: 0; left: inherit;}
	.search-form {position: relative; margin-bottom: -20px; margin-top: -10px;}
	.log-in {padding-left: 18px;}
	.relative_top {padding-bottom: 0px;}
	.main_menu {width: 100%;}
	.slider .column-2 {width: 50%;}
	html {font-size: 15px;}
	.catalog .item {width: calc(50% - 8px); margin: 0; height: 300px; margin-bottom: 15px;}
	.catalog .item:nth-child(2n+1) {margin-right: 15px;}
	.abs-banner {position: relative; margin-top: 15px;}
	.abs-banner .column-2 {width: 100%;}
	.abs-banner .caall-free {background-repeat: no-repeat;}
	.abs-banner .callback {background-color: #fed500; background-position: right;}
	.wrap_span_advant .naimenovanie,
	.wrap_span_advant .naimenovanie,
	.wrap_span_advant .kolvo_people {display: block; float: none; margin-bottom: 15px;}
	.wrap_center {margin-left: 0;}
	.wrap_form_elements {display: block; margin-left: 0;}
	.main_wrap input, .main_wrap select {width: 100%;}
	.main_wrap {padding: 15px;}
	.main_wrap textarea {width: 100%;}
	.wrap_footer .column-1 {width: 48%;}
	.main_top_menu {display: none; float: none !important; height: inherit;}
	.nav-collapse {display: block;}
	.main_top_menu li:not(.callback) {display: block;}
	.main_top_menu .callback {padding-left: 0;}
	.contacts_top {display: block; float: none;}
	.sub_menu {width: 100%; position: relative;}
	.subsections .item {width: calc(50% - 8px); margin: 0;}
	.subsections .item:nth-child(2n+1) {margin-right: 15px;}
	.section_desc img {float: none; max-width: 100%;}
	.main_payment_wrap p {padding-top: 0; padding-left: 30px;}
	.main_wrap {margin-left: -15px; margin-right: -15px;}
	.main_wrap.m0 {margin-left: 0px; margin-right: 0px;}
	.preview_catalog img {max-width: 100%;}
	.main_actions_wrap {padding: 15px;}
	.wrap_contacts {padding: 15px;}
	.people_wrap {margin-left: 0;}
	.socials_svg_contacts {text-align: left; margin-left: 0;}
	.socials_svg_contacts ul:last-child {margin-left: 0;}
	.slider_item_wrap {height: 380px;}
	.slider_item_wrap:after {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: rgba(255, 255, 255, 0.25);
		z-index: 1;
	}
	.slider_item {position: relative; z-index: 2;}

	.offer_item_wrap{
		margin-bottom: 40px;
	}

	header > .wrapper{
		padding: 0 2px;
	}
	.catalog{
		margin-bottom: 40px;
	}
	.about_us{
		padding-left: 0;
	}
	.about_us p{
		margin-left: 0;
	}
	.about_us .wrap_span_advant .naimenovanie{
		margin-left: 0;
	}
	.wrap_span_advant {
		overflow: hidden;
		margin-top: 20px;
	}
	.main_payment_wrap ul{
		padding-left: 30px;
		padding-right: 15px;
	}

}

@media (max-width: 620px) and (min-width: 0px) {
	.popup, .thankYou {width: 100%;}
	.subsections .item{
		width: 100%;
	}
	.subsections .item img{
		margin-left: 0;
	}
	.subsections .item h5{
		padding-left: 0;
	}
	.subsections .item p{
		padding-left: 0;
	}
	.subsections > .row{
		text-align: center;
	}
}

@media (max-width: 480px) and (min-width: 0px) {
	.slider .column-2 {width: 100%; padding-left: 45px;}
	.catalog .item {width: 100%;}
	.catalog .item:nth-child(2n+1) {margin-right: 0;}
	.wrap_footer .column-1 {width: 100%; margin-left: 0;}
	.copyright .copy_left {line-height: 30px;}
	.copyright .copy_right {line-height: 30px; margin-top: 10px;}
	footer .callback a {margin-bottom: 10px;}
	h2 {font-size: 1.475rem;}
	.next {left: 4px;}
	.prev {right: 4px;}
	.slider_descr {font-size: 16px;}
	.subsections .item {width: 100%;}
	.subsections .item:nth-child(2n+1) {margin-right: 0;}
	.about_us {padding: 15px 0;}
	.about_us p {margin-left: 0;}
	.about_us h3{
		font-size: 1.4rem;
		margin-bottom: 20px;
		margin-left: 0;
	}
	.popup, .thankYou {
		height: inherit;
		padding-bottom: 15px;
	}
	.popup input[type="text"], .thankYou input {
		width: calc(100% - 30px);
		margin: 10px 0;
	}
	.search input[type="text"]{
		padding-right: 120px;
	}
	.log-in{
		padding-left: 0;
	}
	.wrap_span_advant span{
		font-size: 4rem;
	}
	.main_wrap .descr {
		margin-top: 50px;
	}
	.copyright{
		overflow: hidden;
		padding: 10px 0 20px;
	}
	#toTop{
		right: 12px;
	}
	.main-content__left-text{
		padding-right: 0;
	}
	.about h2 {
		margin-bottom: 40px;
	}
	.section_desc{
		padding-left: 15px;
		padding-top: 0;
	}
	.people_wrap{
		display: flex;
		flex-direction: column;
		margin-top: 20px;
	}
	.popup p {
		padding: 0 10px;
	}
}

@media (max-width: 400px) and (min-width: 0px) {
	.logo .logo-img {width: 112px; margin-top: 5px;}
	.wrap_footer .row > .wrapper{
		flex-direction: column;
		text-align: center;
	}
	.wrap_footer .row > .wrapper .column-1{
		width: 100%;
		margin-bottom: 0;
	}
	.wrap_footer .row > .wrapper .column-1:first-child{
		margin-bottom: 15px;
	}
	.footer_submenu li a{
		padding-left: 0;
	}
	footer .callback{
		margin: 0 auto 15px;

	}
	ol.footer_submenu{
		margin-bottom: 10px;
	}
	.copyright{
		text-align: center;
	}
	.copy_right{
		text-align: center;
	}
}
@media (max-width: 320px){
	#toTop{
		bottom: 12px;
	}
	.copyright{
		padding: 10px 0 25px;
	}
	.about_us h3{
		font-size: 1.4rem;
	}
	.main_payment_wrap p{
		padding: 0 15px;
	}
	.popup img, .thankYou img {
		width: 130px;
		margin: 15px 0;
	}
	.popup p {
		line-height: 1.2;
	}
}