/*======================================
Author: Amiri Cloud
Author URI: http://amiri.ws
======================================*/

/*Font*/

html,
body,
.dibaj {
	font-family: "Dibaj-MC", sans-serif;
	text-align: justify;
}

h1,
h2,
h3,
h4,
h5,
h6,
.iran {
	font-family: "IranSans", sans-serif !important;
	line-height: 1.4em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	padding-bottom: clamp(0.5em, 1em, 1.5em);
}

/** Articles **/
.wp-block-quote {
	border-left: none !important;
	padding-left: 0 !important;
	margin: 1.75em 1.75em 1.75em 0 !important;
}

/** Secondary Menu **/
#top-header #et-secondary-menu {
	right: auto;
	left: 34px;
}
.dd-search {
	float: left;
}
.et_pb_post_slider_0.et_pb_slider::before {
	content: "تازه‌ها:" !important;
}
.dd-rotating-posts h2.et_pb_slide_title {
	text-align: right;
	padding-top: 0;
	margin-left: auto;
	margin-right: 50px;
}
.dd-rotating-posts .et_pb_button_wrapper {
	display: none;
}

/** Testimonies **/
@media all and (min-width: 981px) {
	.et_pb_testimonial_description {
		margin-left: 0 !important;
	}
	.et_pb_testimonial_portrait {
		margin-right: 0 !important;
		margin-left: 30px;
	}
}
@media all and (min-width: 768px) and (max-width: 980px) {
	.et_pb_testimonial_description {
		margin-left: 0 !important;
		margin-right: 120px;
	}
	.et_pb_testimonial_portrait {
		margin-right: 0 !important;
		margin-left: 30px;
	}
	.et_pb_column .et_pb_testimonial_portrait {
		float: right !important;
	}
}

/** FullScreen Search **/

#fullscreen-search-overlay .probox input.orig,
div.asl_r .results .item .asl_content h3 a,
div.asl_r p.showmore span {
	font-family: "IranSans", sans-serif !important;
}

div.asl_r .results .item .etc .asl_author {
	font-family: "Dibaj-MC", sans-serif;
}

/** Home Page **/
.et_pb_gutters2 .et_pb_column,
.et_pb_gutters2.et_pb_row .et_pb_column {
	margin-right: 0;
	margin-left: 3%;
}
.et_pb_row .et_pb_column:last-child,
.et_pb_row .et_pb_column.et-last-child,
.et_pb_row_inner .et_pb_column:last-child,
.et_pb_row_inner .et_pb_column.et-last-child {
	margin-right: 0 !important;
	margin-left: 0 !important;
}
.et_pb_column {
	float: right;
}
.dd-slideup-blog p.post-meta {
	display: none;
}
.dd-slideup-blog .dd-blog-third .et_pb_post:hover h2 {
	-webkit-transform: translate3d(0, 0, 0) translate3d(0, -80px, 0);
	transform: translate3d(0, 0%, 0) translate3d(0, -80px, 0);
}
@media all and (min-width: 981px) {
	.et_pb_gutters1 .et_pb_column_1_2,
	.et_pb_gutters1.et_pb_row .et_pb_column_1_2,
	.et_pb_gutters1 .et_pb_column,
	.et_pb_gutters1.et_pb_row .et_pb_column {
		margin-left: 0;
	}
	.et_pb_gutters2 .et_pb_column_2_3 > .et_pb_row_inner > .et_pb_column_1_3,
	.et_pb_gutters2 .et_pb_column_2_3 > .et_pb_row_inner > .et_pb_column_1_3,
	.et_pb_column_2_3 > .et_pb_row_inner.et_pb_gutters2 > .et_pb_column_1_3,
	.et_pb_gutters2 .dd-tabbed-posts .et_pb_column {
		margin-right: 0;
		margin-left: 4.569%;
	}
	.et_pb_gutters3 .et_pb_column,
	.et_pb_gutters3.et_pb_row .et_pb_column {
		margin-right: 0;
		margin-left: 5.5%;
	}
}
.dd-blog-category-title h2::after,
h1.dd-page-title::after,
h2.dd-post-author-title::after,
.dd-category-page-title h1::after,
#sidebar h4::after,
.et_pb_column_single h4::after {
	margin-right: 10px;
	margin-left: 0 !important;
	top: 75% !important;
}
.dd-tabbed-posts ul.et-tabs-control {
	float: left;
}
.dd-blog-category h2 {
	padding-top: 0;
}
.Home-Course-Grid .learndash-pager-course_list {
	display: none;
}
.error404 #dd-header-widget {
	display: none;
}
.ub-styled-box {
	border-right-width: 4px;
	border-left: none;
	border-right-style: solid;
}
.has-text-align-left {
	text-align: right;
}
.wp-block-image figcaption {
	text-align: center;
	background-color: #e8e8e8;
	margin-top: -12px;
	color: #8a8a8a;
	font-size: 80%;
	font-weight: bold;
}
.home-banner .et_pb_slide_title a:hover {
	color: #ad8c55 !important;
}

