/*FONTS*/

@font-face {
  font-family: ravi;
  src: url(../fonts/ravi-regular.woff);
}

@font-face {
  font-family: ravi-medium;
  src: url(../fonts/ravi-medium.woff);
}

@font-face {
  font-family: ravi-semibold;
  src: url(../fonts/ravi-semibold.woff);
}


@font-face {
  font-family: samir-regular;
  src: url(../fonts/samir-regular.woff);
}

@font-face {
  font-family: samir-medium;
  src: url(../fonts/samir-medium.woff);
}

@font-face {
  font-family: samir-bold;
  src: url(../fonts/samir-bold.woff);
}


body.fa, body.fa *	{
	font-family: ravi, ravi-medium, sans-serif;
}

/*Samir for essay*/
body.fa *	{
	font-family: samir-regular, sans-serif;
	font-weight: normal;
	font-size: 1.5rem;
}	

body.fa strong	{
	font-size: 1.3rem;
	font-weight: bold;
}

body.fa article *, body.fa .zoom.fa *	{
	font-family: 'Vazirmatn', 'ravi', sans-serif;
	font-size: 1.2rem;
}	


body.fa h1, body.fa h2	{
	font-family: samir-medium, sans-serif;
	font-weight: normal;
}

body.fa article h1, body.fa article h2	{
	font-family: 'Vazirmatn', 'ravi', sans-serif;
}

body.fa	h1, body.fa	h1 span	{
	font-size: 2rem;
}	

body.fa #intro h1	{
	font-size: 3.2rem;
}	

body.fa #intro p, body.fa #intro p *	{
	font-size: 2rem;
}	


body.fa h1 .en	{
	font-family: 'Open Sans', sans-serif;
	font-weight: bold;
	font-size: 1.6rem;
}	

body.fa	h2	{
	font-size: 1.7rem;
}	

body.fa	h3	{
	font-weight: normal;
	font-size: 1.6rem;
}

body.fa	h4	{
	font-weight: normal;
	font-size: 1.4rem;
}	

body.fa h2 span	{
	display: block;
	font-weight: normal;
	font-size: 1.7rem;
}

body.fa h2 span.translator	{
	font-size: 1.4rem;
}

body.fa .en {
	font-family: 'Open Sans', sans-serif;
	direction: ltr;
	font-size: 1rem;
}	

body.fa pre	{
	display: inline;
}	

/*MAIN MENU*/

body.fa #main_menu li	{
	padding-top: 0;
}

body.fa #main_menu li a	{
	font-size: 2rem;
	font-family: samir-regular, sans-serif;
}

body.fa #main_menu li.current, body.fa #main_menu li.current_up a	{
	font-size: 2rem;
	font-family: samir-medium, sans-serif;
}

body.fa #main_menu li a	.en {
	font-size: 1.2rem;
}

body.fa #main_menu a:hover .en, body.fa #main_menu a:active .en, body.fa #main_menu a:focus .en {
	font-weight: bold;
}	

/*LOCAL NAVIGATION*/

#content.sidebar #local_nav	{
	text-align: right;
	line-height: 1.2;
}

#content.sidebar #local_nav ul	{
	padding-right: 0;
}	

#content.sidebar #local_nav ul li ul	{
	padding-right: 1rem;
}	

#content.sidebar #local_nav	h2	{
	font-size: 2rem;
}	

#local_nav li	{
	padding-top: .4rem;
	padding-bottom: .4rem;
}	

#local_nav li a {
	display: inline-block;
	font-size: 1.6rem;
	padding: .1rem .2rem;
}

#local_nav li.current, #local_nav li.current_up	{
	font-weight: normal;
}

#local_nav li.current > a, #local_nav li.current_up > a	{
	outline: 1px dotted #0d1427;
}


#local_nav a:hover, #local_nav a:active, #local_nav a:focus	{
	font-weight: normal;
	outline: 1px dotted #0d1427;
}

/*MINI NAVIGATION*/
.mini_nav ul	{
	float: left;
}	

/*GALLERIES*/
.galleries span.gallery, .chapters span.chapter{
	font-size: 180%;
	font-weight: normal;
	text-transform: none;
}	

.galleries span.teaser, .chapters span.teaser	{
	font-size: 1.6rem;
}	
.galleries span.teaser .en, .chapters span.teaser .en	{
	font-size: 1.2rem;
}	

/***************************/
.essay h3, .essay h4 {
	text-align: right;
	font-weight: bold;
	margin-top: 4rem;
}

.essay h4.centered	{
	text-align: center;
}	

body.fa .toc h4	{
	font-size: 1.2rem;
	font-style: normal;
}	

sup.footnote a	{
	font-size: .85rem;
	padding: .2em .4em 0;
	
}

span.footnote a	{
	font-family: 'Open Sans', sans-serif;
	font-size: 1rem;
}	

#footnotes h4	{
	text-align: right;
}

#footnotes ol li::marker	{
	font-family: 'Open Sans', sans-serif;
	font-size: 1rem;
}	

#footnotes li {
	direction: rtl;
}	

#footnotes li span.en	{
	direction: ltr !important;
	text-align: left !important;
}

#footnotes li.bilingual span.en	{
	direction: ltr !important;
	text-align: right !important;
}

#footnotes .reversefootnote	{
	font-weight: normal;
	font-size: 1rem;
}	

body.fa .bibliography, body.fa .bibliography .fa	{
	font-weight: normal;
}	

body.fa .bibliography h3	{
	font-size: 1.4rem;
}	

.bibliography ul.en *	{
	font-family: 'Open Sans', sans-serif;
	direction: ltr;
	font-size: 1rem;
}

.bibliography ul	{
	padding-right: 0;
}

.sources.no_bullet ul	{
	list-style: none;
	padding-right: 0;
}

/*POEM gap within line*/
.poem .verse1	{
	padding-left: 1em;
}	

.poem .verse2	{
	padding-right: 1em;
}

/*CATALOG OF YADGARI*/


body.fa .catalog h4	{
	font-size: 1.4rem;
}	

body.fa .catalog h5	{
	font-weight: bold;
	font-size: 1.4rem;
	margin: .5rem 0;
}	

body.fa .essay .catalog .side img	{
	margin-right: 0;	
}

body.fa .essay .catalog .side figcaption	{
	text-align: right;
}

/*CHECKLIST*/

@media only screen and (min-width: 52rem) {
	.group .tombstone	{
		text-align: right;
	}
}

.checklist2 li .chapter	{
	font-weight: normal;
	font-size: 1.6rem;
}

.checklist2 li.en .chapter  *, .checklist2 li.en .chapter, .checklist2 li.fa .chapter .en  {
	font-family: 'Open Sans', sans-serif;
	font-weight: bold;
	font-size: 1.1rem;
}	

.checklist2 li.en .credit  *, .checklist2 li.en .credit  {
	font-family: 'Open Sans', sans-serif;
	font-weight: normal;
	font-size: .9rem;
}	

.author span.author_name	{
	font-weight: bold;
}	

body.fa .sources h3	{
	font-weight: normal;
	font-size: 1.2rem;
}	

.sources li.en	{
	text-align: left;
}	

/*AUDIO*/
audio.centered	{
	margin-right: calc(50% - 10rem);
	
}

body.fa ul.centered	{
	margin-right: calc(50% - 8rem);
	
}	

/*TABLE*/

.extrawide table.en, .extrawide table.en *	{
	font-size: .8rem;
	
}	