@media screen and (max-width: 1400px) {
  header {
    height: auto;
  }
  header.content_phone .phone_wrap {
    font-size: 1em;
  }
}
@media screen and (max-width: 1200px) {
  h1,
  h2,
  .header_about .top_title {
    font-size: 56px;
  }

  .phone_wrap .phone_top {
    font-size: 22px;
  }

  .button_black a {
    width: 200px;
    height: 44px;
    font-size: 14px;
  }

  .header_about .top_title2 {
    font-size: 28px;
  }

  .header_about .top_about {
    font-size: 18px;
  }

  .header_img img {
    width: 600px;
  }

  #doiposle .slider .img-gallery {
    height: auto;
    aspect-ratio: 1/1;
  }

  #form_sect {
    flex-wrap: wrap;
    justify-content: center;
  }

  .container_form_sect_text .soglasie {
    margin-top: 20px;
  }

  #price #price_index {
    margin-top: 20px;
  }

  #introduction {
    height: auto;
    min-height: 500px;
  }

  #introduction .header_about_back {
    height: 550px;
  }

  #introduction .header_about {
    margin-top: 20px;
  }

  #introduction .header_img {
    margin-top: 0;
  }

  #introduction .header_about .top_title,
  #introduction .header_about .top_about {
    max-width: max-content;
  }

  #introduction .header_about .top_title,
  #introduction .header_about .top_about {
    margin-left: 10px;
    width: fit-content;
    padding-right: 10px;
  }

  .operation_info .oper_item {
    padding: 0;
  }

  .operation_info .oper_item_header {
    margin: 0 20px;
  }

  .operation_info .oper_item_header h3 {
    margin-top: 10px;
    font-size: 22px;
    margin-left: 65px;
  }

  .operation_info .opisanie_procedury {
    margin: 20px 20px 0 20px;
  }

  .operation_info2 .oper_block2 {
    margin: 0;
  }

  .operation_info2 img,
  .reabilitation_info img {
    width: 100%;
    height: auto;
  }

  .operation_info2 {
    min-height: auto;
  }

  .operation_info2 .oper_block2,
  .reabilitation_info .reabilitation_block {
    padding-left: 20px;
  }

  .container_form_sect_text {
    margin-top: 20px;
  }

  #price .item {
    height: 60px;
  }

  .news_page .item h3 {
    padding-top: 100px;
  }

  #otzyv .review-item {
    padding: 15px;
  }

  #otzyv .owl-item .preview-text {
    font-size: 14px;
    margin-top: 15px;
  }
}

@media screen and (max-width: 998px) {
  header {
    height: auto;
    padding: 10px 0;
  }
  header.active-header-scroll {
    padding-top: 100px;
  }
  .desktop_header {
    height: 100px;
  }
  .desktop_header .container {
    max-width: calc(100% - 30px);
  }
  .active-header-scroll .desktop_header {
    height: 100px;
    top: -100px;
    transform: translateY(100px);
  }
  .logo a img {
    width: 100%;
  }
  h1,
  h2,
  .header_about .top_title {
    font-size: 48px;
  }

  .nav_wrap .phone_wrap .phone_top {
    font-size: 18px;
  }

 #catalog_page .images_slider {
    padding: 60px 10px;
  }

  .button_black,
  .hamburger-menu {
    margin-left: 10px;
  }

  #section_top .container,
  .container_operation {
    max-width: 100%;
    width: 100%;
  }
#catalog_page .opisanie-uslugi, #catalog_page .opisanie-uslugi .row {
  font-size: 16px;
}

  #price .item {
    font-size: 16px;
  }

  #map .contact_wrap {
    font-size: 18px;
  }

  #map .row_social a img {
    width: 44px;
  }

  footer .copyright {
    font-size: 16px;
  }

  footer .news-menu a {
    font-size: 16px;
    line-height: 2;
  }

  .top_nav .row {
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .top_bottom,
  .phone_wrap {
    justify-content: space-between;
  }

  .phone_wrap .phone_top {
    font-size: 20px;
  }

  .hamburger-icon {
    display: block;
  }

  .hamburger-menu {
    display: block;
    order: 1;
    width: auto;
  }

  .menu-wrapper {
    display: none;
    position: absolute;
    top: 100%;
    right: 20px;
    background: #fff;
    z-index: 1000;
    width: 250px;
    -webkit-box-shadow: 0px -5px 5px -5px var(--color-ten) inset;
    -moz-box-shadow: 0px -5px 5px -5px var(--color-ten) inset;
    box-shadow: 0px -5px 5px -5px var(--color-ten) inset;
  }

  .menu-wrapper.active {
    display: block;
  }

  .top-menu {
    flex-direction: column;
    padding: 10px;
  }

  .navigation__item {
    margin: 5px 0;
  }

  #catalog .owl-nav {
    right: 10%;
  }

  #doiposle .slider .item {
    height: auto;
  }

  .news_page .item h3 {
    padding-top: 35%;
    font-size: 18px;
  }
}

