@charset "utf-8";
@import url("./reset.css");
@import url("./typography.css");
/*@import url("./links.css");*/
@import url("./general.css");
@import url("./print.css");

@media screen, projection {
/* doladÄ›nÃ­ typografie a zÃ¡klad layoutu */
html {
  text-align: center;
}
body {
	margin: 0 auto;
	text-align: left;
	font-size: .75em;
	background: white;
}
code {
  font-family: monospace;
  font-weight: bold;
}
h1, h2, h3, h4, h5, h6 {
	color: #006400;
	clear: both;
}
h1, h2, h3, h4 {
  font-family: Georgia, "New York CE", utopia, serif;
}
ol {
  list-style-type: decimal;
} 
ol ol {
  list-style-type: lower-alpha;
}
ol ol ol {
  list-style-type: lower-roman;
}
li p {
  text-indent: 0;
}

abbr {
  border-bottom: 1px dotted;
}

img {
    margin: 0.5em 1em;
}

/* general classes */
.podpis {
  margin-top: 2em;
  list-style-type: none;
} 
.adresa {
  list-style-type: none;
}

.skip {
    display: none;
}

/********** ODKAZY ******************/
a {
    color:blue;
}
a:visited {
    color: #808080;
}
a:hover {
/*    color: #808000;*/
 	color: #006400;
}
/************ LAYOUT *****************/
#wrapper {
	width: 994px;
	position: relative;
	margin: 0 auto;
	background: #ffffdd;
	background: url("../img/knihovna5.jpg") top left no-repeat #ffffdd;
	border: 1px dotted #cfd000;
	border-top: none;
	padding: 0;
}

/* page_footer */
#page_footer {
  border-bottom: 1px solid silver;
}

/* aside */
#aside1 {
	float: left;
	width: 194px;
	margin-bottom: 1em;
	/*  background: #ffffaa;*/
	background: #eeffee;
}
#aside1 .inner {
  padding: 1em 0;
}
.aside.doba {
  text-align: right;
}


/*********** HLAVNÍ MENU *************/
#main_nav {
  width: 100%;
  border-bottom:1px solid silver;
  height: 2.5em; /* 2.4em; */
 /* background: #ffffe5; !!!!!!!!!*/
 	/*background: url("../img/knihovna4.jpg") top left no-repeat #ffffe5;*/
}
#main_nav ul {
  list-style: none;
  border-right:1px solid silver;
  border-top:1px solid silver;
  margin-right: 0.8em;
  float:right;
  border-top:1px solid silver;
  padding-left:0;
}
#main_nav ul li {
  float:left;
  display:block;
  border-left: 1px solid silver;           
  border-bottom: 1px solid silver;  
}
#main_nav ul ul {
  /*background:#DCE8FF;*/
  background: #ffffee;
  position:absolute;
  margin-left: -1px;
  visibility:hidden;
  z-index:1;        
  clear:both;
  border-top:1px solid silver;
}

#main_nav ul ul li{
 clear: both;
 width: 100%;
 
}
#main_nav ul ul a {
 border-right: 1px solid silver;
}
#main_nav ul ul a:hover {
  /*background: #ffffe5;*/
} 


#main_nav li:hover ul {
    visibility: visible;
} 
#main_nav a {
  background: #ffffbb;
  font-weight: bold;
  padding: .4em .9em;
  border-bottom: none;
  display: block;
}
#main_nav a:visited {
	color: blue;
}
#main_nav a:hover, #main_nav .aktivni>a {
  color: #006400;
  /*background-color: #8080dd;*/
  background: #ffffee;
  background: #ffffdd;
  background: #ffff9f;
  background: #ffffbb;
  background: white;
}

/* main_article */
#main_article {
  float: right;
  width: 799px;
  border-left: 1px solid #ddd;
  /*margin-left: 10em;*/
/*  background: #ffffe5;*/
  margin-bottom: 1em;
  background: #ffffdd;
}
#main_article .inner {
  padding: 1em 2em;
}
#main_article p {
}
/* top_header */
#top_header {
	/*border-bottom: 8px solid #006400;*/
	/*background: #ffffe5;!!!!!*/
	/*background: url("../img/knihovna3.jpg") top left no-repeat #ffffe5;*/
	padding: 0;
	margin: 0;
	height: 165px;
	position: relative;
}
#top_header .inner {
    margin: 0 1em;
    padding: 0;
}
#top_header a {
    display:none;
}
#top_header p.adresa a {
  display: inline;
}
#top_header p.adresa {
	position: absolute;
	right: 1.1em;
	text-indent: 0;
	top: -0.3em;
	text-align: right;
}
#top_header h1 {
  	position: absolute;
  	left: 275px;
  	bottom: 0.1em;
  	font-size: 2.5em;
  	font-family: Georgia, "New York CE", utopia, serif;
    text-shadow: #aaa 0.1em 0.1em 0.3em;
}

#top_header h1 a {
    display: inline;
    border-bottom: none;
    color: black;
}
#top_header h1 a:visited {
    color: black;
}

