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

.type-const{
    margin-left:10px;
} 

.type-const:last-child{
    margin-right:10px;
}

.list-os img:first-child {
    right: 50px;
}

.list-os ul {
    max-width: 700px;
}

input[type='file'] {
    max-width: 80%;
}

.form-block .flex-block #popup3 {
    text-align: left;
    padding-bottom: 20px;
    padding: 0 30px 20px;
}

.form-block .flex-block p.zagl {
    text-align: left;
}

.fnc--center--chapters {
    padding: 0 15px 50px;
}

.header .center-block .right-block .but-block{
    display:none;
}
    
}

@media screen and (max-width:1100px) {
    
nav a, div.nav a {
    margin: 0 8px 5px;
}

.logo-block {
    margin-left: 15px;
}

.phones {
    margin: 0 12px 0 20px;
}

.header .center-block .right-block {
    margin-right: 15px;
    
}

.sert-materials .flex-block {
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
}

div.material {
    margin-bottom: 15px;
}

#check-block div.flex-block {
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.list-os img:first-child {
    right: auto;
    left: 20px;
    top: -38px;
}

.list-os img:nth-child(2) {
    top: -38px;
    right: 15px;
    max-width: 250px;
}

.form-block {
    position: relative;
    margin-top: 106px;
}

.form-block-in .flex-block {
    width: 100%;
}

input[type='file'] {
    max-width: 275px;
}

.form-block .flex-block #popup3 {
    text-align: center;
}

.form-block .flex-block p.zagl {
    text-align: center;
}

.spec-block > div.img-block img{
    max-width:100%;
}

.shema div.flex-block{
    margin:0 10px;
    width:auto;
}

.work-with-us .img-block {
    right: -27px;
}

.work-with-us .icon {
    min-height: 325px;
}

.uslugi .center-block > .flex-block:nth-child(3) .type-const:first-child ~ .type-const {
    width: 100%;
}
}



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

header .phones {
    margin: 0 12px 0 20px;
}

.languages {
    margin: 0 70px 0 22px;
}

.menu--chapters__submenu{
    display: none !important;
}
    
nav,
div.nav,
footer div.nav{
    display:none;
}

.header .center-block .right-block {
    margin-right: 25px;
}

h1#maksimka {
    margin-right: 10px;
}


.first_screen .black-line:last-child .flex-block {
    padding-right: 0;
}

.list-os ul {
    max-width: 620px;
}

input[type='file'] {
    max-width: 195px;
}

.work-with-us .flex-block {
    flex-wrap: wrap;
}

.work-with-us .icon {
    min-height: 260px;
    width: 50%;
    max-width: 50%;
}

.steps p {
    font-size: 18.58px;
}

.work-with-us .icon:nth-child(2) {
    order: -1;
}

.gray-block form {
    width: 100%;

}

.gray-block form input[type='text'],
.gray-block form input[type='tel']{
    width:100%;
    max-width:100%;
}

.spec-block > p {
    padding: 20px 10px 15px;
}
    
}

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

    .fnc--center--chapters--item__name a {
        font-size: 18px;
    }

    div[id*="popup"] > .fnc--feedback--main__param {
        padding: 0;
        display: flex;
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .file-send {
        position: relative;
        max-width: 300px;
        overflow: hidden;
        margin: 0 auto;
    }
    
.first_screen .center-block {
    flex-direction: column;
}

.first_screen .black-line .flex-block > div:nth-child(2) p br{
    display:none;
}

.first_screen .center-block > div{
    display: block;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    text-align: center;
}

.first_screen .black-line .flex-block > div:nth-child(2) p {
    color: #fff;
    letter-spacing: 1px;
    font-size: 20.32px;
    padding-bottom: 20px;
}

.first_screen .black-line:last-child .flex-block > div{
    margin:5px 0;
}

.first_screen .black-line:last-child .flex-block .but-block a {
    max-width: 320px;
    margin: 0 auto;
}


.uslugi .center-block > .flex-block{
    flex-wrap:wrap;
}

.uslugi .center-block > .flex-block .type-const{
    max-width:48%!important;
    flex-direction:column;
}

.uslugi .center-block > .flex-block .type-const{
    margin: 10px 1%!important;
}

.uslugi div.img-hor {
    background: #f9f9f9;
}

.uslugi .flex-block h2 {
    width: 48%;
    height: 235px;
    margin: 10px 1%;
}

html *{
    cursor:default;
}

.uslugi .center-block > .flex-block .text-line {
    min-height: 137px!important;
    max-width:100%!important;
}

.uslugi div.img-hor {
    min-height: 232px;
}

.center-block > h3, .center-block > h2 {
    padding: 35px 10px;
}

.center-block > h3 br, 
.center-block > h2 br{
    display:none;
}

.mfp-auto-cursor .mfp-content {
    overflow: hidden;
}

.shema h2 br{
    display:block;    
}

    
}

