*{margin:0;padding:0;}
body{
font-family: Palatino, 'palatino linotype', serif;
background:#fabebe;
color:#000;
font-size:small;
text-align:center;
line-height:1.4}
.noscreen{
width:250px;
position:absolute;
left:0;
top:-2000px}
.end{
clear:both;
line-height:1px;
font-size:1px;
height:1px}
/* layout */
#main{
width:970px;
margin:0 auto;
text-align:left;
position:relative;}
#head-nav{

width:966px;
height:27px;
border:0 2px 2px 2px;
border:solid #000;
}
#head{
width:970px;
height:170px;
overflow:hidden;
position:relative;
background:url("../css/images/head.jpg") no-repeat right top;}
h4,h4 span{
display:block;
width:300px;
height:170px;
position:absolute;
left:0;
top:0;
z-index:5;
overflow:hidden;
font-size:110%;
cursor:hand;}
h4 span{
background:url("../css/images/h4.gif") no-repeat;
z-index:2}
#content{
width:970px;
margin:0 auto;
text-align:left;}
#text{
min-height:660px;
height:660px;}
#content>#text{height:auto}
/* blok dělený na dva */
#obsah{
float:left;
width:770px;
color:#000;
position:relative}
#box{
overflow:hidden;
float:left;
width:200px;}
#in{
padding:0px 30px 0px 30px;
float:right;
background:url("../css/images/bg-content.gif") repeat-y;
margin:0;
overflow:hidden;
width:510px;
color:#000;
position:relative;
}
#ina{
margin:0 0 -1px -30px;
_margin:0 0 -2px -30px;
width:570px;
background:url("../css/images/foot.gif") no-repeat;}
#blok{
overflow:hidden;
float:right;
width:200px;
position:relative;}



#foot-reklama{
margin:15px 0 15px 210px;
width:500px;
overflow:hidden;}

#foot-reklama h5{
text-align:center;
font-size:140%;

width:500px;
}
#panel-reklama{
width:500px;}
.obal-reklama{
text-align:center;
padding:2px 0;}
.obal-reklama ul li{display:inline; font-size:130%; font-weight:bold; margin:5px}
#panel-reklama span{
overflow:hidden;
width:500px;
display:block;
height:8px;}
.obal-reklama-in{
margin:0 0 0 11px;}
/* Menu */
#nav ul{}
#nav li{
width:137px;
border-right:1px solid #000;
text-align:center;
font-weight:bold;
font-size:120%; 
_font-size:130%; 
display:inline;
list-style-type:none;
float:left;}
#nav li a, #nav li strong{
display:block;
margin:0;
padding:3px;}
#nav li a:link, #nav li a:visited{
text-decoration:none;
color:#000;}
#nav li strong, #nav li a:hover{
color:#fff;
background:#000;}

#nav li.vybrana a{padding:0!important;background:none!important;border:none!important;margin:0!important}
/* Panely*/
#box h6, #blok h6{
padding-left:10px;
letter-spacing:0.8em;
font-size:130%;
color:#fff;
font-style:italic;
font-weight:bold;}
#panel1, #panel2, #panel3{
width:200px;
padding-top:6px;
}
#panel1 p, #panel2 p, .box-nav p{padding:8px 10px}
.obal{

padding:0px 0 5px 0;}
#panel1 span, #panel2 span, #panel3 span{

