/* Общие данные */

html, body {
	height: 100%;
	margin: 0px;
}

BODY {
	background-color:#fffafa;
	color: #000;
	background-image:url(../img/bg32.gif);
}

BODY, TABLE {
	font-family:Arial, Helvetica, sans-serif;
	font-size:10pt;
}


.MainBorder {
	width:100%;
	min-width: 980px;
	position:relative;
	
	min-height: 920px;
	
	max-width: 1430px;
	margin: auto;
}

* html .MainBorder {
	width: expression(document.body.clientWidth < 980? "980px": "auto" );
	height:100%;
}



.reinkar {
	display:block;
	position: absolute;
	left:10px;
	z-index:1;
}


a.vkGroup {
	height: 32px;
	display:block;
	background: url(/img/vk_32x32.png) no-repeat;
	width: 160px;
	margin: 5px auto;
	font-weight:bold;
}

a.vkGroup span {
	display: block;
	text-align: left;
	margin-left: 38px;
	padding-top: 1px;
	line-height: 120%;
}


A.sitemap {
	display: block;
	width: 60px;
	float: right;
	font-size: 9px;
	position: absolute;
	right:0;
	top:2px;
}

.acntr {
	text-align: center;
}

.bcntr {
	display: block;
	margin: 0 auto;
}

.cb {
	clear: both;
}

.fleft {
	float:left;
}
.fright{
	float:right;
}


/* Кнопки */
.stButton {
	border: 1px dotted #ccc;

	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	-khtml-border-radius: 4px;
	border-radius: 4px;
	
	-moz-box-shadow: 0px 0px 3px #ddd;
	-webkit-box-shadow: 0px 0px 3px #ddd;
	box-shadow: 0px 0px 3px #ddd;
	
	behavior: url(/styles/pie.php);
}


IMG {
	border:0px;
}

FORM {
margin:0px;	
}

#cse-search-box {
	display: block;
	text-align: center;
	width: 338px;
	width: 30%;
	position: absolute;
	left: 50%;
	top: 4px;
}

#cse-search-box-q, #cse-search-box input[name="q"] {
	border: 1px solid #7E9DB9;
	width: 260px;
	width: 86%;
	float:left;
	position: relative;
	top:0px;
	height:24px;
	border: 1px solid #B1C4D4 !important;
	border-right:0px !important;
	outline: none;
	height:20px;
	padding: 0 6px 0 5px;
	
	-moz-border-radius: 3px 0 0 3px;
	-webkit-border-radius: 3px 0 0 3px;
	-khtml-border-radius: 3px 0 0 3px;
	border-radius: 3px 0 0 3px;
	
	behavior: url(/styles/pie.php);
}

#cse-search-box-q.empty {
	color: #ccc;
	letter-spacing: 2px;
	-moz-text-shadow: 0px 1px 1px #ddd;
	-webkit-text-shadow: 0px 1px 1px #ddd;
	text-shadow: 0px 1px 1px #ddd;
	
	behavior: url(/styles/pie.php);
}

#cse-search-box .searchButton {
	height:20px !important;
	font-weight: bold;
	border: 1px solid #B1C4D4;
	border-left: 0px;
	float:left;
	background-color: white;
	
	-moz-border-radius: 0 3px 3px 0;
	-webkit-border-radius: 0 3px 3px 0;
	-khtml-border-radius: 0 3px 3px 0;
	border-radius: 0 3px 3px 0;
	
	/*-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	-khtml-border-radius: 3px;
	border-radius: 3px;*/
	
	behavior: url(/styles/pie.php);
}

* html #cse-search-box .searchButton {
	position: absolute;
	top: 1px;
	right: 0;
}

.anons {
	font-size: 11px;
	text-indent: 0;
	line-height: 120%;
	color: #666;
}


HR {
height:1px;
width:70%;
}

HR.dark, HR.light {
-moz-box-shadow: inset -30em 0 30em -15em snow, inset 30em 0 30em -15em snow;
-webkit-box-shadow: inset -30em 0 30em -15em snow, inset 30em 0 30em -15em snow;
box-shadow: inset -35px 0 35px -15px snow, inset 35px 0 35px -15px snow;

behavior: url(/styles/pie.php);
}