/** Top Header **/
#top-header .et_pb_container {
	height: 32px !important;
}
#top-header .et_pb_post_slider_0,
#top-header .et_pb_post_slider_0 .et_pb_slide {
	min-height: 32px !important;
}

/** Video Banner **/
.video-banner .vp-img {
	display: block;
	margin: 0 auto;
	padding-top: 16%;
}
@media all and (max-width: 980px) {
	.video-banner .vp-img {
		width: 10%;
		padding-top: 20%;
	}
}

/** Contact Form **/
.et_pb_contact .et_pb_contact_field_half {
	float: right;
}
.et_pb_contact_right {
	direction: ltr;
}
.et_pb_contact_submit,
.et_pb_contact_reset {
	margin: 0 18px 0 0;
}
.et_contact_bottom_container::before {
	content: "لطفا پاسخ این معادله \Aرا به انگلیسی بنویسید:";
	white-space: pre-wrap;
	font-size: 80%;
	line-height: 150%;
	padding-top: 5px;
	padding-left: 10px;
}
html[dir="rtl"] div.ginput_container_name span.name_last {
	margin-right: -4px;
}
.ginput_container_password button {
	right: auto !important;
	left: 1px;
}
.ginput_container_consent input[type="checkbox"] {
	width: 10%;
	transform: scale(2);
}
.gform_wrapper .field_description_below .gfield_consent_description,
.gform_wrapper .gfield_consent_description {
	border: none !important;
}

/** Sidebar **/
#sidebar h4,
.et_pb_column_single h4,
.dd-email-optin .et_pb_newsletter_description h2 {
	font-weight: 800;
}
#sidebar .widget_search #searchsubmit,
.et_pb_column_single .widget_search #searchsubmit {
	right: auto;
	left: 20px;
}
.dd-email-optin .et_pb_newsletter_form p:first-of-type {
	margin-right: 0;
	margin-left: 4%;
}
.et_pb_newsletter_footer p {
	float: right !important;
	width: 100% !important;
	font-size: 70%;
	line-height: 130%;
}
.et_pb_newsletter_footer {
	margin-top: 0;
}
.dd-posts-widget-content {
	padding-right: 10px;
	padding-left: 0;
}
.widget_categories a:hover,
.widget_archive a:hover {
	padding-right: 15px;
	padding-left: 0;
}
.widget_categories a::before,
.widget_archive a::before {
	margin-right: -1em;
	margin-left: 0;
	content: "\38";
}
.textwidget .download-box {
	width: 100%;
}

.et_pb_widget .et_pb_post > .et_main_video_container {
	width: 100% !important;
	border: none !important;
	height: 190px;
}
.et_pb_widget .et_pb_video_overlay_hover,
.et_pb_widget .fb_iframe_widget {
	display: none;
}

.et_pb_widget .et_pb_post .post-meta {
	display: none;
}
#divi_pb_widget-3 {
	margin-bottom: 0;
}
.et_pb_widget .et_pb_post {
	margin-bottom: 0px;
}
.et_pb_widget .et_pb_post h2.entry-title {
	background-color: rgba(173, 140, 85, 0.9);
	font-size: 90%;
	padding-right: 10px;
	padding-top: 5px;
	color: #fff;
	position: relative;
	top: -170px;
	text-align: center;
}

