/*** CSS STYLY WWW.CAJOVNAULESA.CZ, MADE BY WJENCESLAW ***/
*{margin: 0; padding: 0;}
body{text-align:center; /* background: url('../img/body.png'); */ background: url('../img/pozadi.jpg') top center fixed no-repeat #EFF2F4; color: #222222; font-family: 'arial',tahoma; font-size: 95%; position: relative; }

#web { width: 998px;margin: 0 auto;text-align: left;position: relative; overflow: hidden;}

a{text-decoration: underline; color: #000000;}
a:hover{text-decoration: none; color: #000000;}
abbr, acronym{cursor: help;}

a{position: relative; z-index: 1;}
.nodisplay{display: none;}

h1 {position: relative; width: 998px; height: 203px; overflow: hidden; font-size: small;background: url('../img/logo.png') no-repeat; }
h1 a{position: absolute; top: 45px; left: 388px; width: 243px; height: 73px; background: url('../img/cajovnaulesa.png') no-repeat; cursor: pointer; visibility: visible;}
h1 em{display: none;}

#cover{ background: url('../img/great-big-repeat.png') repeat-y; height: auto;}
#cover-inner{background: url('../img/great-big-norepeat.png') no-repeat; padding: 0px 0px 50px 0px; min-height: 814px; }
* html #cover-inner { height: 814px; }
hr.cleaner { clear:both; visibility: hidden;}

div.info,
div.error { padding: 5px 15px; font-weight: bold; font-size: 120%; margin: 0 0 15px 0; }
div.info { background: #70470F; color: #fff; }
div.error { background: #C60000; color: #fff; display: none; }
/*** OBSAH WEBU ***/

#obsah{ float: right; margin: 0px 10px 0px 0px; width: 714px; cursor: default; overflow: hidden; font-size: .9em;}
* html #obsah { margin: 0px 5px 0px 0px; }
/* #obsah * { display: none; } */ /* zobrazit layout bez obsahu */
h2{display: block; width: 500px; height: 40px; margin: 10px 0px 20px 0px;}
h2 span{display: none;}
h2.textak{margin: -60px 0px 20px -20px; height: 30px; display: block; width: 430px; border-bottom: 2px solid #2C2417;}
* html h2.textak { width: 350px; }
/* h2.uvod{background: url('../img/nadpisy/uvod.png') no-repeat 0px 20px; clear: left; padding-top: 20px; }*/
h2.aktuality{background: url('../img/nadpisy/aktuality.png') no-repeat 0px 20px; clear: left; padding-top: 20px; position: relative; left: -20px; }
h2.akce{background: url('../img/nadpisy/akce.png') no-repeat 0px 20px; padding-top: 20px; position: relative; left: -20px; }
h2.nabidka{background: url('../img/nadpisy/nabidka.png') no-repeat; margin-left: 510px;}
h2.o-caji{background: url('../img/nadpisy/o-caji.png') no-repeat; margin-left: 40px;}
h2.kontakt{background: url('../img/nadpisy/kontakt.png') no-repeat; margin-left: 40px;}
h2.fotogalerie{background: url('../img/nadpisy/fotogalerie.png') no-repeat; margin-left: 40px;}
h2.antikvariat{background: url('../img/nadpisy/antikvariat.png') no-repeat; margin-left: 40px;}
h2.navstevni-kniha{background: url('../img/nadpisy/navstevni-kniha.png') no-repeat; margin-left: 40px;}
h3.home-page{font-size: 1.2em; display: block; position: relative; width: 540px; margin: 0px 0px 15px 0px; padding-right: 140px;}
* html h3.home-page { width: 500px; }
h3.home-page span{position: absolute; top: 3px; right: 0; font-size: .7em;}
p.home-page{font-size: .9em; width: 540px; margin: 0px 0px 30px 150px;}
* html p.home-page { width: 500px; }
p.align-right{text-align: right; padding-right: 0px;}
p.align-right a.showall{font-weight: bold; font-size: .8em;}

div.man1{float: left; width: 89px; height: 227px;background: url('../img/man1.png') no-repeat; padding: 15px 30px 20px 0px; margin-left: 40px;}

div.nabidka-menu {float: right; width: 330px; height: 347px; background: url('../img/nabidka-menu.png') no-repeat;}
div.nabidka-menu ul{width: 110px; float: right; list-style-type: none; margin: 35px 0px 0px 5px;}
div.nabidka-menu ul li{font-size: .9em;}
div.nabidka-menu ul li a{color: #000000; text-decoration: none; font-weight: bold;}
div.nabidka-menu ul li.active a{color: #b48f29;}
div.o-caji-menu {float: right; width: 200px; height: 360px; background: url('../img/o-caji-menu.png') no-repeat; margin-right: 60px; margin-bottom: 0px; }
* html div.o-caji-menu { margin-right: 20px; margin-bottom: 48px; }
div.o-caji-menu ul{width: 130px; float: right; list-style-type: none; margin: 35px -40px 0px 0px;}
div.o-caji-menu ul li{font-size: .9em;}
div.o-caji-menu ul li a{color: #000000; text-decoration: none; font-weight: bold;}
div.o-caji-menu ul li.active a{color: #b48f29;}
#vypis-nabidky{padding-left: 50px;}
#vypis-nabidky h3{font-size: 1em; padding: 3px 0px 0px 15px;}
#vypis-nabidky p{font-size: .9em; padding: 3px 0px 15px 25px;}
/* uvodni strana */
#banner { width: 688px; height: 112px; float: left; position: relative; margin: 15px 0px 0px 10px; }
#banner span { position: absolute; left: 0; top: 0; visibility: visible; width: 688px; height: 112px; background: url('../images/bannery/studenti-sleva.png') no-repeat;}
#aktuality { float: left; margin: 0px 20px; }
#akce {  float: left; }
#homepage #aktuality, #homepage #akce { width: 330px; }
#nehomepage #aktuality, #nehomepage #akce { width: 680px; margin-left: 20px; }
#homepage h2 { margin-left: 20px; }
.text-top{width: 100%; position: relative; display: block; margin-left: 0px; border-bottom: 1px solid #AD8722}
.text-top h3{display: inline; padding: 10px 80px 10px 0px; font-size: .9em; }
* html .text-top h3 { font-size: 1em; }
*:first-child+html .text-top h3{font-size: 1em;}
.text-top h3 span{display: none;}
.text-top em{position: absolute; top: 2px; right: 5px; font-style: normal; font-size: .8em;}
.hp-text{padding: 15px 0px 40px 0px; margin-left: 0px; text-align: justify; line-height: 150%; font-size: .9em;}
.hp-text a{font-weight: bold; color: #744117; text-decoration: none; border-bottom: 2px solid #744117;}
.hp-text a:hover{border-bottom: 1px solid #744117;}

/*** fotogalerie ***/
div.image-cover{float: left; width: 200px; height: 160px; text-align: center; margin: 0px 0px 20px 20px;}
div.image {background: #dcdcdc;width: 180px;height: 180px;text-align: center;position:relative;display: table-cell;vertical-align: middle;border: 2px solid #ffffff;}
div.image img {display: block;position:relative;left: 0;margin: 0 auto; border: 0px none;}
* html div.image div { width: 100%; position:absolute; top: 50%; left: 0; }
* html div.image div p { position: relative; top: -50%; }

/*** o caji ***/
#o-caji{}
#o-caji h3{}
#o-caji p{padding: 10px 35px 10px 5px; text-align: justify;}
#o-caji p strong{}
#o-caji ul{margin: 10px 35px 10px 5px; text-align: justify;}
#o-caji ul li{margin: 10px 0;}

/*** navstevni kniha ***/
#kniha{overflow: hidden; width: 550px;}
#kniha fieldset{border: 0px none; ;padding: 0px 0px 20px 35px;}
#kniha legend{padding: 5px 30px 5px 30px; border: 1px solid rgb(239,201,102); background: #f2f2f2;}
#kniha label{display: block; float: left; width: 250px; margin: 0px 0px 10px 0px;}
#kniha label strong{display: block;}
#kniha label#antispam strong{display: inline;}
#kniha label input{padding: 2px; width: 200px;}
#kniha label textarea{width: 460px; height: 80px; overflow: auto;}
#kniha .js{clear: left; width: 460px;}
#kniha .js img{border: 0; margin: 0px 3px;}
#kniha .js{font-weight: bold;}
#kniha .js a{margin: 0px 5px;}
.submit{clear: both; background: #f2f2f2;border: 1px solid rgb(126,84,46); margin: 15px 0px 0px 315px; width: 145px; padding: 2px 0;}
.prispevek{width: 630px; margin: 0px 0px 20px 20px; padding: 10px;}
.even{background: url('../img/prispevek-even.jpg');}
.odd{background: url('../img/prispevek-odd.jpg');}
.prispevek a{font-weight: bold;}
.prispevek em{font-style: normal;}
.prispevek p{padding: 5px 10px;}
.strankovani{width: 500px; text-align: center;}
.strankovani em{font-style: normal; font-weight: bold; display: block; margin-bottom: 3px;}
.strankovani a{margin: 0px 1px;}
strong.simple_underline { font-weight: normal; text-decoration: underline;}

/* antikvariat */
div.antikvariat-cover{height: auto;width: 300px; float: left; margin: 0px 30px 20px 20px; }
* html div.antikvariat-cover { width: 290px; }
div.antikvariat{ min-height: 180px; }
* html div.antikvariat { height: 230px; }
div.antikvariat img{float: left; border: 0px none; margin: 0px 10px 10px 0px;}
div.antikvariat p{padding: 5px 0; font-size: .9em;}
/* novy antikvariat */
table.antikvariat { width: 100%; }
table.antikvariat tr th,
table.antikvariat tr td { padding: 3px 5px; font-size: 100%; }
table.antikvariat tr td.autor { width: 30%; }
table.antikvariat tr td.nazev { width: 50%; }
table.antikvariat tr td.center { text-align: center; }
table.antikvariat tr td.left { text-align: left; }
table.antikvariat tr td.right { text-align: right; }
table.antikvariat tr td.options img { cursor: help; display: block; margin: auto; }
table.antikvariat tr td.options div { display: none; position: absolute; width: 350px; margin: -100px 0 0 -380px; background: #DEDECA; border: 5px solid #fff; text-align: left; }
table.antikvariat tr td.options div p { padding: 15px; }
table.antikvariat tr td.options div p strong { display: block; padding-bottom: 5px; }
table.antikvariat tr td.options a { font-size: 90%; text-decoration: none; color: #884D1F }
table.antikvariat tr td.options a:hover { color: #000; }

/* kontakt */
.kontakt-tel{position: absolute; margin: -34px 0px 0px 430px; font-size: 1.3em;}
.kontakt-left p, .kontakt-right p{padding: 10px 0px 0px 0px; line-height: 1.5em;}
.kontakt-left p span{float: left; width: 100px; text-align: right; margin: 0px 5px 0px 0px;}
.kontakt-left p em{font-style: normal;}
.kontakt-left, .kontakt-right{width: 340px; float: left; height: 400px; position: relative;}
.kontakt-left{margin: 0px 0px 0px 30px;}
a.foto-cajovny, a.lokace-cajovny{width: 250px; height: 188px;  display: block; position: absolute; left: 0; bottom: 0;}
a.foto-cajovny{background: url('../img/cajovnaulesa.jpg') no-repeat -250px 0px;}
a.lokace-cajovny{background: url('../img/kde-nas-najdete.jpg') no-repeat 0px 0px;}
a.foto-cajovny:hover{background-position: 0px 0px;}
a.lokace-cajovny:hover{background-position: -250px 0px;}

* html div.man1, * html h2{ background: none; }

div#odkazy { display: block; width: 100%; clear: left; }
div#odkazy p { padding: 30px 10px 10px 30px; }
div#odkazy span { display: block; font-weight: bold; font-size: 110%; }


div.napoveda{display:block; width: 362px; height: 157px; background: url('../img/napoveda.png') no-repeat; margin: 50px 0px 0px 10px;}
div.napoveda h3{color: #ffffff; padding: 17px 0px 0px 55px;}
div.napoveda p{color: #793913; font-weight: bold; margin: 40px 50px 0px 80px; text-align: center;}
/*** MENU (vlevo) ***/

#menu { float: left; width: 274px; height: 432px; background: url('../img/menu-transparent.png') no-repeat; overflow: hidden; }
* html #menu { margin-left: -2px; }
#menu ul{list-style-type: none; margin: 57px 0px 0px 52px}
#menu ul li{ display: block; width: 188px; overflow: hidden; }
* html #menu ul li { margin-bottom: -3px; }
*:first-child+html #menu ul li{margin-bottom: -3px;}
#menu ul li a span{display: none;}
#menu ul li a{display: block; width: 274px;}
#menu ul li.uvod{background: url('../img/menu/menu-uvodni-stranka.png') no-repeat; height: 40px; background-position: 0px -40px;}
#menu ul li.uvod a{background: url('../img/menu/menu-uvodni-stranka.png') no-repeat; height: 40px;}
#menu ul li.uvod-active a{background: url('../img/menu/menu-uvodni-stranka.png') no-repeat; height: 40px; background-position: 0px -40px;}
#menu ul li.nabidka{background: url('../img/menu/menu-nabidka.png') no-repeat; height: 46px; background-position: 0px -46px;}
#menu ul li.nabidka a{background: url('../img/menu/menu-nabidka.png') no-repeat; height: 46px;}
#menu ul li.nabidka-active a{background: url('../img/menu/menu-nabidka.png') no-repeat; height: 46px; background-position: 0px -46px;}
#menu ul li.fotogalerie{background: url('../img/menu/menu-fotogalerie.png') no-repeat; height: 37px; background-position: 0px -37px;}
#menu ul li.fotogalerie a{background: url('../img/menu/menu-fotogalerie.png') no-repeat; height: 37px;}
#menu ul li.fotogalerie-active a{background: url('../img/menu/menu-fotogalerie.png') no-repeat; height: 37px; background-position: 0px -37px;}
#menu ul li.o-caji{background: url('../img/menu/menu-o-caji.png') no-repeat; height: 45px; background-position: 0px -45px;}
#menu ul li.o-caji a{background: url('../img/menu/menu-o-caji.png') no-repeat; height: 45px;}
#menu ul li.o-caji-active a{background: url('../img/menu/menu-o-caji.png') no-repeat; height: 45px; background-position: 0px -45px;}
#menu ul li.navstevni-kniha{background: url('../img/menu/menu-navstevni-kniha.png') no-repeat; height: 40px; background-position: 0px -40px;}
#menu ul li.navstevni-kniha a{background: url('../img/menu/menu-navstevni-kniha.png') no-repeat; height: 40px;}
#menu ul li.navstevni-kniha-active a{background: url('../img/menu/menu-navstevni-kniha.png') no-repeat; height: 40px; background-position: 0px -40px;}
#menu ul li.kontakt{background: url('../img/menu/menu-kontakt.png') no-repeat; height: 38px; background-position: 0px -38px;}
#menu ul li.kontakt a{background: url('../img/menu/menu-kontakt.png') no-repeat; height: 38px;}
#menu ul li.kontakt-active a{background: url('../img/menu/menu-kontakt.png') no-repeat; height: 38px; background-position: 0px -124px;}
#menu ul li.antikvariat{background: url('../img/menu/menu-antikvariat.png') no-repeat; height: 52px; background-position: 0px -52px;}
#menu ul li.antikvariat a{background: url('../img/menu/menu-antikvariat.png') no-repeat; height: 52px;}
#menu ul li.antikvariat-active a{background: url('../img/menu/menu-antikvariat.png') no-repeat; height: 52px; background-position: 0px -52px;}
#menu ul li.uvod a:hover, #menu ul li.nabidka a:hover, #menu ul li.fotogalerie a:hover, #menu ul li.o-caji a:hover,
#menu ul li.navstevni-kniha a:hover, #menu ul li.kontakt a:hover, #menu ul li.antikvariat a:hover{background: none;}

/*** paticka ***/
#paticka {clear: both; width: 1005px; height: 131px; text-align: left;background: url('../img/paticka.png') no-repeat; }
#paticka p{height: 50px; margin: 0 auto; padding: 51px 0px 0px 320px; border: 0; background: transparent; font-size: .8em;}
#paticka, #paticka a{color: #f2f2f2; text-decoration: none;}


/*** seo paticka ***/
#seo-paticka {clear: both; width: 1005px; padding: 20px 0px 0px 0px; text-align: center; font-size: .7em;}
#seo-paticka, #seo-paticka a{text-decoration: none; color: #DAC992;}


