body {
    font-size: 100%;
    background-color: #DFDFFA;
}

#cele {
    background: #F5CFCF;
    background-image: repeating-linear-gradient(
        #F5CFCF,
        #F5CFCF 34%,
        #FFFFD9 34%,
        #FFFFD9 68%
    );
    border: 5px solid #CC0000;
    border-radius: 6px;
    max-width: 960px;
    margin: 10px auto;
}

/* **************** Záhlaví *********************** */
#zahlavi {
    background: url('obrazky/vrsek_stranky.png') no-repeat top left;
    margin: 0;
    padding: 10px;
    min-height: 170px;
    font-size: 100%;
}

h1 {
    max-width: 400px;
    min-width: 335px;
    float: left;
    padding: 5px 40px;
    font-size: 310%;
}

h1 a {
    font: 100% 'Times New Roman';
    text-decoration: none;
    color: gold;
}

.maly_nadpis {
    display: block;
    font: italic 50% 'Times New Roman';
    margin: auto auto auto 60px;
}

#uzivatelske {
    float: right;
    max-width: 350px;

    padding: 10px;
    height: 170px;
    font: 100% Arial;
}

#uzivatelske p {
    max-width: 320px;
    float: right;
    margin: 5px;
}

#uzivatelske label {
    float: left;
    width: 150px;
    font-weight: bold;
}

#uzivatelske input {
    float: right;
    width: 150px;
}

.uzivatel {
    text-align: center;
    font: bold 170% arial;
    color: #CC0000;
    display: block;
    margin-bottom: 10px;
}

.otazka {
    font: bold 100% arial;
    color: black;
}

.hodnota {
    font: bold 100% arial;
    color: #CC0000;
}

#uzivatelske a {
    font-size: 110%;
}

/*  ***************** Celý blok ****************** */
#blok {
    /*background: url('obrazky/stred_se_znakem.png') no-repeat 20% 40%;
    background-size: auto 30%;
/*background-image: repeating-linear-gradient(
        #F5CFCF,
        #F5CFCF 33%,
        #FFFFD9 33%,
        #FFFFD9 66%
);*/
clear: both;
margin: 0;
}

/*  ****** Menu ******* */
menu {
    float: left;
    width: 185px;
    margin: 10px;
    padding: 0;
    position: relative;
}

menu li {
    /*background: url('obrazky/navigace.gif') no-repeat center bottom;*/
    background: #CC0000;
    background: linear-gradient(to bottom, rgba(204,0,0,1) 0%,rgba(191,0,0,1) 49%,rgba(204,0,0,1) 100%);
    border-radius: 8px;
    font: 110% 'Times New Roman';
    width: 181px;
    height: 34px;
    display: block;
    list-style-type: none;
    margin: 2px;
    text-align: center;
    padding-top: 6px;
}

menu li a {
    text-decoration: none;
    color: gold;
    width: 100%;
    display: block;
    height: 100%;
}

menu li:hover {
    background: #CC0000;
}

.aktivni {
    text-decoration: underline;
}

menu li sup {
    color: blue;
    background: yellow;
    padding: 2px;
    position: absolute;
    font-size: 60%;
}

/*  ****** Sponzor ****** */
#sponzor-l {
    display: block;
    width: 180px;
    position: fixed;
    top: 30%;
    background: url("obrazky/sponzor.gif") no-repeat center center;
    height: 250px;
    margin-left: -195px;
    border: 1px solid #CC0000;
    text-align: center;
}

#sponzor-l h1 {
    font: bold 190% 'Times New Roman';
    text-decoration: none;
    color: gold;
    margin: 0;
    padding: 0;
    width: 100%;
    padding-top: 50px;
}

#sponzor-l small {
    display: block;
    font-size: 60%;
    padding-top: 50px;
}

@media (max-width: 1320px) and (min-width: 10px) {
    #sponzor-l {
        position: static;
        margin-left: 2px;
        margin-top: 20px
    }

}

/*  ****** Obsah ****** */
#obsah {
    padding: 10px;
    padding-left: 200px;

    font: 100% Arial;
}

#obsah p {
    text-indent: 30px;
}

h2 {
    color: #CC0000;
    font: bold 200% 'Times New Roman';
    text-align: center;
    margin: 0;
    padding: 0;
}

h3 {
    color: #CC0000;
    font: bold 160% 'Times New Roman';
    text-align: left;
    margin: 20px 0 0 0;
    padding: 0;
}

h4 {
    color: #CC0000;
    font: bold 120% 'Times New Roman';
    text-align: left;
    margin: 10px 0 0 0;
    padding: 0;
}


