@font-face {
  font-family: "IRANSansXFaNum";
  src: url("../fonts/iransans/IRANSansXFaNum-Thin.woff") format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IRANSansXFaNum";
  src: url("../fonts/iransans/IRANSansXFaNum-UltraLight.woff") format("woff");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IRANSansXFaNum";
  src: url("../fonts/iransans/IRANSansXFaNum-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IRANSansXFaNum";
  src: url("../fonts/iransans/IRANSansXFaNum-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IRANSansXFaNum";
  src: url("../fonts/iransans/IRANSansXFaNum-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IRANSansXFaNum";
  src: url("../fonts/iransans/IRANSansXFaNum-DemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IRANSansXFaNum";
  src: url("../fonts/iransans/IRANSansXFaNum-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IRANSansXFaNum";
  src: url("../fonts/iransans/IRANSansXFaNum-ExtraBold.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IRANSansXFaNum";
  src: url("../fonts/iransans/IRANSansXFaNum-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

body.rtl.post-type-sptp_member,
body.rtl.post-type-sptp_generator,
body.rtl.taxonomy-sptp_group,
body.rtl[class*="sptp_member_page_"],
.rtl .spf,
.rtl .spf-modal,
.rtl .chosen-container,
.rtl .ui-dialog,
.sp-team-pro,
.sp-team-pro-call-to-action-wrapper,
.sptp-main-wrapper,
.sptp-modal,
.sptp-member-modal,
.sptp-single-post,
.sptp-member-details,
.sptp-member-profile,
.sptp-filter,
.sptp-search-form {
  font-family: "IRANSansXFaNum", Tahoma, Arial, sans-serif !important;
}

html[lang="fa-IR"] .sp-team-pro,
html[lang="fa-IR"] .sp-team-pro-call-to-action-wrapper,
html[lang="fa-IR"] .sptp-main-wrapper,
html[lang="fa-IR"] .sptp-modal,
html[lang="fa-IR"] .sptp-member-modal,
html[lang="fa-IR"] .sptp-single-post,
html[lang="fa-IR"] .sptp-member-details,
html[lang="fa-IR"] .sptp-filter,
html[lang="fa-IR"] .sptp-search-form {
  direction: rtl;
  text-align: right;
}

html[lang="fa-IR"] .sp-team-pro input,
html[lang="fa-IR"] .sp-team-pro select,
html[lang="fa-IR"] .sp-team-pro textarea,
html[lang="fa-IR"] .sptp-main-wrapper input,
html[lang="fa-IR"] .sptp-main-wrapper select,
html[lang="fa-IR"] .sptp-main-wrapper textarea,
html[lang="fa-IR"] .sptp-modal input,
html[lang="fa-IR"] .sptp-modal textarea {
  font-family: inherit;
  direction: rtl;
  text-align: right;
}
