@media only screen and (max-width: 1610px){
    /*BG*/
    header{
        height: 980px;
    }
    .ferst-main{
        height: 720px;
    }
    .main-advantages{
        height: 900px;
    }
    .main-tehnology{
        height: 685px;
    }
    .main-certificates-and-price{
        height: 1502px;
        background-position: top;
    }
    /*form*/
    .header-form{
        width: 400px;
    }
    .header-form form input{
        width: 285px;
    }
    .header-form form button{
        width: 305px;
    }
    .header-form h2{
        font-size: 33px;
    }
    .header-form form input{
        margin: 30px auto;
        padding: 5px 10px;
    }
    
    /*class*/
    .container{
        width: 1200px;
    }

    .copyright{
        width: 1200px;
    }
    .header-text-one{
        font-size: 45px;
    }
    .header-text-two{
        font-size: 40px;
    }
    h1{
        font-size: 40px;
    }
    h2{
        font-size: 30px;
    }
    .low-size-text{
        font-size: 30px;
    }
    .ferst-main div{
        padding: 100px 0px 0px 0px;
    }
    .image-block{
        padding: 40px 0px;
        width: 620px;
    }
    .image-block img{
        padding: 10px 0px;
    }
    .photo-full{
        width: 620px;
    }
    .photo-nofull{
        width: 300px;
    }
    #padding-left-img{
        padding-right: 15px;
    }
    .type-block div img{
        width: 298px;
    }
    .type-block{
        padding-left: 100px;
    }
    .full-line{
        padding: 30px 0px;
        font-size: 35px;
    }
    .full-line div{
        width: 620px;
    }
    .main-work{
        margin: 100px 0px;
    }
    .pad-top{
        padding-top:90px;
    }
    .advantages-tabel div{
        padding: 20px;
        width: 320px;
    }
    .full-line div a{
        width: 655px;
    }
    .full-line div a img{
        height: 60px;
    }
    .certificates div a img{
        width: 280px;
    }
    .certificates div{
        padding: 0px 10px;
    }
    .price-table{
        font-size: 35px;
    }
    .main-certificates-and-price div.container h1.headline{
        padding: 100px 0px 100px 0px;
    }
    .contact div p{
        font-size: 25px;
    }
    .container-contact{
        width: 400px;
    }
    footer{
        font-size: 24px;
    }
    .footer-phone a{
        font-size: 24px;
    }
    .footer-phone a img{
        width: 20px;
    }
    .footer-links a img{
        width: 50px;
    }
    .KSgroup-text{
       font-size: 30px; 
    }
    .KSgroup-block{
        width: 45%;
    }
}
@media only screen and (max-width: 1280px){
    .container{
        width: 1080px;
    }
    .copyright{
        width: 1080px;
    }
    .advantages-tabel div{
        width: 280px;
    }
    .certificates div a img{
        width: 250px;
    }
    .type-block{
        padding-left: 20px;
    }
    footer div.container div {
        padding: 0px 20px;
    }
    .header-form form input{
        width: 245px;
    }
    .header-form form button{
        width: 265px;
    }
}
@media only screen and (max-width: 1090px){
    /*BG*/
    .new-form-header{
        display: none;
    }
    header{
        height: 1080px;
    }
    .ferst-main{
        height: 620px;
        text-align: center;
    }
    .main-images-and-type{
        margin: 0px 0px 100px 0px;
    }
    .main-advantages{
        height: 900px;
    }
    .main-tehnology{
        height: 485px;
        text-align: center;
    }
    .main-certificates-and-price{
        height: 1300px;
        background-position: top;
    }
    .main-maps{
        height: auto;
    }
    /*form*/
    .header-form{
        display: none;
    }
    .header-form h2{
        font-size: 33px;
    }
    .header-form form input{
        margin: 30px auto;
        padding: 5px 10px;
    }
    .header-form form button{
        width: 344px;
    }
    /*menu*/
    .header-menu-mob{
        display: block;
    } 
    .nav-menu a{
        transition: .3s;
        -webkit-transition: .3s;
        -moz-transition: .3s;
        display: block;
        transform-origin: top center;
        -webkit-transform-origin: top center;
        -moz-transform-origin: top  center;
        transform: scaleY(0) translateY(50%);
        -webkit-transform: scaleY(0) translateY(50%);
        -moz-transform:scaleY(0) translateY(50%);
        opacity: 0;
        background: #0a94b8;
        padding: 9px 0px 9px 15px;
        font-family: "NeoSendProMedium";
        text-transform: uppercase;
        text-align: center;
        font-size: 20px;
    }
    .active a{
        transform: scaleY(1) translateY(0%);
        -webkit-transform: scaleY(1) translateY(0%);
        -moz-transform:scaleY(1) translateY(0%);
        transition: .3s;
        -webkit-transition: .3s;
        -moz-transition: .3s;
        opacity: 1;
        color: #fff;
    }
    .menu-btn{
       display: block;
       float: right;
       font-size: 40px;
       padding: 20px;
       color: #000;
    }
    /*slider*/
    .type-block{
        display: none;
    }
    .slider-header{
        text-align: center;
    }
    .mob-slider{
        display: block;
    }
    .slider-block{
        text-align: center;
    }
    .slider-block-img img{
        margin: 0px auto;
    }
    .no-border-img{
        border: none !important;
    }

    .slick-active{
        outline: none;
    }
    .slick-dots li button{
    border: 1px solid #777;
    border-radius: 50%;
    }
    .slick-dots li button::before{
    content: '' !important;
    width: 10px;
    height: 10px;
    background: #00405a;
    opacity: 1 !important;
    border-radius: 50%;
    }
    .slick-dots li.slick-active button::before{
        background: #0a94b8 !important;
    }
    .slider-block p.low-size-text{
        padding-bottom: 30px;
    }
    /*class*/
    .header-logo{
        padding: 0px 0px 0px 0px;
        background-color: #fff;
        width: 100%;
        height: 80px;
    }
    .phone-number{
        display: none;
    }
    .logo-header-img{
        width: auto;
        height: 60px;
        padding: 10px;
    }
    .btn-pad{
        display: block;
        padding: 20px 30px 20px 30px;
        margin: 10px auto 0px auto;
        height: auto;
        background: #00405a;
    }
    .header-mob-namder{
        display: block;
        padding: 15px 0px;
        font-size: 35px;
        color: #000;
        text-transform: uppercase;
        font-family: "NeoSendProMedium";
    }
    .container{
        width: 100%;
    }
    .copyright{
        width: 90%;
    }
    .header-text-one{
        font-size: 36px;
        line-height: 42px;
    }
    .header-text-two{
        font-size: 30px;
        line-height: 36px;
    }
    h1{
        font-size: 30px;
        line-height: 35px;
    }
    h2{
        font-size: 25px;
        padding: 15px 0px;
    }
    .header-logo-flex{
        display: block;
        padding: 30px 0px 0px 0px;
        text-align: center;
    }
    .main-images-and-type-flex{
        display: block;
    }
    .low-size-text{
        font-size: 25px;
    }
    .mob-text-block{
        margin: 0px auto;
        width: 80%;
    }
    .ferst-main div{
        padding: 100px 0px 0px 0px;
    }
    .image-block{
        padding: 40px 0px;
        width: 620px;
        margin: 0px auto;
    }
    .image-block img{
        padding: 10px 0px;
    }
    .photo-full{
        width: 620px;
    }
    .photo-nofull{
        width: 300px;
    }
    #padding-left-img{
        padding-right: 15px;
    }
    .full-line{
        padding: 30px 0px;
        font-size: 25px;
    }
    .full-line div{
        width: 500px;
    }
    .work-image{
        margin: 100px auto;
        width: 90%;
    }
    .main-work{
        margin: 100px 0px;
    }
    .pad-top{
        padding-top:90px;
    }
    .advantages-tabel div{
        padding: 20px;
        width: 240px;
    }
    .full-line div a{
        width: 500px;
    }
    .full-line div a img{
       height: 50px;
    }
    .full-line div a p{
        padding: 7px 0px 0px 0px;
    }
    .certificates div a img{
        width: 220px;
    }
    .certificates div{
        padding: 0px 10px;
    }
    .price-table{
        width: 90%;
        font-size: 35px;
    }
    .main-certificates-and-price div.container h1.headline{
        padding: 50px 0px 50px 0px;
    }
    .contact{
        position: inherit;
        width: 100%;
        text-align: center;
    }
    .contact div p{
        font-size: 25px;
    }
    .container-contact{
        width: 100%;
        padding: 35px 0px;
        box-shadow: none;
        border-radius: 0px;
    }

    footer{
        font-size: 20px;
        height: auto;
    }
    
    .footer-phone a{
        font-size: 22px;
        padding: 5px;
    }
    .footer-phone a img{
        width: 20px;
        padding-right: 7px;
    }
    .footer-links a i.fa-vk{
        font-size: 30px;
        color: #fff;
        background: #5076ba;
        border-radius: 50%;
        padding: 3px
    }
    .footer-links a i.fa-youtube{
        font-size: 40px;
        color: red;
    }
    .footer-links a i.fa-facebook{
        font-size: 40px;
        color: #5076ba;
    }
    .arrow{
        display: none;
    }
    .pad-text-btn{
        padding-bottom: 115px !important;
    }
    .KSgroup{
        text-align: center;
    }
    .KSgroup-text p{
        width: 90%;
        margin: 0px auto;
    }
    .KSgroup-text{
        font-size: 25px;
    }
}
@media only screen and (max-width:942px){
    .advantages-tabel{
        font-size: 20px;
    }
    .advantages-tabel div{
    padding: 10px;}
    .advantages-tabel div img{
        width: 100px;
    }
    .KSgroup-block-text{
        display: block;
    }
    .KSgroup-block{
        width: 85%;
    }
    .KSgroup-block{
        margin: 50px auto;
    }
    .pad-text-btn{
        padding-bottom: 40px !important;
    }
}
@media only screen and (max-width: 810px){
    .ferst-main div{
        padding-top: 30px;
    }
    .ferst-main{
        height: auto;
        padding-bottom: 30px;
    }
}
@media only screen and (max-width: 701px){
    .main-work-img-desktop{
        display: none;
    }
    .main-work-img-mobile{
        display: block;
    }
    header{
        background: url("../img/photo_background_mob/banner_1_mini.png");
        background-size: cover;
        background-position: center;
        height: 995px;
    }
    .ferst-main{
        background: url("../img/photo_background_mob/banner_2.png");
        background-size: cover;
        background-position: bottom;        
    }
    .header-logo-flex{
        padding: 100px 0px 0px 0px;
    }
    .header-mob-namder{
        padding: 500px 0px 20px 0px;
    }
    h1{
        font-size: 30px;
    }
    h2{
        font-size: 22px;
    }
    .low-size-text{
        font-size: 20px;
    }
    .slider-header{
        padding: 80px 0px 10px 0px;
    }
    .image-block{
        padding: 40px 0px 0px 0px;
        width: 95%;
    }
    .image-block img{
        padding: 5px 0px;
        width: 100%;
    }
    .photo-nofull{
        width: 48.5% !important;
    }
    #padding-left-img{
        padding-right: 10px;
    }
    .main-work{
        margin: 60px 0px;
    }
    .full-line{
        font-size: 20px;
    }
    .work-image{
        margin: 50px auto 80px auto; 
    }
    .text-time-work{
        margin: 0px auto;
        width: 405px;
    }
    .text-time-work div.big{
        font-size: 60px;
    }
    .text-time-work div.small{
        font-size: 28px;
    }
    .pad-top{
        padding-top: 50px;
    }
    .main-advantages{
        background: url("../img/photo_background_mob/banner_4.png");
        background-size: cover;
        background-position: bottom;
        height: 800px;
    }
    .advantages-tabel{
        padding: 50px 0px;
    }
    .main-tehnology{
        background: url("../img/photo_background_mob/banner_3.png");
        background-size: cover;
        background-position: center;
        padding: 50px 0px 60px 0px;
    }
    .full-line div{
        width: 400px;
    }
    .full-line div a{
        width: 400px;
    }
    .full-line div a img{
        height: 35px;
    }
    .full-line div a p{
        padding: 2px 0px 0px 0px;
    }
    .price-table{
        font-size: 25px;
    }
    .main-certificates-and-price{
        background: url("../img/photo_background_mob/banner_5.png");
        background-size: contain;
        background-position: bottom;
        background-repeat: no-repeat;
        height: 1200px;
    }
    .maps-block{
        height: 338px;
    }
    .contact div p{
        font-size: 22px;
    }
    /*место дя футер*/
    footer div.container{
        display: block;
    }
    .footer-phone{
        margin: 50px 0px 0px 0px;
        text-align: center;
    }
    .KSgroup-text a{
        width: 80%;
    }
    .KSgroup-text{
        font-size: 22px;
    }
    .KSgroup-block{
        margin: 20px auto;
    }
}
@media only screen and (max-width:521px){
    .header-text-one{
        font-size: 30px;
        line-height: 35px;
    }
    .header-mob-namder{
        font-size: 30px;
        padding: 460px 0px 0px 0px;
    }
    .low-size-text{
        font-size: 16px;
        line-height: 21px;
    }
    .btn-form{
        width: 264px;
    }
    #padding-left-img{
        padding-right: 7px;
    }
    .slick-slide img{
        width: 300px;
    }
    .main-advantages{
        height: 650px;
    }
    .advantages-tabel div{
        padding: 10px 5px;
        width: 180px;
    }
    .price-table{
        font-size: 20px;
    }
    .advantages-tabel div img{
        width: 70px;
    }
    .main-certificates-and-price{
        height: 1100px;
    }
    .contact div p{
        font-size: 20px;
    }
    footer{
        font-size: 18px;
    }
    footer div.container{
        padding: 50px 0px;
    }
    .KSgroup-text img{
        width: 70%;
    }
    .KSgroup-text{
        font-size: 20px;
    }
    .KSgroup-block p{
        font-size: 15px;
    }
}
@media only screen and (max-width:461px){
    h1{
        font-size: 20px;
    }
    h2{
        font-size: 15px;
    }
    .header-text-one{
        font-size: 25px;
        line-height: 27px;
    }
    .header-text-two{
        font-size: 22px;
        line-height: 25px;
    }
    header{
        height: 810px;
    }
    .header-mob-namder{
        padding: 420px 0px 0px 0px;
    }
    .slider-block p.low-size-text{
        font-size: 20px;
    }
    .text-time-work{
        width: 317px;
    }
    .text-time-work div.big{
        font-size: 50px;
    }
    .text-time-work div.small{
        font-size: 23px;
        padding: 5px 0px 0px 10px;
    }
    .main-certificates-and-price{
        height: 900px;
    }
    .main-tehnology{
        height: 385px;
    }
    .KSgroup-text p{
        padding: 20px 0px;
    }
    .KSgroup-text a{
        font-size: 15px;
    }
}
/*media for certificate*/
@media screen and (max-width: 1610px){
    .slider-block-img a img{
        /* width: 280px; */
        height: 100%;
    }
    .mob-slider-certificat .slider .slick-slide img{
        height: 100%;
    }
}
@media screen and (max-width: 1380px){
    .slider-block-img a img,.mob-slider-certificat .slider .slick-slide img{
        width: 260px;
    }
}
@media screen and (max-width: 1280px){
    .slider-block-img a img,.mob-slider-certificat .slider .slick-slide img{
        width: 240px;
    }
    .mob-slider-certificat .slider .slider-block-img {
        margin: 0px 10px;
    }
    .popup-content img{
        width: 100% !important;
    }
}
@media screen and (max-width: 1152px){
    .slider-block-img a img, .mob-slider-certificat .slider .slick-slide img{
        width: 220px;
    }
}
@media screen and (max-width: 1080px){
    .slider-block-img a img, .mob-slider-certificat .slider .slick-slide img{
        width: 320px;
    }
}
@media screen and (max-width: 480px){
    .slider-block-img a img, .mob-slider-certificat .slider .slick-slide img{
        width: 250px;
    }
    .slick-slide img{
        width: 280px;
    }
    .main-certificates-and-price{
        padding-bottom: 30px;
    }
    
}
@media screen and (max-width: 1610px) {
    .flex-title {
        font-size: 30px;
        line-height: 36px;
    }

    .flex-text {
        font-size: 30px;
        line-height: 36px;
    }
}

@media screen and (max-width: 1090px) {
    .flex-block {
        flex-direction: column;
        align-items: center;
        row-gap: 30px;
    }

    .flex-block_img img {
        width: 150px;
    }

    .flex-text,
    .flex-title {
        text-align: center;
    }

}

@media screen and (max-width: 701px) {

    .flex-text,
    .flex-title {
        font-size: 22px;
        line-height: 26px;
    }

    .flex-block_img img {
        width: 100px;
    }
}
/*----------------*/
@media screen and (max-width: 381px){
    header{
        height: 780px;
    }
    .logo-header-img{
        height: 50px;
        padding: 15px 0px 15px 10px;
    }
    .menu-btn{
        font-size: 30px;
    }
    .header-mob-namder{
        padding: 360px 0px 0px 0px;
        font-size: 25px;
    }
    #padding-left-img{
        padding-right: 5px;
    }
    .slick-slide img{
        width: 170px;
    }
    .advantages-tabel div{
        width: 120px;
    }
    .full-line{
        font-size: 16px;
    }
    .full-line div,
    .full-line div a{
        width: 300px;
    }
    .full-line div a img{
      height: 27px;
    }
}
/*-----------------------------------------*/