HTML {
margin : 0;
padding : 0;
height: 100%;
}

BODY {
font-family: Verdana;
font-size: 13px;	
margin : 0;
padding : 0;
height: 100%;
}

IMG{
	border: 0;
}

a img {
border:none;
outline: none;
}

FORM { margin: 0; }

H1, H2, H3 {
    margin:0;     
    font-weight:normal;	
    color: #454545;	
}
a { color: #000; text-decoration: underline;}
a:link { color: #000; text-decoration: underline; }
a:hover { color: #000; text-decoration: none; }
a:active { color: #000; text-decoration: none; }
	   

H1 a { color: #454545; text-decoration: underline; }
H1 a:hover { color: #b22222; text-decoration: none; }
H2 a { color: #454545; text-decoration: underline; }
H2 a:hover { color: #b22222; text-decoration: none; }


#content {
  position: relative;
  min-height: 100%;
}
#content_after{
  height: 90px;
}
* html #content {
  height: 100%;
}

#error{
  text-align: center;
  margin: 100px;
  font-size: 20px;
  color: #b22222;
}

/****************** Установка рейтинга *********************/
dl.star-rating ol {
		margin: 0;
		padding: 0;
		list-style: none;
		width: 100px;
		height: 20px;
		position: relative;
		background: url(stars.png);
	}
	dl.star-rating li {
		float: left;
		margin: 0;
		padding: 0;
	}
	dl.star-rating li a {
		display: block;
		width: 20px;
		height: 20px;
		text-indent: -9999px;
		position: absolute;
		text-decoration: none;
		z-index: 10;
	}
	dl.star-rating li a:hover {
		background: url(stars.png) left center;
		left: 0;
		z-index: 2;
	}
	dl.star-rating a.star1 {
		left: 0;
	}	dl.star-rating a.star1:hover {
		width: 20px;
	}
	dl.star-rating a.star2 {
		left: 20px;
	}	dl.star-rating a.star2:hover {
		width: 40px;
	}
	dl.star-rating a.star3 {
		left: 40px;
	} dl.star-rating a.star3:hover {
		width: 60px;
	}
	dl.star-rating a.star4 {
		left: 60px;
	}	dl.star-rating a.star4:hover {
		width: 80px;
	}
	dl.star-rating a.star5 {
		left: 80px;
	} dl.star-rating a.star5:hover {
		width: 100px;
	}
	dl.star-rating li.current {
		background: url(stars.png) left bottom;
		height: 20px;
		z-index: 1;
	}




/*********** Шапка ***********/
#head{
   min-width: 1000px;
   width:100%;
   height: 100px;
}
#poloska{
	position: absolute; top:92px;
	width: 90%;
	border-top:solid 1px #dcdcdc; 
}

#logo { position: absolute; top: 10px; left: 20px; }

#logo2 { position: absolute; top: 10px; left: 150px; }

#menu {
   position: relative; top: 25px; 
   margin-left: 300px;
   font-size: 14px;
}
#menu2 {
   position: absolute; right:7px; 
   background-color: white;
   height:93px;
   width: 29%;
   border-left:solid 1px #dcdcdc; 
   text-align: center;
   font-size: 14px;
}
#bookmark{
    float: right;
    /*position: absolute; left: 50%;*/
}
#menu2 span{
   display: block; 
	padding-top: 31px;
}
#menu2 span a { color: #b22222; text-decoration: none; /*BORDER-BOTTOM: #b22222 1px solid; */padding-bottom: 2px;}
#menu2 span a:hover { color: #b22222; text-decoration: none; BORDER-BOTTOM: none;}

#menu strong{
	font-weight: normal;
	margin-left: 5px;	
}
#menu span{
	margin-left: 10px;
}
#menu a { color: #000; text-decoration: none; BORDER-BOTTOM: #737373 1px solid; padding-bottom: 2px;}
#menu a:hover { color: #000; text-decoration: none; BORDER-BOTTOM: none;}

