/*------- media  --------*/
@media (max-width: 1140px) {
  .container {padding: 0 16px;}
  .wow__form {right: 16px;}
  * {
    font-size: 20px;
  }
  h1 {
    font-size: 30px;
  }
  h2 {
    font-size: 30px;
  }
  form input {
    font-size: 20px;
    height: 45px;
  }
}

@media (max-width: 1050px) {
  .blog__block {
    display: flex;
    justify-content: space-around;
    flex-flow: column;
    align-items: center;
  }
  .block-item {
    margin: 15px;
  }
}

@media (max-width: 992px) {

  .wow__titles {
    width: 50%;
  }

  .steps__item {
    width: 360px;
  }

  .filials__item {
    width: 320px;
  }

  .steps__item:nth-child(4n):after {
    display: block;
  }

  .steps__item:nth-child(2n):after {
    display: none;
  }

  .steps__item:after {
    right: -78px;
  }

  .wow__form {
    width: 40%;
  }

  .ww-list__item {
    width: 190px;
  }

  .footer__logo {
    display: block;
  }

  .footer .menu {
    width: 100%;
    display: block;
    margin-left: 0;
  }

  .footer__socials {
    margin-top: 0;
  }

  .footer .menu li a {
    font-size: 15px;
  }

  .footer__description {
    display: block;
    margin-left: 0;
    width: 100%;
    margin-top: 24px;
  }

  .main__titles {
    width: 100%;
  }
  .main__form {
    position: static;
    width: 100%;
    margin: 30px 0;
    border: 1px solid #fff;
  }
  .main__form h2 {
    text-align: center;
  }
  .free_consult {
    width: 100%;
  }
  .why__item {
    width: 48%;
    margin-bottom: 20px;
    padding: 40px 20px 30px;
  }
  .why__item img {
    padding-bottom: 40px;
  }
  .why__text {
    text-align: center;
  }
  .services__item h2 {
    font-size: 24px;
  }
  
  .services__item form {
  padding: 0 15px 10px;
  }
  .services__item:last-child h2 {
  padding: 15px 15px 0;
  }

  .services__text {
    font-size: 24px;
    padding: 15px;
  }
  .reviews__video_slider iframe {
    max-height: 500px;
  }
  .post {
    width: 49%;
    margin-bottom: 10px;
  }
}

@media (max-width: 900px) {
  .cn-text-container {
    display: block;
    width: 100%;
  }

  .cn-buttons-container {
    width: 100%;
    margin-top: 16px;
  }
} 

@media (max-width: 888px) {
  /*.menu-item-248 {
    display: none !important;
  }*/
}

