/*
Theme Name:     mag-rtl Child theme
Template:       mag-rtl
Version:        9.0c
*/

/*  ----------------------------------------------------------------------------
    This file will load automatically when the child theme is active. You can use it
    for custom CSS.
*/

@font-face {
	font-family: iran;
	font-style: normal;
	font-weight: 10;
	src: url('fonts/woff/dana-thin.woff') format('woff');
}
@font-face {
	font-family: iran;
	font-style: normal;
	font-weight: 200;
	src: url('fonts/woff/dana-extralight.woff') format('woff');
}
@font-face {
	font-family: iran;
	font-style: normal;
	font-weight: 300;
	src: url('fonts/woff/dana-light.woff') format('woff');
}
@font-face {
	font-family: iran;
	font-style: normal;
	font-weight: 500;
	src: url('fonts/woff/dana-medium.woff') format('woff');
}
@font-face {
	font-family: iran;
	font-style: normal;
	font-weight: 600;
	src: url('fonts/woff/dana-demibold.woff') format('woff');
}
@font-face {
	font-family: iran;
	font-style: normal;
	font-weight: 750;
	src: url('fonts/woff/dana-ultrabold.woff') format('woff');
}
@font-face {
	font-family: iran;
	font-style: normal;
	font-weight: 800;
	src: url('fonts/woff/dana-extrabold.woff') format('woff');
}
@font-face {
	font-family: iran;
	font-style: normal;
	font-weight: 900;
	src: url('fonts/woff/dana-black.woff') format('woff');
}
@font-face {
	font-family: iran;
	font-style: normal;
	font-weight: bold;
	src: url('fonts/woff/dana-bold.woff') format('woff');
}
@font-face {
	font-family: iran;
	font-style: normal;
	font-weight: normal;
	src: url('fonts/woff/dana-regular.woff') format('woff');
}
body, h1, h2, h3, h4, h5, h6,input, textarea,
.td-search-wrap-mob,
#td-mobile-nav,
.td-post-next-prev-content,
.td-module-meta-info,
.td-read-more, .more-link-wrap,
.block-title,
.comment cite,
.td-404-title,
.td-header-row{
    font-family: "iran";
}
.td-related-title,
.vc_toggle_title h4,
.td_block_template_12 .td-pulldown-category,
.td-category-description p,
.td_block_related_posts .td-module-title{
	font-family: "iran" !important;
}
body {
	direction: rtl;
	background-color: #cdcdcd;
	margin: 0;
}
.td-post-content p,
.comment .comment-content p {
	text-align: justify;
}
.td-category-description p,
em {
	font-style: normal !important;
}

h1 {
	font-weight: bold;
}
.wrapper {
	max-width: 900px;
	margin: 0 auto;
}
.ltr {
	direction: ltr;
}

.td-search-wrap-mob .td_module_wrap,
.text-right {
	text-align: right;
}
.text-center {
	text-align: center;
}
.text-left {
	text-align: left;
}
.text-small {
	font-size: 0.8em;
}
.text-xsmall {
	font-size: 0.6em;
}
.text-large {
	font-size: 1.2em;
}
.text-xlarge {
	font-size: 1.4em;
}
.text-underline {
	text-decoration:underline;
}

.text-thin {
	font-weight: 10;
}
.text-extralight {
	font-weight: 200;
}
.text-light {
	font-weight: 300;
}
.text-regular {
	font-weight: normal;
}
.text-medium {
	font-weight: 500;
}
.text-demibold {
	font-weight: 600;
}
.text-bold {
	font-weight: bold;
}
.text-ultrabold {
	font-weight: 750;
}
.text-extrabold {
	font-weight: 800;
}
.text-black {
	font-weight: 900;
}

blockquote {
	font-weight: 700;
	padding: 10px;
	border: 1px dashed #666666;
}

.mainbox {
	width: 100%;
	background-color: #EFEFEF;
	display: table;
	margin-bottom: 30px;
	border-right: 8px solid #b2ffb2;
}

.mainboxnegativ {
	width: 100%;
	background-color: #000000;
	display: table;
	margin-bottom: 30px;
	border-right: 8px solid #b2ffb2;
	color: #F9F9F9;
}

