
	/* Kollidle.css: файл стилей для конвертирования книг из .fb2 в .azw3 */
	/* Редактор: mergen3107 на форумах the-ebook.org, mobileread.comб 4pda.ru */
	/* Целевые устройства: Kindle 4 NT Black, Kindle PW3 */
	/* Конвертер на момент написания: fb2mobi_64, v3.6.22 (http://www.the-ebook.org/forum/viewtopic.php?t=30380) */
	/* Благодарности за конвертер: rupor, dnk_dz */
	/* Источники вдохновения для css: */
	/* 1) Online Documentation: https://www.w3schools.com/css/ */
	/* 2) Calibri - testing tool (open book); */
	/* 2) Useful tips for epub/epub3/Kindle conversion: https://friendsofepub.github.io/eBookTricks/ */
	/* 3) User-developer forum: https://stackoverflow.com/documentation/css/topics */
	
/* Control HTML5 elements in older Reader Mobile SDK */
article, aside, figure, figcaption, footer, header, main, nav, section { display: block; }

/* Размеры заголовков */
.h0 { font-size: 140%; /* Название книги, автор */}
.h1 { font-size: 130%; /* Заголовок-1	(Часть)	{Книга} [Глава] */}
.h2 { font-size: 120%; /* Заголовок-2 	(Книга) {Глава}	[-] 	*/}
.h3 { font-size: 110%; /* Заголовок-3	(Глава) {-}		[-] 	*/}
.h4, .h5, .h6 {font-size: 100%; /* Уровени еще ниже*/}

.h1, .h2, .h3, .h4, .h5, .h6 {
	font-weight: bold;
	text-align: center;
	margin: 0 auto;
/* Остальное оформление всех заголовков */}

.titleblock, .titleblock_nobreak {
	margin: 0 auto;
	page-break-before: always;
/*Эти два блока объединены: все главы и подглавы начинаются с новой страницы*/ }

.titlenotes {
	text-indent: 0;
	text-align: center;
	font-size: 100%;
	font-weight: bold;
	font-style: italic;
	margin: 0.5em auto;
}

.titlenotes p { text-indent: 0; text-align: center; }

.indent0, .indent1,.indent2, .indent3, .indent4, .indent5, .indent6 { text-align: left; }
.indent0 { margin-left:		  0; }
.indent1 { margin-left: 	 5%; }
.indent2 { margin-left: 	10%; }
.indent3 { margin-left: 	15%; }
.indent4, .indent5, .indent6  { margin-left: 20%; }

sup, .anchor, .linkanchor, .inlineanchor, .blockanchor {
	font-size: 0.5rem;
	vertical-align: 50%;
	line-height: 1.2em;
}

.anchor sup, .linkanchor sup, .inlineanchor sup, .blockanchor sup {
	vertical-align: baseline !important;
	font-size: 0.5rem !important;
}

sub {
	font-size: 0.5rem;
	vertical-align: -40%;
	line-height: 1.2em;
}

.emphasis  { font-style: italic; }
.emptyline { margin-top: 0.5em; }
.strong    { font-weight: bold; }
.strike    { text-decoration: line-through; }

.epigraph {
	text-align: right;
	margin: 0.5em 0 0.5em 10%;
	font-style: italic;
	display: inline-block;
}

.text-author { text-align: right; font-weight: bold; }
p.subtitle { text-indent: 0em; }

.subtitle {
	page-break-after: avoid;
	text-align: center;
	font-weight: bold;
	margin: 0 auto;
}

p { text-indent: 2.35em; text-align: justify; margin: 0 auto; /* Обыкновенный абзац */ }

p.title {
	text-indent: 0;
	text-align: center;
	margin: 0 auto;
/* p.title - это если тэг называется <p class="title" ...> */}

p.floatnote {
	text-indent: 0;
	text-align: justify;
	margin: 0 0 0.5em 2.35em;
/* p.floatnote - это если тэг называется <p class="floatnote" ...> */}

.cite, .ul, .ol { text-indent: 0; margin: 0.5em 0 0.5em 2.35em ; /* .ul and .ol are unordered and ordered lists respectively*/}
.cite { font-style: italic; }

.cite p, .ul p, .ol p { text-indent: 0 !important; /* .cite p - это если <div class="cite" ...> содержит <p> */}
.image { text-indent: 0; text-align: center; }
.image img { text-align: center; }

.poem {
	text-align: left;
	text-indent: 0;
	margin: 1em 0 0 2.35em;
	font-style: italic;
}

.stanza { margin-bottom: 1em; }

.poem p {
	text-align: left;
	text-indent: 0;
	margin: 0 0;
/* .poem p - это если <div class="poem" ...> содержит <p>*/}

.table { width: 100%; border-collapse: collapse; }
.table, .table th, .table td { border: 1px solid black; }
.code { margin: 0.5em 0 0.5em 2.35em; }
.inlineimage {}

.inlinenote { /* Примечание в тексте */
	font-size: 80%;
	vertical-align: 10%;
	/* Чтобы отцентрировать: 2*vertical-align(%) + font-size(%) = 100(%) */}

.blocknote {
	font-size: 80%;
	vertical-align: 10%;
	border-radius: 4px;
	padding: 2.5%;
	border: 1px solid;
}

.notenum {
	font-weight: bold;
	font-size: 0.5rem;
	vertical-align: 25%;	
}

.inlinenote::before { content: "{"; } 
.inlinenote::after { content: "}"; }
.annotation { margin: auto 1em; font-size: 110%; }

span.dropcaps {/* Буквица */
	font-size: 260%;
	float: left;
	margin-top: -0.175em;
	margin-bottom: -0.5em;
	padding-right: 0.15em;
	/* span.dropcaps - это если тэг называется <span class="dropcaps" ...> */}

p.dropcaps { 
	text-align: justify;
	text-indent: 0;
	/* Абзац с буквицей, если есть; p.dropcaps - это если тэг называется <p class="dropcaps" ...> */}

.vignette_title_before, .vignette_title_after, .vignette_chapter_end {
	text-indent: 0;
	text-align: center;
	margin-top: 1em;
	margin-bottom: 1em;
}

.chapter_end {
    page-break-before: avoid;
    page-break-inside: avoid;
    page-break-after: avoid;
	display: none;
}