@media only screen and (min-device-width: 0px) and (max-device-width: 540px) {

    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: 90px;
        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%;
    }

    footer .footer, footer .policy {
        display: block;
        text-align: center;
    }

    footer .footer .logo .num_phone {
        display: block;
        text-align: center;
    }

    footer .footer .phone {
        text-align: center;
    }

    footer {
        padding: 40px 0px 26px 0px;

    }

    footer .logo svg {
        margin-bottom: 28px;
    }

    .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: 16px;
    }

    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;
    }

    .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;         
        
    }

    main .greetings .inner {
        margin: 0 ;
    }

    main .greetings .bg {
        left: 0;        
        transform: translateX(-250px);
    }
    
    main .greetings  {
        overflow-x: hidden;
    }
    
    main .greetings .items {
        position: relative;
        width: 100vw;
        height: 270px;
        padding-top: 105px;
        overflow-y: hidden;
        overflow-x: auto;
/*        border: 1px solid red;*/
        left: 0;
    }
    
    main .greetings .items_content {
        width: 1420px;
    }
    main .greetings .item.first {
        margin-left: 30px;
    }
    .askConsult{
        height: 376px;
    }

    .mainpage h2 {
      margin-top: 80px;
    }
    .questform input{
        width: 100%;
    }
    .questform button{
        margin-top: 10px;
        width: 100%;
    }

    .sportSchool {
        height: auto;
    }
    main .map {
        height: 800px;
        position: relative;
    }

    main .map .sipePanel {
        height: 400px;
        width: 100%;
        position: absolute;
        bottom: 0;
        left: 0;
        border: 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;

    }


    .divisionInfoBlock .infoElement{

        width: 100%;
        padding-right: 5px;
    }
    .divisionInfoBlock .fotoElement{
        height: 305px;
        width: 100%;
    }
    .divisionInfoBlock .btnElementMobile{
        display: block;
    }
    .divisionInfoBlock .btnElement{
        display: none;
    }



}