.menu_help em { position:relative; z-index:24;display:none;}

.menu_help:hover em {
  z-index:25;
  display:block;
  position:absolute;
  top:30px;
  left: 40px;
  padding:5px;
  font-size:11px;
  color:#333333;
  text-decoration:none;
}
#pok strong {
	font-size:11px;
	font-style: normal;
	font-weight: normal;
}



/*********** INDEX Блок меток ***********/
#metki{
	 line-height: 1.5em;
	 overflow:hidden; 
	 margin: 10px 0;
}
#metki_block1{
    line-height: 1.7em;
	 float: left;
	 width: 50%;
    background-color: #f6f8ed;
    background-image: url('images/corn1_top.gif');
    background-repeat: no-repeat;
    background-position: 100% 0%;
    min-width: 500px; padding-left:15px; padding-right:5px; padding-top:0px; padding-bottom:0
}
#metki_block1 div{
		height:20px;
		background:url('images/corn1_bottom.gif') no-repeat 100% 100%;  
	   font-size: 10px; margin-left:0px; margin-right:-5px; margin-top:0; margin-bottom:0
}
#metki_block1 ul{
	 margin: 0 0 -8px;
	 padding: 0;
	 list-style: none;
}
#metki_block1 li{
	margin: 3px;
}
#metki_block1 li span{
   color: #454545;
}
#metki_block1 li b{
   color: #555;
}

#metki_block1 ul a{ color: black; text-decoration: none;}
#metki_block1 ul a:hover{ color: black; text-decoration: none;BORDER-BOTTOM: #9e9e9e 1px solid;	padding-bottom: 1px; }

#index_slogan{ 	
   font-family: Verdana, Helvetica, sans-serif; 
	font-size: 12px;
	border-bottom: solid 1px #666666;
	padding: 0 0 7px 53%;
}
#index_slogan strong{
	font-style: normal;
	font-weight: normal;
}

#index_news{ margin-left: 53%; font-size: 12px; color: #4b4b4b;}
#index_news a{ color: #4b4b4b; text-decoration: none;}
#index_news a:hover{ color: #4b4b4b; text-decoration: underline;}

#index_news p{
	margin: 4px 0;
}
#index_news span{
	float: left;
	background-color: #666666;
	color: #f6f8ed;
   margin: 0 5px 0 0;
   padding: 0 3px;
}
#index_newsspisok {
	width:90%; 
	overflow:auto; 
	padding: 5px;
	margin-bottom: 10px;
}
#index_newsspisok H2{
    font-weight:normal;	
    color: gray;	
    margin-top: 5px;	    
}
#index_newsspisok i{
  font-style: normal;	
}
#index_newsspisok i a { color: #b22222; text-decoration: none; BORDER-BOTTOM: #b22222 1px dashed;}
#index_newsspisok i a:hover { color: #b22222; text-decoration: none; BORDER-BOTTOM: none;}
#s_news span{ color: #f6f8ed; background-color: #b22222;}
#s_news a{ color: #b22222; text-decoration: none;}
#s_news a:hover{ color: #b22222; text-decoration: underline }

#metki H2{
   font-size: 22px;
   margin-bottom: 5px;
}
#metki H1{
   font-size: 17px;
   margin-bottom: 5px;
   padding-top: 3px;
   border-top: solid 1px #666666; 
   color: #b22222;
}

.link1 { margin: 3px 0; }
.link1 a { color: #9e9e9e; text-decoration: none; BORDER-BOTTOM: #9e9e9e 1px dashed;}
.link1 a:hover { color: #9e9e9e; text-decoration: none; BORDER-BOTTOM: none;}

.link2 { margin: 3px 0; }
.link2 a { color: #b22222; text-decoration: none; BORDER-BOTTOM: #b22222 1px dashed;}
.link2 a:hover { color: #b22222; text-decoration: none; BORDER-BOTTOM: none;}

#tit1{
   float: left;
   padding-left: 15px;
}
#tit2{ margin-left: 53%;}

/*********** INDEX Блок Книг ***********/
#knigi{
   
   overflow:hidden;   
}
#knigi H2{
	padding-left: 10px;
}

#knigi ul {
 margin: 10px 0 0 15px;
}
#knigi li {
 float: left;
 display: block;
 width: 16%;
 text-align: center;
 min-width: 160px;
 margin-top: 10px; 
}
  