@media screen and (max-width: 768px) {
      #map-container {
        height: 300px;
    }
  header {
    padding: 0;
  }

  h1,
  h2,
  .header_about .top_title {
    font-size: 44px;
  }

  .logo {
    height: 100%;
    padding: 10px 0;
  }
  .logo a img {
    width: auto;
  }
.menu-wrapper.active .logo a img {
    width: 100%;
  }
  .button_black {
    justify-content: center;
    display: flex;
  }
  .mobile_header {
    display: block;
    position: relative;
    transition: all 0.5s ease-in-out;
  }

  .desktop_header {
    display: none !important;
  }

  .mobile_header .row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    width: 100%;
    margin: 0;
    align-items: center;
  }

  .mobile_header .row:first-child {
    background-color: var(--color-black);
    justify-content: space-between;
    height: 60px;
  }

  .mobile_header .row:last-child {
    height: 70px;
  }
  header.active-header-scroll {
    padding-top: 130px;
  }
  .active-header-scroll .mobile_header {
    position: fixed;
    background: #fff;
    width: 100%;
    top: -60px;
    -webkit-box-shadow: 0 7px 8px -4px rgba(0, 0, 0, 0.16),
      0 7px 8px -4px rgba(0, 0, 0, 0.23);
    box-shadow: 0 7px 8px -4px rgba(0, 0, 0, 0.16),
      0 7px 8px -4px rgba(0, 0, 0, 0.23);
    transform: translateY(60px);
    transition: all 0.5s ease-in-out;
  }

  .active-header-scroll .mobile_header .row:last-child {
    display: none;
  }

  .active-header-scroll .menu-wrapper {
    top: 60px;
  }

  .content_phone {
    font-size: 1em;
  }

  .hamburger-menu {
    order: 0;
  }

  .hamburger-icon span {
    background: var(--color-light);
  }

  .mobile_header .content_wrap {
    width: auto;
  }

  .mobile_header .button_wrap {
    display: flex;
    align-items: center;
  }

  .mobile_header .menu-wrapper {
    top: 60px;
    right: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-light);
    padding-bottom: 20px;
  }

  .mobile_header .content_wrap {
    display: flex;
  }

  .mobile_header .content_wrap a {
    color: var(--color-light);
  }


  .mobile_header .menu-wrapper.active .logo {
    width: 220px;
    height: auto;
    margin: auto;
    margin-top: 25px;
  }

  .mobile_header .social_wrap_menu {
    margin-top: 20px;
  }

  .mobile_header .social_wrap_menu .social_wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .mobile_header .social_wrap_menu .social_wrap span {
    font-weight: 600;
    font-size: 18px;
  }

  .mobile_header .social_wrap_menu .social_wrap .row_social {
    margin-top: 20px;
  }

  .mobile_header .button_mobile_menu {
    margin-top: 20px;
  }

  #section_top {
    height: auto;
  }

  .header_img {
    max-height: 330px;
    display: flex;
    justify-content: center;
  }

  .header_img img {
    display: block;
    width: auto;
    height: 100%;
    position: relative;
    top: 0;
    right: 0;
  }

  .header_about {
    background-color: var(--color-black);
    padding: 15px 10px;
  }

  .header_about .top_title {
    margin-top: 0;
  }

  .header_about .top_title2 {
    font-size: 24px;
  }

  .header_about .top_about {
    font-size: 16px;
    margin-left: 0;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .header_about_back {
    display: none;
  }
  .header_about_back,
  .header_img_back {
    width: 100%;
  }
  #about_page .header_about {
    background: none;
  }

  #about_page .header_img img {
    position: relative;
    display: block;
    bottom: 0;
    right: 0;
    width: auto;
    margin: 0 10%;
    height: 100%;
  }

  #container_form_sect {
    height: auto;
    padding: 20px 0;
  }

  #container_form_sect .container,
  #price .container,
  #map .container,
  footer .container,
  .operation_info2 .container,
  .reabilitation_info .container,
  .container_zagolovok .container {
    margin: 0;
    width: 100%;
    max-width: 100%;
  }

  #introduction {
    height: 500px;
  }

  #introduction .header_about_back {
    height: 480px;
  }

  #introduction .header_img .img_wrap {
    width: 320px;
    height: 320px;
    right: -50px;
  }

  #introduction .header_img .img_border {
    right: -50px;
    width: 290px;
    height: 290px;
  }

  #introduction .header_about .top_title,
  #introduction .header_about .top_about {
    margin-left: 60px;
  }