.mainbox2 {
	font-size: 1em;
	width: 90%;
	padding-right: 20px;
	padding-top: 10px;
	padding-bottom: 10px;
}
.mainboxitalic {
	font-size: 1em;
	font-style: italic;
	width: 90%;
	padding-right: 20px;
	padding-top: 10px;
	padding-bottom: 10px;
}

.mainbox3 {
	width: 100%;
	background-color: #DFDFDF;
	display: table;
	margin-bottom: 30px;
	border-right: 8px solid #FF5EAA;
}

.mainbox2negativ {
	font-size: 1em;
	color: #F9F9F9;
	background-color: #000000;
	padding-right: 20px;
}


.farsiparagraph {
	font-size: 1em;
	width: 47%;
	float:right;
	padding-right: 20px;
	padding-top: 10px;
	padding-bottom: 10px;

}

.farsiparagraph_negativ {
	font-size: 1em;
	color: #F9F9F9;
	background-color: #000000;
	width: 47%;
	float:right;
	padding-right: 20px;
	padding-top: 10px;
	padding-bottom: 10px;

}
.englishparagraph {
	font-size: 1em;
	width: 47%;
	float: left;
	direction:ltr;
	padding-left: 20px;
	padding-top: 10px;
	padding-bottom: 10px;


}
.englishparagraph_negativ {
	font-size: 1em;
	color: #F9F9F9;
	background-color: #000000;
	width: 47%;
	float: left;
	direction:ltr;
	padding-left: 20px;
	padding-top: 10px;
	padding-bottom: 10px;
}
.rightbox {
	width: 60%;
	padding-right: 20px;
	padding-left: 5px;
	float: right;
	margin-left: 10px;
	margin-bottom: 0px;
	min-width: 0px;
	background-color: #F7F7F7;

}
.titelbox {
	width: 60%;
	padding-right: 25px;
	padding-left: 0px;
	float: right;
	margin-left: 10px;
	margin-bottom: 0px;
	min-width: 0px;
	background-color: #d5d5d5;
	color: #4B4B4B;
}
.lefttbox {
	
	padding-right: 20px;
	padding-left: 4px;
	float: right;
	margin-bottom: 10px;
	min-width: 0px;
}
.alphabet {
	width: 35%;
	float: left;
	font-size: 21em;
	text-align: center;
	font-weight: 600;
	color: #999999;
}

.alphabet2 {
	width: 35%;
	float: left;
	direction: ltr;
	font-size: 1.6em;
	text-align: left;
	font-weight: 600;
	color: #333333;
	margin-top: 100px;
}
.footer {
	font-weight: 400;
	font-size: 0.7em;
	text-align: center;
	direction: ltr;
	margin-bottom: 0px;
	padding-bottom: 0px;
}
.sf-menu ul {
  width: 20em;
}
.sf-menu .td-normal-menu ul ul,
.sf-menu > li.td-normal-menu > ul.sub-menu{
	width: 20em !important;
}
[class^="td-icon-"]:before, [class*=" td-icon-"]:before{
	line-height: 2;
}
.td-search-icon{
	left: -3px;
	right: auto;
}
.td-search-background {
	transform: translate3d(-100%, 0, 0);
  -webkit-transform: translate3d(-100%, 0, 0);
}
.td-menu-background {
	transform: translate3d(100%, 0, 0);
	-webkit-transform: translate3d(100%, 0, 0);
}
.td-mobile-content .td-icon-menu-right{
	top: 3px;
}
.td-mobile-content li a{
	padding: 12px 40px 12px 12px;
}
@media (min-width: 768px){
	.td-drop-down-search .td-search-form {
    margin: 4px;
	}
}
.header-search-wrap .td-drop-down-search .btn{
	left: 4px !important;
}
.widget{
	margin-bottom: 8px;
}
.secret .tdc-content-wrap{
	margin: 2em !important;
}
.td-main-page-wrap {
	padding-top: 24px;
}
.td-main-content-wrap {
	padding-bottom: 24px;
}
.td-footer-page .tdc-row{
	width: 100%;
}
.td-related-title .td-related-right{
 display: none !important;
}
.comment .children{
	margin-left: 0;
	margin-right: 70px;
}
header .td-post-comments{
	top: 0;
}
header .td-post-comments,
header .td-post-views{
	float: left !important;
}
.td-icon-views:before {
	line-height: 1 !important;
}

header .td-post-views span {
	vertical-align: middle;
}

@media (min-width: 768px){
	.justmobile{
		display: none !important;
	}
}
