﻿*{
	margin: 0;
	padding: 0;
}
body{
	font-family: 'Trebuchet MS',Arial,sans-serif;
	font-size: 82%;
	background-image: url(images/body-bg.gif);
	background-repeat: repeat-x;
	text-align: center;
}
#main{
	width: 750px;
	margin: 0 auto 0 auto;
	text-align: left;
}
h1#logo {
	float: left;
	border:0px none;
	display:block;
	font-size:170%em;
	height:90px;
	margin:0pt;
	padding:0pt;
	position:relative;
	text-align:left;
	text-decoration:none;
	width:351px;
	color: white;
	background-color: #005490;
}
h1#logo span {
	background-image:url(images/logo-knihovna-slany.jpg);
	display:block;
	height:90px;
	left:0pt;
	margin:0pt;
	padding:0pt;
	position:absolute;
	top:0pt;
	width:351px;
	z-index:1;
	cursor: hand;
}
h1#logo a{
	text-decoration: none;
	color: white;
}
#catlogin{
	margin: 0px 0 0 400px;
	padding: 20px 0 0 0;
	height: 70px;
	color: white;
}
#catlogin h2{
	font-size: 100%;
}
	#cileg{
		width: 40px;
	}
	#ctenar{
		width: 80px;
	}
	#cileg, #ctenar{
		border:1px solid black;
		background-image: url(images/textinputbg.gif);
		background-repeat: repeat-x;
		font-size: 90%;
		height: 20px;
	}
	#vstup{

		
	}
#quicknav{
	list-style: none;
	background-image: url(images/lista.jpg);
	background-repeat: no-repeat;
	width: 519px;
	height: 33px;
	color: white;
	text-align: center;
	padding: 5px 0 0 0;
	float: right;
	font-weight: bold;
}
	#quicknav li{
		display: inline;
	}
	#quicknav a{
		text-decoration: underline;
		color: white;
		padding: 5px 7px 3px 7px;
		font-size: 110%;
		font-weight: normal;
	}
	#quicknav a:hover {
		text-decoration: underline;
	}

#sidebar{
	width:210px;
	float: left; 
	margin-top:0px;
}
	#sidebar ul{
		background-color: #ffcded;;
		list-style: none;
	}
	#sidebar ul h2{
		background-image: url(images/menu-head.jpg);
		background-repeat: no-repeat;
		background-color: #d30086;
		width: 204px;
		color: white;
		font-size: 135%;
		padding: 5px 0 3px 6px;
		text-indent: 5px;
		font-weight: normal;
	}
	#sidebar ul .flexipages_widget h2{
		background-image: url(images/knihovna-menu-head.jpg);
		background-repeat: no-repeat;
	}
	#sidebar ul h2 a{
		color: white;
	}
	#sidebar #vyhledavani h2{
		background-image: url(images/hledat-head.jpg);
		padding-top:21px;
	}
	#sidebar #vyhledavani{
		background-image: url(images/patamenu.gif);
		background-position: bottom;
		background-repeat: no-repeat;
		padding-bottom:13px;
	}
	#sidebar #vyhledavani li{
		background-image: url(images/bgmenu.gif);
		background-repeat: repeat-y;
		padding: 0 0 5px 0;
	}
	#sidebar #vyhledavani p{
		margin: 3px 3px 0px 3px;
		padding: 0 0 0px 0;
		text-align: center;
	}
	#sidebar #vyhledavani #nazev{
		width: 185px; 
		border: 1px solid #d91d95;
		padding: 4px 1px 4px 1px;
		line-height: 120%;
		margin-bottom: 2px; 
		margin-left: 10px;
		background-image: url(images/textinputbg.gif);
		background-repeat: repeat-x;
	}
	#sidebar #vyhledavani a{
		color: black;
	}
	#sidebar ul ul{
		background-image: url(images/patamenu.gif);
		padding: 0 0 13px 0;
		background-position: bottom;
		background-repeat: no-repeat;
	}
	#sidebar ul ul ul{
		background-image: none;
		margin: 0 0 0 0px;
		padding: 0;
		border: 0px none;
	}
	#sidebar ul ul li{
		border: 1px solid #f2b6e2;
		border-width: 0 0 1px 0;
		padding: 0; 
		margin: 0;
		width:210px;
	}
	/*#sidebar .current_page_ancestor a{
		font-weight: bold;
	}
	#sidebar .current_page_ancestor li a{
		font-weight: normal;
	}	
	*/
	
	
	
	
	
	
	
	
	
	
	
	#sidebar .current_page_item a{
		font-weight: bold;
	}
	#sidebar .current_page_item li a{
		font-weight: normal;
	}/*
	#sidebar .current_page_parent a, #sidebar .current_page_parent .current_page_item a{
		font-weight: bold;
	}
	#sidebar .current_page_parent + li, #sidebar .current_page_parent .current_page_item + li{
		font-weight: normal;
	}
	
	*/
	
	
	/*#sidebar .current_page_item .page_item a, #sidebar .current_page_parent .page_item a{
		font-weight: normal;
	}*/
	#sidebar ul ul li a{
		width: 192px;
		line-height: 150%;
		font-size: 110%;
		display: block;
		padding: 0 5px 0 13px;
		/*background-image: url(images/odr1.gif);
		background-position: 5px center ;
		background-repeat: no-repeat;*/
		background-image: url(images/bgmenu.gif);
		background-repeat: repeat-y;
		background-color: #ffcded;
		text-decoration: none;
		color: black;
	}
	
	#sidebar ul ul li a:hover{
		background-image: url(images/bgmenuhover.gif);
		background-color: #ffe0f4;
	}
	
	#sidebar ul ul ul li{
		border: 0px none;
		border-width: 0 0 1px 0;
		padding: 0; 
		width:190px;
		margin: 0 0 0 0px;
	}
	#sidebar ul ul ul li a{
		
		width: 180px;
		line-height: 150%;
		font-size: 110%;
		display: block;
		padding: 0 5px 0 25px;
		text-decoration: none;
		color: black;
		font-weight: normal;
	}
	#sidebar ul ul ul ul li a{
		
		width: 155px;
		line-height: 150%;
		font-size: 110%;
		display: block;
		padding: 0 5px 0 50px;
		text-decoration: none;
		color: black;
		font-weight: normal;
	}
	
	#sidebar .MailPress{
		padding: 0 8px;
	}
	#sidebar .MailPress p{
		font-size: 85%;
		margin: 3px 0;
	}
	#sidebar .MailPress input{
		margin: 3px 0;
	}
	
	#sidebar #loga{
		text-align: center;
		margin: 10px auto 10px auto;
	}
		#loga img{
			border: none 0px;
			margin: 10px 0 10px 0;
		}
	
	
	#polls ul, #polls ul.wp-polls-ul li{
		background-image: none;
		background-color: transparent;
		padding: 0;
		margin: 0;
		border: none 0px;
	}
