body
{
    background: silver;
    margin-left: 50px;
    margin-top: 25px;
    margin-bottom: 25px;
    font: 10pt/14pt Arial, Helvetica, sans-serif;
}

h1, h2, h3, #menu
{
    font-family: Calibri, sans-serif;
}

#wrapper
{
    width: 860px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.4) 5px 5px 10px;
}

#zahlavi
{
    background: url(img/zahlavi.jpg);
}

h1
{
    color: white;
    margin: 0;
    padding-left: 40px;
    padding-top: 40px;
    padding-bottom: 30px;
}

#menu
{
    list-style: none;
    margin: 0;
    padding-left: 40px;
    font-size: 11pt;
}

#menu li
{
    float: left;
    border-right: 1px solid #FFE9BC;
}

#menu li.last
{
    border: none;
}

#obsah
{
    clear: both;
    background: #FFE9BC;
    padding: 20px;
    padding-right: 0;
}

#paticka
{
    width: 830px;
    text-align: right;
    padding: 10px;
    padding-top: 7px;
    padding-right: 30px;
    color: gray;
}

.konec
{
    clear: both;
}

a
{
    color: blue;
    text-decoration: none;
    border-bottom: 1px solid blue;
}

a:hover
{
    background: #A94441;
    border: none;
    color: white;
    padding-top: 2px;
    padding-bottom: 2px;
}

a#katalog
{
    display: block;
    width: 193px;
    height: 59px;
    background: url(img/katalog.png);
    text-indent: -300ex;
    border: none;
    padding: 0;
}

a#katalog:hover
{
    background-position: -193px 0px;
}

a#katalog:focus
{
    outline: none;
}

#menu a
{
    background: gray;
    text-decoration: none;
    display: block;
    padding: 1ex;
    padding-left: 1ex;
    padding-right: 1ex;
    color: white;
    border: none;
}

#menu a:hover
{
    background: #A94441;
}

.sloupec
{
    width: 380px;
    float: left;
    padding-right: 20px;
    border-right: 1px solid gray;
}

.druhy
{
    border: none;
    border-left: 1px solid gray;
    padding-left: 20px;
    margin-left: -1px;
}

/* přepínání aktivního menu */

body.aktuality li#aktuality a,
body.deti li#deti a,
body.dospeli li#dospeli a,
body.katalog li#katalog a,
body.studovna li#studovna a,
body.rad li#rad a,
body.cenik li#cenik a,
body.archiv li#archiv a,
body.kontakty li#kontakty a,
body.proknihovny li#proknihovny a,
body.region li#region a,
body.seznam li#seznam a,
body.katalog-r li#katalog-r a,
body.statistika li#statistika a
{
    background: #FFE9BC;
    color: black;
}

img.znak
{
    border: none;
    border-bottom: none;
}

/* Novinky */

img.obalka
{
    float: left;
    margin-top: 4px;
    margin-right: 1.3em;
    margin-bottom: 8px;
}

img.aktualita
{
    float: left;
    margin-top: 4px;
    margin-right: 1.3em;
    margin-bottom: 8px;
}

h3
{
    margin-bottom: 0px;
    padding-bottom: 0px;
    border-bottom: 1px solid gray;
    margin-bottom: 20px;
}

.odsazeny
{
    background: url(img/kniha.png) 47% 0% no-repeat;
    padding-top: 35px;
}

table
{
    border-collapse: collapse;   
    width: 100%;
}

td
{
    padding: 4px;
    padding-left: 7px;
    padding-right: 7px;
    border: 1px solid gray;
}

ul, ol
{
    padding-left: 20px;
}

em
{
    font-weight: bold;
    font-style: normal;
}

p.barvicky span
{
    text-indent: -3000px;
    display: inline-block;
    width: 2ex;
}

span.r { background: red; }
span.b { background: blue; }
span.g { background: green; }
span.k { background: black; }
span.y { background: yellow; }

span.date
{
    font-style: italic;
    color: grey;
}

/*formátování ceníku*/
table.cenik td:last-child
{
    text-align: right;
    width: 10ex;
}

table.cenik td
{
    border: none;
    border-bottom: 1px solid gray;
    padding-left: 0;
}

/*formátování kontaktů*/
table.kontakty td:last-child
{
    text-align: right;
    width: 25ex;
}

table.kontakty td
{
    border: none;
    border-bottom: 1px solid gray;
    padding-left: 0;
}

/*formátování poskztovatelů*/
table.poskytovatele td:last-child
{
    text-align: right;
    width: 50ex;
}

table.poskytovatele td
{
    border: none;
    border-bottom: 1px solid gray;
    padding-left: 0;
}

/*formátování kontaktů*/
table.invisible td
{
    border: none;
    padding: 0;
}

