
@media only screen and (max-width: 1000px) {

    body {
        position: relative;
    }
    .center {
        width: 96%;
        min-width: 300px;
        padding: 0px;
        margin: 0px auto;
        position: relative;
    }
    .gray {
        color: #ccc;
    }
    .orange {
        color: #ff9900;
    }
    .bold {
        font-weight: 500;
    }
    .red {
        color: #ed1c24;
    }
    .profilright {
        display:  block;
        margin-top:  15px;
        text-align:  left;
        float:  none;
    }
    img.hlavnifoto {
        width: 250px;
        height: auto;
        float: right;
        margin: 0px 0px 10px 10px;
    }
    hr {
        width: 100%;
        height: 1px;
        background: #e0dedd;
        margin: 0px 0px 20px 0px;
    }
        header {
            width: 100%;
            min-width: 320px;
            height: auto;
            padding: 4px 0px 0px 0px;
            margin: 0px;
            position: relative;
        }
        header img.mobile {
            width: 100%;
            height: auto;
        }
            header #PozadiHome {
                width: 100%;
                height: auto;
                padding: 0px 0px 0px 0px;
                margin: 0px;
                float: none;
                clear: both;
                position: relative;
                top: 0px;
            }
            header #Pozadi {
                width: 100%;
                height: auto;
                padding: 0px 0px 0px 0px;
                margin: 0px;
                float: none;
                clear: both;
                position: relative;
                top: 0px;
            }
            header #Logo {
                display: none;
            }
            header #PromoMobile, header #Mobil {
                display: block;
            }
                header #PromoMobile img {
                    width: 100%;
                    height: auto;
                }
                header #LogoMobil {
                    width: 240px !important;
                    height: 85px !important;
                    float: left;
                    overflow: hidden;
                    font-size: 0.4em;
                    margin: 5px 5px 5px 5px !important;
                    padding: 0px 0px 0px 0px;
                    text-indent: -9999px;
                    position: relative;
                }
                header #LogoMobil span {
                    display: block;
                    position: absolute;
                    top: 0;
                    left: 0px;
                    width: 240px !important;
                    height: 85px !important;
                    visibility: visible;
                    cursor: pointer;
                    _cursor: hand;
                    background: url(../images/pozadi-logo.png) no-repeat;
                    background-size: 240px 85px;
                }
                h2#Popisek {
                    display:  none;
                }
                #PopisekMobil {
                    color:  #fff;
                    display: block;
                    font-weight:  300;
                    font-size: 1.0em;
                    float:  none;
                    padding:  0px 0px 0px 0px;
                    margin: 0px 0px 0px 0px;
                    position: absolute;
                    bottom: 8px;
                    left: 112px;
                }
            #MenuMobil {
                float: right;
                margin: 20px 10px 10px 10px;
            }
        #HorniMenu {
            display:  none;
        }
        #DolniMenu {
            display:  none;
        }
        nav#Navigace {
            width: 100%;
            height: auto;
            margin: 105px 0px 0px 0px;
            padding: 0px;
            display: none;
            background: #02c355;
            border: none;
            position: absolute;
            top: 0px;
            border-bottom:  4px solid #fff;
        }
        nav#Navigace ul#Menu {
            width: 100%;
            height: auto;
            list-style: none;
            margin: 0px;
            padding: 0px;
            background: #02c355;
            border: none;
        }
            #Menu li {
                float: none;
                height: auto;
                display: block;
            }
            #Menu li a {
                width: calc(100% - 46px);
                height: auto;
                display: block;
                position: relative;
                color: #fff;
                font-size: 1.2em;
                text-align: left;
                padding: 15px 20px 15px 20px;
                margin: 0px 0px 5px 2px;
                text-decoration: none;
                border-left: 4px solid #fff;
                border-right:  none;
                border-bottom:  2px solid  #fff;
            }
            #Menu a:hover, #Menu a.aktivni, #Menu a:active, #Menu a:focus {
                color: #000 !important;
                font-weight:  bold;
                border-left: 4px solid #000;
                background-color: #fff;
            }
    #PromoMobil {
        width: 100%;
        min-width: 320px;
        height: auto;
        display: block;
        margin: 0px 0px 15px 0px !important;
        padding: 0px 0px 0px 0px;
        position: relative;
    }
        #PromoMobil .text {
            width: 250px;
            font-size: 1.7em;
            line-height: 1.4em;
            font-weight: 700;
            padding: 20px 0px 0px 0px;
            text-align: center;
            position: absolute;
            top: 0px;
        }
        #PromoMobil span {
            font-weight: 300;
        }
        #PromoMobil img {
            width: 100%;
            min-width: 320px;
            display: block;
            margin: 0px auto;
        }
    #fwslider {
        display: none;
    }
    #fwslider .slide_content h1 {
            position: relative;
            margin: -20% 0px 0px 35px;
            position: absolute;
            color: #fff;
            font-size: 3.0em;
            line-height: 1.5em;
            font-weight: 700;
            display: block;
        }
            #fwslider .slide_content h1 span {
                font-weight: 300;
                margin-left: 8px;
            }
        #fwslider .slide_content h1.napis {
            position: relative;
            font-size: 2.0em;
            margin: 0px 0px 0px 35px !important;
            position: absolute;
            color: #fff;
            line-height: 1.5em;
            font-weight: 500;
        }
    section {
        width: 100%;
        min-width: 320px;
        margin: 0px auto 0px auto;
        position: relative;
        padding: 0px 0px 0px 0px;
    }
        section article {
            width: 96%;
            margin: 10px auto 0px auto;
            padding: 0px 0px 25px 0px;
            background: #fff;
            border: none;
        }
        section article .center {
            width: 98%;
            min-width: 320px;
            margin: 0px auto;
        }
        section.detail {
            margin-top: 0px;
        } 
        #Drobky {
            margin: 0px 0px 15px 0px;
            padding-left: 0px;
            color: #000;
            background: url(../images/pozadi-menu.png) repeat;
        }
            #Drobky a {
                color: #009540;
                font-size: 1.0em;
            }
            #Drobky a.aktivni, #Drobky a:hover, #Drobky a:active, #Drobky a:focus {
                color: #000;
                text-decoration: none;
            }
        #Obal, #ObalHome {
            width:  100% !important;
            float:  left;
        }
        #PartneriHome {
            width:  100% !important;
            float:  right !important;
        }
            #PartneriHome ul li {
                display:  inline;
                float:  left;
            }
        #Novinky {
            width: 90%;
            padding:  15px 15px 5px 15px;
            margin:  15px 0px 15px 0px;
        }
        .login table {
           width: 100% !important;
           max-width:  380px;
        }
            #Formular {
                width: 100%;
                margin: 0px auto;
                padding: 0px 0px 20px 0px;
            }
            input, select {
                padding: 3px 7px;
                border: 1px solid #0C4182;
            }
            input.odeslat {
                padding: 4px 10px;
                color: #fff;
                cursor: pointer;
                _cursor: hand;
                background: #0C4182;
            }
            table, table#Poptavka {
                    display: block;
                    overflow-x: auto;
                    white-space: nowrap;
                }
