@media(max-width:1920px){
    .contacts-block{
        max-width:43%
    }
}
@media(max-width:1850px){
    .contacts-block{
        max-width:42.5%
    }
}

@media screen and (max-width:1620px) {
    .contacts-block{
        max-width:42%
    }
}
@media screen and (max-width:1550px) {
    .contacts-block{
        max-width:41%
    }
}
@media screen and (max-width:1470px) {
    .contacts-block {
        max-width: 40%;
    }
}
    @media screen and (max-width:1320px) {

    .slick-slider.sub-slider {
        position: relative;

        max-width: calc(100% - 112px);

        margin: 0 auto;

    }


    .overhead .center-block,

    header > .center-block,

    footer .center-block{

        padding: 0 15px;

    }



    div.slick-slider.clients-slider{

        margin: 40px auto ;

        width: calc(100% - 30px);

    }



    body.home .uslugi h2,

    body.home .team-block h3,

    body.home .team-block h3,

    body.home .news-block h3 {

        margin-left: 35%;

    }



    body.home .uslugi h2 + .after-h,

    .team-block h3 + p.after-h,

    .team-block h3 + p.after-h,

    .news-block h3 + p.after-h {

        margin-left: calc(35% + 78px + 24px);

    }



    #team-block .flex-block{

        width: calc(100% - 30px);

    }




    .contacts-block{
        max-width:39%;
    }
    

}



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

    .contacts-block{
        max-width:480px;
        width:100%;
    }


    .modal-form.active {

        display: block;

        overflow-y: scroll;

    }

    .art-block .text-block{
        max-width:600px;
    }

    .couch-name{
        left:0;
        right:0;
        margin:0 auto;
        width:100%;
        max-width:100%;
    }
    .couch-title{
        left:0;
        right:0;
        max-width:100%;
        margin:0 auto;
        width:100%;
    }

    .content--center--page__text {

        padding: 0 15px;

    }





    .fnc--articles--list {

        width: calc(100% - 30px);

    }



    .fnc--articles--listitem {

        margin-bottom: 23px;

    }



    .breads {

        padding: 16px 15px;

    }

    

    .slick-slider.clients-slider .img-block {

        width: 100%;

        max-width: 50%;

        height: 350px;

        background: #EFEFEF;

        display: flex;

        flex-direction: column;

        align-items: center;

        justify-content: center;

        box-sizing: border-box;

        position: relative;

        padding-bottom: 50px;

    }



    .slick-slider.clients-slider .text-block {

        padding-right: 49px;

        flex-basis: inherit;

        padding-left: 0;

        max-width: 50%;

    }



    .slick-slider.clients-slider .img-block img {

        max-width: 80%;

    }



    #team-block .flex-block {

        width: calc(100% - 30px);

        flex-direction: column-reverse;

        margin: 0 auto;

    }



    .form-bl:before {

        right: calc(50% - 532px);

    }

    

    div.slick-slider.clients-slider{

        width: calc(1100px - 30px);

    }



    .slick-slider.sub-slider {

        width: calc(1100px - 112px);

    }



    .menu--chapters{

        display:none;

    }



    footer > .center-block{

        display:none;

    }

    .art-block .center-block {

        padding: 30px;
    }

}
@media(max-width:1150px){
    .first-screen .center-block img {
        max-width: 50%;
        bottom:-23px;
    }
    .first-screen{
        background-position:-350px;
    }
}


