@charset "utf-8";
/* CSS Document */

@font-face {
  font-family: 'Yekan';
  font-style: normal;
  font-weight: 400;
  src: url(BYekan.eot);
  src: url(BYekan.eot?#iefix) format('embedded-opentype'),
       url(BYekan.woff) format('woff'),
       url(BYekan.ttf) format('truetype');
}

@font-face {
  font-family: 'Naskh';
  font-style: normal;
  font-weight: 400;
  src: url(Naskh.woff) format('woff'),
       url(Naskh.ttf) format('truetype');
}

@font-face {
  font-family: 'Naskh';
  font-style: bold;
  font-weight: 800;
  src: url(Naskh-Bold.woff) format('woff'),
       url(Naskh-Bold.ttf) format('truetype');
}

*{
	box-sizing: border-box;
}

textarea {
	resize: none !important;
	overflow: auto;
}

html,body{
	margin: 0 auto;
}

a{
	color: navy;
	text-decoration: none;
}

a[href]:hover{
	color: red;
}

.time{
	color: gray;
	font-size: 0.8vw;
	text-align: left;
	opacity: 0.8;
	clear: both;
}

.time:hover{
	opacity: 1;
}

.time:before{
	content: '';
	font-family:FontAwesome;
}

@font-face{
	font-family: LotusLino;
	src: url('Lotus.eot');
}

@font-face{
	font-family: LotusLino;
	font-weight: bold;
	src: url('LotusBold.eot');
}

@font-face{
	font-family: LotusLino;
	src: url('Lotus.otf');
}

@font-face{
	font-family: LotusLino;
	font-weight: bold;
	src: url('LotusBold.otf');
}

.quran{
	font-family: Naskh;
	color: #007700;
}

.entryLink{
	/* border-bottom: 1px dotted silver; */
}

.entryLink:hover{
	border-bottom: 1px dotted gray;
}

.noUnderline{
	border: 0px;
}

.noUnderline:hover{
	border: 0px;
}

.newsImgList{
	float:left;
	width: 50%;
	margin: 1em;
}


/*---*/
html {
	font: 1em 'Naskh';
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background: 0 0;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

dfn {
	font-style: italic;
}

mark {
	background: #ff0;
	color: #000;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -.5em;
}

sub {
	bottom: -.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type=button],
input[type=reset],
input[type=submit] {
	appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type=checkbox],
input[type=radio] {
	box-sizing: border-box;
	padding: 0;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
	height: auto;
}

input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration {
	-webkit-appearance: none;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: 700;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

/******/

.hidden{
	display: none !important;
}


#headermenu{
	text-align: center;
	top: 0;
	left: 0;
	width: 100%;
	background-color: #434a87;
	color: white;
	margin-bottom: 0.2em;
	-webkit-box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.50);
	-moz-box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.50);
	box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.50);
	z-index: 10000;
	position: relative;
}

#headermenu a{
	color: inherit;
	opacity: 1;
	display: inline-block;
	padding: 0.2em;
	padding-right: 1em;
	padding-left: 1em;
	background-color: inherit;
	width: 100%;
	transition: background-color 0.3s;
}
	
#headermenu ul{
	display: inline-block;
	list-style-type: none;
	margin: 0;
}

#headermenu ul li{
	display: inline-table;
	list-style-type: none;
	transition: background-color 0.3s;
}

#headermenu li:hover a,#headermenu a:focus{
	background-color: #2b2b2b;
}


#headermenu ul.sublist{
	display: inline-block;
	position: absolute;
	background-color: #2b2b2b;
	opacity: 0;
	padding: 0px;
	-webkit-box-shadow: 0px 3px 2px 0px rgba(0,0,0,0.50);
	-moz-box-shadow: 0px 3px 2px 0px rgba(0,0,0,0.50);
	box-shadow: 0px 3px 2px 0px rgba(0,0,0,0.50);
	font-size: 0.9em;
}

#headermenu ul.sublist a{
	margin-left: 3em;
	background-color: inherit;
}

#headermenu ul.sublist li:hover{
	background-color: black;
}


#headermenu ul.sublist li{
	display: block;
	text-align: right;
}

#headermenu i.fa-bars{
	display: none;
	margin-right: 8px;
}

#headermenu .pageTitle{
	display: none;
	margin-right: 8px;
}