/* ---------- INDEX gallery styles start here ----------------------- */
.gallery {
    list-style: none;
	margin: 0;
	padding: 0;
}
#error_g{
	text-align: center;
   padding: 50px 0 100px;
   font-size: 20px;
   color: #daa520;
}
.gallery li {
	float: left;
	position: relative;
	background: url('images/drop-shadow.png') no-repeat center bottom;
	height: 250px
}
.gallery img {
	background: #fff;
	border: solid 1px #ccc;
	border-bottom: none;
}
.gallery a:hover img {
	border-color: #000;
}

.gallery span {
	width: 172px;
	height: 84px;
	display: block;
	position: absolute;
	top: 0px;
	left: 4px;
	background: url('images/glossy-gradient.png') no-repeat;
}

.show_bookinfo i { position:relative; z-index:24;display:none;}

.show_bookinfo:hover i {
  z-index:25;
  display:block;
  position:absolute;
  top:10px;
  background: url('images/bg_book_help.png');
  border:1px solid #333333;
  padding:5px;
  font-size:11px;
  color:#333333;
  text-decoration:none;
  font-style: normal

}

/****************************************************************** тест **/

/*********** INDEX Блок Книг ***********/
#knigi2{
   overflow:hidden;   
}
#knigi2 H2{
	padding-left: 10px;
}

#knigi2 ul {
 margin: 10px 0 0 15px;
}
#knigi2 li {
 float: left;
 display: block;
 width: 16%;
 text-align: center;
 min-width: 160px;
 margin-top: 10px; 
}
  
/* ---------- INDEX gallery styles start here ----------------------- */
.gallery2 {
	list-style: none;
	margin: 0;
	padding: 0;
}
#error_g2{
	text-align: center;
   padding: 50px 0 100px;
   font-size: 20px;
   color: #daa520;
}
.gallery2 li {
	float: left;
	position: relative;
	background: url('images/drop-shadow.png') no-repeat center bottom;
	height: 250px
}
.gallery2 img {
	background: #fff;
	border: solid 1px #ccc;
	border-bottom: none;
}
.gallery2 a:hover img {
	border-color: #000;
}

.gallery2 span {
	width: 172px;
	height: 84px;
	display: block;
	position: absolute;
	top: 0px;
	left: 4px;
	background: url('images/glossy-gradient.png') no-repeat;
}

.show_bookinfo2 i { position:relative; z-index:24;display:none;}

.show_bookinfo2:hover i {
  z-index:25;
  display:block;
  position:absolute;
  top:10px;
  background: url('images/bg_book_help.png');
  border:1px solid #333333;
  padding:5px;
  font-size:11px;
  color:#333333;
  text-decoration:none;
  font-style: normal

}

/****************************************************************** конец тест **/

/*********** INDEX Блок Авторов ***********/
#author{
	margin: 10px 0 20px 15px;
}
#author H2{
	margin: 0 0 10px -5px;
}
.name a {
   display: inline-block;
	background-color: #ededed;
	margin: 5px;
	padding: 6px 10px;
   text-decoration: none;
	}
.name a:hover { 	
   display: inline-block;
	background-color: #ffc559;
	margin: 5px;
	padding: 6px 10px;
	text-decoration: none;
}
.name_bottom a {
   display: inline-block;
	border: solid 1px silver;
	margin: 5px;
	padding: 6px 10px;
   text-decoration: none;
	}
.name_bottom a:hover { 	
   display: inline-block;
	background-color: #b22222;
	color: white;
	margin: 5px;
	padding: 6px 10px;
	text-decoration: none;
}


