/*
 | Helicon Books Reflowable EPUB CSS file
 | Copyright (c): Helicon Books 2017
 |
 | Written by: Karin Ohayon <karin@heliconbooks.com> and Ori Idan <ori@heliconbooks.com>
 */

/*
 | Names starting and ending with _ are processed by Helicon Books internal utilities, do not create class names begninning with _
 */





@font-face {
	font-family: 'Alef';
	font-style: normal;
	font-weight: normal;
	src:url(Fonts/Alef-Regular.ttf);
}

@font-face {
	font-family: 'Alef';
	font-style: normal;
	font-weight: bold;
	src:url(Fonts/Alef-Bold.ttf);
}

._Alef_ {
	font-family: 'Alef';
	font-weight: bold;
}

body {	
	text-align:right;
	padding-left: 0pt;
}

div {
	padding: 0px 0px 0px 0px;
}

/* Used for book title */
h1 { 
	font-size: 2em;
	font-weight: bold;
	text-align: center;
	line-height:1.2em;
}

/* Used for book chapters */
h2 { 
	font-size: 150%;
	font-weight: bold;
	text-align: center;
	margin-bottom:0;
	padding-top:0.5em;
	padding-bottom:10px;
	margin-top:0.5em;
	line-height:1.2em;
}

h3 {
	font-size: 130%;
	font-weight: normal;
	text-align: center;
	line-height:1.2em;
}

/* Used for larger centered text, like info and copyright */
h4 {
	font-size: 120%;
	font-weight: normal;
	text-align: center;
	line-height:1.2em;
}

/* Used for regular centered text, or centered images */
h5 {
	font-size: 110%;
	text-align: center;
	font-weight: normal;
	line-height:1.2em;
}

h6 {
	font-size: 105%;
	text-align: center;
	font-weight: normal;
	line-height:1.2em;
}

p {
	margin-bottom:0.1em;
	margin-top:0;
	padding-top:0;
	padding-bottom:0;
	text-align: justify;
}

p + p {
	text-indent:1.5em;
}

p.indent {
	padding-right:3em;
	padding-left:3em;
	text-indent:0;
}

p.noindent {
	text-indent:0;
}

p.spacing {
	margin-top:20px;
	margin-bottom:20px;
}

p.revindent {
	margin-right:1.5em;
	text-indent:-1.5em;
}

.fixed {
	font-family: courier;
	letter-spacing:3px;
	font-weight:lighter;
	font-style: italic;
}

.rot {
	height:50px;
}

.table {
  width: 100%;
  margin-bottom: 1em;
}

.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
  padding: 8px;
  line-height: 1.42857143;
  vertical-align: top;
  border-top: 1px solid #dddddd;
}
.table > thead > tr > th {
  vertical-align: bottom;
  border-bottom: 2px solid #dddddd;
}
.table > caption + thead > tr:first-child > th,
.table > colgroup + thead > tr:first-child > th,
.table > thead:first-child > tr:first-child > th,
.table > caption + thead > tr:first-child > td,
.table > colgroup + thead > tr:first-child > td,
.table > thead:first-child > tr:first-child > td {
  border-top: 0;
}
.table > tbody + tbody {
  border-top: 2px solid #dddddd;
}
.table .table {
  background-color: #ffffff;
}
.table-condensed > thead > tr > th,
.table-condensed > tbody > tr > th,
.table-condensed > tfoot > tr > th,
.table-condensed > thead > tr > td,
.table-condensed > tbody > tr > td,
.table-condensed > tfoot > tr > td {
  padding: 5px;
}
.table-bordered {
  border: 1px solid #dddddd;
}
.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > td {
  border: 1px solid #dddddd;
}
.table-bordered > thead > tr > th,
.table-bordered > thead > tr > td {
  border-bottom-width: 2px;
}
.table-striped tr:nth-child(odd) td,
.table-striped tr:nth-child(odd) th {
  background-color: #f9f9f9;
}
.table-hover > tbody > tr:hover > td,
.table-hover > tbody > tr:hover > th {
  background-color: #f5f5f5;
}
table col[class*="col-"] {
  position: static;
  float: none;
  display: table-column;
}
table td[class*="col-"],
table th[class*="col-"] {
  position: static;
  float: none;
  display: table-cell;
}
.table > thead > tr > td.active,
.table > tbody > tr > td.active,
.table > tfoot > tr > td.active,
.table > thead > tr > th.active,
.table > tbody > tr > th.active,
.table > tfoot > tr > th.active,
.table > thead > tr.active > td,
.table > tbody > tr.active > td,
.table > tfoot > tr.active > td,
.table > thead > tr.active > th,
.table > tbody > tr.active > th,
.table > tfoot > tr.active > th {
  background-color: #f5f5f5;
}

 
.image
{
	max-width:98%;
	margin: auto;
	text-align:center;
	page-break-inside:avoid;
	padding:0.5em;
}