.catalog_page .introduction_header, .operation_info h2{
  margin-top: 25px;
}
  .operation_info2,
  .reabilitation_info {
    padding: 25px 0;
  }

  .operation_info .oper_item_header img {
    position: relative;
    top: auto;
  }

  .operation_info .oper_item_header {
    padding-top: 10px;
    margin: 0 10px;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    text-align: center;
  }

  .operation_info .oper_item_header h3 {
    padding-top: 10px;
    margin: 0;
  }

  .operation_info .opisanie_procedury {
    margin: 10px;
  }

  .operation_info .opisanie_procedury ul {
    padding: 0;
    padding-left: 20px;
  }

  #price {
    height: auto;
    padding-bottom: 30px;
  }

  #price .label {
    order: 2;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    margin-top: 0;
  }

  #price .flag {
    position: relative;
    top: 0;
  }

  #price .label p {
   /* margin-left: 15px;*/
    margin-top: 15px;
    font-size: 0.9rem;
  }
  .price_page #price .label {
    width: 90%;
    margin: 0 5%;
    align-items: start;
  }
 #catalog_page .opisanie-uslugi {
    padding: 25px 0;
  }
 #catalog_page .opisanie-uslugi .row {
    margin-top: 25px;
    font-size: 1em;
  }
 #catalog_page .opisanie-uslugi h3 {
    font-size: 1.2em;
  }
 #catalog_page .owl-carousel {
    margin-top: 25px;
  }

  .container_contacts {
    text-align: center;
  }

  footer .container {
    flex-wrap: wrap;
    justify-content: center;
  }

  footer .policy,
  footer .copyright,
  footer .rp_wrap {
    text-align: center;
  }

  .bottom_menu {
    margin-top: 20px;
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
  }

  .news_page .item {
    width: calc(50% - 20px);
  }

  #introduction .header_about .top_title,
  #introduction .header_about .top_about {
    margin-left: 40px;
  }

  #introduction .header_img {
    z-index: 15;
  }

  #introduction .header_img .img_wrap,
  #introduction .header_img .img_border {
    right: -10px;
  }

  #doiposle .owl-nav button {
    width: 32px;
    height: 32px;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    color: var(--color-black);
    border: 1px solid var(--color-black);
    margin: 0 5px;
    font-size: 18px;
  }
}

@media screen and (max-width: 680px) {
  #container_form_sect {
    text-align: center;
  }

  #container_form_sect input.phoneform {
    width: calc(100% - 60px);
    margin: 0 30px;
  }

  .button-fb {
    width: calc(100% - 60px);
    margin: 0 30px;
    margin-top: 20px;
  }

  #introduction .header_about .top_title,
  #introduction .header_about .top_about {
    margin-left: 10px;
  }

  .operation_info .oper_item {
    height: auto;
    min-height: 600px;
    width: calc(100% - 100px);
    margin: 10px 25px;
  }

  .operation_info .oper_item_header {
    margin: 0 20px;
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .operation_info .opisanie_procedury {
    margin: 20px;
  }

  .cc_container {
    flex-direction: column;
    text-align: center;
    padding: 15px 15px;
  }

  .cc_message {
    margin: 0 0 20px 0 !important;
  }

  .cc_btn_accept_all {
    width: 100%;
    max-width: 280px;
  }
}

