@font-face {
	font-family: 'iransans';
	src: url('../font/IranianSansRegular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'iransans';
	src: url('../font/IranianSansBold.ttf') format('truetype');
	font-weight: bold;
	font-style: bold;
}

@font-face {
	font-family:'BMitra';
	src:url('../font/mitra/BMitra.eot?#') format('eot'),
	    url('../font/mitra/BMitra.woff') format('woff'),
	    url('../font/mitra/BMitra.ttf') format('truetype');
	font-weight:normal;
	font-style:normal
}
@font-face {
	font-family:"BMitra";
	src:url("../font/mitra/MitraBold.eot") format('eot'),
	    url("../font/mitra/MitraBold.woff") format("woff"),
	    url("../font/mitra/MitraBold.ttf") format("truetype");
	font-weight:bold;
	font-style:normal
}

body {
/*	background-image: url(../img/bg1h.png);*/
	background-repeat: repeat-y;
	background-position: 195px;
	font-family: BMitra;
	direction: rtl;
	position: relative;
}
h1 {
	font-size: 1.2em;
}
h2 {
	font-size: 1.1em;
}
h3 {
	font-size: 1em;
}
h4 {
	font-size: 0.9em;
}
h5 {
	font-size: 0.8em;
}
h6 {
	font-size: 0.7em;
}
.bold-text {
	font-weight: bold;
}

#main-nav {
	height: 64px;
}
#main-nav nav {
	height: 64px;
}
#main-nav #main-nav-wrapper {
	background: url("../img/header.jpg") no-repeat scroll left top;
}
#main-nav .brand-logo {
	height: 64px;
	padding: 7px 3px;
	display: block;
	position: relative;
}
#search {
	padding-right: 50px;
}
#logo-nav {
	width: 130px;
	height: 64px;
	overflow: hidden;
/*	float: right; */
	margin: 0 5px -10px 5px;
	left: calc(50% - 65px);
	position: absolute;
	display: none;
}
#top-menu li a {
	line-height: 24px;
	padding-top: 40px;
}
#mainpage {
	width: 95%;
	max-width: 1200px;
}
#mainpage > div.section {
	padding-top: 0.7rem;
}
#headline-lid {
	bottom: 0;
	color: #fff;
	left: 0;
	padding: 30px 20px 10px;
	position: absolute;
	font-size: 1.2em;
	background: rgba(0,0,0,0);
	background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 20%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0.7) 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(0,0,0,0)), color-stop(20%, rgba(0,0,0,0.3)), color-stop(50%, rgba(0,0,0,0.7)), color-stop(100%, rgba(0,0,0,0.7)));
	background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 20%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0.7) 100%);
	background: -o-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 20%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0.7) 100%);
	background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 20%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0.7) 100%);
	background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 20%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0.7) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#000000', GradientType=0 );
}
#headline-lid:hover {
	box-shadow: none;
}
#headline-lid a {
	display: inline-block
}
#headline-lid a * {
	color: white;
}
#headline-lid p {
	max-height: 0;
	overflow: hidden;
	transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
#headline:hover p {
	max-height: 100px;
}
#headline-lid .card-toptitle {
	font-weight: 300;
	margin: 0 0 -10px;
	padding: 0 10px;
}
#headline-lid .card-title{
	position: relative;
	margin: 0;
	padding: 10px;
	font-weight: bold;
/*	word-spacing: -0.3em; */
	line-height: 1.5em;
}
#wrp-content {
	position: relative;
}
#mainpage-content .mainpage-content {
	font-size: 1em;
	overflow: hidden;
	border-bottom: 1px solid #e0e0e0;
}
.mainpage-content .card-content {
	padding: 10px;
	overflow: hidden;
}
.mainpage-content .card-image img {
	width: 120px;
	border-radius: 0;
}
.mainpage-content a,
.mainpage-content a:ACTIVE,
.mainpage-content a:FOCUS,
.mainpage-content a:ACTIVE{
	outline: 0;
}
.mainpage-content h6 {

	font-size: 0.8em;
	line-height: 1.3em;
	margin: 0 0 3px;
/*	word-spacing: -0.3em; */
	color: #616161;
}
.mainpage-content h2 {
	font-size: 1em;
	font-weight: bold;
	line-height: 1.3em;
	margin: 0px 5px 5px 0;
	word-spacing: -0.0em;
	color: #212121;
}
.mainpage-content p {
	font: normal 0.8em Tahoma;
	color: #424242;
/*	line-height: 1.3em;*/
	text-align: justify;
/*	word-spacing: -0.3em;*/
}
#wrp-ads {
    padding: 0;