/*FORMATOVANI TEXTU	*/
#text{
	margin: 25px 0 0 232px;
}
#text h2, #text h2 a{
	font-size: 200%;
	color: #535353;
	margin: 15px 0 0.7em 0;
	text-decoration: none;
}
#text h2 a{
	font-size: 100%;
	border: solid 1px #0000cd;
	border-width: 0 0 1px 0;
}
#text h2 a:visited{
	color: #535353;
}

#text h3{
	font-size: 115%;
	color: Black;
	margin: 1.2em 0 0.5em 0em;
}
#text h4{
	margin: 1.2em 0 0.5em 0em;
}
#text p, #text ul, #text ol{
	font-size: 1.1em;
	line-height: 1.3em;
	margin: 0.3em 0 0.8em 20px;
}
#text p{
	text-align: justify;
}
#text ul, #text ol{
	list-style-position: outside;
}
#text a{
	color: Blue;
	text-decoration: underline;
}
#text a img{
	color: white;
	text-decoration: none;
	border: 0 none solid;
}
#text a:hover, {
	color: #8B0000;
	text-decoration: underline;
}
#text a:visited{
	color: #8B0000;
}
#text .commentlist p{
	margin: 0.3em 2em 0.8em 0em;
	font-family: Georgia, "Times New Roman", Times, serif;
}
#text .commentlist li{
	margin: 0;
	padding: 0;
}
#text table{
	margin: 0.3em 0 0.8em 1.5em;
}


.nobull{
	list-style-type: none;
}

#footer{
	border: solid 1px silver;
	border-width: 1px 0 0 0;
	clear: both;
	width: 100%;
	margin: 20px 0 0 0; 
	padding: 5px 0 0 0;
	text-align: center;
}

/* uvodka */

/*.uvodramek{
	width: 518px;
	background-image: url(images/ramek.jpg);
	background-position: top left;
	background-repeat: no-repeat;
	clear: right;
}*/
#novinky{
	padding: 25px 0 0 0;
}
#novinky p, #novinky ul, #novinky ol{
	text-align: left;
}
#novinky h2{
	color: #d11b8d;
}

ul .nobull{
	list-style: none;
}
ol .abcList, ul .abcList{
	list-style-type: lower-alpha;
}
.alignleft{
	text-align: left;
	float: left;
}
.alignright{
	text-align: right;
}
q:lang(no), q:lang(cs), q:lang(en), q:lang(cz), q
{
quotes: "„" "“" "‚" "‘";
}

.invisible{
	display: none;
}


