#mainPublishNav img {
	cursor: pointer;
	margin: 2px;
}
#mainPublishNav img:hover {
	border: 2px solid white;
	margin: 0;
}

#searchBox{
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.5);
	position: fixed;
	top: 0;
	left: 0;
	text-align: center;
	z-index: 10001;
	display: none;
}

#searchBox>div{
	position: fixed;
	top: 30%;
	left: 0;
	right: 0;
	margin: 0 auto;
	width: 700px;
	background-color: white;
	border: 1px solid gray;
	border-radius: 3px;
	padding: 17px;
	max-width: 100%;
}




.halfer>div{
	width: 50%;
	float: right;
	padding: 0.5em;
	display: table;
}

.halfer2>div:first-child{
	width: 65%;
	float: right;
	padding: 0.5em;
}

.halfer2>div:last-child{
	width: 35%;
	padding: 0.5em;
	float: right;
}

.halfer2>div:last-child:empty{
	display: none;
}

.halfer3>div:first-child{
	width: 35%;
	float: right;
	padding: 0.5em;
}

.halfer3>div:last-child{
	width: 65%;
	padding: 0.5em;
	float: right;
}

.halfer3>div:last-child:empty{
	display: none;
}

.halfer4>div:first-child{
	width: 30%;
	float: right;
	padding: 0.5em;
}

.halfer4>div:nth-child(2){
	width: 40%;
	padding: 0.5em;
	float: right;
}

.halfer4>div:last-child{
	width: 30%;
	padding: 0.5em;
	float: left;
}


.halfer:after{
  content: "";
  display: table;
  clear: both;
 }

.halfer3:after{
  content: "";
  display: table;
  clear: both;
 }

.halfer4:after{
  content: "";
  display: table;
  clear: both;
 }

.sectionTitle{
	border-bottom: 1px solid #ccc;
	font: 1.2em;
	text-align: right;
	padding-right: 10px;
	margin-top: 20px;
	margin-top: 10px;
}

.newsItem{
	opacity: 0;
	text-align: right;
	width: 100%;
	float: left;
	margin-right: -100%;
	position: relative;
}

.newsButton{
	color: gray;
	margin: 0.1em;
	font-size: 2em;
}

.newsButton:hover{
	color: #444;
	cursor: pointer;
}

.newsButton.selected{
	color: black;
	cursor: default;
}

.newsItems{
	padding: 0.5em;
}

.newsItems::after {
	clear: both;
	content: " ";
	display: block;
	height: 0;
	line-height: 0;
	visibility: hidden;
}

.newsItems img{
	border: 4px solid #fff;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.newsItems img:hover{
	box-shadow: 0 0 6px 1px rgba(81,81,81,0.5);
}

.image{
	border: 4px solid #fff;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.image:hover{
	box-shadow: 0 0 6px 1px rgba(81,81,81,0.5);
}

.newsButtons{
	clear:both;
	text-align: left;
	padding-left: 0.5em;
	border-top: 1px solid silver;
	line-height: 1.5em;
}

.time::before {
    content: "";
    font-family: FontAwesome;
}

.time{
    clear: both;
    color: gray;
    font-size: 0.7em;
    opacity: 0.8;
    text-align: left;
}

.time:hover{
	opacity: 1;
}

.linkList{
	list-style-type: none;
	display: inline-block;
	padding: 0;
	margin: 0;
	vertical-align: top;
}

.linkList li{
	border-bottom: 1px solid silver;
	margin: 0;
	padding: 4px;
}

.linkList.noUnderline li{
	border:0;
}

.linkList li::before{
	content: " ";
	font-family: FontAwesome;
	font-size: 0.7em;
}

.linkList.Half{
	width: 100%;
}

.linkList.Half li:nth-child(even){
	float: left;
	width: 48%;
}

.linkList.Half li:nth-child(odd){
	float: right;
	width: 48%;
}

.linkList.Half:after{
	content:"";
	clear: both;
}

.socialIcons a{
	margin: 0.4em;
	font-size: 2em;
	text-align:center;
	color: white;
	opacity: 0.8;
	cursor: pointer;
}

.socialIcons a:hover{
	opacity: 1;
}

.pageAddress{
	font-size: 0.7em;
	background-color: #eee;
	border-color: 1px solid #d6d6d6;
	overflow: hidden;
	padding: 1em;
	text-align: right;
	width: 100%;
}

.pageAddress a{
	color: inherit;
}