@media screen and (max-width: 576px) {
  .header_about .top_title {
    font-size: 28px;
  }

  h1,
  h2 {
    font-size: 34px;
  }
  #introduction h1,
  #introduction h2 {
    font-size: 1em;
  }

  h2 {
    margin-left: 20px;
  }

  .button_black {
    margin: 0;
    padding: 0;
    width: 100%;
  }

  .button_black a {
    width: 100%;
    font-size: 0.8em;
  }

  #section_top {
    height: auto;
  }

  .header_about .top_title {
    margin: 0;
  }

  .header_about .top_title2 {
    font-size: 16px;
  }

  .header_about .top_about {
    font-size: 0.9rem;
    margin: 0;
  }

  .top_about p {
    display: none;
  }

  .top_about p:first-child {
    display: block;
  }

  #about .top_about p {
    display: block;
  }

  a.button_light {
    width: 100%;
  }

  #catalog {
    padding: 35px 0;
  }

  #catalog .owl-nav button {
    width: 32px;
    height: 32px;
  }

  #catalog .container_catalog {
    margin-top: 25px;
  }

  #catalog .owl-nav {
    right: 30px;
    left: 0;
    top: -65px;
  }


  #doiposle .nav-tabs {
    margin-top: 5px;
  }

  #doiposle li.nav-item:first-child {
    padding-left: 5px;
  }

 #catalog_page .owl-carousel {
    margin-top: 10px;
  }
  .price_wrap {
    padding: 0;
  }

  .price_wrap .container {
    padding: 0;
  }

  #price #price_index {
    margin-top: 0;
  }

  #price .item {
    height: auto;
    padding: 5px 0;
  }

  #container_form_sect h2 {
    text-align: center;
    margin: 0;
    margin-top: 15px;
  }

  .container_form_sect_text .soglasie {
    width: calc(100% - 60px);
    margin: 0 30px;
    margin-top: 0px;
    margin-top: 20px;
    padding: 0;
  }

  .container_form_sect_text .soglasie span {
    text-align: start;
    font-size: 0.85em;
  }

  .container_form_sect_text .soglasie span a {
    font-size: 0.85em;
  }

  #otzyv .owl-nav button {
    width: 32px;
    height: 32px;
  }

  #map {
    padding-top: 35px;
  }

  #map h2 {
    font-size: 36px;
    margin: 0;
    text-align: left;
  }

  #map .contact_wrap {
    font-size: 16px;
  }

  #map .contact_wrap .content_wrap {
    width: 100%;
    justify-content: left;
    font-size: 22px;
    margin-top: 25px;
  }

  #map .contact_wrap i {
    margin-right: 5px;
    margin-top: 8px;
  }

  #map .container_contacts {
    text-align: left;
  }

  #map .container_contacts .row .contact_wrap:nth-child(2n) {
    align-items: start;
  }

  #map .row_social a img {
    width: 50px;
  }

  #map .container_contacts .row .contact_wrap::nth-child(3n) span {
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
  }

  #map .contact_wrap .row_social {
    justify-content: center;
  }

  #map .row_social a {
    padding: 0 15px;
  }

  #map .contact_wrap .social_wrap {
    text-align: center;
    margin-top: 50px;
  }

  #map .contact_wrap .social_wrap span {
    font-weight: 600;
  }

  .desktop-view {
    display: none;
  }

  .mobile-view {
    display: block;
  }

  #map .button_black {
    width: calc(100% - 60px);
    margin: 30px 30px 15px;
  }

  #map .button_black a {
    font-size: 20px;
  }
  .container_contacts .row {
    margin-top: 0;
  }
  footer {
    padding: 20px 0;
  }

  footer .container {
    flex-direction: column;
    text-align: center;
  }

  footer .menu_1 {
    order: 0;
  }

  footer .menu_2 {
    order: 1;
  }

  footer .policy {
    order: 2;
    margin-top: 50px;
  }

  footer .rp_wrap {
    order: 3;
    margin-top: 30px;
  }

  footer .copyright {
    flex-direction: column;
    justify-content: space-around;
  }

  footer p {
    margin: 0;
  }

 #catalog_page .images_slider {
    padding: 0 10px;
    margin-top: 25px;
  }
  .operation_info {
    margin-top: 25px;
  }
  .operation_info .container_operation {
    margin: 25px auto;
  }
  #otzyv .owl-item .author {
    font-size: 1.1rem;
    line-height: 1.1;
  }
  #otzyv .owl-item .rating {
    font-size: 1.1rem;
  }
  #otzyv .owl-item .preview-text {
    font-size: 0.9rem;
  }
  #otzyv .more {
    right: 15px;
    bottom: 10px;
    font-size: 0.9rem;
  }
  #reviewModal .modal-header,
  #reviewModal .modal-header h5 {
    font-size: 1.4rem;
    font-style: normal;
  }

  #reviewModal .modal-body {
    font-size: 0.9rem;
  }
  .index-map .container_contacts {
    margin-top: 0;
  }
  #about_page .header_about .top_title {
    margin-top: 15px;
  }

  #about_page .top_about p {
    display: block;
  }

  .news_page .item {
    width: calc(100% - 100px);
    margin: 10px auto;
  }

  .news_page .item h3 {
    font-size: 32px;
  }

  #introduction {
    height: auto;
    min-height: 340px;
  }

  #introduction .row {
    flex-direction: column;
    align-items: end;
    width: 100%;
    height: 100%;
  }

  #introduction .header_img {
    margin: 10px auto;
    width: 100%;
  }

  #introduction .header_img .img_wrap,
  #introduction .header_img .img_border {
    right: 0;
    left: 20px;
  }

  #introduction .header_about {
    margin: 50px 0 auto;
    z-index: 20;
  }

  .operation_info .oper_item_header {
    height: 120px;
  }

  .operation_info .oper_item {
    min-height: 400px;
  }

  .operation_info .oper_item_header h3 {
    margin-left: 20px;
    text-align: start;
  }

  .operation_info .oper_item_header {
    padding: 0;
  }

  .operation_info2 .row,
  .reabilitation_info .row {
    margin: 25px 0;
    flex-wrap: wrap;
    flex-direction: column;
  }

  .operation_info2 .oper_block2,
  .reabilitation_info .reabilitation_block {
    padding: 0;
    margin: auto;
    margin-top: 20px;
  }

  .doiposle_page #catalog {
    padding: 0;
    padding-bottom: 25px;
  }

  #otzyv .owl-nav {
    top: -60px;
    right: 15px;
  }
  #price h2 {
    margin: 25px 0;
  }
  #price .item_first {
    font-size: 1.3rem;
  }
  #price .item {
    font-size: 0.9rem;
  }
  .container_form_sect_text .soglasie input {
    margin: 2px 5px 5px 0px;
  }

  #otzyv .owl-carousel .owl-stage {
    height: auto;
  }

  #popupModal .modal-header h5 {
    font-size: 1.3em;
    padding: 35px 0 25px;
  }

  #popupModal .form-control {
    font-size: 1em;
    margin: 0 5%;
    width: 90%;
    margin-bottom: 25px;
  }
  #popupModal .soglasie {
    width: 90%;
    margin: 0 5%;
  }
  #popupModal .form-control {
    height: 3rem;
  }
  #popupModal .button_black {
    width: 90%;
    height: 54px;
    margin: 25px 5% 10px;
    height: 3rem;
  }
  #popupModal .modal-body #popup_form {
    padding-bottom: 35px;
  }
  #popupModal .logo {
    margin-bottom: 25px;
  }
}
@media screen and (max-width: 440px) {
  .flag {
    width: 5rem;
  }

  .news_page .item {
    width: calc(100% - 40px);
    margin: 10px auto;
  }

  .operation_info2 .row,
  .reabilitation_info .row {
    margin-bottom: 25px;
    flex-wrap: wrap;
    flex-direction: column;
  }

  #otzyv .owl-item {
    opacity: 0;
  }

  #otzyv .owl-item {
    height: 300px;
  }

  #otzyv .owl-item {
    height: 100%;
  }

  #price .item_first div:first-child,
  #price .item span:first-child {
    padding: 10px;
    width: 70%;
  }

  #price .item_first {
    width: 100%;
    padding: 0;
  }

  #price .item_first div:last-child,
  #price .item span:last-child {
    width: 30%;
    margin: 0;
  }
   #catalog_page .custom-prev,
 #catalog_page .custom-next {
    width: 32px;
    height: 32px;
    margin: 0;
  }
}

@media screen and (max-width: 380px) {
  .operation_info .oper_item_header img {
    width: 45px;
    height: 45px;
  }

  .operation_info .oper_item_header {
    height: 100px;
  }

  .policy-page h1 {
    font-size: 2em;
  }
}
