@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1200px;
    }
}
@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1400px;
    }
    .is-form-style {
        width: 310px;
    }
    .is-form-style.is-form-style-3 input.is-search-input {
        height: 45px;
    }
}

@media all and (max-width: 1400px) {
    body {
        font-size: 16px;
    }
    h2 {
        font-size: 50px;
    }
    .news-foto {
        width: 260px;
        min-width: 260px;
    }
    #news .news-foto {
        width: 200px;
        min-width: 200px;
    }
    .cta-subtitle {
        font-size: 22px;
    }
    #footer-blocks h2.form-callback {
        font-size: 18px;
    }
    .navbar-expand-lg .navbar-nav {
        gap: 15px;
    }
}

@media all and (max-width: 1200px) {
    #page {
        padding-top: 80px;
    }
    #header-wrapper {
        height: auto;
        padding-bottom: 10px;
    }
    .navbar-expand-lg .navbar-nav {
        gap: 10px;
    }
    #leaderboard,
    .header-contacts a, .navbar-expand-lg .navbar-nav .nav-link {
        font-size: 14px;
    }
    .header-contacts svg {
        width: 25px;
        height: auto;
    }
    .branding {
        width: 100px;
        position: relative;
        top: 0px;
        left: 0px;
        transform: unset;
    }
    .worktime {
        display: none;
    }
    #menu-wrapper.fixed .navbar-expand-lg .navbar-nav {
        gap: unset;
    }
    #footer-blocks h2.form-callback {
        font-size: 20px;
    }
    .footer-left .form-policy {
        padding-right: 10px;
    }
    .news-foto {
        width: 200px;
        min-width: 200px;
    }
    .news-title {
        font-size: 18px;
    }
    .team-right img {
        max-width: 100%;
    }
    .team-left strong {
        font-size: 20px;
    }
    .team-stag_inner {
        font-size: 20px;
    }
    h1,
    h2 {
        font-size: 32px;
    }
    h3 {
        font-size: 26px;
        margin-bottom: 20px;
    }
    .intro-form {
        max-width: 90%;
        padding: 20px;
    }
    .team-carousel {
        margin: 0px;
        padding: 0px 30px;
    }
    .team-carousel .slick-arrow {
        left: 10px;
    }
    .team-carousel .slick-arrow.slick-next {
        left: auto;
        right: 10px;
    }
    .services-title {
        font-size: 16px;
    }
    .serv-slider .slick-arrow {
        left: 15px;
    }
    .serv-slider .slick-arrow.slick-next {
        left: auto;
        right: 15px;
    }
    .serv-btns {
        gap: 15px;
    }
    .cta-title {
        font-size: 26px;
    }
    .cta-subtitle {
        font-size: 18px;
    }
    .form-flex {
        display: flex;
        justify-content: center;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    #cta {
        padding: 60px 0px;
    }
    .cta-form {
        padding: 30px 30px 0px 30px;
        text-align: center;
    }
    .cta-form::after {
        display: block;
        content: '';
        width: 414px;
        height: 443px;
        background: url(../images/cta-pic.png) center center no-repeat;
        background-size: contain;
        position: relative;
        bottom: 0px;
        right: 0px;
        margin: 25px auto 0px auto;
    }
    .fs-text {
        font-size: 32px;
        margin-bottom: 30px;
    }
    .form-flex .form-item {
        padding-right: 0px;
    }
    .why-text p:first-child {
        font-size: 16px;
    }
    #footer-blocks h2.form-callback {
        font-size: 16px;
    }
    .services-meta {
        padding: 15px;
    }
    .about-right_wrapper {
        min-width: unset;
        background: none;
        backdrop-filter: unset;
        padding: 0px;
        margin-bottom: 0px;
    }
    .slider-nav {
        padding-bottom: 50px;
    }
    .ivs_carousel {
        margin-bottom: 50px;
    }
}

