@media all and (min-width: 1280px) {
    .branding {
        z-index: 100000;
    }
}
@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1400px;
    }
    .how-list {
        margin-left: -100px;
    }
}
@media all and (max-width: 1400px) {
    body {
        font-size: 16px;
    }
    .accordion-button {
        font-size: 18px;
    }
    .news-foto {
        width: 260px;
        min-width: 260px;
    }
    .callback a {
        font-size: 14px;
    }
    #news .news-foto {
        width: 200px;
        min-width: 200px;
    }
    .help-form_wrapper::after {
        display: none;
    }
    .help-form {
        padding-top: 60px;
    } 
    .how-item {
        margin: 15px 0px;
    }
    #menu-wrapper.fixed .navbar-expand-lg .navbar-nav .nav-link {
        padding-left: 5px;
        padding-right: 5px;
    }
    .help-form_2 h2 {
        padding-left: 0px;
    }
    .help-form_2 .help-form_wrapper {
        padding-left: 50px;
    }
    .serv-advantages > div p:last-child {
        font-size: 18px;
    }
    .serv-right {
        display: flex;
        align-items: flex-end;
    }
    #about .about-text {
        width: 470px;
    }
    .fs-text p {
        font-size: 36px;
    }
}

@media all and (max-width: 1200px) {
    .worktime {
        display: none;
    }
    .navbar-expand-lg .navbar-nav li:not(:first-child) .nav-link {
        min-width: unset;
    }
    #menu-wrapper.fixed .header-contacts {
        display: none;
    }
    .navbar-expand-lg {
        width: 100%;
    }
    #menu-wrapper.fixed .navbar-expand-lg .navbar-nav li:not(:first-child) .nav-link  {
        padding: 0px;
    }
    #menu-wrapper.fixed .navbar-expand-lg .navbar-nav {
        gap: 10px;
    }
    #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;
    }
    .intro-form {
        max-width: 90%;
        padding: 20px;
    }
    .team-carousel,
    .services-slider_2,
    .doposle {
        margin: 0px;
        padding: 0px 30px;
    }
    .services-slider_2 .slick-arrow,
    .team-carousel .slick-arrow,
    .doposle .slick-arrow {
        left: 10px;
    }
    .services-slider_2 .slick-arrow.slick-next,
    .team-carousel .slick-arrow.slick-next,
    .doposle .slick-arrow.slick-next {
        left: auto;
        right: 10px;
    }
    .services-more {
        display: none !important;
    }
    .services-title {
        display: block !important;
    }
    .services-price {
        gap: 5px;
        padding-top: 5px;
        flex-direction: column;
    }
    .location {
        font-size: 14px;
        max-width: 280px;
    }
    .location svg {
        min-width: 25px;
        width: 25px;
        height: auto;
    }
    .fs-text h1 {
        font-size: 32px;
        line-height: 1.2;
    }
    .fs-text p {
        font-size: 26px;
    }
    .services-price_inner {
        flex-direction: row;
    }
    .why-row_inner .why-item p:first-child {
        font-size: 20px;
    }
    .serv-about_text > p:nth-child(2) {
        font-size: 32px;
    }
    .serv-about_text > p:first-child {
        flex-direction: column;
        gap: 15px;
    }
    .why-row_inner .why-item {
        width: 200px;
        padding: 0px 5px;
    }
    .branding {
        position: relative;
        top: 0px;
        left: 0px;
        transform: unset;
        z-index: 10;
    }
    .branding img {
        width: 150px;
    }
    .menu-brand {
        display: none;
        width: 150px;
        min-width: 150px;
        margin-right: 20px;
    }
    .nav-pills {
        gap: 10px;
        margin-bottom: 30px;
    }
    .services-wrapper {
        width: 50%;
    }
    .services-foto img {
        height: 450px;
    }
    #header div.contact-phone a {
        font-size: 16px;
    }
    .fs-text p img {
        max-width: 450px;
    }
}