div.pic{
	margin: 15px;
	line-height: 0px;
	position: relative;
	display: inline-block;
	max-width: 100%;
}

div.pic>div{
	background-color: rgba(0,0,0,0.5);
	-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=50)';
	filter: alpha(opacity=50);
	color: white;
	line-height: 23px;
	font-size: 0.9em;
	padding-top: 0.8em;
	padding-bottom: 0.8em;
	position: absolute;
	bottom: 0px;
	width: 100%;
	transition: 0.4s;
}

div.pic>div:hover{
	opacity: 0.4;
}

.entryTitle{
	font-size: 1.5em;
	text-align: right;
	font-weight: bolder;
	line-height: 1.2em;
}

.tags{
	list-style-type: none;
	text-align: left;
	width: 100%;
}

.tags li{
	display: inline-block;
	font-size: 0.6em;
	border: 1px solid silver;
	border-radius: 5px;
	margin: 3px;
	padding: 0.5em;
	background-color: rgba(0,0,0,0.1);
}

.tags li:hover{
	background-color: rgba(0,0,0,0.15);
}

a[disabled] {
    pointer-events: none;
	color: gray;
}

.pagination{
	list-style-type: none;
}

.pagination li{
	display: inline-block;
	font-size: 0.8em;
	border: 1px solid silver;
	border-radius: 5px;
	margin: 3px;
	padding: 0.5em;
	background-color: rgba(0,0,0,0.05);
}

.sideBox{
	width: 100%;
	margin-bottom: 1em;
}
.sideBox>div:empty{
	display: none;
}

.left{
	float: left;
	margin-right: 1em;
}

.right{
	float: right;
	margin-left: 1em;
}


.otherEvents{
	font-size: 0.8em;
	width: 30em;
	max-width: 100%;
	background-color: black;
	-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=70)';
	filter: alpha(opacity=70);
	background-color: rgba(0,0,0,0.07);
	border: 1px solid gray;
	border-radius: 2px;
	padding: 0.5em;
	text-align: right;
}

.macodeTable{
	max-width: 100%;
}

.selectedFootnote{
	background-color: #F5F5F5;
}

.selectedFootnote>a{
	color: green;
	font-weight: bolder;
}

.pagesPublish2{
	width: 10em;
	display: inline-block;
	margin: 2em;
	padding: 1em;
	border: 1px solid gray;
	border-radius: 0.3em;
}

.printsOfABook{
	text-align: center;
	display: table-cell;
	width: 35%;
}

.printsOfABook2{
	width: 65%;
}

#langDiv2{
	display: none;
}

.publishTitle{
	font-size: 1.2em;
	text-align: right;
	border-bottom: 1px solid silver;
	color: #444;
}

.publishTitle::before{
	content: " ";
	color: inherit;
	display: inline-block;
	font-family: FontAwesome;
	font-feature-settings: normal;
	font-kerning: auto;
	font-language-override: normal;
	font-size: 0.7em;
	font-size-adjust: none;
	font-stretch: normal;
	font-style: normal;
	font-synthesis: weight style;
	font-variant: normal;
	font-weight: normal;
	line-height: 1;
	text-rendering: auto;
}

.grid-2-2{
	display: -webkit-grid;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	grid-gap: 1em;
	grid-auto-rows: minmax(100px, auto);
}

.grid-2{
	display: -webkit-grid;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 1em;
	/* grid-auto-rows: minmax(100px, auto); */
}

@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 480px)
  and (-webkit-min-device-pixel-ratio: 2),
only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 568px)
  and (-webkit-min-device-pixel-ratio: 2),
only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2),
only screen 	
  and (min-device-width: 414px) 
  and (max-device-width: 736px) 
  and (-webkit-min-device-pixel-ratio: 3),
screen 
  and (device-width: 320px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 2),
screen 
  and (device-width: 320px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 3),
screen 
  and (device-width: 360px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 3),
screen 
  and (device-width: 360px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 3),	  
