/**
*
*	Name:			IRANSansX Fonts
*	Version:			3
*	Author:			Moslem Ebrahimi (moslemebrahimi.com)
*	Created on:		Apr 22, 2021
*	Updated on:		Jul 12, 2023
*	Website:			http://fontiran.com
*	Copyright:		Commercial/Proprietary Software
--------------------------------------------------------------------------------------
فونتایران سنس Xا یک نرم افزار مالکیتی محسوب می شود. جهت آگاهی از قوانین استفاده از این فونت ها لطفا به وب سایت (فونت ایران دات کام) مراجعه نمایید
--------------------------------------------------------------------------------------
IRANSansXFaNum fonts are considered a proprietary software. To gain information about the laws regarding the use of these fonts, please visit www.fontiran.com 
--------------------------------------------------------------------------------------
This set of fonts are used in this project under the license: (.....)
------------------------------------------------------------------------------------- fonts/-
*	
**/


@font-face {
	font-family: IPNIranSansX;
	font-style: normal;
	font-weight: 200;
	src: url('../fonts/woff/IRANSansXFaNum-UltraLightD4.woff') format('woff'),   
	url('../fonts/woff2/IRANSansXFaNum-UltraLightD4.woff2') format('woff2');	
}

@font-face {
	font-family: IPNIranSansX;
	font-style: normal;
	font-weight: 300;
	src: url('../fonts/woff/IRANSansXFaNum-LightD4.woff') format('woff'),   
	url('../fonts/woff2/IRANSansXFaNum-LightD4.woff2') format('woff2');		 
}

@font-face {
	font-family: IPNIranSansX;
	font-style: normal;
	font-weight: 500;
	src: url('../fonts/woff/IRANSansXFaNum-MediumD4.woff') format('woff'),   
	url('../fonts/woff2/IRANSansXFaNum-MediumD4.woff2') format('woff2');		 
}

@font-face {
	font-family: IPNIranSansX;
	font-style: normal;
	font-weight: 900;
	src: url('../fonts/woff/IRANSansXFaNum-BlackD4.woff') format('woff'),   
	url('../fonts/woff2/IRANSansXFaNum-BlackD4.woff2') format('woff2');		 
}

@font-face {
	font-family: IPNIranSansX;
	font-style: normal;
	font-weight: 950;
	src: url('../fonts/woff/IRANSansXFaNum-ExtraBlackD4.woff') format('woff'),   
	url('../fonts/woff2/IRANSansXFaNum-ExtraBlackD4.woff2') format('woff2');		 
}

@font-face {
	font-family: IPNIranSansX;
	font-style: normal;
	font-weight: bold;
	src: url('../fonts/woff/IRANSansXFaNum-BoldD4.woff') format('woff'),   
	url('../fonts/woff2/IRANSansXFaNum-BoldD4.woff2') format('woff2');	 
}

@font-face {
	font-family: IPNIranSansX;
	font-style: normal;
	font-weight: normal;
	src: url('../fonts/woff/IRANSansXFaNum-RegularD4.woff') format('woff'),   
	url('../fonts/woff2/IRANSansXFaNum-RegularD4.woff2') format('woff2');	
}

/* اعمال فونت روی کل سایت (Front-end)
   از ترفند :not(#_) استفاده شده تا specificity این قانون معادل چند سطح ID بالا بره
   و حتی روی انتخابگرهایی که قالب/صفحه‌ساز با ID و !important نوشته (مثل #masthead a)
   هم غالب بشه؛ در نتیجه روی a، span و بقیه‌ی تگ‌ها هم اعمال می‌شه. */
body.ipn-fa-font {
	font-family: 'IPNIranSansX', Tahoma, Arial, sans-serif !important;
}

html body.ipn-fa-font :not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(.fa):not(.fas):not(.far):not(.fab):not(.fal):not([class*="dashicons"]):not([class*="icon"]):not([class^="eicon"]) {
	font-family: 'IPNIranSansX', Tahoma, Arial, sans-serif !important;
}

/* اعمال فونت روی پیشخوان وردپرس */
#wpadminbar, #wpadminbar *,
#adminmenu, #adminmenu *,
#wpbody, #wpbody * {
	font-family: 'IPNIranSansX', Tahoma, Arial, sans-serif !important;
}

/* اعمال فونت روی صفحه ورود وردپرس */
body.login, body.login * {
	font-family: 'IPNIranSansX', Tahoma, Arial, sans-serif !important;
}