@media screen and (max-width:1100px) {
    .first-screen .center-block img {
        max-width: 50%;
        bottom: -15px;
        right: -70px;
    }
    .art-block .img-block{
        width:407px;
    }
    .text-block ul{
        padding: 0 0 0 5px;
    }
    .art-block .text-block {
        max-width: 550px;
        font-size: 19px;
    }
    .price-block{
        font-size:20px;
    }
    .price-block strong span {
        font-size: 28px;
    }
    .first-screen h1{
        font-size:44px;
    }
    .first-screen{
        background-position:-380px;
    }
    .thing{
        overflow: hidden;
    }
    .advantage p{
        overflow: hidden;
    }

    .modal-center .img-block {

        position: relative;

        max-width: 50%;

        width: 100%;

    }



    .modal-center .img-block img{

        max-width:100%;

    }



    .modal-center{

        height: 100%;

        border: none;

        box-shadow: none;

    }



    .modal-form{

        background:#fff;

    }

    

    body.home .uslugi h2, body.home .team-block h3, body.home .team-block h3,

    body.home .news-block h3 {

        margin-left: 0;

    }



    body.home .uslugi h2 + .after-h, .team-block h3 + p.after-h, .team-block h3 + p.after-h,

    .news-block h3 + p.after-h {

        margin-left: calc(78px + 24px);

    }



    .form-bl:before {

        right: calc(100px);

        transform: rotate(-30deg);

    }



    div.slick-slider.clients-slider{

        width: calc(1000px - 30px);

    }



    .slick-slider.sub-slider {

        width: calc(1000px - 112px);

    }



    .fnc--center--articles__container {

        flex-wrap: wrap;

    }



    .fnc--center--articles__listitem {

        flex-basis: calc(50% - 24px);

        max-width: 384px;

        margin: 0 12px 40px;

        padding: 0;

        display: flex;

        flex-direction: column;

        text-align: left;

    }



    .fnc--center--articles__button {

        padding: 0;

        text-align: center;

        position: relative;

        right: 0;

        top: 0;

        bottom: 0;

        width: 50%;

    }



    .fnc--center--articles__button a {

        position: absolute;

        left: 0;

        right: 0;

        top: 0;

        bottom: 0;

        transform: rotate(0);

        margin: auto;

        width: 100%;

        max-width: 100%;

        height: 50px;

    }



    body.home .js__adv--banner__absolute {

        background-size: auto !important;

        background-position: 98% bottom !important;

    }



    .fnc--center--articles--listitem__image {

        line-height: 0;

        height: auto;

    }


    .form-block .fnc--feedback--main {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: column;

    }

    .form-block {
        background-size: cover;
    }
    .fnc--feedback--main__line {
        padding: 0;
        text-align: left;
        margin-bottom: 20px;
    }
    body.home h2, body.home h3, body.shablon1 h2, body.shablon1 h3{
        font-size:40px;
    }
    h2 ~ p.after-p{
        font-size:24px;
    }

}



@media screen and (max-width:1000px) {
    .h-menu .chapters a {
        font-size: 20px;
    }

    .first-screen .center-block img {
        max-width: 400px;
        bottom: 135px;
        right: -170px;
    }
    .price-block {

        right: 20px;
        bottom: 130px;

    }


    div.slick-slider.clients-slider{

        width: calc(900px - 30px);

    }



    .slick-slider.sub-slider {

        width: calc(900px - 112px);

    }



    .header--centerhead--inner__logo,

    .header--centerhead--inner__column2 {

        width: 50%;

    }

    

}

@media(max-width:950px){
    .price-block {
        right: 20px;
        bottom: 130px;
        position: static;
        color: #fefefe;
    }
    .karate-kid{
        display:none;
    }
    .first-screen h1{
        margin:60px 0 0 0;
    }
    .first-screen h1 span {
        display: block;
        color: #fff;
        text-shadow:1px 1px 3px rgba(0,0,0,0.2);
    }
    header .phones a{
         color:#fff;
        text-shadow:1px 1px 3px rgba(0,0,0,0.2);
    }
    .first-screen .center-block {
        height: 100%;
        padding: 80px 0;
        position: relative;
        align-items: center;
        justify-content: center;
        display: flex;
        min-height: auto;
        flex-direction: column;
    }
}

