﻿@font-face {
    font-family: Charis SIL;
    font-style: normal;
    font-weight: normal;
    src: url("fonts/CharisSILR.ttf");
}
@font-face {
    font-family: Charis SIL;
    font-style: normal;
    font-weight: bold;
    src: url("fonts/CharisSILB.ttf");
}
@font-face {
    font-family: Charis SIL;
    font-style: italic;
    font-weight: normal;
    src: url("fonts/CharisSILI.ttf");
}

@font-face {
    font-family: Nadia;
    font-style: normal;
    font-weight: normal;
    src: url("fonts/NadiaRegular.ttf");
}
@font-face {
    font-family: Nadia;
    font-style: normal;
    font-weight: bold;
    src: url("fonts/NadiaBold.ttf");
}
@font-face {
    font-family: Nadia;
    font-style: italic;
    font-weight: normal;
    src: url("fonts/NadiaItalic.ttf");
}

/* body {	font-family: "Charis SIL";	text-align: justify;} */

.h1 {
    page-break-after: avoid;
    page-break-inside: avoid;
    -webkit-hyphens: none !important;
    adobe-hyphenate: none;
    -moz-hyphens: none;
    hyphens: none;
    text-align: center;
    font-family: "Charis SIL";
    /* 	margin-top: 0; */
}
.h2 {
    page-break-after: avoid;
    page-break-inside: avoid;
    -webkit-hyphens: none !important;
    adobe-hyphenate: none;
    -moz-hyphens: none;
    hyphens: none;
    text-align: left;
    font-family: "Charis SIL";
    /* 	margin-top: 0; */
}
.h3 {
    page-break-after: avoid;
    page-break-inside: avoid;
    -webkit-hyphens: none !important;
    adobe-hyphenate: none;
    -moz-hyphens: none;
    hyphens: none;
    text-align: center;
    font-family: "Charis SIL";
    font-weight: bold;
    margin: 1em;
    /* 	margin-top: 0; */
}
.blockquote {
    font-weight: bold;
    font-family: "Charis SIL";
    text-align: justify;
    display: block;
    margin: 1em 40px 1em 40px;
    /* -webkit-margin-after: 1em; */
    /* display: inline-block; */
}
.bqcenter {
    font-weight: bold;
    font-family: "Charis SIL";
    text-align: center;
    display: block;
    margin: 1em 40px 1em 40px;
    /* -webkit-margin-after: 1em; */
    /* display: inline-block; */
}

.bngl_blockquote {
    font-weight: bold;
    font-family: "Nadia";
    text-align: justify;
    display: block;
    margin: 1em 40px 1em 40px;
    /* -webkit-margin-after: 1em; */
    /* display: inline-block; */
}
.bngl_bqcenter {
    font-weight: bold;
    font-family: "Nadia";
    text-align: center;
    display: block;
    margin: 1em 40px 1em 40px;
    /* -webkit-margin-after: 1em; */
    /* display: inline-block; */
}

/* blockquote {	font-weight: bold;	font-family: "Charis SIL";	text-align: justify;} */
/* p {	margin: 0;}p + p {	text-indent: 1.5em;} */

.break {
    page-break-after: always;
}
.bold {
    font-weight: bold;
}
.big {
    font-size: 1.17em;
    line-height: 1.5;
}
.epigraf {
    /* float: right;  */
    /* clear: right;  */
    /* display:block; */
    
    text-align: left;
    /* width: 50%; */
    
    padding-left: 1.5em;
    font-style: italic;
    font-family: "Charis SIL";
    margin: 1em;
}
.nohyphence {
    -webkit-hyphens: none !important;
    adobe-hyphenate: none;
    -moz-hyphens: none;
    hyphens: none;
}
.epigrafR {
    text-align: left;
    /* width: 50%; */
    /* padding-left: 50%;  */
    
    font-weight: normal;
    font-style: italic;
    font-family: "Charis SIL";
}
.small {
    font-size: 80%;
}
.quotelabel {
    /* 	text-indent: 80px; 	margin-top: -1em;*/
    
    margin-bottom: 1em;
    text-align: right;
    font-style: italic;
    -webkit-margin-end: 40px;
    font-family: "Charis SIL";
}
.blockquote + .quotelabel {
    margin-top: -1em;
}
.epigraf + .quotelabel {
    margin-top: -1em;
}
/* Картинки по центру */

.imgWrapper {
    text-align: center;
    font-size: 1.3em;
    page-break-inside: avoid;
    width: 100%;
    margin-top: 2em;
    margin: 25vh 0 0 0;
    -webkit-transform: translateY(-25%);
    transform: translateY(-25%);
    /* font-weight: bold; */
}
.imgFront {
    width: 30%;
    margin: 1em;
}
.imgPhoto {
    width: 50%;
    margin: 1em 1em 1em 1em;
}
.chapterLabel {
    font-size: 1.3em;
    text-align: center;
    page-break-after: always;
    margin-top: -2.9em;
    /* это можно подвигаьт еще */
    
    margin-bottom: 2em;
    font-family: "Charis SIL";
}
.imgKostyl {
    margin-bottom: 2em;
    display: block;
}
/* .noindent {	text-indent: 0;} */

.psimple.psimple.sanskrit {
    page-break-inside: avoid;
    font-weight: bold;
    /* color:#983f21; */
    
    display: block;
    text-indent: 0;
    -webkit-margin-before: 1em;
    -webkit-margin-after: 1em;
    -webkit-margin-start: 40px;
    /* -webkit-margin-end: 40px; */
}
.sanskrit + .sanskrit {
    text-indent: 0em;
}
/* Подзаголовки внутри главы */

div.h3 {
    float: left;
    clear: left;
    font-size: 1.17em;
    font-weight: bold;
    -webkit-margin-before: 1em;
    /* -webkit-margin-start: 2em; */
    
    -webkit-margin-end: 2em;
    -webkit-margin-after: 0.5em;
    /* color:#983f21; */
    /* min-width: 30%;   */
    
    text-align: left;
}
p.h3.psimple {
    -webkit-margin-before: 1em;
    text-indent: 0em;
    /* margin: 1em; */
}
p.psimple {
    font-family: "Charis SIL";
    text-align: justify;
    margin: 0;
    -webkit-margin-before: 0em;
    -webkit-margin-after: 0em;
	text-indent: 1.5em;	
	line-height: 22px;
}	

.footnote {    
	font-size: 80%;
	margin-top: 1em !Important;
}
.footnote  + .footnote {    
	font-size: 80%;
	margin-top: 0em !Important;
}
/*  .imgWrapper {    float: right; 	clear: right; 	text-align: center; 	page-break-inside:avoid;  	width: 50%;  }  .imgFace {	width: 10em;} */