@media all and (max-width: 960px) {
    .is-form-style {
        display: none;
    }

    .navbar-toggler {
        margin-left: auto;
        border: 0px;
        box-shadow: unset !important;
        outline: none !important;
    }
    .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%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center center;
    }
    #navbarNavOffcanvas {
        background: #292827;
        backdrop-filter: blur(5px);
        bottom: auto;
        top: 0px;
        display: block;
        height: 100vh;
    }
    #menu-wrapper:not(.fixed) #navbarNavOffcanvas {
        top: 0px;
    }
    .navbar-nav {
        gap: 10px;
    }
    .navbar-expand-lg .navbar-nav li {
        position: relative;
        display: flex;
        justify-content: center;
    }
    .navbar-expand-lg {
        order: 4;
    }
    .why-text p:first-child {
        font-size: 20px;
    }
    .services-wrapper {
        width: 50%;
    }
    .help-form_wrapper .form-title {
        font-size: 20px;
    }
    #menu-wrapper.fixed .header-contacts {
        display: block;
    }
    .location {
        display: none;
    }
    .slide-item {
        height: auto;
        padding-top: 50px;
    }
    .form-title {
        font-size: 24px;
    }
    .form-subtitle {
        font-size: 20px;
    }
    .intro-form .wpcf7 input[type="submit"] {
        width: auto;
    }
    .footer-right {
        padding-left: 15px;
    }
    #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;
    }
    #header {
        padding-bottom: 20px;
    }
    .about-left,
    .ag-left {
        padding-bottom: 30px;
    }
    .book-right h3 {
        font-size: 20px;
    }
    .sert-carousel,
    .reviews-carousel {
        padding: 0px 40px;
    }
    .sert-carousel {
        margin: 0px 0px 20px 0px;
    }
    .sert-carousel .slick-arrow,
    .works-carousel .slick-arrow,
    .reviews-carousel .slick-arrow {
        left: 10px;
    }
    .sert-carousel .slick-arrow.slick-next,
    .works-carousel .slick-arrow.slick-next,
    .reviews-carousel .slick-arrow.slick-next {
        left: auto;
        right: 10px;
    }
    .works-carousel {
        margin: 0px 0px 20px 0px;
        padding: 0px 40px;
    }
    #serv-about .container {
        flex-direction: column;
        gap: 20px;
    }
    .page-template-page-works .help-form_2 img {
        width: 220px;
        height: auto;
    }
     #footer-blocks h2.form-callback {
        font-size: 16px;
        text-align: center;
    }
    #about .about-gallery {
        width: 100%;
    }
     #about .about-text {
        width: 100%;
        position: relative;
        right: 0px;
        margin-top: 30px;
    }
    .team-btns {
        flex-direction: column;
    }
    .team-btns > div:first-child {
        font-size: 20px;
        margin-bottom: 15px;
    }
    .help-form h2::before {
        display: none;
    }
    #menu-wrapper {
        padding: 15px 0px;
    }
    .doc-text > p:nth-child(2) {
        font-size: 24px;
    }
    #services-about .col-lg-5 {
        order: 2;
    }
}

