@media screen and (max-width:1500px) {

    header .center-block {
        padding-top: 40px;
    }

    header .center-block {
        max-width: calc(100% - 80px);
    }

    .next-block{
        bottom: 40px;
        left: 40px;
    }

    ul#menu{
        right: 104px;
        bottom: 40px;
    }

    .block-number {
        right: 40px;
        bottom: 34px;
    }

    .center-block {
        max-width: calc(100% - 217px);
    }

    .fnc--feedback__title {
        font-size: 2.1em;
    }

    .fnc--center--chapters--item__name {
        margin-bottom: 40px;
    }

    .center-block h2, .center-block h3 {
        margin-bottom: 40px;
    }

    .st-ab-loyer:nth-child(2) ~ .st-ab-loyer {
        margin-bottom: 0;
    }

    body{
        font-size: 16px;
    }

    .eleventh-block .but-block.active {
    right: 40px;
    top: 40px;
    }

    .eleventh-block .but-block {
        bottom: 40px;
        left: 40px;
    }

    .section:before, .h-menu:after {
        bottom: 80px;
    }

    .num-loyer .numbers {
        font-size: 3em;
    }

    .fifth-block .center-block h3,
    .sixth-block .center-block h3{
        margin-bottom: 100px;
    }

    .fifth-block .flex-block:before,
    .sixth-block .flex-block:before{
        bottom: calc(100% + 35px);
    }


    .member-photo {
        right: 7.125%;
    }

    .member-info {
        margin-left: 7%;
    }

    .eighth-block .fnc--feedback__title {
        margin-bottom: 100px;
    }

    .eighth-block p.after-form-title:before {
        bottom: calc(100% + 35px);
    }

    .question {
        margin-bottom: 60px;
        font-size: 1.1em;
    }

    .tenth-block .after-h:before{
        display:none;
    }

    div.slider-q-block.slick-slider {
        max-width: 605px;
        width: 100%;
        margin: 0;
    }

    .question {
        margin-bottom: 40px;
    }

    .eleventh-block .center-block h3 {
        margin-bottom: 100px;
    }

    .eleventh-block .after-h:before {
        bottom: calc(100% + 35px);
    }

    .adress-block {
        margin-left: 40px;
    }

    .eleventh-block .after-h {
        font-size: 1.3em;
    }

    .fnc--feedback--main__line {
        margin-right: 30px;
        max-width: 320px;
    }

    .slick-prev, .slick-next, .slick-dots{
        bottom: 40px;
    }

    .ninth-block h3 span:before{
        top: calc(100% + 20px);
    }

    .st-ab-loyer {
        margin-bottom: 60px;
        width: calc( 50% - 50px );
        margin-left: 50px;
    }

    .forth-block .title ~ p br{
        display:none;
    }

    .h-menu:before {
        right: 46%;
        transform: rotate(20deg);
    }

    nav a:before {
        height: 53.66%;
        width: 44%;
        background-size: contain !important;
    }

    .ninth-block .client:first-child {
        margin-bottom: 40px;
    }

    .mobile-nav nav a {
        font-size: 2.3em;
    }

}

