/**
 * 100% height layout with header and footer
 * ----------------------------------------------
 * Feel free to copy/use/change/improve
 */

html,body {
	margin:0;
	padding:0;
	border: 0;
	height:100%; /* needed for container min-height */	
	
	font-family: verdana, sans-serif, tahoma, arial;
	font-size: 100%;
	color: #000;
	background-color: #ebe6de;	
}

p { 
	/*line-height:1.5; */
	margin:0 0 1em;
}

div#container-i {
	position:relative; /* needed for footer positioning*/
	margin:0 auto; /* center, not in IE5 */
	width:1015px;
	background: #fff url("../images/main/back.png")  repeat-y;
	
	height:auto !important; /* real browsers */
	height:100%; /* IE6: treaded as min-height*/

	min-height:100%; /* real browsers */
}
/*
div#shade-left {
	
	position:absolute;
	
	left: 0;
	bottom: 0;
	top: 0;
	width:6px;
	background: url("../images/main/shad_left.png")  repeat-y;
	
	
	
	height:150%; 

	min-height:800px; 
}
*/

div#container {
	position:relative; /* needed for footer positioning*/
	margin:0 auto; /* center, not in IE5 */
	width:1003px;
	background: #fff;
	
	height:auto !important; /* real browsers */
	height:100%; /* IE6: treaded as min-height*/

	min-height:100%; /* real browsers */
}

div#header {
	padding:0;
	width: 1003px;
	height: 172px;
/* 	background: url("../images/main/top.png")  no-repeat; */
	text-align: right;
}
	div#header p {
		font-style:italic;
		font-size:1.1em;
		margin:0;
	}

div#menu {
	padding:0;
	width: 1003px;
	height: 35px;
	background: url("../images/main/menu.png")  no-repeat;
	z-index: -1;
}

div#menu-in {
	margin-left: 25px;
	z-index: 1;
	background: transparent;
	height: 35px;
}

div#menu-in img {	
	margin: 1px 2px 0 0;	
	border: 0;
	padding: 0;	
}



a.eng{
	
	margin-left: 30px;	
	
	
}


div#content {
	padding:23px 40px 140px 50px; /* bottom padding for footer */
	margin: 0 0px 0 0px;
	background: #fff;
	/*width: 903px;*/
}


div#content.index {
	padding: 0;
	padding-bottom:180px;
}

div#img  {	
	float: left;
}

img.author_photo {
/* 	float: left; */
	/*margin-right: 20px;*/
	margin-right: 16px;
	margin-top: 8px;
	margin-bottom: 25px;
	/*float: left;*/	
}

div#content img.intr {
/* 	float: left; */
	/*margin-right: 20px;*/
	position: relative;
	 top: 0;
	 left: 26px;
	/*float: right;*/
	/*float: left;*/	
      z-index: 0;
}

div#content table  {	
	padding: 0;
}


span.avkluev{/*margin-left: 75px;*/ margin-top: 7px; font-size:80%; font-family: tahoma; line-height: 20px;}
span.belbf{font-size:100%; font-family: tahoma; line-height: 16px;}
span.footnote{font-size:80%; font-family: tahoma; line-height: 16px;}

div#content table td {	
	vertical-align: top;
	font-size: 82%;
	line-height: 17px;
	text-align: left;
}

div#content table td.right {	
	padding-left:12px;
	width: 50%;
}  

div#content table td.book-right {	
	/*padding-right:140px;*/
	padding-left: 25px;
	width: 450px;
	font-size: 110%;
	line-height: 20px;
} 

div#content table td.book-right img {	
	margin-bottom:13px;	
} 

div#content table td.book-left {	
	
	width: 352px;
	padding-right: 25px;
	border-right: 1px solid #000;
	/*padding-left:140px;*/
}

div#content table td.left {	
	
	width: 50%;
	border-right:1px solid;
	padding-right:12px;
}

div#adm table th {	
	padding-top: 1em;
	
	background: #f0f0f0;
	
}  

div#n_sign {	
	
	width: 200px;
	float: right;
	text-align: right;
	font-size: -1pt;		
}

div#content p.o_sign {	
	
	width: 420px;
	float: right;
	text-align: right;
	line-height: 13px;
	font-size: -1pt;
}

div#content p.book-descr {	
	
	line-height: 13px;
}

div#text_column {	
	
	width: 555px;
	margin-left: 248px;
}

div#pager {	
	position:relative; /* needed for footer positioning*/
	margin:0 auto;
	margin-top: 30px;
	width: 400px;
	text-align: center;	
 	height: 26px; 