/** Blog Posts **/
@media all and (min-width: 981px) {
	.et_right_sidebar #left-area {
		float: right;
	}
	.et_pb_gutters2.et_right_sidebar #left-area {
		padding-left: 3%;
		padding-right: 0;
	}
	#sidebar {
		float: right;
	}
	.et_right_sidebar #sidebar {
		padding-left: 0;
		padding-right: 30px;
	}
}
@media all and (min-width: 768px) {
	.et_pb_post > .et_main_video_container {
		width: 270px;
		float: left;
		margin-right: 30px;
		position: relative;
		border-width: 10px;
		border-style: solid;
		border-color: #7a939d;
	}
	.archive .et_pb_post,
	.search .et_pb_post {
		min-height: 160px;
	}
	.dd-entry-content h2 {
		width: 423px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
}
.dd-previous-post {
	float: right;
	margin-right: 0;
	margin-left: 4%;
}
.dd-previous-post .dd-links-content {
	padding-left: 20px;
	padding-right: 0px;
}
.dd-next-post {
	float: left;
}
.dd-next-post .dd-links-content {
	padding-left: 0;
	padding-right: 20px;
	text-align: left;
}
#left-area ul,
.entry-content ul,
.et-l--header ul,
.et-l--body ul,
.et-l--footer ul,
.comment-content ul,
body.et-pb-preview #main-content .container ul {
	padding: 0 3em 23px 0;
	line-height: 1.8em;
	text-align: justify;
}
#left-area ol,
.entry-content ol,
.et-l--header ol,
.et-l--body ol,
.et-l--footer ol,
.comment-content ol,
body.et-pb-preview #main-content .container ol {
	padding: 0 3em 23px 0;
	line-height: 1.8em;
	text-align: justify;
	list-style: persian;
}
#left-area ol li ul,
.entry-content ol li ol,
.et-l--header ol li ol,
.et-l--body ol li ol,
.et-l--footer ol li ol,
.comment-content ol li ul,
.comment-content ol li ol,
body.et-pb-preview #main-content .container ol li ol {
	padding: 2px 35px 8px 0px;
}
.alignleft {
	float: right;
}
.alignright {
	float: left;
}
.ub-notification-text {
	direction: rtl;
	text-align: right !important;
	border-left: none;
	border-right-color: #31708f;
	border-right-width: 4px;
	border-right-style: solid;
}
.dd-tags a {
	margin: 10px 0 0 10px;
}
.dd-post-links .dd-overlay {
	background: rgba(0, 0, 0, 0.8);
}
.dd-next-post .dd-link-category {
	text-align: left;
}
.wp-block-image .alignleft {
	margin-left: 0;
	margin-right: 1em;
}
cite,
em,
i {
	font-weight: bold;
	color: #ad8c55;
}

.comment_avatar {
	width: 80px;
}

.has-drop-cap:not(:focus)::first-letter {
	font-size: 6.4em;
	font-weight: 400;
}

/** Related Posts **/
.yarpp-related ol {
	padding: 0 !important;
	list-style: none !important;
	display: inline-block;
}
.yarpp-related ol li {
	max-width: 32%;
	float: right;
	background-color: #f0f0f0;
	margin-left: 2%;
	padding: 10px;
	overflow: hidden;
	height: 164px;
	font-size: 80%;
	text-align: right;
	border-radius: 5px;
	box-shadow: 0 1px 7px rgba(0, 0, 0, 0.1);
}
.yarpp-related ol li:last-child {
	margin-left: 0;
}

/** Pages **/
h1.dd-page-title {
	font-size: 36px;
	font-weight: 600;
}
.dd-rotating-posts.et_pb_slider .et_pb_slide_description .et_pb_slide_title {
	font-size: 16px !important;
}
.dd-rotating-posts .et_pb_slide_description {
	padding: 0 !important;
}

/** Author **/
.dd-profile-content {
	margin-left: 0;
	margin-right: 20px;
}