@media screen and (max-width:1570px) {

    .fnc--feedback--main {
        display: flex;
        margin-top: 100px;
    }
    
    header .center-block {
        padding-top: 15px;
    }
    .social {
    position: absolute;
    bottom: 40px;
    left: 40px;
}

    body{
        font-size:14px;
    }

    .text-about-us {
    height: 285px;
    }

    .tenth-block .after-h {
    margin-bottom: 20px;
    }

    .forth-block .title span:before {
    content: '';
    top: -5px;
    left: 14px;
    position: absolute;
    transform: matrix(0.87, 0.5, -0.5, 0.87, 0, 0);
    width: 1px;
    height: 32.88px;
    background: #fff;
    box-shadow: 0 0 0 3px #101c43;
}

    .answers-block {
    height: auto;
    margin-top: -70px;
    }

.team-names {
    max-width: 580px;
    margin-left: 5%;
}

.answers-block > div {
    height: 255px;
}

.member-title {
    margin-bottom: 20px;
}

    .open-hamburger-menu {
        position: absolute;
        top: 10px;
    }

    header .center-block {
        max-width: calc(100% - 80px);
    }

    .header--centerhead--inner__logo img {
        max-height: 70px;
    }

    .next-block{
        bottom: 40px;
        left: 40px;
    }

    ul#menu{
        right: 104px;
        bottom: 40px;
    }

    .block-number {
        right: 40px;
        bottom: 34px;
    }

    .center-block {
        max-width: calc(100% - 217px);
        margin: 102px auto 50px;
    }

    .fnc--feedback__title {
        font-size: 2.1em;
    }

    .fnc--center--chapters--item__name {
        margin-bottom: 20px;
    }

    .center-block h2, .center-block h3 {
        margin-bottom: 40px;
    }

    .st-ab-loyer:nth-child(2) ~ .st-ab-loyer {
        margin-bottom: 0;
    }

    .section:before, .h-menu:after {
        bottom: 80px;
    }

    .num-loyer .numbers {
        font-size: 3em;
    }


    .sixth-block .center-block h3{
        margin-bottom: 40px;
    }

    .fifth-block .flex-block:before,
    .sixth-block .flex-block:before{
        bottom: calc(100% + 35px);
    }

    .sixth-block .flex-block:before{
        display:none;
    }

    .member-photo {
        right: 5.125%;
    }

    .member-info {
        margin-left: 7%;
    }

    .eighth-block .fnc--feedback__title {
        margin-bottom: 20px;
    }

    .eighth-block p.after-form-title:before {

    }

    .question {
        margin-bottom: 60px;
        font-size: 1.1em;
    }

    .tenth-block .after-h:before{
        display:none;
    }

    div.slider-q-block.slick-slider {
        max-width: 605px;
        width: 100%;
        margin: 0;
    }

    .question {
        margin-bottom: 20px;
    }

    .eleventh-block .center-block h3 {
        margin-bottom: 40px;
    }

    .eleventh-block .after-h:before {
    display: none;
    }

    .adress-block {
        margin-left: 40px;
    }

    .eleventh-block .after-h {
        font-size: 1.3em;
    }

    .fnc--feedback--main__line {
        margin-right: 30px;
        max-width: calc(50% - 30px);
    }

    .slick-prev, .slick-next, .slick-dots{
        bottom: 40px;
    }

    .ninth-block h3 span:before{
        top: calc(100% + 20px);
    }

    .st-ab-loyer {
        margin-bottom: 60px;
        width: calc( 50% - 50px );
        margin-left: 50px;
    }

    .forth-block .title ~ p br{
        display:none;
    }

    .h-menu:before {
        right: 46%;
        transform: rotate(20deg);
    }

    nav a:before {
        content: '';
        position: absolute;
        left: 150%;
        top: 0;
        bottom: 0;
        margin: auto;
        height: 53.66%;
        width: 44%;
        background-size: contain;
        opacity: 0;
        transition: all 0.5s ease;
        background-size: contain;
    }

    .ninth-block .client:first-child {
        margin-bottom: 40px;
    }

    .mobile-nav nav a {
        font-size: 2.3em;
        margin-bottom: 30px;
    }
    
}


@media screen and (max-width:1300px) and (max-height:1024px) and (min-width: 1100px) and (min-height: 900px){

    .member-photo {
    right: 5.125%;
}

}

@media screen and (max-width:1650px) and (max-height:1550px) and (min-width: 950px) and (min-height: 850px){

    .fnc--feedback__title {
        font-size: 2.27em;
    }

    .st-ab-loyer:nth-child(2) ~ .st-ab-loyer {
        margin-bottom: 0;
    }

    header .center-block {
        padding-top: 30px;
    }

    .open-hamburger-menu {
        top: 30px;
    }

    .num-loyer .numbers {
        color: #C18A83;
        font-size: 3.3em;
    }

    .team-names {
        max-width: 650px;
        margin-left: 40px;
    }

    .question {
        margin-bottom: 50px;
        font-size: 1.1em;
    }

    .tenth-block h3,
    
    .eleventh-block .center-block h3 {
        margin-bottom: 100px;
    }


    .tenth-block .after-h:before,
    .eleventh-block .after-h:before {
        bottom: calc(100% + 35px);
    }

    div.slider-q-block.slick-slider {
        max-width: 700px;
        width: 100%;
        margin: 0;
    }

    .fnc--feedback--main__line {
        max-width: 312px;
    }

}


@media screen and (max-width:1200px) {
    
    
    
}

@media screen and (max-width:1100px) {
    
    
    
}

@media screen and (max-width:1100px) {
    
    .center-block{
        max-width: calc(100% - 150px);
    }

    .phones {
        margin-right: 0;
        width: 27%;
    }

    .fnc--center--chapters--item__name a {
        height: 50px;
    }

    .fnc--center--chapters--item__name {
        margin-bottom: 30px;
    }

    .center-block h2, .center-block h3 {
        font-size: 2.37em;
    }

    .member-title {
        margin-bottom: 20px;
        text-align: left;
    }

    .but-block {
        margin-top: 30px;
    }


    .member-name {
        height: 45px;
    }


    .answers-block {
        border: 4px solid #404969;
        max-width: 45%;
    }

    div.slider-q-block.slick-slider {
        max-width: 45%;
        width: 100%;
        margin: 0;
    }

    .answers-block {
        margin-top: 0;
    }


    .question {
        margin-bottom: 35px;
    }

    .adress-block {
        margin-left: 40px;
        max-width: 320px;
    }

    .always-no-phone br,
    .tenth-block .question p br{
        display:none;
    }

    .eighth-block .zagl-block:after {
        width: 20%;
    }

}