HR.dark {
height: 1px;
padding: 0px;
line-height: 1px;
font-size: 1px;
margin: 10px auto 10px auto;
background: #ddd;
border: 0px #ddd;
color: #ddd;
}

HR.light {
height: 1px;
padding: 0px;
line-height: 1px;
font-size: 1px;
margin: 10px auto 10px auto;
border: 0px #e5e5e5;
color: #e5e5e5;
background: #e5e5e5;
}

* html hr.light, * html hr.dark {
	margin: 0; /* in IE6 */
}
*+html hr.light, *+html hr.dark {
	margin: 0; /* in IE7 */
}

.Intext {
	color:green;
	font-size:14px;
	cursor:default
}


A {
	text-decoration:none;
	/*font-size:10pt;*/
	color: #0088cc;
}


A:hover {
	color:#ff6600;
}

A.Razdel {
	color:#ff6600;
	font-weight: bold;
	font-size: 14px;
}
A.Razdel:hover {
	color:#0088cc;
}

A.Mail {
	font-size:10px;
	color:#d2d2d2;
	display:block;
	font-weight:normal;
	position: absolute;
	left: 155px;
}

A.Mail:hover {
	color:#FF3300;
	color: darkorange;
	text-decoration:underline;
}

H2 A.BookLight, A.BookLight,
H2 A.BookLightBlue, A.BookLightBlue {
	font-weight:bold;
	color:#0088cc;
}

A.BookBlack, A.BookBlackBlue {
	font-weight:bold;
	color:#006699;
}

A.KastaLight, A.KastaBlack {
	color:#009999;
	font-weight:bold;
}

A.KastaBlack {
	color:#007788;
}

SMALL A.booksa {
	font-size: inherit;
}

a .f1 {
	font-size:10px;
	font-weight:900;
	}

a .f2 {
	font-size:12px;
	font-weight:bold;
	color:#c40000
	}

a .f3 {
	font-size:14px;
	font-weight:bold;
	}

a:hover .f1 {
	font-size:14px;
	font-weight:bold;
	}

a:hover .f2 {
	font-size:12px;
	}

a:hover .f3 {
	font-size:10px;
	font-weight:900;
	}




A.BookLight:hover, A.BookLightBlue:hover, A.KastaLight:hover {
	color:#FF6600;
}

A.BookBlack:hover, A.BookBlackBlue:hover, A.BookBlack:hover {
	color:darkorange;
}

/* Общие данные */


/* Структура */


DIV.BOOKAP {
border-bottom: 1px solid #c40000;
background: url(/img/head_fon.png) center #000080;
display: block;
height: 30px;
cursor: default;
-moz-box-shadow: 0px 0px 3px navy;
-webkit-box-shadow: 0px 0px 3px navy;
box-shadow: 0px 0px 3px navy;
width: 100%;
z-index: 30;
min-width: 980px;
}

DIV.BOOKAP A.bookap {
	color: gold;
	font-size: 26px;
	font-family: "Times New Roman", Times, serif;
	font-weight:bold;
	float: left;
	letter-spacing: 1px;
	display: block;
	position: relative;
	padding-left: 32px;
	
	/*text-shadow: 0 1px 1px orange;*/
}
DIV.BOOKAP A.bookap img {
	position: absolute;
	top: 1px;
	left: 3px;
}


DIV.BOOKAP A.bookap:hover {
	color: orange;
}
DIV.BOOKAP A.bookap small {
	font-size: 14px;
}

H1.BPL, .h1 {
	text-transform:uppercase;
	color: #fff;
	font-size:14px;
	margin-top: 11px;
	padding: 0px;
	font-weight: bold;
	height:18px;
	position: relative;
	float: left;
	left: 10px;
}

.h1 A {
	font-size:14px;
	color: #fff !important;
	/*text-shadow: 0 0.1em 0.1em orange;*/
}

.h1 A:hover {
	/*text-shadow: 0 0.1em 0.1em gold;*/
}

A.takepart {
	position: absolute;
	left: 3;
	color: gold;
	text-transform: uppercase;
	background: url(/img/takepart.gif) no-repeat 0px 4px;
	background-position: center;
	padding-top: 7px;
	width: 150px;
	text-align: center;
	font-weight: bold;
	line-height: 95%;
	height: 30px;
	display: block;
	letter-spacing: 1px;
	margin-left: 10px;
}