/* 	margin-left: 450px; */
	font-size: 70%;
}

div#next {	
 	position: absolute; 
  	left: 515px;  
/* 	right: 0; */
	display: inline;
	/*top: -20px;*/
 	width: 110px; 
	
}

div#prev {	
	position: absolute; 
 	left: -205px; 
	/*top: -20px;*/
/* 	width: 125px; */
	display: inline;
	/*font-size: 70%;*/
}

div#pager a {		
	text-decoration: none;
/* 	vertical-align: 8px; */
}

.current{background: #1864d4; color: #fff; padding-left: 2px; padding-right: 2px;}

div#content p.first:first-letter {	
 font-size: 36px; /* Размер шрифта буквицы */
 float: left; /* Выравнивание по левому краю */
 padding: 0px; /* Поля вокруг буквы */
 margin-right: 5px; /* Отступ от фона до текста */ 	
line-height: 36px;
}

div#content p.buy-book {	
/*background: url("../images/content/download.png")  no-repeat;	*/
/*padding: 8px;*/
height: 36px;
margin-top: 18px;
/*padding-left: 230px;*/
/*margin-left: 150px;*/
}

div#content div.text
{ position: relative; top: -40px; left: 480px; line-height: 20px; width: 360px; }

	/*
	div#content img {
	padding-top: 25px;
	}
*/

div#content p.dl-audio {	
height: 13px;
margin-top: 20px;
}

div#content div.text-audio
{ position: relative; top: -15px; left: 132px; line-height: 18px; width: 640px; }

div#second_part{font-size: 82%; line-height: 17px; text-align: justify; margin-left: 50px; margin-right: 50px; z-index: 3;}

div#foreword{font-size: 100%; line-height: 18px; text-align: justify; font-family:Times, Times New Roman; margin-left: 50px; margin-right: 50px; }

div#second_part h1, div#foreword h1{font-size: 140%; text-align: center; margin-top: 30px; margin-bottom: 19px; font-style: normal; font-weight: normal; }

div#second_part ul{padding-left:1em; margin-left: 0;}

div#second_part li{margin-bottom: 2em; text-align: justify;}

div#second_part img{position: relative; bottom: 0;}
div#second_part .img{float: left; width: 215px; text-align: left;}
/* div#second_part img.kluev{float: left; } */
div#second_part img.globe{left: 354px;  }
div#second_part img.book_name{left: 283px; margin-bottom: 25px;}
div#second_part img.book_front{margin-left: 65px;}


div.top{position: relative; left: 613px; width: 200px; font-size: 70%; text-align: right; font-family: Verdana;}

div.verse1{font-size: 100%; line-height: 20px; text-align: left; font-family: Times, Times New Roman; margin-left: 260px;}

div.verse2{font-size: 100%; line-height: 20px; text-align: left; margin-left: 270px;}

div#left_column{
/*display: none;*/
margin: 25px 0px 0px 50px;
width: 189px;

line-height: 17px;
float:left; font-size: 69%;


/*font-size:82%;*/ font-family: tahoma; line-height: 16px;
}


div#left_column h1{font-size: 130%; text-align: center; }
div#left_column h2{font-size: 110%; color: #186bc9; font-style: normal; margin: 0;}
.glob{margin-left: 20px; }
.news{margin-left: 45px; padding-top: 17px;}
/*div#left_column img{margin-left: 30px; } */
div#left_column p{padding-bottom: 1em;  margin:0;}

img.main_photo {float: left; margin-right: 20px;}

div#footer {
	position:absolute;	
	bottom:0; /* stick to bottom */		
	left: 6px;
	width: 1003px;
	height: 162px;
	font-size: 70%;
	/*background: url("../images/main/bottom.png")  no-repeat;*/
	color: white;
	
}

div#footer-small {
	position:absolute;	
	bottom:0; /* stick to bottom */		
	left: 6px;
	width: 1003px;
	height: 112px;
	font-size: 70%;
	/*background: url("../images/main/bottom.png")  no-repeat;*/
	color: white;
	
}

img {border-color: #fff; border: 0;}

div#footer a{
	text-decoration: none;
	border: 0;
}


	div#footer p {
		padding:1em;
		margin:0;
	}

div #footer_menu{padding-top: 50px;    text-align: center;}
div #footer_menu a{ color: white;}

div #footer_rights{ position:absolute;	
	bottom: 30px;  left: 354px; font-size: 80%; display: none; }

div #friend_1 {position:absolute; border: 0;
	bottom: 54px;  left: 450px;  }