@media (max-width: 768px) {
  .container {
    max-width: 100%;
  }

  .single-artice__flex {
    flex-direction: column;
  }

  .single-article__content, .single-article__sidebar {
    width: 100%;
  }

  .redesign_1 h1 {
    font-size: 30px;
  }

  .redesign_1 .wow__form_a {
    display: none;
  }

  .anketa-img, .check-img {
    right: -40%;
  }

  .calculator__button, .calculator__button_inline {
    width: 100%;
  }
  header {
    position: relative;
  }
  .header__menu {
    padding: 30px;
    text-align: right;
  }

  .wow__form {
    display: none;
  }

  .wow__form_a {
    display: none;
  }

  .wow__callback {
    cursor: pointer;
    display: inline-block;
    border: none;
    border-radius: 8px;
    background-color: #DF0D33;
    color: #fff;
    width: auto;
    outline: 0;
    padding: 16px 32px;
  }

  .section_free-consult h2, .section_free-consult p {
    width: 100%;
  }

  .s-guarant__img-block {
    width: 300px;
    vertical-align: top;
  }

  .s-guarant__description {
    vertical-align: top;
  }

  .ww-list__item {
    width: 250px;
    margin-bottom: 60px;
  }

  .steps__item {
    width: 240px;
  }

  .wow__titles {
    width: 90%;
    padding-left: 32px;
  }

  .redesign_1 .wow__titles {
    padding-left: 0;
  }

  .wow__titles_anketa {
    width: 60%;
  }

  .header__menu_test-na-godnost {
    display: inline-block;
    position: absolute;
    margin: 20px;
    color: #de0d33;
    top: 60px;
    right: 18px;
  }
  .header__menu_btn {
    display: inline-block;
    position: absolute;
    top: 30px;
    right: 36px;
  }
  .menu {
    position: absolute;
    z-index: 10;
    top: 150px;
    left: 0;
    background-color: #003153;
    height: auto;
    width: 100%;
    padding: 20px;
    display: none;
  }

  .hww__sidebar {
    display: block;
    width: 100%;
  }

  .hww__item {
    display: inline-block;
    vertical-align: top;
    font-size: 18px;
    padding: 8px;
  }

  .hww__content {
    width: 100%;
    display: block;
  }

  .steps__item:after {
    display: none;
  }

  .services__header-tab {
    display: block;
    font-size: 18px;
    width: 100%;
  }

  .services__header {
    width: 100%;
  }

  .footer .menu {
    position: relative;
    top: 0;
  }

  .menu li {
    padding: 10px 0;
  }
  .section_heading {
    padding: 70px 20px 20px;
  }
  #free_consult .container {
    padding: 0;
  }
  .free_consult {
    padding: 20px;
    border-radius: 0;
  }
  .work__item {
    flex-direction: column;
  }
  .work__item__icon {
    margin: 0 auto 10px;
    border-radius: 40px;
  }
  .work__item__content {
    border-radius: 40px;
  }
  .work__item__heading {
    padding: 18px 70px 18px 30px;
  }
  .work__item__more a {
    font-size: 20px;
  }
  .why__plus {
    top: 15px;
  }
  #steps h2 {
    width: 100%;
    padding: 10px 15px 10px;
  }
  .services__item {
    width: 250px;
    margin-bottom: 15px;
  }

  .services__item_6 .services__price {
    top: 90px;
  }
  .slick-prev, .slick-next {
    top: 110%;
  }
  .slick-prev {
    left: 5%;
  }
  .slick-next {
    right: 5%;
  }
  .reviews__video_slider {
    margin-top: 40px;
  }
  .reviews__video_slider .slick-prev, .reviews__video_slider .slick-next {
    top: 103%;
  }
  .posts__more {
    margin-top: -20px;
  }
  .address__item {
    height: 280px;
    padding: 20px;
  }
  .address__name, .address__more {
    font-size: 16px;
  }
  .blog__minicard {
    flex-direction: column;
  }
  .blog__minicard_image {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
  }
  .blog__minicard_content {
    padding-left: 5px;
  }
  .mobile-menu {
    display: block;
    position: fixed;
    top: 0;
    left: -100%;
    bottom: 0;
    width: 320px;
    max-width: calc(100% - 70px);
    background-color: #003153;
    z-index: 30;
    overflow-y: scroll;
    transition: all 100ms ease-in-out;
  }

  .mm_opened {
    overflow: hidden;
  }

  .mm_opened .mobile-menu {
    left: 0;
    box-shadow: 8px 0 109px rgba(0, 0, 0, 0.5);
    transition: all 100ms ease-in-out;
  }

  .mm_opened .mobile-menu_overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    background-color: rgba(0, 49, 83, 0.6);
    z-index: 20;
  }

  .mobile-menu .menu {
    display: block;
    position: relative;
    top: 0;
    background-color: transparent;
  }
  .mobile-menu__logo {
    width: 160px;
    margin-left: 35px;
    overflow: hidden;
    border-radius: 0 0 8px 8px;
    font-size: 0;
    display: block;
  }
  .mobile-menu__logo-img {
    width: 100%;
  }
  .mobile-menu__social {
    padding: 32px 35px;
    border-top: 1px solid #fff3;
    border-bottom: 1px solid #fff3;
  }

  .mobile-menu__social .footer__social {
    margin-right: 16px;
    font-size: 0;
  }

  .mobile-menu__callback {
    padding: 32px;
  }

  .services__item_8 .services__price {
    top: 92px;
  }
}

