.search
{
	float:right;
	margin-right: 15px;
	padding: 5px;
}
.search input
{
	padding: 5px;
	width: 120px;
}

.books
{
	position: relative;
	left: 220px;
	right: 9px;
	background: #EFEFEF;
	padding: 15px 10px;
	border: 1px solid #ccc;
	box-shadow: 2px 2px 10px rgba(0,0,0,0.5);
	//margin-top: 16px;
	
}

ul.category
{
	/* height: 45px; */
	/* line-height: 45px; */
	position: absolute;
	padding: 20px 0;
	margin: 0 0 3px;
	list-style: none;
	float: left;
}
ul.category li
{
	width: 220px;
	margin-bottom: 1px;
	border-radius: 5px 0 0 5px;
	-moz-border-radius: 5px 0 0 5px !important;
	-webkit-border-radius: 5px 0 0 5px;
	-khtml-border-radius: 5px 0 0 5px;
	
}
.category li		
{
	list-style-type: none;
	list-style-image: none;
}
li
{
	display: list-item;
	text-align: -webkit-match-parent;
}
ul.category li a.active 
{
	color: #009900;
	background: #EFEFEF;
	padding: 5px 10px;
	border-radius: 5px 0 0 5px;
	-moz-border-radius: 5px 0 0 5px !important;
	-webkit-border-radius: 5px 0 0 5px;
	-khtml-border-radius: 5px 0 0 5px;
	border: 1px solid #ccc;
	border-right: 1px solid #EFEFEF;
	margin-right: -1px;
	z-index: 5;
}
ul.category li a 
{
	display: block;
	width: 221px;
	padding: 5px 10px 4px 10px;
	margin: 0 4px 0px 0;
	color: #111;
	font-size: 18pt;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	//background: #e6e6e6;
	background: #b3b3b3;
	border: 1px solid #ccc;
	border-right: 1px solid #e6e6e6;
	position: relative;
	border-radius: 5px 0 0 5px;
	-moz-border-radius: 5px 0 0 5px !important;
	-webkit-border-radius: 5px 0 0 5px;
	-khtml-border-radius: 5px 0 0 5px;
	
}
ul.category li a:hover 
{
	display: block;
	width: 221px;
	padding: 5px 10px 4px 10px;
	margin: 0 4px 0px 0;
	color: #111;
	font-size: 18pt;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	background: #e6e6e6;
	//background: #b3b3b3;
	border: 1px solid #ccc;
	border-right: 1px solid #e6e6e6;
	position: relative;
	border-radius: 5px 0 0 5px;
	-moz-border-radius: 5px 0 0 5px !important;
	-webkit-border-radius: 5px 0 0 5px;
	-khtml-border-radius: 5px 0 0 5px;
	
}
ul.category li a.active:hover
{
	color: #009900;
	background: #EFEFEF;
	padding: 5px 10px;
	border-radius: 5px 0 0 5px;
	-moz-border-radius: 5px 0 0 5px !important;
	-webkit-border-radius: 5px 0 0 5px;
	-khtml-border-radius: 5px 0 0 5px;
	border: 1px solid #ccc;
	border-right: 1px solid #EFEFEF;
	margin-right: -1px;
	z-index: 5;
}




.this_books
{
	/* width: 800px; */
	background: #EFEFEF;
	padding: 15px 10px;
	margin-top: 16px;
	top: 20px;
	z-index: 12;
}
.show_book
{
	cursor: pointer;
}

#overlay {
	background-color: #535353; /* Чёрный фон */
	height: 100%; /* Высота максимальна */
	left: 0; /* Нулевой отступ слева */
	opacity: 0.95; /* Степень прозрачности */
	position: fixed; /* Фиксированное положение */
	top: 0; /* Нулевой отступ сверху */
	width: 100%; /* Ширина максимальна */
	z-index: 11;/* Заведомо быть НАД другими элементами */
	display: none;
	
}

#ajax-loader {
	opacity: 0.50;
	position: fixed;
	display: none;
	z-index: 5;
}
.head
{
	text-align:center;
}

/*Всплывающий скриншот*/ 
.thumbnail{  
	position: relative;  
	z-index: 0;  
}  
.thumbnail:hover{  
	background-color: transparent;  
	z-index: 50;  
}  
.thumbnail span{ /*CSS for enlarged image*/  
	position: absolute;  
	background-color: #3d3d3d;  
	padding: 5px;  
	/*left: -1000px;  */
	border: 1px solid white;  
	visibility: hidden;  
	color: Yellow;  
	text-decoration: none;  
	border-radius: 4px 4px 4px 4px; 
	-moz-border-radius: 4px 4px 4px 4px; 
	-webkit-border-radius: 4px 4px 4px 4px; 
}  
.thumbnail span img{ /*CSS for enlarged image*/  
	border-width: 0;  
	padding: 2px;  
}  
.thumbnail:hover span{ /*CSS for enlarged image on hover*/  
	visibility: visible;  
	/*top: -300px;*/
	left: 60px; /*position where enlarged image should offset horizontally */
	z-index: 150;
}  

.imgBook
{
	max-width: 150px;
}