screen
  and (max-width: 900px){
	#headermenu{
		text-align: right;
		padding: 0.6em;
	}
	
	#headermenu i.fa-bars{
		display: inline;
	}

	#headermenu ul{
		padding: 0;
		display: none;
		position: fixed;
		background-color: #434a87;
		top: 0;
		bottom: 0;
		right: 0;
		-webkit-box-shadow: 0px 3px 2px 0px rgba(0,0,0,0.50);
		-moz-box-shadow: 0px 3px 2px 0px rgba(0,0,0,0.50);
		box-shadow: 0px 3px 2px 0px rgba(0,0,0,0.50);
	}
	
	#headermenu a{
		padding-left: 6em;
	}
	
	#headermenu ul li{
		display: list-item;
	}

	#headermenu ul li a::before{
		content: "• ";
		margin-left: 1em;
	}

	
	#headermenu ul li:first-child{
		padding-top: 1.5em;
	}
	
	#headermenu .pageTitle{
		display: inline-block;
	}

	#mainPublishNav img {
		width: 20px;
	}

	#mainPublishNav img:hover {
		width: 20px;
		margin: 2px;
	}

	.halfer>div{
		float: none;
		width: 100%;
	}
	
	.halfer2>div:first-child,.halfer2>div:last-child{
		width: 100%;
		float: none;
	}
	
	.halfer3>div:first-child,.halfer3>div:last-child{
		width: 100%;
		float: none;
	}

	
	.halfer4>div:first-child,.halfer4>div:last-child,.halfer4>div:nth-child(2){
		width: 100%;
		float: none;
	}

	.halfer4{
		display: -webkit-box;
		display: -moz-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
		flex-direction: column;
	}

	.halfer4>div:first-child{
		-webkit-box-ordinal-group: 2;   /* OLD - iOS 6-, Safari 3.1-6 */
		-moz-box-ordinal-group: 2;      /* OLD - Firefox 19- */
		-ms-flex-order: 2;              /* TWEENER - IE 10 */
		-webkit-order: 2;               /* NEW - Chrome */
		order: 2;                       /* NEW, Spec - Opera 12.1, Firefox 20+ */
	}

	.halfer4>div:nth-child(2){
		-webkit-box-ordinal-group: 1;   /* OLD - iOS 6-, Safari 3.1-6 */
		-moz-box-ordinal-group: 1;      /* OLD - Firefox 19- */
		-ms-flex-order: 1;              /* TWEENER - IE 10 */
		-webkit-order: 1;               /* NEW - Chrome */
		order: 1;                       /* NEW, Spec - Opera 12.1, Firefox 20+ */
	}

	.halfer4>div:last-child{
		-webkit-box-ordinal-group: 3;   /* OLD - iOS 6-, Safari 3.1-6 */
		-moz-box-ordinal-group: 3;      /* OLD - Firefox 19- */
		-ms-flex-order: 3;              /* TWEENER - IE 10 */
		-webkit-order: 3;               /* NEW - Chrome */
		order: 3;                       /* NEW, Spec - Opera 12.1, Firefox 20+ */
	}

	
	.newsImgList{
		float: none;
		width: auto;
	}
	
	.newsButtons{
		text-align: center;
	}
	
	.sideBox{
		width: 100%;
		float: none;
		margin-right: auto;
		margin-left: auto;
	}
	
	.otherEvents{
		width: 100%;
	}

	.macodeTable{
		width: 100%;
		float: none;
	}
	
	a.tooltips>span{
		display: none;
	}

	#headermenu ul.sublist{
		width: 100%;
	}

	#headermenu ul.sublist a{
		padding-left: 0;
	}

	.linkList.Half li:nth-child(even),.linkList.Half li:nth-child(odd){
		float: none;
		width: 100%;
	}
	
	#langDiv{
		display: none;
	}
	
	#langDiv2{
		display: inline;
	}

	.grid-2-2{
		display: block;
	}
	
	.grid-2-2>div{
		margin: 1em;
	}

	.grid-2{
		display: block;
	}
	
	.grid-2>div{
		margin: 1em;
	}

}

.lessonImage{
	float: none;
	margin: 1em;
	margin-bottom: 2em;
	text-align: center;
}

.lessonTitlePart{
	margin-left: auto;
	margin-right: auto;
}

@media only screen and (min-width: 700px) {
	.lessonImage{
		float: left;
		margin-top: 0;
	}

	.lessonTitlePart{
		margin-left: initial;
		margin-right: initial;
	}

	.lesson-text{
		margin-left: 4em;
		margin-right: 4em;
		
		line-height: 2.2em;
		padding-top: 3em;
		margin-top: 3em;
		/* border-top: 2px solid #999; */
	}
}


/*clearfix hack*/
.group:after {
  content: "";
  display: table;
  clear: both;
}