/****** Блок Рекламы Может быть будет *******/


/*********** Блок Footer ***********/
#footer{
  position: relative;
  margin-top: -70px; 
}
.inp1 {
   border: solid 1px #aaa;
   color: gray;
   margin-left:15px;
}

#foot1{
   width: 29%;
   min-width: 280px;
}
#foot2{
	font-size: 10px;
	text-align: right;
	padding-right: 10px;
   min-width: 100px;
	background: url('images/nickz.gif') no-repeat 30px -20px;
	
}
#foot_counter{
	font-size: 10px;
	text-align: center;
   min-width: 150px;
   border-left: solid 1px silver;
}
#foot2 a{ color: #696969; text-decoration: none;}
#foot2 a:hover{ color: #b22222; text-decoration: none; }

#foot3{
	 border-left: solid 1px silver;
	 font-size: 11px;
	 padding: 10px 10px 10px 20px;
    min-width: 250px;
}

/*********** Страница Book ***********/

#book_page{
   overflow:hidden;
   margin: 0 20px;
   color: #454545;
}
#book_page H2{
   margin: 10px 0;
   font-size: 23px;
}
#book_page H1{
   margin: 10px 0;
   font-size: 22px;
}
#book_img img {
	background: #fff;
	border: solid 1px #ccc;
}
#book_img{
	float:left;
	padding: 0 15px 0 0;
}
#book_about{
	overflow:hidden;
}
#book_about_author{
	margin: 0;
	padding: 0;
	font-size: 15px;
	font-weight: bold;
}
#book_about_author a{ color: black; text-decoration: none;BORDER-BOTTOM: black 1px solid;	padding-bottom: 1px;}
#book_about_author a:hover{ color: #b22222; text-decoration: none; BORDER-BOTTOM: none}

#book_about_opis{
	margin: 15px 0 10px;
	padding: 0 0 5px;
	border-bottom: solid 1px #fbe5e5;
	line-height: 1.5em;
   text-align: justify;
}
#book_about_opis:first-letter {
	color: #b22222;
   font-size: 280%; 
   float: left; 
   padding-right: 5px; /* Отступ между буквицей и текстом */
   line-height: 38px; /* Положение символа */
}
#book_about_year{
   margin: 10px 0 25px;
}
#book_metki{
   color: #b22222;
   margin: 10px 0 0 0;
   display: block;
   float: none;
}
#book_metki span a {
   display: inline-block;
	background-color: #ededed;
	color: black;
	margin: 5px;
	padding: 6px 10px;
   text-decoration: none;
	}
#book_metki span a:hover { 	
   display: inline-block;
	background-color: #b22222;
	color: white;
	margin: 5px;
	padding: 6px 10px;
	text-decoration: none;
}
#book_page_like_all{
   position: relative; left:53%; top: 5px;
   font-size: 15px;
}

#book_god_cikl{ 
     font-size:11px;

}
.otd{
	margin: 10px;
	border-bottom: solid 1px #ededed;
}

/*********** Страница Book ***********/

#author_page{
   overflow: hidden;
   margin: 0 20px;
   color: #454545;
}
#author_page_about{
	margin: 15px 0 10px;
	padding: 0 0 5px;
	line-height: 1.5em;
   text-align: justify;	
}
#author_page_about:first-letter {
	color: #4682b4;
   font-size: 280%; 
   float: left; 
   padding-right: 5px; /* Отступ между буквицей и текстом */
   line-height: 38px; /* Положение символа */
}
#author_page H1{
   margin: 10px 0;
   font-size: 22px;
}
#author_page H2{
   margin: 10px 0;
   font-size: 23px;
}

#author_img{
	float:left;
	padding: 0 15px 15px 0;
}
#author_img img {
	background: #fff;
	border: solid 1px #ccc;
	padding: 4px;
}

#author_img span {
	width: 122px;
	height: 72px;
	display: block;
	position: absolute;
	top: 130px;
   left: 5px;	
	background: url('images/floral-corner.png') no-repeat;
}