@media all and (max-width: 960px) {
    #leaderboard .location {
        display: none;
    }
    .is-form-style {
        display: block;
        margin: 0px;
        width: 100%;
    }
    #footer-blocks h2.form-callback {
        text-align: center;
    }
    .contact-item {
        justify-content: center;
    }
    .slide-item {
        height: auto;
        padding-top: 250px;
    }
    .fs-form_title {
        font-size: 20px;
    }
    .fs-left {
        padding-top: 20px;
    }
    .why-row {
        display: flex;
        justify-content: space-between;
        position: relative;
        bottom: 0px;
        background: #ccc;
        padding: 30px 0px;
        color: #333;
    }
    #menu-wrapper.fixed {
        backdrop-filter: unset;
    }
    #menu-wrapper,
    #navbarNavOffcanvas {
        background: #fff;
    }
    .offcanvas-header .btn-close {
        filter: unset;
    }
    #header-wrapper {
        padding-bottom: 0px;
    }
    .is-form-style {
        display: block;
    }
    .is-form-style.is-form-style-3 input.is-search-input {
        height: 35px !important;
    }
    .navbar-toggler {
        box-shadow: unset !important;
        border: 0px !important;
    }
    .navbar-expand-lg {
        order: 2;
    }
    .navbar-toggler-icon {
        background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") center center no-repeat;
    }
    .navbar-toggler {
        margin-left: auto;
    }
    .form-title {
        font-size: 24px;
    }
    .form-subtitle {
        font-size: 20px;
    }
    .intro-form .wpcf7 input[type="submit"] {
        width: auto;
    }
    .footer-left {
        padding-bottom: 25px;
    }
    .footer-left .wpcf7 {
        max-width: unset;
    }
    .footer-right {
        padding-top: 15px;
    }
    .footer-right .form-policy {
        text-align: center;
    }
    #footer .container {
        flex-direction: column;
        gap: 10px;
    }
    .footer-left .form-policy {
        padding-right: 0px;
    }
    .footer-left .form-action {
        display: flex;
        justify-content: flex-end;
        flex-direction: column;
        gap: 15px;
        align-content: center;
        justify-content: center;
    }
    .about-left,
    .ag-left {
        padding-bottom: 30px;
    }
    .book-right h3 {
        font-size: 20px;
    }
    #menu-wrapper {
        padding: 5px 0px;
    }
    .services-block {
        padding: 25px 15px;
    }
    #header .header-contacts {
        display: none;
    }
    #menu-wrapper .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    #menu-wrapper .header-contacts,
    #menu-wrapper.fixed .header-contacts {
        padding: 0px;
        display: flex;
    }
    #menu-wrapper .header-contacts a {
        color: #fff;
    }
    .services-foto img {
        height: 250px;
        object-fit: cover;
    }
    .row-subservices .services-wrapper {
        width: 50%;
    }
    .team-right {
        order: 2;
    }
    .fs-right img {
        max-width: unset;
        width: 100%;
        height: auto;
        object-fit: cover;
    }
    .fs-logo {
        display: none;
    }
    .home .branding {
        display: block;
    }
    .home #header {
        padding: 3px 0px;
    }
    #news:before {
        width: calc(100% - 50px);
    }
}