#page_footer {
  clear: both;
  padding: 1em;
  background: #ffffbb;
  border-top: 1px solid #ddd;/*#ffff9f;*/
}
#aside1 div {
  margin: 0 0 1.5em;
  padding: 0 1em 0.5em;
}
#hledani, #konto, #vypujcni_doba {
	border-bottom: 1px solid #ddd;
}
#hledani input {
	width: 47%;
}

#konto input {
	width: 4em;
  margin-top: 0.5em;
}
#konto input#subutt {
  margin: 0.7em auto 0;
  width: 8em;
  display: block;
}
#aside1 h2 {
  font-size: 1.2em;
}
#konto {
	padding: 0.5em 1em 0.5em;
  margin: 2em 0 2em;	
  border-top: 1px solid #ddd;
}

/* tabulky */ 
th, td {
  line-height: 2em;
  padding: 0 1em;
  border: 1px solid black;
  border-right: none;
  border-bottom: none; 
  vertical-align: middle;
}
table {
  border: 1px solid black;
  border-left: none;
  border-top: none;
}
th {
  font-weight: bold;
/*  background: #808000;*/
	background: #006400;
  color: #ffffee;
  
}
td {
/*  background: #ffffd4;*/
}
caption {
  font-weight: bold;
}

#aside1 th,td {
  padding: 0 0.5em;
}

ul {
  padding-left: 2.5em;
}
ul.adresa, ul.odkazy {
  margin: 1em 0;
  padding-left: 2em;
  list-style: none;
}
#vypujcni-doba {
  float: right;
  margin-right: 2em;  
}

.cena {
  font-weight: bold;
}
.podpis {
  text-indent:0; 
}

table {
  margin: 1em 0;
}

.clear {
  clear: both;
}

p.photo, p.gallery {
  text-indent: 0;
}
a.nahled {
  padding: 1.5em;
  display: block;
  /*background: #ffffd4;*/
  #ffff9f;#ffffbb;
  background: #ffffbb;
  border: 1px dotted silver;
  
  
  float: left;
  margin: 0 1.5em 1.5em 0;
/*  border: none;*/
  width: 200px;
	color: #006400;
  /*color: #808000;*/
  font-weight: bold;
  padding-bottom: 0.75em;
}
a.nahled img {
    margin:0 auto;
    display:block;
}

a.nahled:hover {
  color: black;
  /*background: #ffffb4;*/
  background: #ffff9f;
  border: 1px solid silver;
}
a.first {
  clear: both;
}
a.last {
  margin-right: 0;
}
.datum {
  font-weight: bold;
}
h1 {
  margin-bottom:0;
}
h2 {
  margin-top:0.5em;
}
h3 {
  margin-top: 0.5em;
}
.gallery a {
  border-bottom: none;
}
.gallery a img {
  margin: 1em 1em;
}

.obalky_loga {
  margin-top: 1em;
}
.obalky_loga a {
  float:left;
  display:block;
  height:50px;
  clear: both;
  padding: 0.3em 0.6em;
  padding-bottom: 10px;
  border: none;
  width: 100%;
} 
.obalky_loga a:hover {
  background-color: #eeeeee;
}
.obalky_loga img {
  margin-bottom: -15px;
  margin-right: 0.6em;
}
td.den {
  font-weight: bold;  
}
#aside1 td.den {
  font-weight: normal;
}
a.logo {
  border:none;
  display: block;
  text-align: center;

}
/****** Úvodní stránka *******/
#sluzby-uvod {
  width: 60%;
  padding: 1.5em;
  padding-top: 0;
  margin-top: -0.5em;
  float: left;
}

#uvod {
  width: 65%;
  padding: 0;
  padding-top: 0;
  margin-top: -0.5em;
  float: left;
}
#uvod #sluzby-uvod {
  width: 100%;
  padding: 0;
  margin:0;
  float: none;
}

#uvod #sluzby-uvod h2 {
  clear: none;
  line-height: 1.2em;
  margin-top: 15px;
  margin-bottom: 20px;
}

#uvod #sluzby-uvod img {
  margin-top: 18px;
  margin-left: 0;
  margin-bottom: 0;
}

#sluzby-uvod p {
  text-indent: 0;
}

#sluzby-uvod div#detske-uvod, #sluzby-uvod div#dospeli-uvod {
  position: relative;
  border: 1px dotted silver;
  margin-bottom: 1.5em;
  padding: 1.5em;
  padding-top: 0;
  background: #ffffbb;
  height: 140px;
}

#sluzby-uvod div h2 {
  margin-top: 0em;
}

#sluzby-uvod a {
  color: #006400;
  font-weight: bold;
} 

#sluzby-uvod a:hover {
  color: black;
} 

#sluzby-uvod a:hover div#detske-uvod, #sluzby-uvod a:hover div#dospeli-uvod {
  background: #ffff9f;
  border: 1px solid silver;
}


.uvod-foto {
  width: 160px; 
  height: 120px;
  display: block;
  float:left;
  margin-right: 1.5em;
}

#sluzby-uvod div p {
    text-indent: 0;
    margin-top:0;
}