@media screen and (max-width:800px) {
.slick-prev {
    z-index: 1;
    left: -65px;
}

.slick-next {
    right: -65px;
}

.list-os img:first-child {
    left: 20px;
    top: 4px;
    max-width: 230px;
}

.list-os img:nth-child(2) {
    top: -29px;
    right: 15px;
    max-width: 200px;
}

.list-os ul {
    max-width: 580px;
}

.form-block .flex-block #popup3 {
    text-align: left;
}

input[type='file'] {
    max-width: 100%;
}

.spec-block {
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
}

div.garantee {
    max-width: 242px;
    background: #00C1F6 url(/assets/img/garantee.jpg) no-repeat left top;
}

.slick-dotted.slick-slider {
    max-width: 550px;
}

.list-os img:first-child,
.list-os img:nth-child(2){
    position: relative;
    left:0;
    right:0;
    top:0;
}


.list-os {
    text-align: center;
}

.list-os ul {
    max-width: 100%;
    display: inline-block;
    margin: 0 10%;
    margin-top: 20px;
}

.list-os img:first-child, .list-os img:nth-child(2) {
    margin: 0 5%;
}

.form-block {
    margin-top: 30px;
}

.shema div.flex-block {
    margin: 0 auto;
    width: auto;
    max-width: 500px;
}

.shema div.flex-block {
    margin: 0 auto;
    max-width: 500px;
    flex-wrap: wrap;
}



.shema div.flex-block:before {
    content: '';
    position: absolute;
    height: 1px;
    max-width: 300px;
    left: 0;
    right: 0;
    top: 23px;
    margin: auto;
    background: #C3C3C3;
}

.steps {
    text-align: center;
    width: 50%;
}

.steps:nth-child(1),
.steps:nth-child(2),
.steps:nth-child(4){
    order:1;
}

.steps:nth-child(3){
    order:2;
}

.steps:nth-child(2) ~ .steps{
    padding-top:25px;
}

.steps p{
    position:relative;
}

.steps:nth-child(2) p:before {
    content: '';
    position: absolute;
    height: 124px;
    width: 1px;
    left: 0;
    right: 0;
    top: 110%;
    margin: auto;
    background: #C3C3C3;
}

.shema div.flex-block:after {
    content: '';
    position: absolute;
    height: 1px;
    max-width: 300px;
    left: 0;
    right: 0;
    bottom: 98px;
    margin: auto;
    background: #C3C3C3;
    z-index: -1;
}

footer .center-block {
    justify-content: space-between;
    flex-wrap: wrap;
    padding:0 40px;
}

footer .about-us {
    max-width: 100%;
    position: relative;
    margin-top: 40px;
}

footer .logo-block {
    margin-left: 0;
}


footer .about-us:before{
    content:'';
    position:absolute;
    top:-20px;
    height: 1px;
    width:85%;
    background:#B4B5B4;
    left:0;
    right:0;
    margin:auto;
    
}

.spec-block > p br,
footer .contact-block:after{
    display:none;
}

.spec-block {
    max-width: 40%;
}

    
}


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

    header .but-block{
        display:none;
    }
    
.call-me-but,
h1#maksimka span:first-child:before{
    display:none;
}

.slick-dotted.slick-slider {
    max-width: 450px;
}

.slick-slide img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    max-height: 320px;
}

.call-me .flex-block {
    justify-content: space-between;
    flex-direction: column-reverse;
}

.spec-block,
.spec-block > p,
.spec-block > div{
    max-width: 100%;
    text-align:center;
}

.spec-block > div{
    padding-bottom:20px;
}

.call-me .gray-block {
    max-width: 100%;
}


    
}

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

    .fnc--center--chapters__list--item {
        flex-basis: calc(50% - 20px);
        max-width: 275px;
    }
    
p.zagl br{
}

.uslugi .flex-block h2 {
    width: 90%;
    height: 150px;
    margin: 10px 1%;
}

.uslugi .center-block > .flex-block .type-const {
    margin: 10px 1%!important;
}

.uslugi .center-block > .flex-block .type-const {
    max-width: 90%!important;
    flex-direction: column;
}

.uslugi .center-block > .flex-block {
    justify-content: center;
}

.step-img img{
    max-width:100%;
}

.slick-dotted.slick-slider {
    max-width: 400px;
}

.slick-slide img {
    max-height: 280px;
}

.list-os img:first-child {
    max-width: 200px;
}
.list-os img:nth-child(2) {
    max-width: 180px;
}

.form-block-in .flex-block {
    width: 100%;
    flex-direction: column;
}
.form-block-in #popup3 + p {
    max-width: 100%;
    padding: 15px;
}

.work-with-us .icon {
    min-height: 260px;
    width: 80%;
    max-width: 80%;
}

.work-with-us .flex-block {
    justify-content: center;
}

.shema div.flex-block {
    max-width: 480px;
}