@media (max-width: 640px) { 

  
  .mpb_4 {
    display: block;
  }

  .wow_img {
    display: none;
  }
  
  .mpb_2 {
    display: block;
    right: 0;
  }

  .section_wow .mpb_2 {
    display: block;
  }

  .scheme .mpb_2 {
    right: -32px;
    top: 360px;
  }

  .lblock__list {
    flex-direction: column;
  }

  .opened {
    padding-right: 0;
  }

  .mpb_2 img {
    width: 80px;
    transform: rotate(-18deg);
  }

  .mpb_3 {
    position: absolute;
    top: 32px;
    left: 50%;
    /*filter: blur(2px);*/
  }

  .kwiz_pb {
    font-size: 32px;
    color: #ffffff;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.31);
    border: 2px solid #fff;
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    position: relative;
  }

  .kwiz_l {
    position: absolute;
    width: 0;
    height: 100%;
    background: #de0d33;
    top: 0;
    border-radius: 4px;
    left: 0;
    z-index: -1;
    transition: all 200ms ease-in-out;
  }

  .a2kbp .kwiz_l {
    width: 100%;
    transition: all 200ms ease-in-out;
    -webkit-animation-duration: 4.8s;
    animation-duration: 4.8s;
    animation-fill-mode:forwards;
    -webkit-animation-name: progress_bar_anim;
    animation-name: progress_bar_anim;
  }

  .a2kbp .kwiz_pb {
    animation-delay: 4s;
    -webkit-animation-duration: 0.2s;
    animation-duration: 0.2s;
    animation-fill-mode:forwards;
    -webkit-animation-name: progress_bar_anim_t;
    animation-name: progress_bar_anim_t;
  }

  @keyframes progress_bar_anim {
    0% {
      width: 0%;
    }
    20% {
      width: 10%;
    }
    25% {
      width: 35%;
    }
    80% {
      width: 100%;
      transform: scale(1);
      opacity: 1;
    }
    100% {
      opacity: 0;
      transform: scale(3);
      width: 100%;
    }
  }

  @keyframes progress_bar_anim_t {
    0% {
      border-color: #fff;
    }
    100% {
      border-color: transparent;;
    }
  }

  .mpb_3 img {
    width: 50px;
    transform: rotate(30deg);
  }

  .header__contacts {
    display: none;
  }

  .mobile-menu .header__contacts {
    display: block;
    padding: 20px 32px;
    margin-top: 0;
    float: none;
  }

  .mobile-menu .header__phone a {
    color: #fff;
  }

  .mobile-menu .header__cities {
    color: #fff;
  }

  .mobile-menu .header__cities {
    font-size: 18px;
  }

  .mobile-menu .header__cities span {
    font-size: 20px;
  }

  .mobile-menu .header__callback {
    display: none;
  }

  .section_kwiz {
    padding: 0;
    background-attachment: scroll;
    position: relative;
    overflow: hidden;
  }

  .section_kwiz .mpb_2 img {
    box-shadow: none;
  }

  .scheme .mpb_2 img {
    box-shadow: none;
    width: 110px;
  }

  .section_kwiz .container {
    padding: 80px 16px;
    overflow: hidden;
    z-index: 2;
  }

  .reasons {
    background: none;
  }

  .reasons .container {
    padding: 0;
    display: block;
  }

  .reasons__right {
    background: url(../img/bg_h.jpg) 50% 50% no-repeat;
    background-size: cover;
  }

  .reasons__form {
    box-shadow: none;
  }

  .reasons__left {
    background-color: #f3f3f3;
    padding: 32px;
  }

  .reasons__left h2 {
    color: #111;
  }

  .reasons__item {
    color: #111;
    margin-bottom: 40px;
  }

  .reasons__icon {
    display: inline-block;
    vertical-align: top;
    width: 64px;
    height: 64px;
    margin-right: 12px;
    /*background: #ddd;*/
    border-radius: 50px;
  }

  .reasons__icon svg {
    fill: #123453;
    width: 100%;
    height: 100%;
  }

  .reasons__counter {
    position: absolute;
    width: 32px;
    top: -12px;
    left: -12px;
  }

  .redesign_1 .scheme__item {
        display: block;
    text-align: left;
    width: 100%;
    margin-bottom: 24px;
  }

  .reasons__text {
    width: calc(100% - 100px);
  }

  .scheme {
    overflow: hidden;
  }

  .redesign_1 .scheme__icon {
        width: 64px;
    height: 64px;
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 0;
    background-size: 32px;
  }

  .redesign_1 .scheme__title {
        display: inline-block;
    vertical-align: middle;
    padding-left: 16px;
    width: calc(100% - 80px);
    font-size: 22px;
    font-weight: 500;
    color: #444;
  }

  .redesign_1 .scheme__title br {
    display: none;
  }

  .redesign_1 .scheme__counter {
    top: -12px;
    left: -12px;
    width: 32px;
    height: 32px;
    text-align: center;
    font-weight: bold;
  }

  .redesign_1 .scheme__list {
    padding-left: 16px;
  }

  .redesign_1 .s-guarant__img {
      width: 60%;
      margin-bottom: 32px;
  }

  .redesign_1 .s-guarant__description h2 {
    font-size: 36px;
    line-height: normal;
    margin-bottom: 32px;
  }

  .redesign_1 .header__menu {
    width: 100px;
    margin-left: 0;
  }

  .header__cities, .header__cities a {
    font-size: 24px;
  }

  .header__cities {
    margin-right: 0;
    width: 100%;
  }

  .header__contacts-content {
    width: 100%;
  }

  .header__phone {
    margin: 8px 0;
  }

  .header__callback {
    padding: 16px;
    display: block;
  }

  .header__callback .button {
    text-align: center;
    background-color: transparent;
    border: 2px solid #DF0D33;
    margin-top: 16px;
    color: #DF0D33;
    width: 185px;
  }



  .redesign_1 .wow__titles {
    width: 100%;
  }

  .redesign_1.home .section_wow:after {
    display: none;
  }

  .section_kwiz h2 {
    font-size: 32px;
    line-height: normal;
  }

  .reasons__left, .reasons__right {
    width: 100%;
  }

  .wow__titles_anketa h1 {
    font-size: 23px;
    line-height: 1.4;
  }

  .s-guarant__img-block {
    width: 100%;
    display: block;
  }

  .wow__titles {
    width: 320px;
  }

  .anketa-img, .check-img {
    width: 400px;
    height: 400px;
    right: -35%;
  }

  .s-guarant__description {
    display: block;
    width: 100%;
  }

  .services__price {
    top: 58px;
  }

  .mobile-wrapper {
    overflow-x: scroll;
    display: block;
    width: 100%;
  }

  .consultate-form {
    flex-flow: column;
    align-items: center;
  }

  .consultant__buttons {
    margin-left: 0px;
  }

}