/* ****** Patička ****** */
#paticka {
    background: #CC0000;
    clear: both;
    padding: 5px;
    text-align: center;
    font: 95% Arial;
    color: white;
}

#paticka a {
    text-decoration: none;
    color: gold;
}

#paticka a:hover {
    text-decoration: underline;
}

/* ********** Jednotlivé ********** */
#napoveda {
    display: none;
    background: white;
    border: 1px solid blue;
    border-radius: 5px;
    position: absolute;
    left: 0px;
    top: 0px;
    padding: 5px
}

/* ** Formulář ** */

input, textarea {
    border: 1px solid #CC0000;
    border-radius: 4px;
    min-height: 1.5ex;
}
input[type="submit"] {
    background: #CC0000;
    background: linear-gradient(to bottom, rgba(204,0,0,1) 0%,rgba(191,0,0,1) 49%,rgba(204,0,0,1) 100%);
    color: gold;
    font-weight: bold;
    padding: 5px
}
input[type="submit"]:hover {
    background: #CC0000;
    cursor: pointer;
}

fieldset {
    margin: 10px;
    padding: 5px;
    width: 380px;
}

fieldset p {
    width: 100%;
    float: right;
    margin: 2px;
    text-indent: 0px !important;
}

fieldset label {
    float: left;
    width: 150px;
    font-weight: bold;
}

fieldset input, fieldset select, fieldset textarea {
    float: right;
    width: 200px;
}

fieldset .nepravidelne {
    width: 90%;
    margin: 10px auto
}

.nepravidelne input {
    width: 150px
}

.chyba_formular {
    display: block;
    border-left: 2px solid #CC0000;
    font-weight: bold;
    padding-left: 5px;
}

.vporadku_formular {
    display: block;
    border-left: 2px solid blue;
    font-weight: bold;
    padding-left: 5px;
}

.skryt_cast {
    display: none;
}

#vyber_cas_obal {
    margin: 0 auto;
    width: 500px
}

.vyber_cas {
    display: block;
    float: left;
    margin: 10px 5px;
    padding: 0;
    width: 100px;
    max-height: 100px;
    min-height: 99px;
    border: 1px outset black;
    text-decoration: none;
    text-align: center;
    color: gold;
}

.vyber_cas:hover {
    border: 1px inset grey;
}

.vyber_cas h5 {
    font-size: 90%;
    margin: 0;
    padding: 0;
}

.pritomny_oznamovaci {
    background: blue;
}

.minuly_oznamovaci {
    background: maroon;
}

.subjuntiv {
    background: black;
}

.imperfektum {
    background: olive;
}

/* ** Procvičování ** */
#procvicovani {
    text-align: center;
    margin: 0 auto;
}

.zadani_sloveso {
    font-size: 150%;
    display: block;
    margin: 0;
}

.zadani {
    font-size: 100%;
    display: block;
    margin: 0;
}

.barva_1 {
    color: maroon
}

.barva_2 {
    color: blue
}

.barva_3 {
    color: black
}

.barva_4 {
    color: olive
}

.barva_5 {
    color: teal
}

.barva_6 {
    color: red
}

#vyhodnoceni_proc {
}

.stav {
    display: block;
    font-weight: bold;
    font-size: 95%;
}

.spatne {
    font-size: 100%;
    border-left: 2px solid #CC0000;
    padding-left: 5px;
}

.spravne {
    font-size: 100%;
    border-left: 2px solid blue;
    padding-left: 5px;
}

/* Tabulka */
table {
    border-collapse: collapse;
    table-layout: fixed;
}

thead {
    text-align: center;
    font-weight: bold;
    background-color: #CC0000;
}

td {
    border: 1px solid #CC0000;
    width: 150px;
    padding: 2px 0 2px 5px;
}

.vlastni td {
    width: auto;
}

.vyhodnoceni_tabulka table {
    border-collapse: collapse;
    table-layout: auto;
    width: auto;
}

.vyhodnoceni_tabulka td {
    border: 0px;
    width: auto;
    padding: 2px 1px 2px 5px;
}

.vyhodnoceni_tabulka .levo {
    text-align: right;
}

.tvary {
    margin-bottom: 40px;
}

.tvary td {
    border: none;
    width: auto;
    min-width: 100px;
}

/* ** Prehled sloves ** */
#procvicovat {
    position: absolute;
    background: white;
    border: 1px solid blue;
    padding: 10px;
    width: 400px;
    display: none;
}

#ulozit_test {
    position: fixed;
    background: white;
    border: 1px solid blue;
    padding: 10px;
    width: 300px;
    display: block;
    left: 60%;
    top: 100px;
}