@media screen and (max-width:900px) {
    .art-block div.flex-block {
        display: flex;
        justify-content: space-between;
        flex-direction: column-reverse;
        align-items: center;
    }
    body.home h1 {
        margin: 50px 0 30px;
    }
    .advantage{
        padding-left:20px;
    }
    .contacts-block {
        width: 100%;
        max-width: 480px;
        padding-left: 20px;
        border:0;
        position: relative;
    }
    .footer-block .adresses{
        padding-left:40px;
    }

    .footer-block .media-block {
        position: relative;
        width: 100%;
        line-height: 0;
    }

    .footer-block .flex-block {
        justify-content: flex-start;
        background: var(--one-color);
        align-items: center;
        flex-direction: column-reverse;
    }
    .footer-block .name-block{
        display:none;
    }

    body.shablon1 .fnc--center--chapters__list--item {

        width: 50%;

        overflow: hidden;

        margin: 0;

    }



    .modal-center {

        flex-direction: column;

    }



    .modal-center .text-block {

        margin-left: 0;

    }

    

    div.slick-slider.clients-slider{

        width: calc(800px - 30px);

    }



    .slick-slider.sub-slider {

        width: calc(800px - 112px);

    }



    .contacts-block .but-block{

        display:none;

    }



    .tezis.slick-dotted.slick-slider {

        margin: 270px auto 0;   

    }



    body.home .js__adv--banner__absolute {

        background-size: auto !important;

        background-position: 102% bottom !important;

    }



    body.home h1 {

        font-size: 3em;

        line-height: normal;

    }



    .fnc--slider--inner__text p.after-h {

        padding-left: 15px;

        max-width: 50%;

    }



    .fnc--feedback--container {

        max-width: 800px;

        width: calc(100% - 30px);

        margin: 0 auto;

    }



    #form-block .fnc--feedback--container {

        margin: 30px auto;

    }



    .numbers-block .flex-block{

        flex-wrap: wrap;

    }



    .numbers-block .flex-block > div {

        width: 50%;

        margin: 24px 0;

    }





    .slick-slider.clients-slider .slick-slide.flex-block {

        display: flex;

        text-align: left;

        flex-direction: column-reverse;

    }



    .slick-slider.clients-slider .text-block, .slick-slider.clients-slider .img-block {

        width: 100%;

        max-width: 100%;

    }



    .fnc--center--articles__container {

        width: calc(100% - 30px);

        padding-right: 0;

    }



    

    .fnc--center--chapters--item__name a {

        font-size: 1.2em;

    }

    

}



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

    

    div.slick-slider.clients-slider{

        width: calc(700px - 30px);

    }



    .slick-slider.sub-slider {

        width: calc(700px - 112px);

    }



    header .adress,

    header .contacts-block {

        width: 50%;

    }
    body.home h1 span{
        color: #1f1f1f;
    }
    body.home h1 {

        font-size: 2.5em;

        line-height: normal;

        margin: 25px 0 30px;

        background: var(--one-color);

        color: #1f1f1f;

        text-align: center;

        padding: 10px 15px ;

    }



    body.home h1 br{

        display:none;

    }



    .fnc--slider--inner__text p.after-h {

        padding-left: calc(78px + 24px);

        max-width: 50%;

    }



    body.home .js__adv--banner__absolute {

        background-size: auto !important;

        background-position: center 0 !important;

    }





    .tezis.slick-dotted.slick-slider {

        margin: 64px auto 0;

    }



    body.home .js__adv--banner__absolute, body.home .js__fnc--slider--inner__absolute, body.home .js__fnc--slider--inner__relative {

        height: 860px !important;

    }



    .fnc--slider--inner__text p.after-h {

        padding-left: calc(78px + 24px);

        max-width: calc(100% - 156px);

        text-align: center;

    }

    



#uslugi-slider{

    max-width: 476px !important;

}



body.shablon1 #uslugi-slider {

    max-width: 100% !important;

}



.form-bl {

    margin-top: 40px;

}



.form-bl:before {

    right: calc(30px);

}



    

.con-block .form-bl {

    display: flex;

    justify-content: center;

    align-items: center;

    flex-direction: column;

}



.con-block .fnc--feedback {

    padding: 50px 0;

    width: 100%;

    max-width: 382px;

    margin-right: 0;

}



.con-block .text-block{

    margin-top: 100px;

}



.con-block .text-block {

    margin-top: 80px;

    margin-bottom: 80px;

}


   .advantages-screen div.flex-block {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        align-items: center;
    }
    

}

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

    .h-menu{
        width:100%;
    }



    

    div.slick-slider.clients-slider{

        width: calc(600px - 30px);

    }



    .slick-slider.sub-slider {

        width: calc(600px - 112px);

    }



    .modal-center .img-block {

        max-width: 70%;

    }



    header .adress{

        display:none;

    }



    header .contacts-block {

        width: 100%;

    }



    header .phones a:last-child{

        margin-right: 0;

    }



    .header--centerhead--inner__logo img {

        max-height: 55px;

    }







    .overhead .center-block {

        height: 40px;

    }



    header > .center-block{

        height: 70px;

    }



    body {



        font-size: 16px;

    }

    header .phones a {

        font-size: 20px;

    }

    #form-block h2 br{

        display:none;

    }



    .slick-slider.sub-slider .slick-slide img {

        width: 80%;

    }





    body.home h1:before{

        display:none;

    }



    body.home h1 {

        font-size: 2.3em;

    }



    body.shablon1 .js__adv--banner__absolute, 

    body.shablon1 .js__fnc--slider--inner__absolute, 

    body.shablon1 .js__fnc--slider--inner__relative {

        height: 300px !important;

        background-size: auto 300px !important;

    }



    .fnc--slider--inner__text h1 {

        font-family: var(--semibold-font-family);

        font-size: 2em;

        line-height: normal;

    }

}