/** Shagerd Magazine **/
#shagerd-cat-download ul.dlm-downloads li {
	list-style: none;
	direction: rtl;
	margin-left: 3%;
	width: 22.75%;
}
#shagerd-cat-download ul.dlm-downloads .download-box {
	width: 100%;
}
#shagerd-cat-download ul.dlm-downloads {
	padding: 0;
	display: flex;
	flex-wrap: wrap;
}
#shagerd-cat-download ul.dlm-downloads li p {
	text-align: center;
	font-size: 80%;
	font-weight: bold;
	padding: 15px 0;
}
#shagerd-cat-download ul.dlm-downloads .download-button {
	padding: 0.25em 1em;
	background-color: #a51916;
	background-image: -webkit-linear-gradient(#961412, #a51916, #961412);
	background-image: -moz-linear-gradient(#961412, #a51916, #961412);
	border: 1px solid #a51916;
	font-weight: bolder;
}
#shagerd-cat-download ul.dlm-downloads .download-count {
	font-weight: bold;
}
#shagerd-cat-download ul.dlm-downloads .download-box-content {
	background-color: #fff;
}
@media all and (min-width: 768px) {
	#shagerd-cat-download ul.dlm-downloads li:nth-child(4n + 4) {
		margin-left: 0px;
	}
}
@media all and (max-width: 767px) {
	#shagerd-cat-download ul.dlm-downloads li {
		width: 31.3333%;
	}
	#shagerd-cat-download ul.dlm-downloads li:nth-child(3n + 3) {
		margin-left: 0px;
	}
}
@media all and (max-width: 479px) {
	#shagerd-cat-download ul.dlm-downloads li {
		width: 48.5%;
	}
	#shagerd-cat-download ul.dlm-downloads li:nth-child(2n + 2) {
		margin-left: 0px !important;
	}
	#shagerd-cat-download ul.dlm-downloads li:nth-child(3n + 3) {
		margin-left: 3%;
	}
}
/*-- LearnDash --*/
.learndash-wrapper .ld-login-modal .ld-login-modal-form .ld-login-modal-branding img {
	max-width: 40% !important;
}
.learndash-wrapper .ld-alert .ld-button .ld-icon {
	right: auto;
	left: 15px;
}
.single-sfwd-topic .et_post_meta_wrapper img {
	height: 125px;
	object-fit: cover;
}
.single-sfwd-courses h1.entry-title,
.single-sfwd-courses p.post-meta {
	display: none;
}
.home .learndash-wrapper .ld-button {
	color: #fff !important;
	border-radius: 2px;
}
/*.single-sfwd-lessons .et_post_meta_wrapper {display: none;}*/
.learndash-wrapper #sfwd-mark-complete::after,
.learndash-wrapper .sfwd-mark-complete::after {
	left: auto;
	right: 1em;
}
.learndash-wrapper .ld-item-list .ld-item-search .ld-closer {
	right: auto;
	left: 1em;
}
.single-sfwd-lessons .et_pb_title_container h1 {
	padding-top: 20px !important;
}
.single-sfwd-lessons .et_pb_title_featured_container img {
	height: 220px;
	object-fit: cover;
}
.learndash-wrapper .ld-login-modal {
	margin: 35% 50% 20px 50%;
}
.learndash-wrapper .ld-focus .ld-focus-header {
	height: 80px;
}
.learndash-wrapper .ld-focus .ld-focus-sidebar {
	padding-top: 80px;
}
.ldx-plugin #wpProQuiz_overlay_close {
	right: auto !important;
	left: 59px;
}
.ldx-plugin #wpProQuiz_user_content table.wp-list-table thead th:last-child {
	border-radius: var(--lqc-global-border-radius) 0 0 0;
}
.ldx-plugin #wpProQuiz_user_content table.wp-list-table thead th:first-child {
	border-radius: 0 var(--lqc-global-border-radius) 0 0;
}
#wpProQuiz_user_content .wpProQuiz_questionList {
	text-align: right !important;
}
.entry-content table,
body.et-pb-preview #main-content .container table {
	text-align: right !important;
}
.page .learndash-wrapper .ld-table-list .ld-table-list-items {
	font-size: 0.75em !important;
}
.widget_text .learndash-pager {
	display: none;
}
.ld-item-list-items .ld-expand-button .ld-text {
	width: 50px;
	font-size: 60%;
}
.ld-login-modal-register {
	display: none !important;
}
.learndash-wrapper .ld-modal {
	max-width: 500px !important;
}

.ld-course-list-items .ld_course_grid .caption .entry-title {
	display: none !important;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/*-- Social Sharing --*/
.et_monarch .et_social_5col li {
	float: right;
	margin: 2% 2% 0 0;
}
.et_monarch .et_social_5col li:first-child {
	margin: 0 0 0 0;
}
.et_social_networkname {
	font-size: 12px !important;
}

.et-social-telegram a.icon:before {
	content: "\f3fe";
	font-family: "Font Awesome 5 Brands" !important;
}

/*** Footnote ***/
.footnotes_plugin_reference_row {
	font-size: 80%;
	line-height: 150%;
}
.footnote_plugin_text {
	text-align: justify !important;
}
.footnote_index_arrow {
	font-size: 120%;
}
.footnote_plugin_tooltip_text {
	font-size: 0.6em;
	font-weight: 700;
}

@media (min-width: 981px) {
	.rtl .et_pb_row.et_pb_equal_columns,
	.rtl .et_pb_row_inner.et_pb_equal_columns,
	.rtl .et_pb_section.et_pb_equal_columns > .et_pb_row {
		flex-direction: row;
	}
}

/*** Responsive Styles Smartphone Only ***/
@media all and (max-width: 479px) {
	.single-sfwd-lessons .et_pb_title_featured_container img {
		height: 95px;
	}
}
.learndash-wrapper .ld-focus .ld-focus-sidebar .ld-focus-sidebar-trigger .ld-icon {
	transform: translateY(-50%) translateX(30%);
}
.learndash-wrapper .ld-focus-sidebar-collapsed .ld-focus-sidebar .ld-focus-sidebar-trigger .ld-icon {
	transform: translateY(-50%) translateX(30%) rotate(180deg);
}
.single-sfwd-lessons .ld-focus-content > h1 {
	display: none;
}
.single-sfwd-lessons h1.entry-title {
	font-size: 30px !important;
}
.question-box::before {
	content: "\74" !important;
}
.notice-box::before {
	content: "\71" !important;
}
.home .ld_course_grid .caption {
	display: none !important;
}
.home .et_pb_ld_course_list .row {
	margin-bottom: 0 !important;
}

/** Print **/
@media print {
	/* Printer specific styles go here */
	#printfriendly,
	#printfriendly h1,
	#printfriendly h2,
	#printfriendly h3,
	#printfriendly h4,
	#printfriendly p {
		font-family: IRANSans !important;
		letter-spacing: 0 !important;
		line-height: 1.8em;
	}
}

.english {
	direction: ltr !important;
	text-align: left !important;
}
