@media only screen and (min-device-width: 577px) and (max-device-width: 768px) {
.menuItemListRow {
    overflow: hidden;
    overflow-x: auto;    
    height: 270px;
}
.menuItemListRow .menuItemWraper{
    width: 1080px;
    height: 270px;
}


.menuItemListRow.cnt-4 .menuItemWraper{
    width: 1080px;
}
.menuItemListRow.cnt-5 .menuItemWraper{
    width: 1350px;
}
.menuItemListRow.cnt-6 .menuItemWraper{
    width: 1620px;
}
.menuItemListRow.cnt-7 .menuItemWraper{
    width: 1890px;
}
.menuItemListRow.cnt-8 .menuItemWraper{
    width: 2160px;
}
.menuItemListRow.cnt-9 .menuItemWraper{
    width: 2430px;
}
.menuItemListRow.cnt-10 .menuItemWraper{
    width: 2700px;
}
.menuItemListRow.cnt-11 .menuItemWraper{
    width: 2970px;
}
 .menuItemList .menuItem, .menuItemList .menuItem a{

        height: 250px;
        width: 250px;
    }


    
}
@media only screen and (min-device-width: 0px) and (max-device-width: 576px) {
.menuItemListRow {
    overflow: hidden;
    overflow-x: auto;    
    height: 220px;
}
.menuItemListRow .menuItemWraper{
    width: 880px;
    height: 220px;
}


.menuItemListRow.cnt-4 .menuItemWraper{
    width: 880px;
}
.menuItemListRow.cnt-5 .menuItemWraper{
    width: 1100px;
}
.menuItemListRow.cnt-6 .menuItemWraper{
    width: 1320px;
}
.menuItemListRow.cnt-7 .menuItemWraper{
    width: 1540px;
}
.menuItemListRow.cnt-8 .menuItemWraper{
    width: 1760px;
}

.menuItemListRow.cnt-9 .menuItemWraper{
    width: 1980px;
}
.menuItemListRow.cnt-10 .menuItemWraper{
    width: 2200px;
}
.menuItemListRow.cnt-11 .menuItemWraper{
    width: 2420px;
}


 .menuItemList .menuItem, .menuItemList .menuItem a{

        height: 200px;
        width: 200px;
    }

}
    
    
@media only screen and (min-device-width: 0px) and (max-device-width: 768px) {
    .mainItemList .mainItem, .mainItemList .mainItem a{
        height: 300px;
        width: 300px;
    }


    .pageImageHeader h1 {

        font-size: 34px;
    }
    
    .mainsection.complectation .topIcon{

        margin-top:45px ;
        margin-bottom: 25px ;
    }
    
}
@media only screen and (min-device-width: 0px) and (max-device-width: 540px) {
    
    main .content .content_text {
        padding: 5px;
    }


    header {
        display: none;
    }

    #sleid {
        width: 1px;
    }

    .header_mobile {
        display: block;
    }

    .container {
        margin-left: 0px;
        margin-right: 0px;
        overflow: hidden;
    }



    main .reviews .all_reviews_mobile {
        display: flex;
    }

    main .reviews .all_reviews {
        display: none;
    }

    main .greetings .welcome_block,
    main .paid_services .services_item {
        display: block;
    }

    main .greetings .greet {
        padding: 32px 12px;
    }

    main .welcome_block .description_label {
        margin: 0px;
        margin-bottom: 24px;
    }

    main .greeting_elems .elem {
        width: 100%;
    }
    
    main .greeting_elems {
        max-width: none;
    }

    main section h2{
        margin-top: 10px;
    }
    main .news button, main .services button {
        margin-top: 120px;
        margin-bottom: 40px;
    }

    main .news .item_news {
        flex-wrap: nowrap;
        overflow: auto;
    }

    main .news .item_news .item {
        flex: 0 0 auto;
        width: 95%;
        padding-right: 5px;
        margin-bottom: 20px;
    }

    main .news .item_news img {
        width: 100%;
        border-radius: 20px 0 20px 0;
        margin-bottom: 16px;
    }

    main .news .item_news .item a {
        font-size: 20px;
        line-height: 24px;
        color: #082D0E;
    }

    main .paid_services .services_item .services_card, main .paid_services .services_item .services_card_1 {
        width: 100%;
        margin-bottom: 20px;
        height: auto;
    }

    main .useful_resource {
        margin-bottom: 90px;
    }

    main .paid_services .services_item .descr {
        width: 100%;
    }

    main .specialists .list_specialist .elem {
        width: 100%;
    }

    main .specialists .list_specialist {
        margin-bottom: 120px;
    }

    main .specialists .call_me_back {
        padding: 72px 12px;
        flex-wrap: wrap;
    }

    main .specialists .call_me_back .call_text {
        flex: 0 0 auto;
        width: 100%;
    }

    main .specialists .call_me_back form {
        width: 100%;
        margin-left: 0px;
        margin-top: 48px;
    }

    #slider_mobile {
        display: flex;
    }

    main .reviews .review_title .all_reviews_mobile {
        margin-top: 92px;
    }

    main .reviews .review_list .review_item {
        width: 100%;
    }

  

    .reviews .btn_next_slide {
        display: none;
    }

    main .reviews .all_reviews_mobile a {
        margin-top: 7px;
        margin-right: 0px;
    }

    main .news .news_title {
        display: block;
    }

    main .news .news_title h2 {
        margin-bottom: 0px;
    }

    main .news button {
        margin-top: 120px;
    }

    main .specialists .call_me_back form {
        display: block;
    }

    main .specialists .call_me_back input[type="text"], main .specialists .call_me_back input[type="submit"] {
        width: 100%;
        border-radius: 20px;
        margin-bottom: 20px;
    }

    header .middle_phone {
        display: flex;
        align-content: center;
    }

    .header_mobile .pop_mobile_menu {
        padding-bottom: 30px;
        height: 100%;
        display: none;
    }

    .header_mobile .pop_mobile_menu ul li {
        list-style-type: none;
        margin-left: -30px;
        padding: 20px 0px;
        border-bottom: 1px solid rgb(210, 210, 210);
    }

    main .image_stamp {
        border-radius: 20px 0px;
        background-image: url('Call_Back_2.png');
        background-size: 100% 100%;
        background-repeat: no-repeat;
    }

    main .about_the_establishment .content {
        display: block;
    }

    main .about_the_establishment .content .navbar {
        display: none;
    }

    main .about_the_establishment .content .content_text {
        width: 100%;
    }

    .mainInfoBlock {
        display: ;
    }

     main .about_the_establishment .content .content_text {
        width: 100%;padding: 0px;
        
    }

    .mainInfoBlock {
        display: block;
        height: auto;
    }

    .divisionInfoBlock .infoElement{
       
        width: 100%;
        padding-right: 5px;
    }
    .divisionInfoBlock .fotoElement{
        height: 305px;
        width: 100%;
    }
    .divisionInfoBlock .btnElementMobile{
        display: block;                   
    }
    .divisionInfoBlock .btnElement{
        display: none;         
    }

    .specInfoBlock .infoElement{
       
        width: 100%;
        padding-right: 5px;
    }
    .specInfoBlock .fotoElement{
        height: 305px;
        width: 100%;
    }
    .specInfoBlock .btnElementMobile{
        display: block;                   
    }
    .specInfoBlock .btnElement{
        display: none;         
    }

    .specialInfoElementMain {
        display: block;
    }

    .specialInfoElementMain .fotoSpec{
        display: block;
        width: 100%;
        height: 360px;
    }

    .specialInfoElementMain .info{
        
    }



    .mobileVisible{
        display: block;         
    }
    
    .mobileHidden{
        display: none;         
        
    }

    .wishBlock .img{
        display: none;
    }
    .wishBlock .content{
        width: 100%;
    }
    .ordertable .orderrow .ordermaininfo {    
        height: auto;
        margin-bottom: 10px;
    }
    .ordertable .orderrow .ordermaininfo .summCell{    
        display: block; 
        width: 100%;
        text-align: left;
    }
    .ordertable .orderrow .ordermaininfo .payCell{    
        display: block;
        position: relative;
    }
    .ordertable .orderrow .ordermaininfo .payCell .paystate {
        top: -40px;
    }
    .ordertable .orderrow .ordermaininfo button{
        position: absolute;
        top: -45px;
        right: 0px;
    }

    .mainsection {
        padding: 10px 20px;
    }

    .mainsection.complectation .topIcon{

        margin-top:45px ;
        margin-bottom: 25px ;
    }
}
















