@media (max-width: 1000px) {
  header .header_top .right_block {
    min-height: initial;
  }
  header .header_top .right_block .slogan span {
    font-size: 15px;
    letter-spacing: normal;
    font-family: 'MyriadPro_Cond', sans-serif;
  }
  header .header_top .right_block .slogan h1,
  header .header_top .right_block .slogan p {
    font-size: 18px;
  }
  header .header_top .right_block .links_block {
    min-height: initial;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  header .header_top .right_block .links_block .address {
    width: 100%;
    min-height: 46px;
    line-height: 23px;
    padding: 0 10px 0 50px;
  }
  header .header_top .right_block .links_block .address br {
    display: none;
  }
  header .header_top .right_block .links_block .address br:first-child {
    display: block;
  }
  header .header_top .right_block .links_block .address:after {
    top: 0;
  }
  header .header_top .right_block .links_block .links {
    justify-content: flex-start;
    padding: 0;
    margin: 0;
  }
  header .header_top .right_block .links_block .links a {
    min-width: initial;
    margin: 5px 5px;
  }
  header .header_top .right_block .links_block .links a.site {
    display: none;
  }
  header .header_top .right_block .links_block .links a.skype {
    display: none;
  }
  header .header_top .right_block .links_block .social_links {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 200px;
    padding: 10px;
    margin: 0 auto;
  }
  header .header_top .right_block .links_block .social_links span {
    display: none;
  }
  header .header_top .right_block .links_block .social_links a {
    display: none;
  }
  header .header_top .right_block .links_block .social_links .feedback {
    width: 180px;
    min-width: 180px;
    height: 30px;
    line-height: 30px;
    border-radius: 15px;
    background: #9b2d30;
    color: #fff;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
  }
  header .header_top .right_block .links_block .social_links .feedback:hover {
    background: #273840;
  }
  header nav {
    min-height: 42px;
  }
  header nav .mobile_menu {
    display: block;
  }
  header nav ul {
    display: none;
  }
  header nav ul li {
    height: 30px;
    line-height: 30px;
    margin: 5px auto;
  }
  header nav ul li.current-menu-item a {
    color: #fff;
    background: #d13337;
    padding: 0 30px;
  }
  header nav ul li.menu-item-has-children:hover .sub-menu {
    display: none;
  }
  header nav ul li.menu-item-has-children .sub-menu {
    display: none;
  }
  .feedback .wpcf7-form .inp_index,
  .pum-open .feedback .wpcf7-form .inp_index,
  .feedback .wpcf7-form .inp_punkt,
  .pum-open .feedback .wpcf7-form .inp_punkt,
  .feedback .wpcf7-form .inp_street,
  .pum-open .feedback .wpcf7-form .inp_street,
  .feedback .wpcf7-form .inp_email,
  .pum-open .feedback .wpcf7-form .inp_email,
  .feedback .wpcf7-form .inp_fio,
  .pum-open .feedback .wpcf7-form .inp_fio,
  .feedback .wpcf7-form .inp_soc,
  .pum-open .feedback .wpcf7-form .inp_soc,
  .feedback .wpcf7-form .inp_status,
  .pum-open .feedback .wpcf7-form .inp_status {
    width: 100%;
    max-width: 380px;
    min-width: 285px;
  }
  footer .footer_top {
    height: 2px;
    min-height: initial;
  }
  footer .footer_top .container {
    display: none;
  }
  footer .footer_bottom .container {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }
  footer .footer_bottom .container .footer_logo {
    display: none;
  }
  footer .footer_bottom .container .right_block .links_block {
    flex-wrap: wrap;
  }
  footer .footer_bottom .container .right_block .links_block .links {
    max-width: initial;
  }
  footer .footer_bottom .container .right_block .links_block .links a {
    min-width: initial;
    min-height: 40px;
  }
  footer .footer_bottom .container .right_block .links_block .links a.phone:after {
    display: block;
    content: '';
    background: url("https://nko-sp.ru/wp-content/themes/new_theme/img/phone.png") no-repeat;
    width: 46px;
    height: 39px;
    position: absolute;
    top: 0;
    left: 0;
  }
  footer .footer_bottom .container .right_block .links_block .links a.email:after {
    display: block;
    content: '';
    background: url("https://nko-sp.ru/wp-content/themes/new_theme/img/email.png") no-repeat;
    width: 46px;
    height: 39px;
    position: absolute;
    top: 0;
    left: 0;
  }
  footer .footer_bottom .container .right_block .links_block .links a.site:after {
    display: block;
    content: '';
    background: url("https://nko-sp.ru/wp-content/themes/new_theme/img/site.png") no-repeat;
    width: 46px;
    height: 39px;
    position: absolute;
    top: 0;
    left: 0;
  }
  footer .footer_bottom .container .right_block .links_block .links a.skype:after {
    display: block;
    content: '';
    background: url("https://nko-sp.ru/wp-content/themes/new_theme/img/skype.png") no-repeat;
    width: 46px;
    height: 39px;
    position: absolute;
    top: 0;
    left: 0;
  }
  footer .footer_bottom .container .right_block .links_block .links .address {
    min-width: initial;
    margin: 0;
    width: 300px;
  }
  footer .footer_bottom .container .right_block .links_block .links .address:after {
    display: block;
    content: '';
    background: url("https://nko-sp.ru/wp-content/themes/new_theme/img/location.png") no-repeat;
    width: 43px;
    height: 46px;
    position: absolute;
    top: 10px;
    left: 5px;
  }
  footer .footer_bottom .container .right_block .links_block .social_links {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 230px;
    padding: 10px;
    margin: 0 auto;
  }
  footer .footer_bottom .container .right_block .links_block .social_links span {
    width: 100%;
    min-width: 100%;
  }
  footer .footer_bottom .container .right_block .links_block .social_links a {
    display: block;
    width: 43px;
    height: 40px;
    margin: 5px auto;
  }
  footer .footer_bottom .container .right_block .links_block .social_links a.yt {
    background: url("https://nko-sp.ru/wp-content/themes/new_theme/img/youtube.png") no-repeat;
  }
  footer .footer_bottom .container .right_block .links_block .social_links a.inst {
    background: url("https://nko-sp.ru/wp-content/themes/new_theme/img/insta.png") no-repeat;
  }
  footer .footer_bottom .container .right_block .links_block .social_links a.vk {
    background: url("https://nko-sp.ru/wp-content/themes/new_theme/img/vk.png") no-repeat;
  }
  footer .footer_bottom .container .right_block .links_block .social_links a.ok {
    background: url("https://nko-sp.ru/wp-content/themes/new_theme/img/ok.png") no-repeat;
  }
  footer .footer_bottom .container .right_block .links_block .social_links .policy,
  footer .footer_bottom .container .right_block .links_block .social_links .site_map {
    display: block;
    width: 100%;
    font-size: 14px;
    color: #0976b8;
    text-decoration: none;
    height: auto;
  }
  footer .footer_bottom .container .right_block .links_block .social_links .author {
    display: block;
    background: url("https://nko-sp.ru/wp-content/themes/new_theme/img/author.png") no-repeat;
    width: 80px;
    height: 19px;
    margin: 5px 0;
  }
  .contacts_page .links_block .links {
    max-width: 100%;
  }
  .contacts_page .maps .yandex_map {
    max-width: 100%;
  }
  .contacts_page table {
    border-collapse: collapse;
  }
  .contacts_page table tr td {
    display: block;
    width: 100% !important;
  }
  .contacts_page table tr td table tr td {
    width: 50% !important;
    display: table-cell;
    border: none;
  }
  main .map {
    display: none;
  }
}
@media (max-width: 660px) {
  h1,
  h2 {
    font-size: 20px;
    line-height: 30px;
    padding: 10px;
  }
  header .header_top {
    flex-wrap: wrap;
    justify-content: center;
  }
  header .header_top .logo {
    width: 150px;
    min-width: 150px;
    height: 150px;
    background-size: contain;
  }
  header .header_bottom {
    min-height: 50px;
  }
  header .header_bottom .container .hot_line,
  header .header_bottom .container .fvi {
    display: none;
  }
  header .header_bottom .container #searchform {
    margin: 5px auto;
  }
  main .banner .ms-slide-info {
    bottom: 0 !important;
  }
  main .banner .btn {
    display: block;
    width: 135px;
    height: 35px;
    line-height: 35px;
    font-size: 12px;
  }
  main .content_top .forward {
    width: auto;
    padding: 0 5px;
    min-width: 100px;
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  main .banner {
    display: none;
  }
  main .block_news .item,
  main .block_reviews .item {
    display: none;
  }
  main .block_news .item:first-child,
  main .block_reviews .item:first-child {
    display: block;
  }
  main .block_news .block_photo .item,
  main .block_reviews .block_photo .item {
    max-width: 300px;
    min-width: 300px;
    height: 169px;
  }
  main .block_news .block_photo .item .item_thumb,
  main .block_reviews .block_photo .item .item_thumb {
    width: 100%;
    height: 100%;
  }
  main .block_news .block_photo .item .item_title,
  main .block_reviews .block_photo .item .item_title {
    font-size: 14px;
  }
  main .block_departments .item {
    max-width: 140px;
    margin: 5px;
  }
  main .block_departments .item .item_thumb img {
    max-width: 130px;
  }
  main .block_departments .item .item_title {
    font-size: 12px;
  }
  main .block_photo .item {
    min-width: 300px;
    font-size: 14px;
  }
  main .block_photo .item .item_thumb img {
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .search .items_block .item {
    justify-content: center;
    flex-wrap: wrap;
  }
  .contacts_page table {
    border-collapse: collapse;
  }
  .contacts_page table tr td {
    text-align: center;
  }
  .contacts_page table tr td table tr td {
    display: block;
    border: none;
    width: 100% !important;
  }
}