div #friend_2 {position:absolute;	
	bottom: 54px;  left: 546px;  }



div #caption {background: #ebe7de; padding: 0px; padding-top: 3px; padding-right: 10px; height: 17px; text-align: right; font-weight: bold;  color: #857254; font-size: 11px; margin-bottom: 25px; line-height: 13px; font-family: verdana, sans-serif, tahoma, arial; }
div #name {margin-left: 240px; margin-top: 24px; margin-bottom: 25px;}

/*

h1, h2, h3, h4, h4 {
	padding-bottom: 5px;
	margin: 10px 0;
}

h1 {
	font-size: 160%;
}

h2 {
	font-size: 125%;
}3

h3 { 
   font-size: 110%;
}

h4 {
	font-size:  100%;
}

p {
  margin-top: 0.5em;
  margin-bottom: 0.9em;
}

*/

a {
  text-decoration: none;
  color: #186bc9;
}
a:hover {
  text-decoration: underline;
}


/*
.dropdown-pane {
position: absolute;
top: 35px;
left: 0;
z-index: 2;
display: none;
margin-top: 0;
}

*/

li.hover .dropdown-pane,
li.focus .dropdown-pane { 
display: block;
z-index:6;
}


/*
ul#site-menu-dropdown  li {
margin:0;
padding:0;
position:relative;
z-index:4;
list-style-type:none;
float: left;
}

ul#site-menu-dropdown  li li {
margin:0;
padding:0;
position:relative;
z-index:4;
list-style-type:none;
float: left;
}
*/

ul#site-menu-dropdown  li {
list-style-type:none;
float: left;
}

ul#site-menu-dropdown  li.h35 {
height: 35px;
}


ul#site-menu-dropdown {
list-style-type:none;
display: inline;
/*margin-left:1ex;*/
}






.d-dropdown {
position: relative;
/*_behavior: url("/lib/com.adobe/hover.htc"); /*IE sub7*/
z-index: 2;
}
.d-dropdown>li {
position: relative;
top: 0;
left: 0;
z-index: 2;
}
.d-dropdown li {
list-style-type: none;
_position: relative; /*IE sub7*/
_top: 0; /*IE sub7*/
_left: 0; /*IE sub7*/
}
.d-dropdown li li { _position: static; }
.d-dropdown .dropdown-pane {
position: absolute;
margin: 0;
/*padding: 4px;*/
padding: 4px;
top: 35px;
background: #fff url("../images/main/submenu_mid.png")  repeat-y;
font-size: 70%;
font-family: arial, sans-serif;
left: -60px;
width: 203px;
border: 1px solid #646464;
border-top: 0;
z-index: 2;
display: none;
margin-top: 0;
}


.d-dropdown li.hover .dropdown-pane,
.d-dropdown li.focus .dropdown-pane { 
display: block;
}
.d-dropdown>li:hover .dropdown-pane { display: block; }
.d-dropdown .dropdown-tab { 
/*\*/
display: block; 
/*/
display: inline-block;
/**/
_display: inline;
_zoom: 1;
}
/*--Tier 1---*/
.d-dropdown .dropdown-pane>* {
/*margin: 0;*/
}

.d-dropdown .dropdown-pane dt,
.d-dropdown .dropdown-pane dd,
.d-dropdown .dropdown-pane li {
_margin: 0;
}


.dropdown-pane li {
width: 170px;
padding: 4px;
margin-left: 10px;
border-bottom: 1px solid #646464;
}


.d-dropdown .dropdown-pane a {
margin: 0 1px;
color: #000;
-moz-outline: none;
}

.d-dropdown .dropdown-pane a:hover {
 text-decoration: none;
  color: #186bc9;
}


.d-dropdown .dropdown-tab { 
min-height: 16px;
_height: 16px;
}

div #shadow-top-r{position: relative; top:-5px; left: 192px; width: 15px; height: 15px; }
div #shadow-top-l{position: relative; top:-20px; left: -5px; width: 15px; height: 15px; }
div #shadow-bottom{position: relative; bottom:0;  }


.r1,.r2,.r3,.r4 {display:block;overflow:hidden;height:1px; color: #000;}
.r1 {margin:0 1px;}
.r2 {margin:0 2px;}
.r3 {margin:0 3px;}
.r4 {margin:0 5px;}

.last{border: 10px;}

p.center {text-align: center;}


/* adm styles */
div #adm {padding: 30px;  }

span.bold_21{font-size: 140%; margin-bottom: 19px; font-style: normal; font-weight: normal; }

tr.buy_book{padding-bottom: 0; margin-bottom: 0;}