overflow:hidden;
width:200px;
display:block;
height:6px;}
.obal-in{
margin:0 0 0 19px;}
/* menu */
/* text */
#in h1{
font-size:130%;
clear:both;
color:#000;}
/* p  */
#in p{
margin:8px 0;}
#in p.justify{text-align:justify}
#in p.center{text-align:center}
#in p.right{text-align:right}
#in p.left{text-align:left}
#foot p{
font-size:110%;
color:#000;
text-align:center;
padding:40px 0 0 0}
/* links */
a:link{color:#1a21c0}
a:visited{color:#1b538d}
a:hover{color:#000}
a:active{color:#1a21c0}
#foot a:link, #foot a:visited{color:#000}
#foot a:hover{color:#fff}
#foot a.vstup:link, #foot a.vstup:visited{color:#000; text-decoration:none}
#foot a.vstup:hover{color:#000}
.doc{background:url("../css/obrazy/ikony/doc.gif") center left no-repeat}
.html{background:url("../css/obrazy/ikony/page.gif") center left no-repeat} 
.pdf{background:url("../css/obrazy/ikony/pdf.gif") center left no-repeat}
.xls{background:url("../css/obrazy/ikony/xls.gif") center left no-repeat} 
.avi{background:url("../css/obrazy/ikony/avi.gif") center left no-repeat}
.mp3{background:url("../css/obrazy/ikony/mp3.gif") center left no-repeat} 
.png{background:url("../css/obrazy/ikony/png.gif") center left no-repeat}
.ppt{background:url("../css/obrazy/ikony/ppt.gif") center left no-repeat} 
.doc, .html, .pdf, .xls, .avi, .mp3, .png, .ppt{padding:0 6px 0 22px; margin-left:3px} 
/* Pridani mezery a marginu u ikonek v textu */ 
/* img */
a:link img {border:1px solid #a765a9}
a:visited img{border:1px solid #000}
a:hover img{border:1px solid #ccc}
a:active img{border:1px solid #000}
.noborder a:link img{border:none}
.noborder a:visited img{border:none}
.noborder a:hover img{border:none}
.noborder a:active img{border:none}
/* img */
.imgd,img{
text-align:center;
margin:10px auto;
clear:both;
display:block}
.imgd{
_width:100% !important;} /* hack pro IE6*/
.img-right, .imgdr{
margin:8px 7px;
text-indent:0;
clear:none;
float:right;
text-align:center;}
.img-left, .imgdl{
margin:8px 7px;
text-indent:0;
float:left;
clear:none;
text-align:center;}
.nookraj{margin:0 5px 0 0;float:left; text-align:left} /* uredni desky, rozpocet...*/
.obal img{padding:0; margin: 8px auto!important} /* centrovani nahodna fotka */
/* formular */
form{margin:30px 0}
fieldset{border:1px solid #ccc;padding:10px 15px;margin-bottom:5px}
label{color:#000;font-weight:bold;margin:0;padding:0}
legend{color:#000;font-weight: bold;border:1px solid #ccc;padding:2px 10px}
input, textarea{color:#000;width:99%}
textarea{width:250px}
.cervene{color:#f00;font-weight:bold}
legend, select, input, textarea{}
#in form.napistenam table tr, #in form.napistenam table td{}
/* tlacitko */
#in form.napistenam td.button p input{margin-left:130px}
form.napistenam{margin:20px 10px}
/* hlaska odeslani */
#in blockquote.odeslano p, #in blockquote.neodeslano p{color:#f00}

#in form.napistenam td input{width:150px}
/* TEXY */
#in h2{
padding:5px 0px;
border-bottom:none;
margin:4px 0;
clear:both;
font-size:120%;
color:#000;}
#in h3{
clear:both;
font-size:110%;
margin:4px 0;
color:#000;}
#in strong{color:#000}
#in em{color:#000}
#in blockquote p{
padding:10px 5px 5px 5px;
clear:both;
overflow:hidden;
color:#000;
font-weight:bold;
text-align:center;
font-size:110%;}
#in ul{
margin:5px 0;
padding:0 0 0 5px}
#in ul li{
display:inline-block;
list-style-type:none; 
background:url("../css/images/bullet.gif") no-repeat 0em 0.65em; 
padding:0 1em}
#in ul>li{
display:block;
background-position: 0em 0.6em}
#in ul li ul{margin:0; padding:0}
#in ul li ul li{padding:0 10px; margin:0;}
#in ol{
margin:5px 0 5px 15px;
padding:0 0 0 5px}
#in table{
clear:both;
width:99%;
border-collapse:collapse;
font-size:100%;
margin:15px 0px;
border:3px double #000}
#in th, #in td{
vertical-align:top;
color:#000;
border:1px solid #817d7d;
padding:3px 5px;
text-align:left}
#in td{background:#fff}
#in th{background:#cde6f9;}
#in th.nowrap, #in td.nowrap{
white-space:nowrap}
#in table.auto{
width:auto;}
#in table.normal{
border:1px solid #000;}
#in table.normal th{background:#fff;}
#in table.normal td{background:#fff;}
#in .nobordertable th, #in .nobordertable td{
border:0; background:#fff;margin:0;padding:3px 5px;}
#in .nobordertable img{margin:0; padding:0}
#in .nobordertable {border:0;}
#in table.polovina td{width:50%;}
#in table.tretina td{width:33%;}
#in table.ctvrtina td{width:25%;}
#in hr{
margin:5px 0;
color:#000;
background-color:#000;
border:0;
height:1px;
clear:both}
/* Speciality */ 
/* fotogalerie */
.galerie-obal{margin:5px;text-align:center;line-height:1}
.galerie-obal img{padding:0;margin:0;display:none}
.galerie-obal .foto-odkaz{float:left;margin:5px;background:no-repeat center center}

#in .foto-nahled{margin:10px;float:left;border:3px double #000; /* 50px na popisek */ display:block;background:#ccc}
#in .foto-nahled strong{margin-top:130px;_margin-top:150px;display:block}
#in .foto-nahled a:link, #in .foto-nahled a:visited{color:#000;border:1px solid #ccc;text-decoration:none}
#in .foto-nahled a:hover{color:#000;border:1px solid #000}
p.odkaz-zpet{text-align:right;clear:both}
/* fotokolekce cely blok */
#fk-obal{margin:12px;text-align:center;line-height:1.2;font-weight:bold;font-size:85%}

/* dana fotokolekce */
.fk-nahled{float:left;margin:5px 10px;width:210px;height:240px;background:#ccc;
border-bottom:2px solid #fff;position:relative}
.fk-nahled p{position:absolute;top:200px;width:200px;padding:0;margin:0}
.fk-nahled p a{display:block;color:#000}
.fk-nahled p a:hover{color:#fff}

/* Kniha - smajly */
#gb-obal{padding:10px 30px 10px 25px}
.smajl{display:inline;margin:3px;padding:3px;position:relative;top:3px;}
table#kniha, table#kniha th, table#kniha td{border:none;background:none;padding:3px 4px}
#gb-formular{padding:0 20px 0 0;}
#kniha img{display:inline; padding:0 4px}
#kniha th{text-align:right}
.gb-prispevek{border:1px solid #ffcc00;margin:0 0 10px 0;padding:0 0 10px 0;background:#fffacd}/* prispevek cely */
.gb-prispevek:hover{background:#f6eac2}
.gb-ramecek{border-bottom:2px solid #fff; border-top:1px solid #f3f7fb;background:#ffec9f;padding:5px 10px;height:100%}/* ramecek s uzivatelem popis */
.gb-ramecek span{padding:0 5px;} /* mezera mezi spany*/
span.gb-odkaz{cursor:pointer;text-decoration:underline;font-weight:bold;} /* format reakce*/
span.gb-odkaz:hover{color:#004e8c}
.ramecek, .ramecek-vn{font-size:110%; background:url("../css/obrazy/ikony/user_comment.gif") no-repeat; padding-left:25px} /* jmeno uzivatele u obou*/
.gb-prispevek p{padding:5px 10px 3px 10px} /* text */
.gb-vn-prispevek{border:1px solid #b2c9de;margin:10px;padding:5px 10px; background:#fff;height:100%} /* prispevek reakce obal*/
.gb-vn-prispevek:hover{background:#f6eac2}
.gb-vn-prispevek p{padding:5px 0px;} /* text reakce */
.autor .autor .ramecek, .autor .autor .ramecek-vn, .autor .ramecek, .gb-prispevek .autor .ramecek-vn{font-size:110%; background:url("../css/obrazy/ikony/user_suit.gif") no-repeat} /* autor jmeno uzivatele u obou*/
.gb-no-disp{margin:0 0 0 30px;padding:0;display:none;} /* ??? */
.autor{border:1px solid #503e01; background:#faf9e0} /* zvyrazneni opravneneho autora */
#in .gbook-moderovani-hlaska p{padding:0}

/* box etarget*/
#main>.etargetl{
position:fixed;
top:400px;
margin-left:0px
}
.etargetr{top:0;height:140px; margin-left:200px}

/* login prihlaseni */
#in table.login{width:200px;background:#f7f5f5;margin:5px auto;border-color:#FF0000}
#in table.login td{border:0;padding:5px 10px}
#in table.login label{color:#000;text-align:right}
#in table.login td input{width:100px}

/* formular */
#in form.napistenam{width:auto;padding:10px 0; border:1px solid #ccc; border:0}
#in form.napistenam fieldset{border:none; padding:10px}
#in form.napistenam label{display:block;white-space:nowrap}
#in form.napistenam label.cervene{font-weight:normal;color:#000}
#in form.napistenam input, #in form.napistenam textarea{margin:2px 0 7px 0;width:380px;border:1px solid #ccc;background:#f8f8f7}

#in form.napistenam td{border:none;background:none}
#in form.napistenam td.button input{color:#fff;background:#0000FF;width:120px;padding:3px;cursor:pointer;border:0}
#in form.napistenam td.button input:hover{color:#fff;background:#CC66CC}
#in form.napistenam td.button input:active{color:#fff;background:#FF0000}


#in blockquote.neodeslano p, #in blockquote.odeslano p{color:#f00;font-size:100%}

/* format povidky */
#in .povdiv{border:1px solid #CCCCCC; margin:10px 0; padding:0 5px}
#in .povdiv a:link, #in .povdiv a:visited{color:#4a4a4a}
#in .povdiv p.precist{background:#999;display:inline;padding:3px}
#in .povdiv p.precist a:link, #in .povdiv p.precist a:visited{color:#FFFFFF}
#in .povdiv p.precist a:hover{color:#000}

#in .povdiv p.paticka{background:#f4f4f4}
#in .povdiv p.paticka span{font-weight:bold; color:#a50000}