@media (max-width: 576px) {
  .section_heading {
    text-align: center;
  }

  .wow__get-anketa {
    width: 130%;
    text-align: center;
  }

  .wow__callback {
    font-size: 14px;
    padding: 16px;
  }

  .filials__item {
    width: 100%;
  }

  .anketa-img, .check-img {
    bottom: 50px;
  }

  .filials__link {
    height: 150px;
  }

  .why__item img {
    max-height: 140px;
  }
  .why__text {
    font-size: 18px;
  }
  .services__buttons {
    flex-direction: column;
  }
  .services__buttons button {
    width: 100%;
  }
  .button_taxes {
    margin-bottom: 10px;
  }
  .button_taxes, .button_options {
    border-radius: 40px;
  }
  .services__text {
    font-size: 17px;
  }
  .services__item {
    height: 250px;
  }
  .services__item h2 {
    font-size: 17px;
  }
  .services__item input {
    height: 40px;
    font-size: 16px;
    margin-top: 15px;
  }
  .reviews__slider__item {
    height: 100%;
  }
  .reviews__slider__image {
    margin-right: 10px;
  }
  .reviews__slider__content {
    width: 73%;
    background-color: #003153;
    border-radius: 10px 40px 40px 10px;
    color: #fff;
    padding: 10px 10px 40px;
  }
  .reviews__slider__name img {
    margin-top: 0;
    margin-right: 15px;
  }
  .reviews__slider__text {
    font-size: 15px;
    margin-top: 5px;
  }
  .reviews__video_slider iframe {
    max-height: 350px;
  }
  .slick-prev, .slick-next {
    top: 103%;
  }
  .posts__more {
    text-align: center;
  }
  .post {
    width: 100%;
  }
  .address__wrap {
    justify-content: space-around;
  }
  .address__item {
    width: 80%;
    height: 220px;
    margin-bottom: 20px;
  }
  .contacts {
    flex-direction: column;
    text-align: center;
    margin-top: 30px;
    padding: 30px 10px;
  }
  .contacts__social {
    margin-top: 10px;
  }
  .contacts__social img {
    width: 35px;
    height: 35px;
  }
}

@media (max-width: 480px) {

  .anketa-img, .check-img {
    right: -50%;
  }

  .scheme__item:after {
    display: none;
  }

}

@media (max-width: 430px) {
  * {
    font-size: 18px;
  }

  .wow__get-anketa {
    width: 100%;
  }

  .anketa-img, .check-img {
    display: none;
  }

  h1 {
    font-size: 24px;
  }
  h2 {
    font-size: 24px;
  }
  .wow__titles {
    padding-left: 0;
    width: 100%;
  }
  .wow__list {
    padding-left: 20px;
  }
  .redesign_1 .wow__list {
    padding-left: 0;
  }
  form input {
    font-size: 18px;
  }
  .why__item img {
    max-height: 120px;
  }
  .why__text {
    font-size: 14px;
  }
  .services__item h2 {
    font-size: 15px;
  }
  .services__item input {
    height: 40px;
    font-size: 12px;
    margin-top: 15px;
  }
  .services__text {
    font-size: 15px;
  }
  .services__more {
    font-size: 16px;
  }
  .reviews__video_slider iframe {
    max-height: 270px;
  }
  .test-na-godnost {
    font-size: 14px;
  }
}

@media (max-width: 360px) {
  .header__menu_test-na-godnost {
    right: -10px;
  }
}