/*********** Страница Metki ***********/

#metki_page{
   margin: 10px 0 0 15px;
}
#metki_page H2{
	color: #a9a9a9;
}
#metki_page H1{
	margin: 0;
	font-size: 22px;
}
#metki_page ul{
	margin: 15px 0 0 10px;
	padding: 0;
	list-style: none;
	line-height: 1.7em;
}
#metki_page li{
	margin: 5px;
	padding: 1px 0;
	color: #737373;
}
#metki_page ul span a{ color: black; text-decoration: none; BORDER-BOTTOM: #737373 1px solid;	padding-bottom: 1px; }
#metki_page ul span a:hover{ color: black; text-decoration: none; BORDER-BOTTOM:none; }

#search_n{
   margin: 5px 0 0;
}
#search_n a{ color: #b22222; text-decoration: none; BORDER-BOTTOM: #b22222 1px dashed;	padding-bottom: 1px; }
#search_n a:hover{ color: #b22222; text-decoration: none; BORDER-BOTTOM:none; }

/*********** Страница Metka ***********/

#mitki_book_about{
	margin: 0 0 0 180px;
	font-style: italic;
}
#metki_book_page{
	margin: 10px 0 0 15px;
}
#metki_book_page H1{
	margin: 0;
	font-size: 22px;
}

/*********** Страница NEWS ***********/

#news_page{
   overflow:hidden;
   margin: 0 0 40px 0;
   color: #454545;
}
#news_page p{
	margin: 10px 40px;
}
#news_page span{
	float: left;
	background-color: #666;
   margin: 0 5px 0 0;
   padding: 0 3px;
   color: #f6f8ed;
}

#news_page H1{
   margin: 10px 40px;
   font-size: 23px;
   color: #737373;
}
#first_site span{
	float: left;
	background-color: black;
	color: white;
   margin: 0 5px 0 0;
   padding: 0 3px;
}
#first_site div{
	float:left;
	height: 50px;
	width: 50px;
	background-image: url('images/skob1.gif');
	background-repeat: no-repeat

}
#first_site i{
   display: block;
   font-style: normal;
   text-align: justify;
   margin-bottom:20px;
   color: black;
   background-color: #f1f1f1; 
   background-image: url('images/skob2.gif');
   background-position: 100% 100%;
   background-repeat: no-repeat;
   min-height: 50px; padding-left:90px; padding-right:100px; padding-top:5px; padding-bottom:8px
}
#first_site a{ color: #000; text-decoration: none;}
#first_site a:hover{ color: #b22222; text-decoration: none; }

#news_s_block a{ color: #4b4b4b; text-decoration: underline;}
#news_s_block a:hover{ color: #4b4b4b; text-decoration: none;}

#news_s_block2 span{ color: #f6f8ed; background-color: #b22222;}
#news_s_block2 a{ color: #b22222; text-decoration: underline;}
#news_s_block2 a:hover{ color: #b22222; text-decoration: none; }

/*********** Страница NEWS_id ***********/

#news_page2{
   overflow:hidden;
   margin: 20px 100px 30px;
}
#news_page2 H2{
   font-size: 23px;
   color: #737373;
   margin-top: 20px;
}
#news_page2 H1{
   font-size: 23px;
   color: #1b1b1b;
   margin-top: 20px;
}
#news_page2arrow{
	position: absolute; left: 10px; top: 110px;
}
#news_page2_text{
   padding: 10px 0;
   text-align: justify;
   line-height: 1.5em;
   color: #2c2c2c;
}
#news_page2_text a { color: #2c2c2c; text-decoration: underline;}
#news_page2_text a:hover { color: #2c2c2c; text-decoration: none; }

#news_page2_text p{ 
   margin: 0 0 10px;
   text-indent: 1.5em; 
}
#news_page2_more{
	
}
#news_page2_more span{
	float: left;
	background-color: #585858;
   color: white;
   margin: 0 5px 0 0;
   padding: 0 3px;
}
#news_page2_more b{
	color: #585858;
}
#news_page2_redlink a { color: #b22222; text-decoration: underline;}
#news_page2_redlink a:hover { color: #b22222; text-decoration: none; }


