@media screen and (max-width : 1024px){ 
    #sheet {        
        margin-left: auto;
        margin-right: auto;        
    }
    #closeMenuItem{
        padding-top: 10px;
    }
    #logo{
        display: block;
    }    
    #right_side {
        margin-left: 1%;
        margin-right: 1%;
    }
    .dropdown-notification {
        width: 800px;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}
@media (min-width:993px){
    #languages{
        margin-top: 0.7em;
    }
    #sidebar{
        z-index: 5;
        display:block ;
    }    
}
@media (hover: hover) and (pointer: fine) {
    #submenu_gallery_container:hover .submenu_gallery{
        display: block;
    }
    #submenu_services_container:hover .submenu_services{
        display: block;
    }
    #submenu_materials_container:hover .submenu_materials{
        display: block;
    }
    #submenu_catalog_container:hover .submenu_catalog{
        display: block;
    }
}

@media screen and (max-width:992px){
    #sidebar{
        display:none;
        border-radius: 0px;        
        position: absolute;
    }   
    #sidebar ul li a img{
        display: none;
    }
    /*
    .mySlides{
        margin-top: 8px;
    }
    */
    #sidebar ul li #logo{
        display: none;
    }
    #inSidebar{
        margin-right: 5px;
        width: 40%;
        font-size: 1.1em;
    }
    #inSidebar ul{
        min-width: 100%;
        padding-left: 0px !important;
        margin-left: 0px!important;
        margin-top: 12px;
        margin-bottom: 5px;
    }
    .a_button{
        height: 45px;
        padding-top: 9px;
    }
    #languages{
        max-width: 800px;
        padding-top: 7px;
    }
    .right_side{
        position: relative;
        max-width: 800px;
        top: 0px;
        margin: 35px auto 0px auto;
        float: none;
    }
    .main_menu{
        max-width: 800px;
        border-radius: 10px 10px 0px 0px;
    }
    .slider_block{
        max-width: 800px;
        padding-top: 0px;        
    }
    #sheet{
        margin-top: 0px;
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 800px;
    }
    #footer{
        max-width: 800px;        
    }
    #submenu_gallery{
        position: absolute;
        width: 39%;
    }
    .w3-button{
        font-size: 1.1em;
    }

    .dropdown-notification {
        max-width: 800px;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}
@media (max-width:800px){   
    .right_side{
        width: 100%!important;
        margin-top: 35px;
        margin-left: auto;
        margin-right: auto;
    }
    #languages{
        width: 100%!important;
    }
    .main_menu{
        width: 100%!important;
        font-size: 0.94em;        
    }
    .dropdown-notification {
        width: 100%;
    }
    
}
@media (max-width:720px){
    .thumb{
        /*height: 150px;*/
    }
    .galeria2{
        /*flex: 30%;*/
    }
}
@media screen and (max-width : 600px){
    body{
        font-size: 15px;
    }
    .slider_block{
        width: 100%;
    }
    .dropdown-notification {
        width: 100%;
    }
    #sidebar{
        min-width: 100%;
        width: 100%
    }
    #right_side{
        min-width: 100%;
    }
    #sheet{
        min-width: 100%;
        padding: 0px 5px;
    }
    #submenu_gallery{
        position: relative;
        width: 100%!important;
    }
    #inSidebar{
        margin: 0px;
        width: 100%;
    }
    .col-container, .dropdown-notification{
        flex-direction:column ;        
        max-width: 100%;
        /*margin-top: -5px;*/
        /*margin-left: 5px;
        margin-right: 5px;*/
    }
    .col70, .col30, .col25 { 
        display: block;
        width: 100%!important;
        min-width: 100%!important;
        max-width: 100%!important;
        margin-bottom: 5px;        
    }
    ul#vyhody{
        padding-left: 20px;
    }
    .telo_box2{
        margin-top: 0px;
        margin-bottom: 5px;
    }
    .ok_ul{
        padding-left: 40px;
        margin-top: 0px;
    }
    #content{
        margin-top: 0px;
    }
    #services{
        margin-top: 10px;
    }
    #services div:first-child{
        padding-left: 0px;
    }
    #services div:last-child{
        margin-left: 0px;
    }
    .vyhoda_right p {
        padding-right: 0px;
    }
    .vyhoda_left img{
        max-width: 50%;
    }
    .text h3{
        border-bottom: 1px solid #814C16; 
    }
    .rekonstrukcie-popis h3{
        border-bottom: 0px;
    }
    .vyhoda_left h3{
        border-bottom: 1px solid #814C16; 
    }
    .mapa_pobocky{
        width: 40%;    
    }
    .pobocka h3{
        text-align: center;
    }
    .show-middle{
        display: none;
    }
    .cemetery .ok_ul, .building .ok_ul{
        padding-left: 20px;
    }
    .bg_architektura img, .bg_vyrobky img{
        margin-right: 0px;    
    }
    .galeria img{
        width: 160px;
        height: auto;
    }
    #footer p, .creator{
        text-align: center;
    }    
    
}
@media screen and (max-width: 449px){
    .foto_pobocky{
        display: none;
    }
    .galeria img{
        width: 120px;
        height: auto;
    }
    p {
        text-align: left;
    }
    /*
    #menuSymbol1{
        font-weight: normal;
    }*/
    .flag{
        display: none;
    }
}
@media screen and (min-width: 450px){
    .show-very-small{
        display: none!important;
    }
    .map-img{
        display: none!important;
    }    
}
@media screen and (max-width: 420px){
    .small_icons{
        display: block;
    }
}
@media screen and (min-width : 601px) and (max-width: 700px){
    body{
        font-size: 0.94em;
    }
    #sidebar{
        max-width: 50%;
    }
    .mapa_pobocky, .foto_pobocky{
        width: 20%;    
    }
    .show-middle{
        display: block;
    }
    .a_button{
        font-size: 1.0em;
    }
    #inSidebar{
        width: 39%;
    }
}