/*
                table tbody {
                    width: 100%;
                    overflow-y: auto;
                    overflow-x: hidden;
                }
*/
                #Formular {
                    width: 98% !important;
                    color: #000;
                    padding: 0px 0px 0px 0px;
                }
                table#Registrace {
                        width: 100% !important;
                    }
                    table#Registrace tr, table#Registrace tr td  {
                        width: 100% !important;
                        padding: 0px !important;
                        margin: 0px !important;
                        border: none !important;
                        background: none !important;
                    }
                    table#Registrace tr td {
                        width: 100% !important;
                        display: block;
                        padding: 2px 0px !important;
                        margin: 5px 0px !important;
                        font-size: 0.85em;
                        color: #000;
                    }
                    #Registrace input, #Registrace textarea {
                        padding: 7px 10px;
                        margin: 2px;
                        color: #000;
                        border: 1px solid #009540;
                    }
                    #Registrace input {
                        width: 90%;
                    }
                    #Registrace input.radio {
                        width: 20px;
                        margin-left: 20px;
                    }
                    #Registrace textarea {
                        width: 90%;
                        height: 80px;
                        background: #fff url(../images/logo-textarea.png) right bottom no-repeat;
                    }
                    #Registrace .right {
                        width:  100% !important;
                        text-align:  left !important;
                    }
                    #Registrace input.tlacitko {
                        width: 100px;
                        height: 39px;
                        cursor: pointer;
                        _cursor: hand;
                        color: #fff;
                        float: right;
                        margin: 0px 0px 0px 0px;
                        background: #0067a7;
                    }
            table tr th, table tr td {
                padding: 5px 10px;
                font-size: 0.9em;
                border:  none;
            }
            table tr td {
                
            }
            table tr th {
                text-align: left;
                font-weight: normal;
            }
            
            table tr td {
                border: none;
            }
            #Galerie .foto {
                width: 204px;
                height: 204px;
                overflow: hidden;
                float: left;
                text-align: center;
                position: relative;
                margin: 7px;
                /*border: 1px solid #0C4182;*/
            }
                #Galerie .foto a img {
                    width: 204px;
                    height: 204px;
                    margin: 0px auto;
                    cursor: pointer;
                    cursor: hand;
                    z-index: 4;
                }
                    #Galerie .foto a:hover img, #Galerie .foto a:active img, #Galerie .foto a:focus img {
                        opacity: 0.8;
                    }
                article #Galerie .foto .subgal {
                        width: 204px;
                        height: 59px;
                        position: absolute;
                        font-size: 0.9em;
                        top: 0px;
                        left: 0px;
                        font-weight: bold;
                        color: #fff;
                        padding: 10px 0px 0px 0px;
                        overflow: hidden;
                        text-align: center;
                        cursor: pointer;
                        cursor: hand;
                        z-index: 2;
                        background: url(../images/pozadi-subgal.png) 0px 0px no-repeat;
                }
                    article #Galerie .foto:hover .subgal {
                        color: #0C4182;
                        background: url(../images/pozadi-subgal-akt.png) 0px 0px no-repeat;
                    }
            #Pod {
                width: 100%;
                margin: 0px 0px 30px 0px;
            }
            #Pod a.subpage {
                    display: block;
                    float: left;
                    font-size: 1.0em;
                    font-weight: bold;
                    color: #fff;
                    padding: 10px 15px 10px 15px;
                    margin: 5px;
                    overflow: hidden;
                    text-decoration: none;
                    text-align: center;
                    cursor: pointer;
                    cursor: hand;
                    z-index: 2;
                    background: #007ac3;
                }
                #Pod a.subpage:hover, #Pod a.subpage:active, #Pod a.subpage:focus {
                    color: #fff;
                    background: #000;
                    /*background: url(../images/pozadi-subgal-akt-red.png) 0px 0px no-repeat;*/
                }     
            article #Sub .foto {
                width: 172px;
                height: 172px;
                margin: 1px;
                float: left;
                background: #f1f3f4;
                border: 1px solid #008ad1;
            }
            article #Sub .foto:hover, article #Sub .foto:active, article #Sub .foto:focus {
                border: 1px solid #003e75;
            }
            article #Sub .foto a {
                line-height: 172px;
                text-align: center;
                vertical-align: center;
            }
            article #Sub .foto a img {
                max-width: 172px;
                max-height: 172px;
            }
            .youtube {
                width: 100%;
                height: auto;
            }
            .youtubes {
                width: 325px;
                height: 290px;
                float: left;
                margin-bottom: 5px;
            }
            .youtubes:nth-child(odd) {
                margin-right: 5px;
            }
            .youtubes:nth-child(even) {
                margin-left: 5px;
            }
        #Dokumenty a.docs {
            width: 100%;
            height: auto;
            display: block;
            color: #0C4182;
            margin: 0px 2px 4px 0px;
            background: #e9eff4;
            padding: 8px 10px;
            cursor: pointer;
            cursor: hand;
            float: left;
            text-decoration: none;
        }
            #Dokumenty a:hover.docs, #Dokumenty a:active.docs, #Dokumenty a:focus.docs {
                color: #fff;
                background: #0C4182;
            }
            #Dokumenty a.docs:nth-child(even) {
                margin-left: 2px;
                margin-right: 0px;
            }
            #Dokumenty a.docs .ikona {
                width: 45px;
                height: 37px;
                float: left;
            }
                #Dokumenty a.docs .txt {
                    background: url(../images/ico/txt.png) 0px 0px no-repeat;
                }
                    #Dokumenty a:hover.docs .txt, #Dokumenty a:active.docs .txt, #Dokumenty a:focus.docs .txt {
                        background: url(../images/ico/txt-hover.png) 0px 0px no-repeat;
                    }
                #Dokumenty a.docs .pdf {
                    background: url(../images/ico/pdf.png) 0px 0px no-repeat;
                }
                    #Dokumenty a:hover.docs .pdf, #Dokumenty a:active.docs .pdf, #Dokumenty a:focus.docs .pdf {
                        background: url(../images/ico/pdf-hover.png) 0px 0px no-repeat;
                    }
                #Dokumenty a.docs .doc {
                    background: url(../images/ico/doc.png) 0px 0px no-repeat;
                }
                    #Dokumenty a:hover.docs .doc, #Dokumenty a:active.docs .doc, #Dokumenty a:focus.docs .doc {
                        background: url(../images/ico/doc-hover.png) 0px 0px no-repeat;
                    }
                #Dokumenty a.docs .ocx {
                    background: url(../images/ico/ocx.png) 0px 0px no-repeat;
                }
                    #Dokumenty a:hover.docs .ocx, #Dokumenty a:active.docs .ocx, #Dokumenty a:focus.docs .ocx {
                        background: url(../images/ico/ocx-hover.png) 0px 0px no-repeat;
                    }
                #Dokumenty a.docs .xls {
                    background: url(../images/ico/xls.png) 0px 0px no-repeat;
                }
                    #Dokumenty a:hover.docs .xls, #Dokumenty a:active.docs .xls, #Dokumenty a:focus.docs .xls {
                        background: url(../images/ico/xls-hover.png) 0px 0px no-repeat;
                    }
                #Dokumenty a.docs .lsx {
                    background: url(../images/ico/xls.png) 0px 0px no-repeat;
                }
                    #Dokumenty a:hover.docs .lsx, #Dokumenty a:active.docs .lsx, #Dokumenty a:focus.docs .lsx {
                        background: url(../images/ico/xls-hover.png) 0px 0px no-repeat;
                    }
            #Dokumenty a.docs .nazev {
                width: 100%;
                height: auto;
                padding: 3px 5px 0px 0px;
                float: left;
                font-size: 0.8em;
                line-height: 1.3em;
            }
            #Dokumenty a.docs .popis {
                width: 100px;
                height: 37px;
                float: left;
                margin: -2px 0px 0px 0px;
                font-size: 0.7em;
                line-height: 1.3em;
            }
                #Dokumenty a.docs .popis strong {
                    font-weight: bold;
                }
                    #Dokumenty a.docs .popis strong span {
                        text-transform: uppercase;
                    }

        #Dokumenty a.doks {
            width: calc(100% - 20px);
            position: relative;
            height: auto !important;
            display: block;
            color: #fff;
            margin: 0px 0px 4px 0px;
            background: #009540;
            padding: 8px 10px;
            cursor: pointer;
            cursor: hand;
            float: none !important;
            clear: both;
            text-decoration: none;
        }
            #Dokumenty a:hover.doks, #Dokumenty a:active.doks, #Dokumenty a:focus.doks {
                color: #fff;
                background: #000;
            }
            #Dokumenty a.doks:nth-child(even) {
                margin-left: 0px !important;
                margin-right: 0px;
            }
            #Dokumenty a.doks .ikona {
                width: 45px;
                height: 37px;
                float: left;
            }
                #Dokumenty a.doks .txt {
                    background: url(../images/ico/txt-hover.png) 0px 0px no-repeat;
                }
                    #Dokumenty a:hover.doks .txt, #Dokumenty a:active.doks .txt, #Dokumenty a:focus.doks .txt {
                        background: url(../images/ico/txt-hover.png) 0px 0px no-repeat;
                    }
                #Dokumenty a.doks .pdf {
                    background: url(../images/ico/pdf-hover.png) 0px 0px no-repeat;
                }
                    #Dokumenty a:hover.doks .pdf, #Dokumenty a:active.doks .pdf, #Dokumenty a:focus.doks .pdf {
                        background: url(../images/ico/pdf-hover.png) 0px 0px no-repeat;
                    }
                #Dokumenty a.doks .doc {
                    background: url(../images/ico/doc-hover.png) 0px 0px no-repeat;
                }
                    #Dokumenty a:hover.doks .doc, #Dokumenty a:active.doks .doc, #Dokumenty a:focus.doks .doc {
                        background: url(../images/ico/doc-hover.png) 0px 0px no-repeat;
                    }
                #Dokumenty a.doks .ocx {
                    background: url(../images/ico/ocx-hover.png) 0px 0px no-repeat;
                }
                    #Dokumenty a:hover.doks .ocx, #Dokumenty a:active.doks .ocx, #Dokumenty a:focus.doks .ocx {
                        background: url(../images/ico/ocx-hover.png) 0px 0px no-repeat;
                    }
                #Dokumenty a.doks .xls {
                    background: url(../images/ico/xls-hover.png) 0px 0px no-repeat;
                }
                    #Dokumenty a:hover.doks .xls, #Dokumenty a:active.doks .xls, #Dokumenty a:focus.doks .xls {
                        background: url(../images/ico/xls-hover.png) 0px 0px no-repeat;
                    }
                #Dokumenty a.doks .lsx {
                    background: url(../images/ico/xls-hover.png) 0px 0px no-repeat;
                }
                    #Dokumenty a:hover.doks .lsx, #Dokumenty a:active.doks .lsx, #Dokumenty a:focus.doks .lsx {
                        background: url(../images/ico/xls-hover.png) 0px 0px no-repeat;
                    }
            #Dokumenty a.doks .nazev {
                width: calc(100% - 150px);
                position: relative;
                height: auto !important;
                padding: 1px 5px 0px 0px;
                float: left;
                font-size: 1.0em;
                line-height: 1.2em;
            }
                #Dokumenty a.doks .nazev p {
                    color: #000;
                    font-size: 0.95em;
                    line-height: 1.3em;
                    margin: 5px 0px 0px 0px !important;
                }
                #Dokumenty a:hover.doks .nazev p, #Dokumenty a:active.doks .nazev p, #Dokumenty a:focus.doks .nazev p {
                    color: #fff;
                }
            #Dokumenty a.doks .popis {
                width: 100px;
                height: 37px;
                float: left;
                margin: -2px 0px 0px 0px;
                font-size: 0.8em;
                line-height: 1.3em;
            }
                #Dokumenty a.doks .popis strong {
                    font-weight: bold;
                }
                    #Dokumenty a.doks .popis strong span {
                        text-transform: uppercase;
                    }

        #Hledani a.vysledek {
            width: calc(100% - 20px);
            height: auto !important;
            display: block;
            position: relative;
            color: #0C4182;
            margin: 0px 0px 4px 0px;
            background: #e2f4fd;
            padding: 8px 10px;
            cursor: pointer;
            cursor: hand;
            float: none !important;
            clear: both;
            text-decoration: none;
        }
            #Hledani a:hover.vysledek, #Hledani a:active.vysledek, #Hledani a:focus.vysledek {
                color: #fff;
                background: #0C4182;
            }
            #Hledani a.vysledek:nth-child(even) {
                margin-left: 0px !important;
                margin-right: 0px;
            }
            #Hledani a.vysledek .nazev {
                width: 100%;
                height: auto !important;
                padding: 3px 5px 0px 0px;
                font-size: 1.0em;
                line-height: 1.3em;
            }
                #Hledani a.vysledek .nazev span {
                    text-transform: capitalize;
                }
                #Hledani a.vysledek .nazev p {
                    color: #000;
                    font-size: 0.95em;
                    line-height: 1.3em;
                    margin: 0px !important;
                }
                #Hledani a:hover.vysledek .nazev p {
                    color: #fff;
                }

        .strankovani {
            margin: 15px 0px 15px 0px;
            text-align: center;
        }
            .strankovani span a {
                padding: 5px 10px 7px 10px;
                background: #e2f4fd;
                font-size: 0.9em;
                font-weight: normal;
                color: #0C4182;
                margin: 5px;
                text-decoration: none;
            }
            .strankovani a:hover, .strankovani a:active, .strankovani a:focus {
                color: #fff;
                background: #007ac3;
                text-decoration: none;
            }
            .strankovani span.aktivni {
                padding: 5px 10px 7px 10px;
                background: #007ac3;
                color: #fff;
                margin: 5px;
                font-size: 0.9em;
                font-weight: normal;
            }
    footer {
        width: 100% !important;
        min-width: 320px;
        height: auto;
        margin: 0px !important;
        padding: 0px 0px 6px 0px !important;
    }
        footer #Paticka {
            width: calc(100% - 20px);
            min-width: 300px;
            min-height: 120px;
            height: auto;
            color: #fff;
            position: relative;
            padding: 25px 10px 25px 10px;
            background:  #009540;
        }
        footer a {
            color: #fff;
            text-decoration: none;
        }
            footer a:hover, footer a:active, footer a:focus {
                color: #fff;
                text-decoration: underline;
            }
        footer ul {
            margin: 0px;
            list-style: none;
        }
        footer .sloupec {
            width: 100%;
            float: none;
            font-size: 1.2em;
            line-height: 1.5em;
            margin: 0px 0px 15px 0px;
        }
            footer .prvni {
                width: 100%;
            }
            footer .druhy {
                width: 100%;
                padding: 0px 0px 15px 0px;
                border-right: none;
                border-bottom: 4px solid #fff;
            }
            footer .rozdel {
                border-right: none;
                padding:  15px 0px;
                margin:  15px 0px 15px 0px;
                border-bottom:  1px solid #fff;
            }
            footer .treti {
                width: 100%;
                border: none;
                margin: 0px;
                padding: 0px 0px 15px 0px;
                border-right: none;
                border-bottom: 4px solid #fff;
            }
            footer .last {
                width: 100%;
                padding-top:  150px;
                text-align:  center;
                float: none;
            }
    #Mapastranek {

    }
        #Mapastranek ul, #Mapastranek ul li {
            margin-bottom: 0px;
        }
        #Mapastranek ul li ul {
            margin-left: 20px;
        }
        #Mapastranek a {
            color: #0C4182;
            text-decoration: underline;
        }
        #Mapastranek a:link {
            color: #0C4182;
            text-decoration: underline;
        }
        #Mapastranek a:visited {
            color: #0C4182;
            text-decoration: none;
        }
        #Mapastranek a:hover, #Mapastranek a:active, #Mapastranek a:focus {
            color: #000;
            text-decoration: none;
        }
        .sending, .check {
            display: none;
        }
        #LogoMobil, #MobilMenu, #MenuMobil, #MapaStred, #MapaMala, .mobile, #OdstupMobil, #VyhledavaniMobil {
            display: block;
        }
        .desktop {
            display: none;
        }
        #Promo .timers, #fwslider .slide_content_wrap p, #fwslider .slidePrev, #fwslider .slideNext {
            display: block;
        }
        #Nadmenumobil {
            display: block;
        }
    .schovat {
        display: none;
    }
    .mobile {
        display: block;
    }
}
@media only screen and (max-width: 320px) {
    .nonadpis {
            padding: 20px 0px 0px 25px !important;
            text-align: left !important;
        }
    .mobils {
        display: none;
    }
}
@media only screen and (min-width: 320px) and (max-width: 400px) {
    #PromoMobil .text {
            width: 250px;
            font-size: 1.7em;
            line-height: 1.4em;
            font-weight: 700;
            padding: 20px 0px 0px 0px;
            text-align: center;
            position: absolute;
            top: 0px;
    }
        .nonadpis {
            padding: 20px 0px 0px 25px !important;
            text-align: left !important;
        }
        .mobils {
        display: none;
    }
}
@media only screen and (min-width: 400px) and (max-width: 500px) {
        #PromoMobil .text {
            padding: 40px 0px 0px 0px;
        }
        .nonadpis {
            padding: 30px 0px 0px 25px !important;
            text-align: left !important;
        }
    .mobils {
        display: none;
    }
}
@media only screen and (min-width: 500px) and (max-width: 600px) {
        #PromoMobil .text {
            width: 500px;
            padding: 110px 0px 0px 0px;
        }
        .nonadpis {
            padding: 40px 0px 0px 25px !important;
            text-align: left !important;
        }
        .mobils {
        display: none;
    }
}
@media only screen and (min-width: 600px) and (max-width: 1000px) {
        #PromoMobil .text {
            width: 90%;
            padding: 50px 0px 0px 30px;
            text-align: left;
            font-size: 2.0em;
        }
        .nonadpis {
            padding: 50px 0px 0px 25px !important;
            text-align: left !important;
        }
        .mobils {
            display: block;
        }
}
@media only screen and (min-width: 800px) and (max-width: 1000px) {
        #PromoMobil .text {
            padding: 80px 0px 0px 30px;
        }
}
@media only screen and (min-width: 1000px) and (max-width: 1200px) {
        #fwslider .slide_content h1 {
            position: relative;
            margin: -60px 0px 0px 35px;
            position: absolute;
            color: #fff;
            font-size: 2.8em;
            line-height: 1.3em;
            font-weight: 700;
        }
            #fwslider .slide_content h1 span {
                font-weight: 300;
                margin-left: 8px;
            }
        #fwslider .slide_content h1.napis {
            position: relative;
            font-size: 2.0em;
            margin: 65px 0px 0px 35px !important;
            position: absolute;
            color: #fff;
            line-height: 1.5em;
            font-weight: 500;
        }
        #Sluzby .foto {
                    width: 180px;
                    height: 180px;
                    overflow: hidden;
                    float: left;
                    text-align: center;
                    position: relative;
                    margin: 15px 10px 10px 10px;
                    /*border: 1px solid #0C4182;*/
                }
                    #Sluzby .foto a img {
                        width: 180px;
                        height: 180px;
                        margin: 0px auto;
                        cursor: pointer;
                        cursor: hand;
                        z-index: 4;
                    }
        #fwslider .slide_content .hlavnifotoslider {
            display: none;
        }
}
@media only screen and (min-width: 1200px) and (max-width: 1400px) {
        #fwslider .slide_content h1 {
            position: relative;
            margin: -80px 0px 0px 35px;
            position: absolute;
            color: #fff;
            font-size: 2.8em;
            line-height: 1.3em;
            font-weight: 700;
        }
            #fwslider .slide_content h1 span {
                font-weight: 300;
                margin-left: 8px;
            }
        #fwslider .slide_content h1.napis {
            position: relative;
            font-size: 2.0em;
            margin: 40px 0px 0px 35px !important;
            position: absolute;
            color: #fff;
            line-height: 1.5em;
            font-weight: 500;
        }
        #Sluzby .foto {
                    width: 180px;
                    height: 180px;
                    overflow: hidden;
                    float: left;
                    text-align: center;
                    position: relative;
                    margin: 15px 10px 10px 10px;
                    /*border: 1px solid #0C4182;*/
                }
                    #Sluzby .foto a img {
                        width: 180px;
                        height: 180px;
                        margin: 0px auto;
                        cursor: pointer;
                        cursor: hand;
                        z-index: 4;
                    }
}
@media only screen and (min-width: 1400px) and (max-width: 3000px) {
        #fwslider .slide_content h1 {
            position: relative;
            margin: -80px 0px 0px 35px;
            position: absolute;
            color: #fff;
            font-size: 2.8em;
            line-height: 1.3em;
            font-weight: 700;
        }
            #fwslider .slide_content h1 span {
                font-weight: 300;
                margin-left: 0px;
            }
        #fwslider .slide_content h1.napis {
            position: relative;
            font-size: 2.0em;
            margin: 40px 0px 0px 35px !important;
            position: absolute;
            color: #fff;
            line-height: 1.5em;
            font-weight: 500;
        }
        
}
@media only screen and (max-width: 463px) {
    #Galerie .foto, #Sluzby .foto {
        width: calc(49% - 14px);
        height: auto;
        overflow: hidden;
        float: left;
        text-align: center;
        position: relative;
        margin: 7px;
        /*border: 1px solid #0C4182;*/
    }
        #Galerie .foto a img, #Sluzby .foto a img {
            width: 100%;
            height: auto;
            margin: 0px auto;
            cursor: pointer;
            cursor: hand;
            z-index: 4;
        }
}
@media only screen and (max-width: 460px) {
    table#Doba {
        overflow: auto;
        display:  block;
    }
    img.hlavnifoto {
        width: 96%;
        height: auto;
        float: none;
        margin: 0px auto 10px auto;
    }
}
@media only screen and (max-width: 335px) {
    #Novinky {
            width: 84%;
            overflow:  hidden;
            padding:  10px 15px 5px 10px;
            margin:  15px auto 15px auto;
        }
    table tr td.bile {
        border:  1px solid #fff;
    }
}