.image1 {
	width:10%;
	text-align: center;
	margin:auto;
	padding-bottom:1em;
	padding-top:1em;
}

.image2 {
	width:20%;
	text-align: center;
	margin:auto;
	padding-bottom:1em;
	padding-top:1em;
}

.image3 {
	width:30%;
	text-align: center;
	margin:auto;
	padding-bottom:1em;
	padding-top:1em;
}

.image4 {
	width:40%;
	text-align: center;
	margin:auto;
	padding-bottom:1em;
	padding-top:1em;
}

.image5 {
	width:50%;
	text-align: center;
	margin:auto;
	padding-bottom:1em;
	padding-top:1em;
}

.image6 {
	width:60%;
	text-align: center;
	margin:auto;
	padding-bottom:1em;
	padding-top:1em;
}

.image7 {
	width:70%;
	text-align: center;
	margin:auto;
	padding-bottom:1em;
	padding-top:1em;
}

.image8 {
	width:80%;
	text-align: center;
	margin:auto;
	padding-bottom:1em;
	padding-top:1em;
}

.image9 {
	width:90%;
	text-align: center;
	margin:auto;
	padding-bottom:1em;
	padding-top:1em;
}

.image10 {
	width:100%;
	text-align: center;
	margin:auto;
	padding-bottom:1em;
	padding-top:1em;
}

.imgwidth100 {
	width:100%;
}

a {
	text-decoration:none;
}

.italic {
	font-style:italic; 
}

.italicfixit {
	font-style:italic; 
	margin-right:0.2em;
}

/* special letter style - margin on both sides and without indent */
.letter1 {
	margin-right:1.5em;
	margin-left:1.5em;
	text-indent:0;
}

.letter1 p+p {
	text-indent:0;
}

/* special letter style - margin both sides with text indent */
.letter2 {
	margin-right:1.5em;
	margin-left:1.5em;
}
	
/* a line in the bottom of heading*/
.kav {
	border-bottom:4px solid gray;
	padding-bottom:0.1em;
	padding-left:1em;
	line-height:1.2em;
}	
	
/* big font */
.biggerf {
	font-size: 115%;
}

/* small font */
.smallerf {
	font-size: 85%;
}

/* big letter  */
.dropcaps {
	font-size: 120%;
	font-weight: bold;
}
	
.text1 {
	font-size: 80%;
}

.text2 {
	font-size: 105%;
}

/*   bold and bigger font - usually for a few words in the beginning of the chapter  */
.text3 {
	font-size: 120%;
}

.p_text1 {
	font-size: 80%;
}

.p_text3 {
	font-size: 120%;
}

/* space between letters in a spacific word - usually in boxilla and asia ebooks  */
.namecalling {
	letter-spacing:2px;
}

/* space between footnotes */	 
aside {
	margin-top:0.2em;
	font-size: 80%;
	text-indent:0;
}
	
aside p{
	text-indent:0;
}

/* rounded frame div */
.roundedframe {
	margin-top:0.5em;
	margin-bottom:0.5em;
   	border: 4px solid #a1a1a1;
   	padding: 0.5em; 
   	border-radius: 25px;
}
    
    
/*list with image as bullets */

/*
 | Helicon Books Reflowable EPUB CSS file
 | Copyright (c): Helicon Books 2017
 |
 | Written by: Karin Ohayon <karin@heliconbooks.com> and Ori Idan <ori@heliconbooks.com>
 */