@media screen and (max-width:600px) {
    .contacts-block .phones {
        margin:10px auto;
    }
    .widget iframe {
        height: 1050px;
    }


    .contacts-block .phones {
        position: relative;
        padding: 20px 40px 20px 40px;
        border: 5px solid #1f1f1f;
        border-right: none;
        border-radius: 5px 0 0 5px;
        box-sizing: border-box;
        text-align: center;
    }
    .title-con{
        text-align: center;
    }
    .massangers{
        margin:0 auto;
    }
    .footer-block .adresses {
        padding-left: 40px;
        max-width: 290px;
        margin: 40px auto;
    }
    .contacts-block{
        padding-left:0;
    }
    .four-things div.flex-block{
        padding-bottom:0;
    }
    .leflex{
        padding-top:80px;
        overflow: visible;
    }
    .modal {
        align-items:flex-start;
    overflow: hidden;

    }
    .modal .shade{
        background-color:#fff;
    }
    .modal .header{
        margin-top:30px;
    }
    .modal .modal_container{
        border:0;
    }
    body.shablon1 .fnc--center--chapters__list--item {

        width: 100%;

        overflow: hidden;

        margin: 0;

    }



    h1 {

        font-size: 1.3em;

        margin: 24px 0;

    }



    h2, h3{

        font-size: 1.3em;

        margin: 24px 0;

    }

    

    div.slick-slider.clients-slider{

        width: calc(500px - 30px);

    }



    .slick-slider.sub-slider {

        width: calc(500px - 112px);

    }



    .fnc--slider--inner__text p.after-h {

        padding-left: 0;

        max-width: calc(100% - 50px);

        text-align: center;

        margin: 0 auto;

    }



    .slick-slider.team-slider {

        max-width: calc(500px - 30px);

    }



    body.home .js__adv--banner__absolute {

        background-size: 350px auto !important;

    }
    .fnc--feedback--main__button,
    .fnc--feedback--main__param,
    .fnc--feedback--main__line{
        width:100%;
        display:flex;
        align-items: center;justify-content: center;

    }
    .fnc--feedback--main__param input[type="tel"],
.fnc--feedback--main__param input[type="text"]{
    max-width:90%;
    width:100%;
    margin: 0 auto;
}

    header.active .header--centerhead--inner__logo img,
    header .header--centerhead--inner__logo img {
        max-height: 45px;
        width: auto;
    }
    .thing:nth-child(2) {
        border: 5px solid rgba(47, 47, 47, 0.16);
    }
    .thing{
        height:auto;
    }
    .four-things div.flex-block{
        margin-top:50px;
    }
    .description-thing{
        font-size:16px;
    }
    body.home h2, body.home h3, body.shablon1 h2, body.shablon1 h3 {
        font-size: 30px;
    }
    .art-block .center-block {
        margin-bottom:0;
        padding-top:10px;
    }
    .form-block{
        margin-bottom:50px;
    }
.thing:nth-child(odd) {
    margin-top: 0;
}
.thing:nth-child(4) {
    margin-top: 0;
}
}