@media screen and (max-width:1000px) {
    
    .zagl-block:after,
    .fifth-block h3:after{
        display:none;
    }

    p.descriptor,
    .ninth-block h3:after{
        display:none;
    }

    .num-loyer {
        width: 50%;
    }

    .fifth-block .flex-block {
        position: relative;
        flex-wrap: wrap;
    }

    .num-loyer {
        width: 50%;
        margin-bottom: 40px;
    }

    .fifth-block .but-block {
        margin-top: 0;
        margin-left: 0;
    }

    .eleventh-block h3:after {
        width: 44%;
    }

    .center-content .img-block {
        line-height: 0;
        position: relative;
        right: 0;
    }

    .center-content p {
        text-align: center;
        margin: 20px 0 0 0;
        white-space: nowrap;
        font-size: 0.9em;
    }

    .section:before, .h-menu:after {
        bottom: -8px;
    }

    
}

@media screen and (max-width:900px) {
    
    .first-block h1 {
        font-size: 3.5em;
    }

    .next-block {
        bottom: 20px;
        left: 20px;
    }

    header .center-block {
        max-width: calc(100% - 40px);
    }

    .block-number {
        right: 20px;
        bottom: 20px;
    }

    ul#menu{
        display: flex;
        flex-direction: column;
        bottom: 66px;
        right: 34px;
    }

    ul#menu li{
        margin-bottom: 5px;
    }
    
    .fnc--feedback--main {
        display: flex;
        flex-wrap: wrap;
    }

    .fnc--feedback--main__line {
        margin-right: 30px;
        margin-bottom: 20px;
    }

    .fnc--center--chapters__list--item {
        flex-basis: 50%;
    }

    .sixth-block h3:after {
        top: 0;
    }

.team-names{
    display:none;
}

.slick-prev, .slick-next, .slick-dots {
    bottom: 20px;
}

.slick-prev {
    left: 20px;
}

.slick-dots {
    left: calc(20px + 80px);
}

.slick-next {
    left: calc(20px + 80px + 104px);
}

.answers-block{
    display:block;
}

div.slider-q-block.slick-slider {
    max-width: 100%;
    width: 100%;
    margin: 0;
}

.h-menu:before {
    right: 0;
    transform: rotate(0);
}

.eighth-block .fnc--feedback__title br{
    display:none;
}

.fnc--feedback--main__line {
    margin-right: 30px;
    max-width: calc(100% - 30px);
}

.fnc--feedback--main__button {
    text-align: left;
}

.phones {
    margin-right: 0;
    width: 40%;
}

.eighth-block .fnc--feedback--main__line {
    margin-bottom: 20px;
}

.text-about-us {
    height: 455px;
}

.st-ab-loyer {
    margin-bottom: 30px;
    width: calc( 100% - 50px );
    margin-left: 50px;
}

.st-ab-loyer:nth-child(2) ~ .st-ab-loyer {
    margin-bottom: 30px;
}

.center-block {
    max-width: calc(100% - 80px);
}

.tenth-block .flex-block {
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
}

.answers-block {
    display: block;
    margin: 30px 0;
}

.answers-block > div {
    display: none;
    height: auto;
    margin-right: 0;
}

.answers-block > div p {
    padding-right: 0;
}

.answers-block {
    max-width: 100%;
}

}

@media screen and (max-width:800px) {
    
    .text-about-us {
        height: auto;
    }


    header{
        background: #101c43;
    }

    .header--centerhead--inner__logo {
        padding: 10px 0;
    }



    
}
@media screen and (max-width:700px) {
    
    .first-block p.after-h:before {
        width: 68%;
    }

    .member-photo:before{
        display:none;
    }

    .fp-tableCell,
    .section {
        height: auto !important;
    }

    div.first-block .fp-tableCell{
        height: 100vh !important;
        min-height:600px;
    }

    .after-form-title br{
        display:none;
    }

    .center-block {
        margin: 102px auto 80px;
    }

    .eleventh-block .flex-block{
        flex-direction: column;
    }

    .adress-block {
        margin-left: 00;
        margin: 30px 0;
        max-width: 320px;
    }

    .eleventh-block iframe {
        border: 0;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: -1;
        opacity: 0.1;
    }

    .eleventh-block iframe.active-bl{
        opacity:1;
        z-index:102;
        width: 100%;
        position: absolute;
    }

    .slider-team-block .team-memder {
        height: 600px;
    }

    .num-loyer {
        width: 80%;
        margin-bottom: 40px;
        max-width: 300px;
    }

    .fifth-block .flex-block {
        position: relative;
        flex-wrap: wrap;
        justify-content: center;
    }

    .fifth-block .but-block {
        margin-top: 0;
        margin-left: 0;
        text-align: center;
    }

    nav a:before{
        display:none;
    }

    .mobile-nav {
        align-items: center;
        justify-content: center;
    }

    .block-number{
        display:none;
    }

    ul#menu {
        display: flex;
        flex-direction: column;
        bottom: 12px;
        right: 12px;
    }

    .slider-team-block {
        height: 600px;
    }

    .seventh-block .fp-tableCell{
        height: 600px !important;
    }


    
}