* html A.takepart {
	height: 36px;
	top: 5px;
}
A.takepart:hover {
	color: orange;
}


.toprec {
	margin: 7px 0 2px 0;
	text-align: center;
	width: 100%;
	paddig-right: 30px;
	position: relative;
}

.toprec a.rss {
	background: url(/img/rss.png) no-repeat;
	height: 24px;
	padding-left: 26px;
	color: #888;
	font-size: 10px;
	padding-top: 5px;
	letter-spacing: 1px;
	position: absolute;
	top:0;
	margin-right: 440px;
	right: 50%;
	opacity: 0.8;
}

.toprec a.rss:hover {
	opacity: 1;
	color: darkorange;
}

.rec250top {
	width:260px;
	margin-left: 15px;
}

.search {
	vertical-align:middle;
	text-align:center;
	height:27px;
	padding-bottom: 10px;
	white-space: nowrap;
	position: relative;	
}

.btmPage {
font-weight:bold;
border-top: 1px navy solid;
background-color:#ffd700;
height:26px;
padding-top: 7px;
text-align:center;
position: relative;
clear: both;
}

/* Структура */


/*.addThisIndex {
	margin:auto;
	margin-top: 6px;
	position: relative;
	left: 13px;
	width:230px;
	overflow: hidden;
}*/

.addThisIndex2 {
	float: right;
	margin-right: 45px;
	overflow: hidden;
}

.at15t_mymailru {
	background: url(http://img1.imgsmail.ru/r/button_micro.gif) no-repeat;
}


/* Блок случайных книг */

.bookCoverThumb {
	float: left;
	position: relative;
	height:100px;
	z-index: 1;
	overflow: hidden;
	display: block;
	
	-moz-box-shadow: 0px 1px 4px #ccc;
	-webkit-box-shadow: 0px 1px 4px #ccc;
	box-shadow: 0px 1px 4px #ccc;
	
}

.bookCoverThumb,
.bookCoverThumb img { 
	width:69px;
}		

.bookCoverThumb span {
	color: ivory;
	cursor: hand;
	cursor: pointer;
}

.bookCoverThumb .author {
	font-size: 9px;
 	position: absolute;
	left: 5px;
	top: 3px;
	height: 10px;
	overflow: hidden;
	z-index: 2;
}

.bookCoverThumb .title {
	z-index: 2;
	position: absolute;
	left: 5px;
	top: 24px;
	width: 64px;
	font-size: 8px;
	overflow: hidden;
	text-transform: uppercase;
}

.bookCover {
	border: 1px solid #ddd;
}

.bookCover,
.bookCover img {
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	-khtml-border-radius: 2px;
	border-radius: 2px;
}

/* блок случайных книг */



/* FOOTER */
.btmPage {
	text-transform: uppercase;
}

.btmPage A.top, .btmPage A.forum {
	position: absolute;
	top: -27px;
	right: 145px;
	padding: 0 20px 0 15px;
	background: gold;
	color: #c40000;
	line-height: 26px;
	
	border: 1px solid navy;
	border-bottom: 0px;
	
	-moz-border-radius: 8px 8px 0px 0px;
	-webkit-border-radius: 8px 8px 0px 0px;
	-khtml-border-radius: 8px 8px 0px 0px;
	border-radius: 8px 8px 0px 0px;
}


.btmPage A.forum {
	right: 20px;
	color: darkorange;
	background: url("/img/forum.gif") no-repeat scroll 10px 4px transparent;
	background-color:  #efefff;
	padding-left: 30px;
}

.btmPage A.top:hover, .btmPage A.forum:hover {
	background-color: #ddddff;;
	color: navy;
	
	-moz-box-shadow: 0px 0px 6px lightgray;
	-webkit-box-shadow: 0px 0px 6px lightgray;
	box-shadow: 0px 0px 6px lightgray;
}

.btmPage IMG.psy {
	position:relative;
	top:1px;
}


/** Алфавитный навигатор **/

.lettersNavigation {
	text-align:center;
	clear:both;
	white-space: nowrap;
	overflow: visible;
	margin:6px auto 0px auto;
	position: relative;
	width: 870px;
	height: 50px;
}


.lettersNavigation hr {
	position: relative;
	top: 18px;
	margin:2px auto;
}

.lettersNavigation a {
	color: darkorange;
	font-weight: bold;
}

.lettersNavigation a,
.lettersNavigation span.noactiv {
	position: relative;
	top: 1px;
}

.lettersNavigation a.active {
    border-color: #aaa;
    
    color:#c40000;
    background: #f4dddd;
    
	-moz-box-shadow: 0px 0px 3px #ccc;
	-webkit-box-shadow: 0px 0px 3px #ccc;
	box-shadow: 0px 0px 3px #ccc;

	behavior: url(/styles/pie.php);
}

.lettersNavigation a:hover {
	color: red;
	background: #f2f2f2;
	border:1px solid #c40000;
	
	-moz-box-shadow: 0px 0px 3px red;
	-webkit-box-shadow: 0px 0px 3px red;
	box-shadow: 0px 0px 3px red;
	
	behavior: url(/styles/pie.php);
}

.lettersNavigation .catalog {
	color: #333 !important;
}

div.letters {
	position:relative;
	display: inline;
	float: left;
	color: #ccc;
	width: 100%;
} 


.authorLetters, .titleLetters {
	position: absolute;
	left: 0;
}

.titleLetters {
	top: 24px;
}

#catalogAuthor,
#catalogTitle {
	color: #888;
	float: left;
	clear: both;
	display: block;
	font-size: 10px;
	line-height: 9px;
	position:relative;
	right: 5px;
	clear: both;
	text-align: right;
	top: 2px;
}