/*    position: absolute;
    bottom: -20px;
    left: 0;
    top: 0;*/
}
#wrp-ads::before {
    content: ' ';
    display: block;
    width: 50%;
    background: #222 url("../img/bgb.png") repeat;
    position: fixed;
    top: 0;
    bottom: 0;
}
#wrp-ads .card {
    width: 140px;
    margin-right: 10px;
}
#wrp-ads img {
	margin: 0.5rem 0 0 0;
	box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}
.module-wrapper h1 {
	font-size: 1.2em;
	margin: 0.5rem;
	padding: 0;
	text-align: justify;
}
.module-wrapper h2 {
	font-size: 1.1em;
	margin: 0.5rem;
	padding: 0;
	text-align: justify;
}
.module-wrapper h3 {
	font-size: 1em;
	margin: 0.5rem;
	padding: 0;
	text-align: justify;
}
.module-wrapper h4 {
	font-size: 0.9em;
	margin: 0.5rem;
	padding: 0;
	text-align: justify;
}
.module-wrapper h5 {
	font-size: 0.8em;
	margin: 0.5rem;
	padding: 0;
	text-align: justify;
}
.module-wrapper h6 {
	font-size: 0.7em;
	margin: 0.5rem;
	padding: 0;
	text-align: justify;
}
.module-form {
	margin: 0 0.5rem 0rem;
}
.module-form label {
	font-size: 0.8rem;
	line-height: 1rem;
	margin-top: 0.7em;
}
.module-form .btn-flat.half {
	max-width: 45%;
}
.module-form .loadmore {
	position: absolute;
	bottom: -18px;
	left: 30%;
}

/*
 * For Articles
 */
.content-wrapper {
	text-align: justify;
}
#header {
	text-align: center;
}
#article h1.article-title {
	font-size: 2em;
	font-weight: bold;
/*	word-spacing: -0.2em; */
	line-height: 1.6em;

}
#article h4.article-toptitle {
	font-size: 0.9em;
	margin-bottom: -1.5em;
}
.article-meta-wrapper {
	font-size: 0.8em;
	text-align: left;
	margin-top: -20px;
}
.content-wrapper {
	overflow: auto;
        font-size: 1.1rem;
}
.content-wrapper img {
	float: left;
	margin: 5px 5px 5px 0;
}
.content-wrapper .shareLinks {
	background-color: #e5e5e5;
	border-radius: 32px;
	clear: left;
	display: block;
	float: left;
	overflow: hidden;
	padding: 5px;
	margin-top: 20px;
}
.content-wrapper .shareLinks img {
	border: 0 none;
	margin: 5px;
}

/*
 * Comments
 */
 
#comments-wrapper {
	font-size: 0.8em;
}
#comments-wrapper h3 {
	font-size: 1.6em;
	font-weight: bold;
}
.comment-list {
	padding: 0;
}
.comment-list li {
	display: block;
}
.comment-avatar {
	margin: 0 5px;
}
.comment {
	margin-top: 10px;
}
.comment-date {
	color: #757575;
	direction: rtl;
	font-size: 0.85em;
	font-style: italic;
	padding: 0 10px;
}
.comment-author {
	color: #424242;
	font-size: 1em;
	font-weight: bold;
}
.comment-content {
	padding-right: 70px;
}
.comments-buttons {
	text-align: left;
}
.comment .children {
	padding-right: 30px;
}
.comment-content blockquote {
	border-color: #ee6e73;
	border-style: solid;
	border-width: 0 5px 0 0;
	padding: 0.3rem 1rem 0.3rem 0;
}

/* label color */
.input-field label {
	color: #000;
}
/* label focus color */
.input-field input[type=text]:focus + label,
.input-field input[type=email]:focus + label,
.input-field textarea.materialize-textarea:focus + label {
	color: #ff9800;
}
/* label underline focus color */
.input-field input[type=text]:focus,
.input-field input[type=email]:focus,
.input-field textarea.materialize-textarea:focus {
	border-bottom: 1px solid #ff9800;
	box-shadow: 0 1px 0 0 #ff9800;
}
/* valid color */
.input-field input[type=text].valid,
.input-field input[type=email].valid,
.input-field textarea.materialize-textarea.valid {
	border-bottom: 1px solid #ff9800;
	box-shadow: 0 1px 0 0 #ff9800;
}
/* invalid color */
.input-field input[type=text].invalid,
.input-field input[type=email].invalid,
.input-field textarea.materialize-textarea.invalid {
	border-bottom: 1px solid #ff9800;
	box-shadow: 0 1px 0 0 #ff9800;
}
/* icon prefix focus color */
.input-field .prefix.active {
	color: #ff9800;
}
.input-field label {
	left: auto;
	right: 0.75rem;
}
#nav-mobile .input-field label {
	right: auto;
	left: 0.75rem;
}