#ulozit_test fieldset label {
    width: 170px;
}

#ulozit_test fieldset input, select, textarea {
    width: 90px;
}

#ulozit_test fieldset {
    width: 270px;
}

.zavrit {
    background: url('obrazky/zavrit.png') no-repeat;
    width: 25px;
    height: 25px;
    display: block;
    float: right;
}

.zavrit:hover {
    background-image: url('obrazky/zavrit2.png');
}

#nastaveni-zobrazeni-sloves {
    float: right;
    margin-left: 15px;
    margin-right: 10px;
}

/* ** Diskuze ** */
#form_diskuze, .form_diskuze {
    width: 500px;
    margin: 0 auto;
}

#form_diskuze input, .form_diskuze input {
    margin: 1px
}

#form_diskuze textarea, .form_diskuze textarea {
    width: 100%;
    display: block;
    height: 5em;
    margin: 0;
}

.prispevek_diskuze {
    padding-left: 20px;
}

.prispevek_diskuze i {
    float: right;
    font-size: 90%;
}

.prispevek_diskuze p {
    margin: 2px 2px;
}

.blok_diskuze {
    border-left: 3px solid blue;
    margin: 10px;
    padding: 5px;
}

.hlavni {
    border-color: #CC0000;
}

.upraveno {
    display: block;
    color: gray;
    font-size: 90%;
    text-align: right;
}

/* ** Podpořte mě ** */
#podporte-me textarea {
    height: 4em;
    width: 90%;
    display: block;
    margin: 0 auto;
}

/* Facebook tlačítko */
.f-tlacitko {
    font: bold 100% arial;
    border: 1px solid #29447E;
    width: 150px;
    background: #5F78AB;
    position: relative;
    display: block;
}

.f-tlacitko img {
    vertical-align: middle;
    margin: 0;
    border: none;
}

.f-t-text {
    font: bold 100% arial;
    color: white;
    background: #5F78AB;
    display: inline-block;
    text-align: center;
    width: 125px;
    height: 20px;
    margin: 0;
    padding: 0;
    border-top: 1px solid #879AC0;
    position: absolute;
    top: 0px;
    left: 25px;
    padding-top: 3px
}

/* ** Nové přehledy gramatiky ** */
#posledni-prehledy a {
    display: block;
    border: 1px solid #CC0000;
    background: #dcdcdc;
    margin: 5px;
    text-decoration: none;
    clear: both;
}

#posledni-prehledy a:hover {
    border-color: blue;
    background: white;
}

#posledni-prehledy h5 {
    color: #CC0000;
    font-size: 120%;
    margin: 10px;
    float: left;
}

#posledni-prehledy h5:hover {
    text-decoration: underline;
}

#posledni-prehledy .datum {
    display: block;
    float: left;
    margin: 13px;
    color: grey;
    font-size: 85%;
}

#posledni-prehledy p {
    clear: both;
    color: black;
    margin: 10px;
}

#posledni-prehledy .cely-clanek {
    display: block;
    margin-left: 80%;
    margin-bottom: 10px;
}

#posledni-prehledy .cely-clanek:hover {
    text-decoration: underline;

}

/* Pallapras v menu*/
.palappras {
    background-image: none;
    background: rgb(90, 90, 90);
    border: 1px solid grey;
    height: 7.8ex;
    border-radius: 10px;
}

.palappras:hover {
    background: rgb(80, 80, 80);
}

.palappras a {
    color: black;
    background: url("obrazky/skala/logo-mini.png?") left center no-repeat;
    font-weight: bold;
    padding-left: 50px;
    width: 130px;

}

.palappras small {
    display: block;
    color: rgb(30, 30, 30);
}




@media (max-width: 850px) and (min-width: 700px){
    #uzivatelske {
        width: 200px;
        float: right;
    }
    #uzivatelske label, #uzivatelske input, #uzivatelske p {
        display: block;
        float: none;
    }



}

@media (max-width: 700px){

    #obsah {
        padding: 10px;
    }
    menu {
        margin-top: -170px;
    }
}

@media (max-width: 580px) and (min-width: 400px){
    #uzivatelske label, #uzivatelske input, #uzivatelske p {
        display: block;
        float: none;
    }
    #uzivatelske {
        float: right;
        width: auto;
    }
}
    @media (max-width: 400px){
        #uzivatelske {
            padding-top: 20px;
            float: none;
            clear: both;
        }

        menu {
            margin-top: 0px;
            float: none;
            width: auto;
        }
        menu li {
            width: auto;
            margin-top: 10px;
        }

}