#catalogAuthor,
#catalogTitle,
.widthIEfix {
	width: 60px;
}

.titleLetters {
	margin-top: 2px;
}

* html .titleLetters {
	margin-top:0;
}

.titleLetters a {
	color:#FF6600;
}

.lettersNavigation .letter {
float: left;
width: 13px;
height: 13px;
padding: 2px 4px 6px 4px;
margin: 0 1px;
border: 1px dotted #ccc;

-moz-border-radius: 4px;
-webkit-border-radius: 4px;
-khtml-border-radius: 4px;
border-radius: 4px;

behavior: url(/styles/pie.php);
}

* html .lettersNavigation .letter {
padding: 2px 3px 2px 4px;
}

.authorLetters .anothe,
.titleLetters .anothe
{
	width: 46px;
}


.lettersNavigation span.noactiv {
	color: #ccc;
	font-weight: bold;
}

.authorArr,
.titleArr {
	font-size: 16px;
	position: relative;
	top: 2px;
	color: #c40000;
}


/* Поиск по запросу referer*/

#refererSearch, #refererSearch .searchButton {
	display:none;
}

#refererSearch {
	position: relative;
	z-index:0;
	width:555px;
	margin: 5px auto;
}

#referer-cse-search-box {
	position: relative;
	width:530px;
	padding: 3px 25px 3px 3px;
	
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	-khtml-border-radius: 2px;
	border-radius: 2px;
	
	-moz-box-shadow: 0px 0px 3px #ddd;
	-webkit-box-shadow: 0px 0px 3px #ddd;
	box-shadow: 0px 0px 3px #c40000;
	
}

div.gsc-close-button {
padding-left: 10px;
background: url('/img/gsc-close.gif') no-repeat center center;
cursor: pointer;
position: absolute;
right: -10px;
top: -9px;
z-index:99;
opacity:0.7;
}

div.gsc-close-button:hover {
	opacity:1;
}

div.gsc-clear-button {
display: none;
padding-left: 10px;
background: url('/img/gsc-clear.gif') no-repeat center center;
cursor: pointer;
position: absolute;
right: 15px;
top: 8px;
}

#referer-cse-search-box .searchButton {
	background-color: lightgray;
	border: 1px solid #333333;
	color: #333;
	font-family: inherit;
	/*text-shadow: 0 1px 2px #000000;*/
	position: relative;
	left: 3px;
	height: 24px;
	padding: 1px 6px;
	width: 108px;
	
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	-khtml-border-radius: 2px;
	border-radius: 2px;
	
	border-color: #369;
	background-color: #E9E9E9;
	text-shadow: 0 1px 2px white;
	border: 1px outset;
	border-color: #666;
	box-sizing: border-box;
	
}