#aside-uvod {
  width: 32%;       /*  nastavit na 26% */
  float: right;
  border-left: 1px solid silver;
}

     #aside-uvod h2{ 
      line-height: 1.2em;
     }
ul.odkazy li a {
  border: none;
}
#uvod-aktuality {
  padding-left: 1.5em;
}

#uvod #uvod-aktuality {
  padding-left: 0;
}

#uvod-vyroci, #uvod-odkazy {
  padding-left: 1.5em;
}
#uvod-aktuality h2, #uvod-vyroci h2 {
  margin-top:0;
}

#uvod-odkazy ul {
  padding: 0;
  text-align: center;
}
#uvod-odkazy img {
  width: 180px;
  margin:0 0 15px 0;
}
#uvod-aktuality ul, #uvod-vyroci ul {
  list-style: none;
  padding-left:0;
}

#uvod-aktuality ul li, #uvod-vyroci ul li {
  margin-left: 0;
}
#uvod-aktuality p {
  margin-top:0;
}
#uvod-vyroci ul li {
  margin-bottom: 1em;
}


/********* seznam periodik *******/
div.periodika {
  float: left;
  width: 50%;
}


/****** MVS a akvizice formuláø ***************/
#akvizice fieldset, #mvs-ctenar fieldset, #mvs-knihovna fieldset {
    font-weight: bold;
    margin-top: 0.5em;
}

#akvizice label, #mvs-ctenar label, #mvs-knihovna label {
    font-weight: normal;
    float: left;
    width: 17em;
    margin-bottom: 0.5em;
}
#akvizice label {
  width: 8em;
}

#akvizice input, #mvs-ctenar input, #mvs-knihovna input, #mvs-ctenar textarea, #mvs-knihovna textarea {
    margin-left: 0.5em;
    float: left;
    margin-bottom: 0.5em;
}
#akvizice p, #mvs-ctenar p, #mvs-knihovna p {
    clear: both;
}
#akvizice p.message {
  font-weight: normal;
}


/* vyroci  *****/
.vyroci-cela p {
  margin: 0.5em 0.5em 0.5em 7.5em;
  text-indent: -6.4em;
}

.vyroci-cela p.vyznamne-dny {
  margin-left: 4.3em;
  text-indent: -3.2em;
}

} /* end of media projection, screen*/

@media print {
#top_header, #page_footer {
  display: none;
}

p, ul, ol, table {
  margin-bottom: 0.5em;
}

} /* end of media print */ 


/**
 * jQuery lightBox plugin
 * This jQuery plugin was inspired and based on Lightbox 2 by Lokesh Dhakar (http://www.huddletogether.com/projects/lightbox2/)
 * and adapted to me for use like a plugin from jQuery.
 * @name jquery-lightbox-0.5.css
 * @author Leandro Vieira Pinho - http://leandrovieira.com
 * @version 0.5
 * @date April 11, 2008
 * @category jQuery plugin
 * @copyright (c) 2008 Leandro Vieira Pinho (leandrovieira.com)
 * @license CC Attribution-No Derivative Works 2.5 Brazil - http://creativecommons.org/licenses/by-nd/2.5/br/deed.en_US
 * @example Visit http://leandrovieira.com/projects/jquery/lightbox/ for more informations about this jQuery plugin
 */
#jquery-overlay {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 500px;
}
#jquery-lightbox {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	line-height: 0;
}
#jquery-lightbox a { border:none; padding: 0;}
#jquery-lightbox a img { border: none; margin:0; }
#lightbox-container-image-box {
	position: relative;
	background-color: #fff;
	width: 250px;
	height: 250px;
	margin: 0 auto;
}
#lightbox-container-image { padding: 0; }
#lightbox-loading {
	position: absolute;
	top: 40%;
	left: 0%;
	height: 25%;
	width: 100%;
	text-align: center;
	line-height: 0;
}
#lightbox-nav {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 10;
}
#lightbox-container-image-box > #lightbox-nav { left: 0; }
#lightbox-nav a { outline: none;}
#lightbox-nav-btnPrev, #lightbox-nav-btnNext {
	width: 49%;
	height: 100%;
	zoom: 1;
	display: block;
}
#lightbox-nav-btnPrev { 
	left: 0; 
	float: left;
}
#lightbox-nav-btnNext { 
	right: 0; 
	float: right;
}
#lightbox-container-image-data-box {
	font: 10px Verdana, Helvetica, sans-serif;
	background-color: #fff;
	margin: 0 auto;
	line-height: 1.4em;
	overflow: auto;
	width: 100%;
	padding: 0 10px 0;
}
#lightbox-container-image-data {
	padding: 0 10px; 
	color: #666; 
}
#lightbox-container-image-data #lightbox-image-details { 
	width: 70%; 
	float: left; 
	text-align: left; 
}	
#lightbox-image-details-caption { font-weight: bold; }
#lightbox-image-details-currentNumber {
	display: block; 
	clear: left; 
	padding-bottom: 1.0em;	
}			
#lightbox-secNav-btnClose {
	width: 66px; 
	float: right;
	padding-bottom: 0.7em;	
}