@media all and (max-width: 767px) {
    .branding {
        width: 150px;
    }
    .wrapper {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    #header .container {
        flex-direction: row;
        gap: 15px;
        justify-content: space-between;
    }
    .navbar-expand-lg {
        order: 2;
    }
    .breadcrumbs {
        font-size: 13px;
    }
    h1, h2 {
        font-size: 26px;
        margin-bottom: 30px;
    }
    h1.entry-title {
        font-weight: bold;
        font-size: 26px;
        margin-bottom: 30px;
    }
    .home #about {
        padding-bottom: 0px;
    }
    #footer-blocks .d-flex {
        width: 100%;
        justify-content: center;
    }
    #footer-blocks h2 span {
        font-size: 30px;
    }
    .about-left, .ag-left {
        padding-bottom: 0px;
    }
    .contact-item {
        font-size: 16px;
    }
    .contacts-wrapper {
        padding: 20px;
    }
    #footer-blocks h2 {
        text-align: center;
        font-size: 20px;
    }
    .footer-logo {
        padding-top: 40px;
    }
     #footer .container {
        font-size: 14px;
        text-align: center;
    }
    #post-11 .entry-content {
        padding: 15px;
    }
    .news-item {
        flex-direction: column;
    }
    .news-foto {
        width: 100%;
        min-width: unset;
    }
    .price-list_item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
        padding: 15px 0px;
        flex-direction: column;
        text-align: center;
    }
    .price-list_item > div:nth-child(2) {
        margin-left: 0px;
    }
    .team-left strong {
        font-size: 16px;
    }
    .services-wrapper {
        width: 100% !important;
    }
    .services-title {
        padding: 10px 5px;
        font-size: 14px;
        text-align: center;
    }
    #news .wrapper {
        padding: 60px 20px;
    }
    #news .slick-arrow {
        left: -10px;
    }
    #news .slick-arrow.slick-next {
        left: auto;
        right: -10px;
    }
     #news .news-foto {
        width: 100%;
        min-width: unset;
    }
    #why .wrapper {
        padding: 60px 20px;
    }
    .why-row {
        flex-wrap: wrap;
    }
    .why-item {
        width: 50%;
        text-align: center;
        margin: 10px 0px;
    }
    #reviews .wrapper {
        padding: 60px 20px;
    }
    .price-list_item > div {
        min-height: unset;
    }
    .article-title {
        padding-top: 25px;
    }
    .article-title a {
        font-size: 18px;
    }
    .dropdown-item {
        text-align: center;
    }
    #footer-blocks .form-flex {
        display: flex;
        justify-content: center;
        flex-direction: column;
        gap: 15px;
    }
    #footer-blocks .wpcf7 input[type="submit"] {
        width: 100%;
    }
    #footer-blocks .form-flex .form-item {
        padding: 0px;
    }
    #footer-blocks h2.form-callback {
        font-size: 18px;
    }
    .serv-btns {
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
    .news-more {
        padding-top: 20px;
        display: flex;
        justify-content: center;
    }
     div.is-ajax-search-result {
        width: calc(100% - 26px) !important;
        max-width: unset !important;
        left: 11px !important;
    }
    .services-block {
        margin-top: 20px;
    }
    #header-wrapper {
        position: absolute;
        top: 0px;
        left: 0px;
        width: 100%;
    }
    .row-serv {
        display: flex;
        flex-wrap: wrap;
    }
    .serv-right {
        width: 100%;
        float: none;
        order: 2;
    }
    .serv-char {
        flex-direction: column;
        gap: 15px;
    }
    .serv-char > div {
        width: 100%;
    }
    .char-box {
        margin-bottom: 30px;
        padding: 20px;
    }
    h3 {
        font-size: 22px;
    }
    .single #cta {
        padding-top: 0px;
    }
    .cta-title {
        font-size: 22px;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    .cta-subtitle {
        line-height: 1.2;
    }
    .form-flex .form-item {
        margin: 0px;
        padding-right: 0px;
        width: 100%;
    }
    .cta-form:after {
        width: 100%;
        height: 300px;
        max-width: unset;
        margin: 25px auto;
        right: 0px;
        left: auto;
    }
    .white-box {
        padding: 20px;
    }
    .white-box p:last-child {
        margin: 0px;
    }
    .serv-price {
        text-align: center;
    }
    .fs-text {
        font-size: 26px;
    }
    .fs-form {
        padding: 20px;
    }
    .fs-form_title {
        font-size: 18px;
    }
    .why-items {
        flex-wrap: wrap;
    }
    .accordion-button {
        font-size: 16px;
    }
    #footer-blocks {
        padding-top: 0px;
    }
    #pills-tab {
        justify-content: center;
        margin-bottom: 20px;
        gap: 15px;
    }
    .nav-pills .nav-link {
        width: auto;
        padding: 0px 20px;
    }
    h4 {
        font-size: 18px;
    }
    #diseases .show-more {
        padding-bottom: 50px;
        justify-content: center !important;
    }
    h2.block-title {
        font-size: 26px;
    }
    .do-posle_slide {
        width: 300px;
    }
    #page-wrapper, #single-wrapper {
        padding-bottom: 50px;
    }
    .ag-right {
        padding-top: 30px;
    }
    .slider-nav .slick-arrow, .serv-slider .slick-arrow {
        left: 0px;
    }
    .slider-nav .slick-arrow.slick-next, .serv-slider .slick-arrow.slick-next {
        left: auto;
        right: 0px;
    }
    .slider-nav {
        margin: 20px -10px 0px -10px;
    }
    .slider-nav_item {
        padding: 0px 10px;
    }
    .contacts-left .contact-item {
        justify-content: flex-start;
    }
    .contact-item svg {
        min-width: 25px;
    }
    .why-text {
        font-size: 14px;
    }
    .why-text p:first-child {
        font-size: 14px;
    }
    #news:before {
        width: 100%;
    }
    .news-carousel ul.slick-dots {
        max-width: unset;
    }
    #news .slick-arrow {
        left: 15px;
    }
    #news .slick-arrow.slick-next {
        left: auto;
        right: 15px;
    }
    .check-up_carousel {
        margin: 0px;
        padding: 0px 10px;
    }
    .check-up_carousel .slick-arrow {
        left: -5px;
    }
    .check-up_carousel .slick-arrow.slick-next {
        left: auto;
        right: -5px;
    }
    .ivs_carousel .slick-arrow {
        left: 5px;
    }
    .ivs_carousel .slick-arrow.slick-next {
        left: auto;
        right: 5px;
    }
}