.mfp-auto-cursor .mfp-content {
    cursor: auto;
    max-width: 100%;
    width: 100%;
    background: #fff;
    padding: 30px 15px 30px;
    box-sizing: border-box;
    text-align: center;
    background: #fff;
    height: 100%;
    left: 0;
    right: 0;
    top:0;
    overflow-x: hidden;
    overflow-y: scroll;
    position:fixed;
}

.mfp-container {
    padding-left: 0;
    padding-right: 0;
}

    
}

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

    .phones a {
        font-size: 17px;
        font-weight: normal;
    }
    .languages {
        margin: 0 70px 0 16px;
    }
    .logo-block img{
        max-height:15px;
    }

    p.descriptor{
        display: none;
    }

    .language a {
        font-size:15px;
    }
    
.header .center-block .right-block {
    margin-right: 10px;
}

h1#maksimka {
    margin-right: 10px;
    line-height: normal;
    font-size: 30px;
}
h1#maksimka span:first-child{
    font-size: 30px;
}


h1#maksimka + p {
margin-top: 0;
    font-size: 16px;
}

.first_screen .black-line {
    margin-top: 42px;
}

p.zagl,
.center-block > h3, .center-block > h2 {
    font-size: 30px;
    padding: 35px 10px;
}

.list-os img:first-child, .list-os img:nth-child(2) {
    margin: 0 3%;
}

.list-os img:nth-child(1),
.list-os img:nth-child(2) {
    max-width: 150px;
}

input[type='file'] {
    max-width: 100%;
    padding: 5px 10px;
}


.steps {
    text-align: center;
    width: 80%;
}

.shema div.flex-block:before,
.shema div.flex-block:after{
    display:none;
}

.shema div.flex-block {
    max-width: 480px;
    justify-content: center;
}


.steps:nth-child(2) p:before,
.steps:nth-child(3) p:last-child:before{
    content: '';
    position: absolute;
    height: 15px;
    width: 1px;
    left: 0;
    right: 0;
    top: 110%;
    margin: auto;
    background: #C3C3C3;
}

.steps{
    order:1!important;
}

.gray-block > ul,
.gray-block > p{
    margin-left:0;
}

footer .logo-block{
    display: none;
}

footer .center-block {
    justify-content: center;
}

.projects .slick-slide .img-block + p{
    display:none;
}

.slick-dotted.slick-slider {
    max-width: 320px;
}

.slick-prev, .slick-next {
    width: 50px;
}

.slick-prev {
    z-index: 1;
    left: -50px;
}

.slick-next {
    z-index: 1;
    right: -50px;
}

.slick-prev:before {
    border-right: 20px solid #00C1F6;
}

.slick-next:before {
    border-left: 20px solid #00C1F6;
}


.fnc--center--chapters__list--item {
    flex-basis: calc(100%);
    margin-right:0;
}

.fnc--center--chapters__container{
    justify-content: center;
}

}

@media screen and (max-width:400px) {
    
body * {
    font-size: 16px;
}
    
.first_screen .black-line{
    background:none;
    position:relative;
    z-index:1;
}  

.first_screen:before{
    content:'';
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background:rgba(44,44,44,0.7);
}

p.descriptor {
    font-size: 11.5px;
    line-height: 13px;
    white-space: pre-line;
    margin-top: 3px;
}

h1#maksimka {
    margin-right: 0;
    line-height: 32px;
    font-size: 30px;
}

h1#maksimka span {
    font-size: 30px;
}

.first_screen .black-line {
    margin-top: 20px;
}

.header .center-block {
    height: 60px;
}

.open-hamburger-menu {
    top: 5px;
}

body {
    padding-top: 60px;
}


a.logo img{
    max-width:100px;
}

.slick-prev {
    z-index: 1;
    left: -28px;
}

.slick-next {
    z-index: 1;
    right: -28px;
}

.slick-slide img {
    max-height: 219px;
}

a.logo img {
    max-width: 80px;
}

p.descriptor {
    font-size: 9.5px;
    line-height: 10px;
    white-space: pre-line;
    margin-top: 3px;
}

.check-step {
    padding: 24px 15px;
}

div.step-text {
    padding: 7px 10px 7px 7px;
}



.projects h3 + p {
    max-width: 242px;
    margin: 0 auto;
}

.file-send {
    position: relative;
    max-width: 240px;
    overflow: hidden;
    margin: 0 auto;
}
    
}

@media screen and (max-width:380px) {
    
    header .phones{
        display:none;
    }

.phones a {
    font-size: 18px;
}

.first_screen .black-line:last-child .flex-block p, .first_screen .black-line:last-child .flex-block p span {

    font-size: 23.4px;
}



.slick-prev, .slick-next {
    top: 101%;
}

.slick-prev{
    left:0;
}
 .slick-next{

    right:0;
}

.list-os img:nth-child(1), .list-os img:nth-child(2) {
    max-width: 130px;
}

.flex-block p.zagl {
    font-size: 25px;
    line-height: 23px;
}

.call-me .gray-block {
    padding: 25px 20px 50px;
}

.phones {
    margin: 0 12px 0 0;
}


    
}