@media screen and (max-width:600px) {
    
    .first-block h1 {
        font-size: 2.5em;
    }

    .first-block p.after-h:before {
        width: 41%;
    }

    .slider-team-block .team-memder {
        height: 600px;
        flex-direction: column-reverse;
    }
    .member-info {
        margin: 0 7%;
    }

    .member-title {
        font-size: 2em;
    }

    .member-info {
        margin: 15px 7%;
    }

    .slick-next {
        left: auto;
        right: 20px;
    }

    .slick-prev {
        left: 20px;
    }

    .slick-dots {
        left: 0;
        right: 0;
        margin: auto;
    }

    .seventh-block .fp-tableCell {
        height: 670px !important;
        padding-bottom: 70px;
    }

    .member-photo {
        right: 0;
        display: block;
    }

    .slick-slide img {
        display: block;
        margin: 0 auto;
        max-width: 100%;
        max-height: 419px;
    }


    .slider-team-block {
        height: 655px;
    }

.member-title {
    text-align: center;
}

.member-name {
    display: inline-flex;
}


    .but-block {
        text-align: center;
        margin-top: 30px;
    }

    .member-info {
        margin: 15px 7%;
        text-align: center;
        align-items: center;
    }
    
    .mobile-nav nav a {
        font-size: 2em;
        margin-bottom: 30px;
    }
    
    ul#menu {
        display: flex;
        flex-direction: column;
        bottom: 12px;
        right: 0px;
    }
}

@media screen and (max-width:500px) {
    
    .first-block p.after-h:before {
        width: 2%;
    }

    .center-block {
        max-width: calc(100% - 60px);
    }

    .fnc--feedback__title {
        font-size: 1.8em;
    }

    .fnc--feedback--main {
        display: flex;
        margin-top: 40px;
    }

    .scroll-wrapper > .scroll-content{
        overflow: visible !important;
    }
    .second-block .fnc--feedback--main:before{
        display:none;
    }

    .slick-slide img {
        display: block;
        margin: 0 auto;
        max-width: 100%;
        max-height: 380px;
        height: auto;
    }

    div.second-block.modal-form{
        display:block;
        overflow-y: scroll;
    }

    .eleventh-block .but-block.active {
        right: 20px;
        top: 40px;
    }

    .first-block h1 {
        font-size: 2.3em;
    }

    .num-loyer .numbers {
        font-size: 2.5em;
    }

    .header--centerhead--inner__logo img {
        max-height: 40px;
    }

    .phones {
        margin-right: 0;
        width: 66%;
    }

    header.active {
        background: #101c43;
        padding: 10px 0;
    }

    header .center-block {
        padding-top: 0;
    }

    .open-hamburger-menu {
        top: 7px;
        width: 45px;
    }

    .open-hamburger-menu span:nth-child(2) {
        height: 5px;
    }

    .open-hamburger-menu.active span:nth-child(1) {
        transform: rotate(35deg);
        top: 8px;
    }

    .center-block h2, .center-block h3 {
        font-size: 2em;
    }

    .center-content p{
        display:none;
    }

    .fnc--center--chapters__list--item {
        flex-basis: 100%;
    }

    .fnc--center--chapters__list--item:nth-child(9) ~ .fnc--center--chapters__list--item .fnc--center--chapters--item__name {
        margin-bottom: 30px;
    }

    .center-content {
        max-width: 45%;
    }
    
}
@media screen and (max-width:400px) {
    
    .first-block h1 {
        font-size: 2em;
    }

    .eleventh-block .but-block {
        bottom: 40px;
        left: 30px;
    }

    
    
}

@media screen and (max-width:374px) {
    
    body {
        font-size: 13px;
    }
    
}

@media screen and (max-width:349px){
    .first-block h1 {
        font-size: 1.8em;
    }

    .first-block p.after-h:before{
        display:none;
    }

    .st-ab-loyer {
        margin-left: 30px;
    }


    .forth-block .title:before {
        position: absolute;
        bottom: 0;
        right: auto;
        left: -63px;
    }
    .num-loyer {
        width: 95%;
        margin-bottom: 40px;
        max-width: 300px;
    }

    .eleventh-block .but-block {
        max-width: calc(100% - 60px);
    }
}
