@media (max-width: 800px) {
    /* #top_bar.uk-flex {
        display: block;
    }

    #top_bar .uk-flex .uk-flex {
        display: block;
    } */

    .second_frame {
        height: auto;
    }

    .third_frame {
        height: auto;
    }

}

@media (max-width: 1200px) {
    #top_bar.uk-flex {
        display: block;
    }

    #top_bar .uk-flex .uk-flex {
        display: block;
    }


    .top_button {
        height: auto;
    }
    
}

@media (max-width: 960px) {
    
    #top_bar .cell {
    border-left: 0px solid rgba(255, 255, 255, .2);
    padding: 0 30px 0 30px;
    position: relative;
}

    #main_header_svg {
        min-width: 1170px;
        min-height: 1000px;
        /* height: 150%; */
    }
    
    .header_img::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0050aac4;
}


    #map_all {
        visibility: hidden;
    }
    

    .heading_block {
        margin: 0 0 20px 0;
    }
    .heading_block p {
        border-right: 0;
    }

    .heading_title {
        padding: 0 20px 0 0;
    }



    .top_button {
        height: auto;
    }

    .second_frame {
        animation: none;
        background-color: #f3f3f3;
        height: 100vh;
        min-height: 1250px;
        width: 100%;
    }

    .fourth_frame {
        margin-top: 50px;
    }

    .loc_button {
        width: 190px;
    }

    .loc_button:hover {
        width: 190px;
        margin-left: 30px;
    }

    .day_service_text {
        padding-top: 50px;
    }


    .cell img {
        width: 90px;
        height: auto;
    }

    #top_bar {
        margin-top: 39px;
    }

    .top_button {
        transition: none;
        background: #E44E26;
    }

    .top_button:hover {
        padding-left: 30px; 
    }

    .phone {
        padding-left: 30px;
    }

    .middle_bar {
        top: 40%;
        transform: translateY(-40%);
    }

    .footer_button {
        padding-left: 30px !important;
        top: 0;
        transform: none;
        /* margin-left: 35px; */
    }
    .footer_button:hover {
        padding-left: 30px;
    }
    
    .loc_button > span.material-symbols-outlined {

  display: none;
}

#top_bar > div {
    gap: 0;
}
    #top_bar a {
  display: table;
  margin: 15px auto;
}
  
}

@media (max-width: 640px) {
    
    #top_bar .cell {
    border-left: 0px solid rgba(255, 255, 255, .2);
    padding: 0 30px 0 30px;
    position: relative;
}

    #main_header_svg {
        min-width: 1920px;
        min-height: 1100px;
    }

    .main_header {
  min-height: 675px;
  height: 675px;
}

    .main_header>.uk-container {
        height: 675px;
    }
    
    .theme_block_min {
        padding: 35px;
    }
    
    .theme_block_min.main_theme_block > svg {
        transform: scale(1.4) !important;
    }

    h3 {
        color: #fff;
    font-family: 'Montserrat', sans-serif;
    margin-top: 10px;
    margin-bottom: 5px;
    font-size: 32px;
    font-weight: 700;
    line-height: 120%;
    }

    h3 span {
        margin-bottom: 5px;
        margin-right: 10px;
    }

    .middle_text p {
        margin-top: 5px;
    }

    .middle_bar {
        width: calc(100% - 30px);
        top: 50%;
        transform: translateY(-50%);
        padding: 0 35px;
    }

    .middle_text p {
        color: #fff;
        font-family: 'Inter', sans-serif;
        font-size: 16px;
        font-weight: 400;
    }

    .middle_button_l {
        transform: none;
        margin-right: 20px;
        margin-bottom: 20px;
        transition: none;
        background: #63B5E5;
    }

    .middle_button_l:hover {
        padding-left: 30px;
    }

    .middle_button_r {
        top: 0;
        transform: none;
    }

    .middle_button_r:hover {
        padding-left: 30px;
    }

    .bottom_bar {
        bottom: 5vh;
    }

    .day_service_text>span {
        font-size: 30px;
        font-weight: 700;
    }

    .text_block .theme_heading_text {
        padding: 20px 30px 0 30px;
    }

    .text_block .heading_title {
        padding: 0 30px 0 30px;
    }

    .loc_header {
        padding: 30px 30px 0 30px;
    }

    .main_theme>span {
        font-size: 30px;
        font-weight: 700;
    }
        
    .main_theme_block {
        padding-top: 30px;
    }

    .loc_block {
        margin: 30px 0 30px 0;
    }

    .loc_block {
        margin: 30px 0 30px 0;
    }

    .fourth_frame {
        margin-top: 30px
    }

    .footer_title {
        position: relative;
        font-size: 14px;
        font-weight: 700;
        left: 50%;
        transform: translateX(-50%);
        /* padding: 20px 0 20px 40px; */
    }

    #footer_bar .cell>img {
        position: relative;
        top: 50%;
        transform: translateY(-50%);
    }
    #footer_bar {
        margin-top: 30px;
        margin-left: 1vh;
        width: 100%;
        z-index: 998;
        min-height: 160px;
        padding: 0;
        position: relative;
    }
    
    .footer {
  height: auto;
}

    #footer_bar div {
        padding-left: 0;
    }

    #footer_bar .cell {
        padding-left: 30px !important;
    }

    .footer_button {
        /* padding-left: 30px !important; */
        /* top: 0; */
        /* transform: none; */
        position: relative;
        margin-top: 5px !important;
        /* padding: 0 15px 0 15px; */
        width: auto;
        display: table;
        margin: 0 auto;

        /* margin-left: 35px; */
    }

    .footer_button:hover {
        /* padding-left: 30px; */
    }

    .privacy_policy {
        position: relative;
        text-align: center;
        margin-top: 5px !important;
        padding-left: 0;
        /* padding: 20px 0 0 40px; */
    }
    
    .footer_que .privacy_policy {
        padding-top: 0 !important;
    }

    .mobile_footer {
        width: 100vh;
    }

    .que {
        position: relative;
        max-width: 400px;
        font-size: 14px;
        font-weight: 700;
        color: #ffffff;
        text-align: center;
        padding-left: 0;
    }

    .footer_que {
        padding: 0 30px 0 30px;
        text-align: center;
        margin-top: 0 !important;
    }
    
    .footer_que>a {
        padding-left: 0;
        margin-top: 0 !important;
    }

    .footer_que.uk-grid {
        margin-left: 0;
    }
    
    .modal_footer a div {
        margin-top: 15px !important;
        margin-bottom: 15px !important;
    }
    
    .name_mo {
        padding: 0 0 0 30px !important;
        margin-top: 10px !important;
    }
    
    .work_mo {
        padding: 0 0 0 30px !important;
        margin-top: 10px !important;
    }
    
    .moder, .spiker, .spiker_vks {
        margin: 10px 0 0 0 !important;
    }
    
    .data_mo {
        border-right: 2px solid transparent;
    }
    
    .time_mo {
        padding-left: 0;
    }
    
    .info_mo {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .spisok_mo .uk-grid div {
    margin-top: 5px !important;
    }

    .prog_button {
        display: block;
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .dwnld>div {
        margin-top: 0 !important;
    }
    .accommodation_content {
  padding: 35px 28px 60px;
}
.theme_block {;
  min-height: 455px;
}

.filter {
  overflow-x: auto;
  padding-bottom: 15px;
  text-align: right;
}

.filter li a {
  display: block;
  white-space: nowrap;
}
    
    
.loc_button > span.material-symbols-outlined {

  display: none;
}

#top_bar > div {
    gap: 0;
}
    #top_bar a {
  display: table;
  margin: 15px auto;
}
    
}