/*********** Страница Cikl ***********/

#cikl_page{
	margin: 10px 0 0 15px;
}
#cikl_page H1{
	margin:  0;
	font-size: 22px;
}
#cikl_page H3{
	margin: 25px 30px 0;
	font-size: 16px;
}
#other_cikl{
	margin: 20px 30px 40px;
	font-size: 20px;
}
#other_cikl a{ color: #5b8c81; text-decoration: none;BORDER-BOTTOM: #5b8c81 1px solid;padding-bottom: 1px;}
#other_cikl a:hover{ color: #5b8c81; text-decoration: none;BORDER-BOTTOM: none; }


/*********** Страница addbook ***********/

#addbook{
   margin: 0 0 0 18%; 
}
#addbook_help{
   position: absolute;  left:50%; top: 170px;
   border: solid 1px #ededed;
   background-color: #dbf6db;
   padding: 5px;
   line-height: 1.7em;
}
#addbook H1{
   margin: 0;
   padding: 10px 0; 
   font-size: 20px; 
   color: #454545;
}
#addbook_form{
   margin: 10px 0 0;
}
#addbook_sp1{
   overflow: hidden;
   float: left;
}
#addbook_sp2{
   overflow: hidden;
   padding-left: 40px;  
}
#addbook_spisok {
	width:300px; 
	height:99px; 
	overflow:auto; 
	border:solid 1px #b3b3b3; 
	padding: 5px;
	margin-bottom: 10px;
}
#addbook_sp2 input{
   margin-left: 5px;
}
.addbook_author{
   font-weight: bold;
   color: #b22222;
}

.form_help{
   display: block;
	color: white;
	padding: 5px;
}
.l_text{
	padding: 10px 0;
	color: #b22222;
   font-size: 10px;
}
#addbook_ok{
   margin-top: 10px;
	padding: 5px 0 5px 18%;
	background-color: #fafad2;
	border-top:solid 1px #b3b3b3; 
	border-bottom:solid 1px #b3b3b3; 
}
#error_mes{
   margin-top: 10px;
	padding: 5px 0 5px 18%;
	background-color: #ffe4b5;
	border-top:solid 1px #b22222; 
	border-bottom:solid 1px #b22222; 
}
/*********** Страница metki_search ***********/

#metki_search{
   margin: 0 0 0 15%; 
}
#metki_search H1{
   margin: 0;
   padding: 10px 0; 
   font-size: 20px; 
   color: #454545;
}
#addbook_form{
   margin: 10px 0 0;
}
#metki_search_spisok{
	width:700px; 
	height:299px; 
	overflow:auto; 
	border:solid 1px #791717; 
	padding: 5px;
	margin-bottom: 10px;
}
#metki_search_spisok i{
	color: #515151;
	font-size: 12px;
}

#metki_search ul{
	margin: 15px 0 0 0;
	padding: 0;
	list-style: none;
	line-height: 1.7em;
}
#metki_search li{
	margin: 5px;
	padding: 1px 0;
	color: #737373;
}
#metki_search ul span a{ color: black; text-decoration: none; BORDER-BOTTOM: #737373 1px solid;	padding-bottom: 1px; }
#metki_search ul span a:hover{ color: black; text-decoration: none; BORDER-BOTTOM:none; }


/*********** Страница BACK ***********/

#back{
   margin: 0 0 0 15%; 
   line-height: 1.7em;
}
#back H1{
   margin: 0;
   padding: 10px 0; 
   font-size: 20px; 
   color: #454545;
}
#back_form{
   margin: 10px 0 0;
}
a.otz {
    color: #AE0D16;
    font-weight: bold;
    text-decoration: none;
}
.googlead{
    height: 100px;
    border:  1px solid #DCDCDC;
}
