@media (max-width: 980px) {
    
    body {
        min-width: 540px;
    }
    
    #stranka {
        background: white;
    }
    
    #hlavicka {
        width: 100%;
        height: auto;
        box-sizing: border-box;
        background: #007CA7;
    }
    
    #logo {
        float: none;
        display: block;
        margin: 10px auto;
    }
    
    #hlavicka div.jazyky {
        width: 100%;
        box-sizing: border-box;
    }
    
    #a_prihlaseni {
        margin-right: 10px;
    }
    
    #menu {
        width: 100%;
        float: none;
        background: url("universal/menu_back.png") 350px 0 repeat-x;
        box-sizing: border-box;
        margin-top: 40px;
    }
    
    #vyhledavani {
        float: none;
        background: url("universal/menu_back.png") 350px 0 repeat-x;
        margin-top: 0;
        width: 100%;
        box-sizing: border-box;
        padding-bottom: 40px;
    }
    
    #telo {
        overflow: hidden;
    }
    
    #telo div.sky {
        display: none;
    }
    
    #telo, #levy, #pravy, #zapati, #zapati div.content, #komentare {
        width: 100% !important;
        box-sizing: border-box;
        float: none;
    }
    
    #leaderboard, #leadercontent {
        overflow: hidden;
        width: 100% !important;
        box-sizing: border-box;
        top: 0;
        left: 0;
        margin-left: 0;
        max-width: 100%;
    }
    
    #leaderboard > *, #leadercontent > * {
        max-width: 100%;
        height: auto;
    }
    
    #zapati {
        background: black;
        height: auto;
    }
    
    #zapati div.content {
        height: auto;
    }
    
    #copyright {
        float: none;
    }
    
    #telo div.tabbed, #telo div.tabbed .top, #telo div.tabbed .bottom {
        width: 100%;
        box-sizing: border-box;
        background: none;
    }
    
    #telo div.tabbed .d_right, #telo div.tabbed .d_left {
        width: auto;
        float: none;
    }
    
    h3.komentare {
        width: auto;
        background-image: none;
    }
    
    #pravy {
        float: none;
        margin: 20px 0 0 0;
    }
    
    .rekbox2 {
        float: none !important;
    }
    
    .subsection, .subsection2 {
        float: none;
    }
    
    .tabbed .sendcomment input.submit {
        background-image: none;
        border-radius: 3px;
        margin: 0 auto;
    }
    
    .tabbed .sendcomment {
        background: #efefef;
        border-radius: 3px;
    }
    
    #katalog, .tagcloud {
        width: 100%;
        box-sizing: border-box;
    }
    
    #katalog .sloupec, #katalog .sloupec .kategorie, #katalog .sloupec .kategorie .content, .strankovani, .biggraybox {
        float: none !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    #katalog .sloupec .kategorie .top, #katalog .sloupec .kategorie .bottom {
        display: none;
    }
    
    #bluenewsbox_master, .bluenewsbox {
        width: 100% !important;
        box-sizing: border-box !important;
        background: #C2ECF4 !important;
        border-radius: 10px !important;
    } 
    
    .bluenewsbox p {
        float: none !important;
        width: auto !important;
        padding-right: 20px !important;
    }
    
    .bluenewsbox .moreinfo {
        display: none !important;
    }
    
    #gamesbox {
        background: #f1f1f1 !important; 
    }
    
    div.filter {
        background: #eee !important;
        border: 1px solid #ccc !important;
        border-radius: 5px !important;
        height: auto !important;
    }
    
    div.filter p {
        float: none !important;
        display: inline-block !important;
    }
    
    div.filter input.submit {
        top: 0 !important;
        margin: 10px auto !important;
        display: block !important;
        background: #ff8026 !important;
        border-radius: 3px;
    }
    
    #vysledky .vypis, div.filter {
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    #vysledky .vypis span {
        padding-top: 5px !important;
    }
    
    #vysledky .vypis .s1 {
        display: block !important;
        width: 100% !important;
        padding-top: 15px !important;
    }
    
    .downloadline, .downloadline .dl1b {
        width: auto !important;
    }
    
    .downloadline .dl1b {
        margin-right: 10px;
    }
    
    #vyhledavani {
        z-index: 1200;
    }
    
    #naseptavac {
        font-size: 15px;
    }
    
}
