
@media screen and (max-width: 1400px) {

.block {width: auto; margin: 0 28px;}

.footer_container .footer_block {width: auto; margin: 0 28px; justify-content: space-between;}
.footer_container .footer_left {width: calc((100% - 50px)/2); padding: 0 60px 70px;}
.footer_container .footer_right {width: calc((100% - 50px)/2); padding: 0 80px 90px 0;}

.hometop_container .back_img {width: 100%; left: 0; transform: none; top: 0;}
.hometop_container .hometop_block {min-height: 0; padding: 70px 0 160px;}
.hometop_container .hometop_subtitle {font-size: 24px;}

.back_img img,
.back_img source {object-fit: cover;}

}  


@media screen and (max-width: 1250px) {

.header_container .header_mail {position: absolute; right: 250px; top: 30px; margin: 0;}
.header_container .header_phone {position: absolute; right: 250px; top: 60px; margin: 0;}
.header_container .header_callback {margin: 0 0 0 auto;;}

.footer_container .footer_left {padding: 0 0 40px 0;}
.footer_container .footer_right {padding: 0 50px 60px 0;}

}


@media screen and (max-width: 1000px) {

body.home .main_layout {padding: 110px 0 58px;}

.header_container .header_logo {position: absolute; margin: 2px 0 0 0; left: 0; top: 50%; transform: translateY(-50%);} 
.header_container .header_title {display: none;} 
.header_container .header_mail,
.header_container .header_phone {right: 200px;}
.header_container .header_callback {width: 170px;}

.footer_container .footer_left {width: 100%; padding: 0 0 30px;}
.footer_container .footer_right {width: 100%; padding: 0; text-align: left; display: block;}

body.home .footer_container {position: relative; bottom: auto; left: auto; right: auto;}
body.home .footer_container .footer_right a {color: #000;}
 
.hometop_container .hometop_block {min-height: 0; padding: 70px 0 150px;}
.hometop_container .hometop_subtitle br {display: none;}

}


@media screen and (max-width: 750px) {

h1 {font-size: 28px; margin: 0 0 6px;}

h2,
.block_title {font-size: 32px;}

.breadcrumbs {font-size: 12px; line-height: 150%; margin: 0 0 20px;} 

.button {width: 100%; height: 60px; font-size: 14px;}

.main_layout {padding: 74px 0 0;}

body.home .main_layout {padding: 74px 0 64px}

.header_container {position: fixed; right: auto; width: 100%;}
.header_container .header_block {height: 74px;}
.header_container .header_logo {margin: 4px 0 0 0;}
.header_container .header_logo img {height: 32px;}
.header_container .header_phone {padding: 0 0 0 20px; top: 12px; right: 0; font-size: 12px;}
.header_container .header_phone svg {width: 14px; height: 14px;}
.header_container .header_mail {font-size: 12px; right: 0; top: 32px;}
.header_container .header_mail svg {width: 14px; left: 10px;}
.header_container .header_callback {position: absolute; right: 0; top: 52px; width: auto; height: auto; margin: 0; font-size: 12px; border: 0; text-transform: none;}

.footer_container .footer_logo {margin: 0 0 40px;}

.footer_container .footer_text div {display: inline;}
.footer_container .footer_right {display: flex; justify-content: flex-start; text-align: left; flex-flow: row wrap;}
.footer_container .footer_right li,
.footer_container .footer_right li:first-of-type {display: block; margin: 0 0 30px; width: 100%;} 
.footer_container .footer_right li:nth-child(1) {order: 2; margin: 0;}
.footer_container .footer_right li:nth-child(2) {order: 1; margin: 0 0 30px;}

.hometop_container .back_img {border-radius: 0 0 40px 40px; overflow: hidden;}
.hometop_container .hometop_block {padding: 80px 0;}
.hometop_container .hometop_content {width: 100%;}
.hometop_container .hometop_title {margin: 0 0 6px;}
.hometop_container .hometop_title br {display: none;}
.hometop_container .hometop_subtitle {margin: 0 0 30px 0; font-size: 20px; font-weight: 700;}
.hometop_container .hometop_subtitle br {display: none;}
.hometop_container .hometop_subtitle2 {margin: 0 0 30px; font-size: 16px; font-weight: 500; line-height: 120%;}
.hometop_container .hometop_subtitle2 br {display: none;}
.hometop_container .hometop_items {padding: 0 0 10px;}
.hometop_container .hometop_item {margin: 0 0 30px; width: 100%;}
.hometop_container .hometop_item__title {font-size: 16px;margin: 0 0 10px;}
.hometop_container .hometop_item__text {font-size: 12px;}
.hometop_container .hometop_button {height: 70px; font-size: 16px;}

}