@media all and (max-width: 767px) {
    #header div.contact-phone {
        display: none;
    }
    .callback {
        padding-top: 15px;
    }
    .fs-text {
        padding-top: 30px;
    }
    #menu-wrapper .header-contacts {
        display: block;
    }
    #menu-wrapper .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    #header .container {
        gap: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    #header .header-contacts {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    #header .container {
        justify-content: center;
    }
    #header div.contact-phone {
        font-size: 16px;
    }
    .navbar-expand-lg {
        order: 5;
    }
    .mb-search {
        min-width: 200px;
    }
    #menu-wrapper .is-form-style {
        display: block;
    }
    #menu-wrapper .header-contacts {
        display: none !important;
    }
    #menu-wrapper .header-contacts a {
        font-size: 14px;
    }
    #menu-wrapper .header-contacts .callback a {
        font-size: 12px;
    }
    #menu-wrapper .header-contacts svg {
        max-width: 20px;
        height: auto;
    }
    .breadcrumbs {
        font-size: 13px;
    }
    h1, h2 {
        font-size: 28px;
    }
    #footer-blocks h2 {
        text-align: center;
        font-size: 20px;
    }
    .footer-logo {
        padding-top: 30px;
    }
     #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;
    }
    #menu-wrapper.fixed .header-contacts {
        display: block;
    }
    .services-wrapper {
        width: 100%;
    }
    .serv-btns .btn {
        font-size: 15px;
    }
    h2.block-title {
        margin-bottom: 30px;
    }
    .about-doc .is-layout-flex {
        gap: 0px !important;
    }
    .services-meta {
        align-items: center !important;
    }
    .services-text {
        display: none !important;
    }
    .services-title {
        padding: 10px 5px;
        font-size: 20px;
    }
    .help-form_wrapper .form-flex,
    .intro-form .form-flex {
        display: flex;
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }
    .help-form_wrapper .form-flex .form-item,
    .intro-form .form-flex .form-item {
        padding-right: 0px;
    }
    #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: 10px 20px 60px 20px;
    }
    ul.slick-dots {
        width: 200px;
    }
    #book .wrapper {
        padding: 20px;
    }
    .book-left {
        padding-bottom: 30px;
    }
    .help-form_wrapper {
        text-align: center;
    }
    .help-form_wrapper .form-title {
        font-size: 20px;
        text-align: center;
    }
    .help-form h2 {
        text-align: center;
    }
    .help-form {
        padding-top: 30px;
    }
    .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;
    }
    .help-form_wrapper {
        padding: 30px 20px;
    }
    .book-right p:last-child {
        text-align: center;
    }
    .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;
    }
    #header .header-contacts {
        display: none;
    }
    #menu-wrapper .header-contacts {
        display: block !important;
    }
    .price-list_item > div:nth-child(2), .price-list_item > div:nth-child(3) {
        width: 100%;
        min-width: unset;
        text-align: center;
        font-weight: 700;
        display: flex !important;
        justify-content: center;
    }
    .price-list_item > div a {
        height: 50px;
    }
    .nav-pills .nav-link {
        width: auto;
        padding: 0px 15px;
        white-space: pre;
    }
    .nav-pills {
        flex-wrap: nowrap;
        overflow: auto;
        margin-bottom: 20px;
    }
    .help-form_2 .help-form_wrapper {
        padding-left: 20px;
    }
    .help-form h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }
    .fs-text h1 {
        font-size: 26px;
    }
    .fs-text p {
        font-size: 18px;
    }
    .why-row {
        margin-top: 30px;
    }
    #how h2 {
        margin-bottom: 10px;
    }
    .how-item {
        flex-direction: row;
        width: 100%;
    }
    .how-num {
        min-width: 40px;
    }
    .how-pic {
        order: 2;
        max-width: 70px;
        width: 70px;
        display: flex;
        justify-content: center;
        min-width: 70px;
    }
    .how-pic svg {
        max-width: 100%;
        height: auto;
    }
    .how-text {
        order: 2;
        text-align: left;
        padding-left: 15px;
        font-size: 14px;
    }
    .news-carousel {
        padding: 0px 20px;
        margin: 0px;
    }
    #footer-blocks h2.form-callback {
        text-align: center;
    }
    .rev-author {
        font-size: 16px;
        margin-bottom: 10px;
    }
    .serv-advantages {
        display: flex;
        gap: 20px;
        margin-top: 30px;
        flex-direction: column;
    }
    .serv-advantages > div {
        width: 100%;
        padding: 15px;
        text-align: center;
    }
    .serv-advantages > div br {
        display: none;
    }
    .services-price_inner {
        font-size: 18px;
    }
    .serv-btns a {
        width: 100%;
        justify-content: center;
    }
    .serv-about_text > p:first-child strong {
        font-size: 16px;
    }
    .serv-about_text > p:first-child {
        align-items: flex-start;
    }
    .serv-about_text > p:first-child {
        font-size: 24px;
    }
     .serv-about_text > p:nth-child(2) {
        font-size: 24px;
        margin-bottom: 20px;
    }
    .why-row_inner .why-item {
        width: 50%;
    }
    .char-wrapper h2 {
        margin-bottom: 20px;
        font-size: 28px;
    }
    .help-form_wrapper::after {
        display: none;
        position: relative;
        right: 0px;
        margin: 20px auto 0px auto;
        height: 300px;
    }
    .serv-about_btns {
        display: flex;
        gap: 20px;
        margin-bottom: 60px;
        flex-wrap: wrap;
    }
    .serv-about_btns .btn {
        width: 100%;
    }
    .serv-about_pic {
        width: 250px;
        min-width: unset;
        margin: 0px auto;
    }
    .modal-body {
        padding: 0px 20px 30px 20px;
    }
    .serv-btns a {
        font-size: 14px;
    }
    #price-inner h2 {
        margin-bottom: 20px;
    }
    #what h2 {
        font-size: 26px;
    }
    body:not(.home) #page {
        padding-top: 190px;
    }
     .price-list_item > div.price-form,
    .price-form {
        display: none !important;
    }
    .rev-text {
        font-size: 14px;
    }
	#video {
		object-fit: contain;
		height: auto;
	}
	.slide-item {
        padding-top: 100px;
        padding-bottom: 0px;
    }
    .fs-text p img {
        max-width: 200px;
    }
    .fs-text h1 {
        font-size: 22px;
    }
    .fs-text p {
        font-size: 16px;
    }
    .doposle .slick-arrow {
        left: 10px;
    }
    .doposle .slick-arrow.slick-next {
        left: auto;
        right: 10px;
    }
    #char-wrapper .col-lg-6:last-child {
        padding-top: 20px;
    }
    .help-form h2 {
        justify-content: center;
    }
    .help-form_wrapper .form-title {
        font-size: 18px;
    }
    .help-form_wrapper .form-title br {
        display: none;
    }
    h1.entry-title {
        margin-bottom: 30px;
    }
    .menu-brand {
        display: none;
        width: 100px;
        min-width: 100px;
        margin-right: 15px;
    }
    .fs-text p {
        letter-spacing: 5px;
    }
    #char_2, #char_3 {
        padding: 15px;
    }
    #char-wrapper .col-lg-5 {
        padding-bottom: 30px;
    }
    #char_2 h2.block-title, #char_3 h2.block-title {
        font-size: 20px;
    }
    .modal-title {
        font-size: 24px;
    }
    .contact-item {
        width: 100%;
    }
    .team-char {
        font-size: 18px;
    }
    .doctor-wrapper {
        padding: 15px;
    }
    .team-left {
        order: 2;
    }
}
