@media (max-width: 640px) {

    main {
        width: 100vw;
        align-items: unset;
        flex-direction: unset;
    }
    top, subtop {
        display: none;
    }

    mobtop {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: sticky;
        background: rgb(255,255,255,.9);
        -webkit-backdrop-filter: blur(15px);
        backdrop-filter: blur(15px);
        padding: 1.5rem;
        box-shadow: 0 0 1rem rgb(0 0 0 / .25);
        z-index: 2;
        top: 0px;
    }
    mobtop item {
        text-align: center;
    }
    mobtop item a {
        font-size: 0;
    }
    mobtop .menu, mobtop .contacts {
        display: flex;
    }
    mobtop .menu in {
        background: #25b8a8;
        height: 3px;
        width: 2.5rem;
        border-radius: 3px;
    }
    mobtop .menu in:nth-child(2) {
        background: #21a597;
    }
    mobtop .logo img {
        height: 48px;
    }
    mobtop .logo a {
        display: block;
        height: 100%;
    }
    mobtop .contacts img {
        height: 48px;
    }


    mobmenu {
        background: #fff;
        position: fixed;
        padding: .5rem;
        display: flex;
        left: -100vw;
        width: 100vw;
        height: 100%;
        flex-direction: column;
        z-index: 2;
        gap: 2rem;
        padding: 2rem;
        overflow-y: auto;
    }
    mobmenu inner {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    mobmenu .logo {
        width: 75%;
    }
    mobmenu .search {
        padding: 1rem;
        width: 100%;
    }
    mobmenu .search fieldset {
        width: 100%;
    }

    .search .text {
        width: 100%;
        text-align: center;
        font-size: 14px;
    }

    mobmenu search img {
        height: 1rem;
    }
    mobmenu inmenu {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
    mobmenu inmenu a {
        font-size: 14px;
        line-height: 14px;
        color: #333;
        text-transform: uppercase;
        font-weight: 700;
        text-decoration: none;
        background: #f9f9f9;
        width: 100%;
        text-align: center;
        padding: 1rem 0;
        border-bottom: 1px solid #f1f1f1;
        border-radius: 3px;
    }
    mobmenu inmenu a:first-child {
        padding-top: 1.5rem;
    }
    mobmenu inmenu a:last-child {
        border: none;
        padding-bottom: 1.5rem;
    }
    mobmenu inmenu a:hover {
        background: #f1f1f1;
    }
    mobmenu social {
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        width: 100%;
    }
    mobmenu social img {
        width: 20px;
    }
    mobmenu call {
        width: 100%;
    }
    mobmenu call a {
        padding: 1rem 0;
        width: 100%;
        font-size: 12px;
        line-height: 12px;
        text-shadow: 0 0 .25rem rgb(0 0 0 / .125);
    }
    mobmenu popbot {
        margin-top: 0;
    }

    incontent topcont {
        flex-direction: column;
        gap: 1rem;
    }

    reset {
        margin-top: 1rem;
    }


    topspace {
        width: 100%;
        height: 95px !important;
    }

    aboutcontent,
    maintopin inner,
    mainclinics,
    mainteam inner,
    maindocs inner,
    mainred inner,
    mainsales inner,
    mainreviews inner,
    footer inner,
    subfooter inner,
    gheading inner,
    recommendbot inner,
    lics inner,
    incontent,
    article,
    docblock,
    docimgblock,
    docinfo {
        width: 100%;
        flex-direction: column;
    }

    clear inner {
        width: 100%;
        padding: 3rem 2rem;
    }
    
    gheading inner {
        padding: 3rem 2rem;
        font-size: 24px;
        line-height: 24px;
    }

    botmore {
        margin: 2rem 0 0 ;
        padding: 1rem 0;
        width: 100%;
    }

    maintopin {
        background-size: cover;
    }

    maintopin inner {
        padding: 0;
        z-index: 1;
    }

    maintopin inner in.head1,
    maintopin inner in.head2 {
        font-size: 24px;
        line-height: normal;
        padding: 0;
    }
    maintopin inner in.desc {
        font-size: 16px;
        line-height: normal;
        padding: 2rem 0;
    }
    maintopin inner in.buttons {
        flex-direction: column;
        align-items: flex-start;
        font-size: 14px;
        padding: 0;
        gap: 2rem;
    }

    maintopin layer {
        background: rgb(255 255 255 / .75);
        backdrop-filter: blur(15rem);
        -webkit-backdrop-filter: blur(15rem);
    }
    maintopin inner inin {
        width: 100%;
    }


    mainclinics {
        padding: 2rem 1rem;
        gap: 2rem;
    }
    mainclinics clinic info {
        padding: 2rem;
    }
    mainclinics clinic in.address img, clinic in.phones img {
        margin-right: .5rem;
    }
    mainclinics clinic in.phones {
        gap: 1rem;
        flex-direction: column;
        align-items: start;
    }
    mainclinics clinic in.phones phone {
        font-size: 15px;
        line-height: 15px;
        font-weight: 500;
    }
    

    mainteam inner {
        padding: 4rem 2rem 0 2rem;
        align-items: center;
    }
    mainteam inner img {
        max-width: 100%;
        max-height: auto;
    }
    mainteam inner text t1, mainteam inner text t4 {
        font-size: 15px;
        line-height: normal;
    }
    mainteam inner text t2 {
        font-size: 16px;
        line-height: normal;
    }
    mainteam inner text t3 {
        font-size: 26px;
        line-height: normal;
    }

    maindocs {
        padding: 2rem 1rem 4rem 1rem;
    }
    maindocs inner {
        gap: 2rem;
    }

    mainred {
        padding: 4rem 2rem;
    }
    mainred heading {
        margin-bottom: 4rem;
        font-size: 24px;
    }
    mainred inner items {
        flex-direction: column;
        gap: 4rem;
    }

    aboutcontent {
        padding: 4rem 2rem;
    }
    aboutcontent desc {
        width: auto;
    }
    aboutcontent items {
        flex-direction: column;
        margin: 0;
    }
    aboutred inner {
        flex-direction: column-reverse;
        padding: 4rem 2rem 0 2rem;
        gap: 2rem;
        align-items: center;
    }
    aboutred img {
        max-height: 360px;
    }
    aboutred items {
        flex-direction: column;
        padding-bottom: 0;
    }
    aboutred item {
        width: 100%;
    }
    aboutgallery {
        padding: 4rem 2rem;
        gap: 2rem;
    }
    aboutgallery text t2 {
        font-size: 26px;
        line-height: 26px;
        font-weight: 700;
        margin-bottom: 1rem;
    }
    aboutgallery text t3 {
        width: 100%;
    }
    aboutgallery gallery {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    aboutgallery gallery item {
        width: 100%;
        height: 0;
        padding-bottom: calc(1/1 * 100%);
    }
    aboutlics {
        padding: 4rem 2rem;
    }
    aboutlics lics {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    aboutlics text t1 {
        line-height: normal;
    }

    mainsales {
        padding: 0 1rem 4rem 1rem ;
    }
    mainsales inner {
        gap: 2rem;
    }

    mainreviews {
        padding: 0 1rem 2rem 1rem;
    }
    mainreviews inner {
        gap: 2rem;
    }

    outheading {
        padding-top: 4rem;
        font-size: 28px;
    }

    outdesc {
        width: 100%;
    }

    breadcrumbs {
        display: none;
    }


    incontent {
        padding: 2rem;
        margin-top: 0;
        margin-bottom: 2rem;
        gap: 0;
    }
    incontent article, incontent right {
        width: 100%;
    }
    incontent article {
        margin-bottom: 4rem;
    }
    h1.article {
        font-size: 22px;
        width: 100%;
        padding: 2rem 2rem 0 2rem;
    }
    incontent right recommend {
        display: none;
    }
    
    
    incmtop {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
        margin-bottom: 2rem;
        padding: 0 2rem;
    }
    incmtop search, incmtop grmenu {
        border-radius: 3px;
        width: 100%;
        font-size: 15px;
    }
    incmtop search {
        background: #e2e2e2;
        color: #555;
        padding: 1.25rem;
    }
    incmtop search in:nth-child(2), incmtop grmenu in:nth-child(2) {
        font-size: 0;
    }
    incmtop grmenu {
        background: #25b8a8;
        color: #fff;
        padding: 1.25rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    incmtop grmenu img {
        width: 16px;
    }




    recommendbot {
        padding: 4rem 2rem;
    }
    recommendbot heading2 {
        font-size: 22px;
    }
    recommendbot items {
        display: flex;
        flex-direction: column;
    }
    recommendbot item {
        display: flex;
        flex-direction: column;
    }
    recommendbot item img {
        width: 100%;
    }






    

    incontent.price {
        padding: 2rem 1rem 0 1rem;
    }
    incontent.price article {
        margin-bottom: 0;
    }
    incontent.price right menu {
        display: none;
    }
    incontent.price right fsel {
        display: block;
    }
    priceinner {
        gap: 2rem;
    }
    priceinner price {
        flex-direction: column;
    }
    priceinner price in {
        padding: 0;
        text-align: center;
    }
    priceinner price in:nth-child(1) {
        font-size: 15px;
        padding: 2rem 1rem;
    }
    priceinner price in:nth-child(2) {
        padding: .5rem 2rem;
        font-size: 18px;
        width: auto;
    }
    #liveprice {
        width: 100%;
        margin-bottom: 2rem;
    }


    
    mainsales.price {
        background: #fff;
    }
    mainsales.price sale {
        background: #ededed;
    }

    mainsales inner {
        width: 100%;
    }

    mainsales.sales sale {
        width: 100%;
    }


    inner_docs {
        width: 100%;
        flex-direction: column;
        padding: 0 2rem;
    }
    docs {
        gap: 2rem;
        grid-template-columns: repeat(1, 1fr);
    }


    docheading inner {
        padding: 2rem !important;
    }
    docimgblock {
        position: unset;
    }
    docblock {
        padding: 1rem;
    }
    docheading h1 {
        font-size: 20px;
        margin: 0;
    }
    docheading h2 {
        font-size: 15px;
        margin: 0;
    }
    docinfo {
        padding: 2rem 1rem;
    }
    docinfo links, docinfo exp {
        gap: 0;
        justify-content: space-between;
    }
    
    maindocs doc photo, docs doc photo, docimgblock photo {
        height: 360px;
    }


    contacts_page {
        width: 100%;
        padding: 1rem;
        gap: 1rem;
    }
    contacts_page clinic {
        flex-direction: column;
    }
    contacts_page clinic info {
        padding: 2rem 1rem;
    }
    contacts_page clinic in.phones {
        gap: 0;
        justify-content: space-between;
    }




    incontent.docs right {
        position: relative;
        top: auto;
        display: flex;
        align-items: center;
    }

    mainmap inner {
        margin: 0;
        left: 0;
    }
    mainmap contacts {
        padding: 2rem 48px 2rem 2rem;
    }
    mainmap openclose {
        position: absolute;
        content: url("/_md/ico/maparr.svg");
        background: #e56773;
        color: #fff;
        width: 48px;
        top: calc(50% - 24px);
        right: 0;
        cursor: pointer;
    }






    areas {
        width: 100%;
        padding: 3rem 2rem;
    }
    ul.areas {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 2rem;
        padding: 0;
        margin: 0;
    }


    inimage.old img {
        width: 100%;
        margin: 0;
    }






    appointment {
        padding: 3rem 2rem;
    }
    appointment inner {
        width: 100%;
        padding: 0;
    }
    appointment h1 {
        font-size: 22px;
    }

    appo {
        flex-direction: column !important;
    }
    appo select {
        width: 100%;
    }
    appo #submit {
        width: 100%;
    }

    popup.appotimer {
        width: 100vw;
        height: 100vh;
        align-items: center;
        justify-content: center;
        background-image: none;
        background: #8fc7cd;
    }
    appo.appotimer form {
        width: 100%;
    }




    requisites {
        display: flex;
        flex-direction: column;
    }
    requisites p {
        border: none !important;
        padding: .25rem 0 !important;
    }
    requisites p:nth-child(-n+6) {
        display: none;
    }
    requisites p:nth-child(6n) {
        margin-bottom: 1rem;
    }


    footer {
        padding: 2rem;
    }
    footer inner {
        padding: 2rem 0;
        gap: 4rem;
    }
    footer inner item2 space {
        padding: 2rem 0;
    }

    subfooter inner {
        padding: 2rem 1rem;
        gap: 2rem;
    }
    subfooter social img {
        width: 20px;
    }


    popup {
        padding: 2rem;
        width: 100vw;
        height: 100vh;
        max-height: 100vh;
    }

    popup::-webkit-scrollbar {
        width: 0;
    }
    popup::-webkit-scrollbar-thumb {
        width: 0;
    }

    popup.services {
        height: 100%;
    }

    popbot {
        gap: 1rem;
    }
    
    popbot call, popbot poppricex {
        flex: 1;
    }

    popbot poppricex {
        padding: 1rem 0;
    }

    popbot call a {
        padding: 1rem 0;
        width: 100%;
    }

    arttop {
        gap: 1rem;
    }

    a.popprice, a.popdocs, a.popvideo {
        padding: 1rem 0;
        font-size: 11px;
        line-height: 11px;
    }

    popup.docs docs {
        grid-template-columns: repeat(1, 1fr);
    }

    h1.article::after {
        margin: 1rem 0 0 ;
    }
    inimage {
        overflow: hidden;
    }
    inimage.new img {
        width: 200%;
        left: -50%;
    }
    .neighbors {
        display: none;
    }

    popup.services popbot {
        margin-top: 0;
    }

    carousel, item_c {
        height: auto;
    }
    img_c {
        z-index: -1;
        opacity: .125;
        background-image: none;
        width: 100%;
        height: 100%;
    }
    img_c img {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
    info_c {
        width: 100%;
        padding: 2rem;
    }
    text_c {
        padding-right: 0;
    }
    price_c price_old {
        font-size: 18px;
    }
    price_c price_new, percent_c {
        font-size: 24px;
    }
    dots {
        display: none;
    }




    direct topper text {
        padding: 3rem 1.5rem;
        width: auto;
    }
    direct topper text h1 {
        font-size: 32px;
    }
    direct topper text desc {
        font-weight: 500;
    }
    direct topper overlay {
        opacity: .5;
        background-size: cover;
    }
    direct article {
        width: 100%;
        padding: 3rem 1.5rem;
    }
    direct toc {
        padding: 0 0 1.5rem 0;
    }
    direct mainred {
        padding: 3rem 1.5rem;
    }
    direct mainred items {
        gap: 3rem;
    }

    toc ul {
        gap: 1rem !important;
    }

    arttoppromo {
        flex-direction: column;
        gap: 3rem;
        margin-bottom: 1.5rem;
    }
    promoart img {
        display: none;
    }
    direct topper.promo {
        /* background-image: url(/_md/promo_mob.png); */
        background-size: cover;
    }
    direct topper.promo overlay_out {
        display: none;
    }
    direct topper.promo text {
        width: 100%;
        padding: 2rem;
    }

    direct.promo mainred {
        padding: 3rem;
    }
    direct.promo mainred items {
        align-items: unset;
        gap: 1.5rem;
    }

    direct topper.promo mobpagesimg {
        display: inline-flex;
        width: 100%;
        height: 240px;
        border-radius: 1.5rem;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    ininfoblock inner {
        width: 100%;
        padding: 3rem;
        flex-direction: column;
    }
    ininfoblock img {
        display: none;
    }
    ininfoblock item {
        padding: 0 !important;
    }
    ininfoblock item iib_title {
        font-size: 24px;
    }
    whywe inner_t {
        width: 100%;
        padding: 0 2rem 3rem 2rem;
    }
    whywe ww_btitle {
        font-size: 18px;
    }
    whywe inner {
        width: 100%;
        display: flex;
        flex-direction: column;
        padding: 0 2rem;
    }
    ourcab inner {
        width: 100%;
        flex-direction: column;
        position: relative;
    }
    ourcab in {
        width: 100%;
    }
    ourcab in.text {
        width: 100%;
        background: rgb(255 255 255 / .5);
        backdrop-filter: blur(1rem);
    }
    ourcab in.img {
        position: absolute;
        width: 100%;
        height: 100%;
        z-index: -1;
    }
    
    reviews_d inner {
        width: 100%;
        padding: 2rem;
        display: flex;
        flex-direction: column;
    }

    .pr_menu_out {
        padding: 3rem 2rem !important;
    }

    promoart in {
        border-radius: 1.5rem;
    }

    indocblock {
        margin-top: 1.5rem;
    }
    indocblock inner {
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 3rem;
    }
    indocblock docimg {
        position: relative;
        margin-top: -6rem;
    }
    indocblock item {
        padding: 0 !important;
    }
    indocblock item:nth-of-type(1) {
        padding-left: 0 !important;
        text-align: center;
        align-items: center;
    }
    indocblock item:nth-of-type(2) {
        max-width: 100%;
        width: 100%;
    }

    a.callus {
        flex-direction: column;
    }

    ap_footer {
        flex-direction: column;
    }

    cookie {
        width: 100%;
        bottom: 0;
        border-radius: 0;
    }

    check_content {
        padding: 0 2rem;
    }
    item_c.checkup_in {
        flex-direction: column;
        gap: 1.5rem;
        box-sizing: border-box;
        border-radius: 2.5rem;
        padding: 1.5rem;
        background: linear-gradient(0deg, #f1f1f1 0%, #fff 100%);

    }
    item_c.checkup_in info_c {
        padding: 0;
    }
    item_c.checkup_in button_c {
        position: absolute;
        margin: auto;
        left: 0;
        right: 0;
        bottom: 1.5rem;
        width: calc(100% - 3rem);
        box-shadow: 0 0 1rem rgb(0 0 0 / .25);
    }
    item_c.checkup_in img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 2rem;
    }
    item_c.checkup_in price_new {
        font-size: 22px;
        line-height: 22px;        
    }
    .checkup_a {
        justify-content: center;
    }




}