@media screen and (max-width:500px) {
    .form-block{
        margin-top:0;
    }
    .art-block .img-block {
        width: 95%;
    }
    .but-block a, button, .fnc--center--articles__button a {
        padding: 21px 0;
        font-size: 14px;
    }
    .art-block .text-block {
        max-width:100%;
        padding:5px;
        font-size: 18px;
        box-sizing: border-box;
    }

    div.slick-slider.clients-slider{

        width: calc(400px - 30px);

    }



    .slick-slider.sub-slider {

        width: calc(400px - 112px);

    }



    .tezis.slick-dotted.slick-slider{

        max-width: 100%;

    }



    .slick-slider.team-slider {

        max-width: calc(400px - 30px);

    }






    .uslugi .center-block, .form-block, .clients-block, .team-block, .numbers-block, .news-block  {

        margin-top: 80px;

    }



    body.home h2, body.home h3,

    body.shablon1 h2, body.shablon1 h3 {

        padding-left: 15px;

        padding-right: 15px;

    }



    body.home h2:before, body.home h3:before,

    body.home .form-block h2:before,

    body.shablon1 h2:before, body.shablon1 h3:before {

        top: -10px;

    }



    body.home .uslugi h2 + .after-h, .team-block h3 + p.after-h, .team-block h3 + p.after-h, .news-block h3 + p.after-h,

    h2 + .after-h, h3 + .after-h {

        margin-left: 15px;

        margin-right: 15px;

    }

    body.home .js__adv--banner__absolute, body.home .js__fnc--slider--inner__absolute, body.home .js__fnc--slider--inner__relative {

        height: 775px !important;

    }



    .team-block div.text-block {

        padding: 10px 20px;

    }



    .close-block a {

        padding: 5px 0;

        padding-left: calc(30px + 8px);

    }



    .slick-slider.team-slider .text-block:hover .close-block {

        opacity: 1;

        height: 157px;

    }

    .numbers-block .flex-block > div {

        width: 100%;

        margin: 24px 0;

    }



    .fnc--center--articles__listitem {

        flex-basis: calc(100% - 24px);

        max-width: 100%;

    }



    .fnc--center--articles__button {

        padding: 24px 0 0;

        text-align: center;

        position: relative;

        right: 0;

        top: 0;

        bottom: auto;

        width: 100%;

    }



    p.about-us {

        margin-left: 24px;

        line-height: 1.5;

        margin: 35px 0;

    }






    body.home .js__adv--banner__absolute {

        background-size: 320px auto !important;

    }



    .fnc--slider--inner__text p.after-h {

        font-size: 1.1em;

    }



    .uslugi {

        width: 100% !important;

    }

    

    .fnc--center--chapters--item__name {

        padding: 32px 15px;

    }



    .close-block.messengers a{

        margin-top: 15px;

    }

    .footer-block .center-block > h2{
        margin:0 auto;
        width:100%;
        background-color:#Fff;
        text-align: center;
    }
    header .phones a {
        font-size: 16px;
    }
    .header--centerhead--inner__logo, .header--centerhead--inner__column2{
        width:auto;
    }

    .thing{
        width:95%;
    }
    header .phones a:last-child{
        display:none;
    }
    .open-hamburger-menu span{
        background-color:#Fff;
    }
    body.home h2, body.home h3, body.shablon1 h2, body.shablon1 h3 {
        font-size: 24px;
    }h2 ~ p.after-p {
         font-size: 19px;
     }
}

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



    .modal-center .img-block {

        max-width: 85%;

    }



    .team-slider .loyer-name {

        font-size: 1.2em;

    }



    .fnc--slider--inner__text h1 {

        font-size: 1.6em;

        padding-left: calc( 24px);

    }



    .fnc--slider--inner__text h1:before {

        width: 20px;

    }





    

    div.slick-slider.clients-slider{

        width: calc(375px - 30px);

    }



    .slick-slider.sub-slider {

        width: calc(375px - 112px);

    }



    .con-block .text-block {

        margin-top: 80px;

        margin-bottom: 0;

        width: calc(100% - 30px);

    }



    .form-bl:before {

        right: 0;

        transform: rotate(0deg);

    }



    .slick-slider.team-slider {

        max-width: calc(375px - 30px);

    }




    

    .header--centerhead--inner__column2 {

        width: 30%;

    }







    .breads__inner {

        display: flex;

        font-size: 0.7em;

    }



    .header--centerhead--inner__logo img,

    header.active .header--centerhead--inner__logo img {

        max-height: 45px;

    }



    header > .center-block,

    header.active > .center-block{

        height: 55px;

    }



    .overhead .center-block,

    header.active .overhead .center-block {

        height: 32px;

    }
    .art-block .img-block{
        height:495px;
    }
    .art-block .center-block > h2{
        padding-left:5px;
    }

    .art-block img{
        max-width:95%;
    }
    .art-block .center-block {
        padding:0px;
    }


    

}



@media screen and (max-width:374px) {
    .art-block .text-block{
        font-size:16px;
    }
    .contacts-block .phones a {
        font-size: 25px;}

    div.slick-slider.clients-slider{

        width: calc(350px - 30px);

    }



    .slick-slider.sub-slider {

        width: calc(350px - 112px);

    }



    .slick-slider.team-slider {

        max-width: calc(350px - 30px);

    }



    .close-block.messengers {

        flex-direction: row;

        margin-bottom: 32px;

        flex-wrap: wrap;

    }



    .fnc--center--chapters--item__info br{

        display:none;

    }

    

}



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



    .slick-slider.team-slider {

        max-width: calc(320px - 30px);

    }



    div.slick-slider.clients-slider{

        width: calc(320px - 20px);

    }



    .slick-slider.sub-slider {

        width: calc(320px - 112px);

    }



    .close-block.messengers a {

        color: var(--inferit-color);

        margin-right: 20px;

        margin-top: 15px;

    }





}
