/* Arabic layout. Charts, trademarks, filenames and numeric runs keep LTR order. */
html[lang="ar"] { direction: rtl; }
html[lang="ar"] body { direction: rtl; text-align: start; font-family: "Noto Sans Arabic", Tahoma, Arial, sans-serif; }
html[lang="ar"] body :is(p,h1,h2,h3,h4,h5,a,button,summary,span,li,font,strong,b,em,td,th,figcaption,small,label) {
  font-family: "Noto Sans Arabic", Tahoma, Arial, sans-serif !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}
html[lang="ar"] bdi[dir="ltr"], html[lang="ar"] [dir="ltr"] { unicode-bidi: isolate; }
html[lang="ar"] bdi { overflow-wrap: anywhere; }
html[lang="ar"] :is(h1,h2,h3) { line-height: 1.45 !important; }
html[lang="ar"] p { line-height: 1.9; }
html[lang="ar"] :is(.fxp-brand,.fxp-brand-wordmark) { direction: ltr; unicode-bidi: isolate; }
html[lang="ar"] :is(.fxp-overview,.fxp-install-guide,.fxp-card-benefits,.fxp-hero-copy,.fxp-guide-hero-copy) { text-align: start !important; }
html[lang="ar"] #home > .container,
html[lang="ar"] #contact .fxp-install-guide .fxp-install-header,
html[lang="ar"] .fxp-install-guide :is(h2,h3,p),
html[lang="ar"] #blog.dark .meta-data :is(h3,p) { text-align: start !important; }
html[lang="ar"] #home h1 { line-height: 1.4 !important; }
html[lang="ar"] body:not(.fxp-utility-page) #home .fxp-hero-lead { line-height: 1.9 !important; font-size: 15px !important; }
html[lang="ar"] :is(.fxp-cta,.fxp-guide-button,.fxp-checkout-copy strong) { font-size: 13px !important; line-height: 1.75 !important; }
html[lang="ar"] body:not(.fxp-utility-page) #home .fxp-hero-actions .fxp-cta { font-size: 12px !important; padding: 9px 12px !important; }
html[lang="ar"] :is(.fxp-section-eyebrow,.fxp-overview-label,.fxp-guide-label,.fxp-card-benefits li) { font-size: 12px !important; line-height: 1.8 !important; }
html[lang="ar"] .fxp-install-step p { font-size: 13px !important; line-height: 1.9 !important; }
html[lang="ar"] :is(.fxp-install-checklist li,.fxp-install-step figcaption,.fxp-checkout-copy small) { font-size: 12px !important; line-height: 1.8 !important; }
html[lang="ar"] footer :is(.copyright,.copyright font) { text-align: start; font-size: 12px !important; line-height: 1.95 !important; }
html[lang="ar"] .navbar-header { float: right; }
html[lang="ar"] .navbar-brand { float: right; }
html[lang="ar"] .navbar-toggle { float: left; margin-right: 0; margin-left: 15px; }
html[lang="ar"] .navbar-default .navbar-nav > li > a,
html[lang="ar"] .fxp-product-toggle { font-size: 12px; letter-spacing: normal; }
html[lang="ar"] .fxp-language-switch { margin-left: 0; margin-right: 10px; flex-wrap: wrap; white-space: normal; }
html[lang="ar"] .fxp-language-switch > a { direction: ltr; unicode-bidi: isolate; }
html[lang="ar"] .fxp-language-switch > a[lang="ar"] { direction: rtl; }
html[lang="ar"] .fxp-product-list { right: 0; left: auto; transform-origin: top right; max-width: calc(100vw - 32px); }
html[lang="ar"] .fxp-product-list a { text-align: start; }
html[lang="ar"] .fxp-product-list a.fxp-current { box-shadow: inset -3px 0 var(--fxp-green); }
html[lang="ar"] .dropdown-menu { right: 0; left: auto; text-align: start; }
html[lang="ar"] .pull-left { float: right !important; }
html[lang="ar"] .pull-right { float: left !important; }
html[lang="ar"] .text-left { text-align: right; }
html[lang="ar"] .text-right { text-align: left; }
html[lang="ar"] :is(ul,ol):not([class]) { padding-left: 0; padding-right: 40px; }
html[lang="ar"] .fxp-card-benefits li { padding: 7px 22px 7px 0; }
html[lang="ar"] .fxp-install-checklist li { padding-left: 0; padding-right: 22px; }
html[lang="ar"] :is(.fxp-card-benefits li,.fxp-install-checklist li):before { right: 0; left: auto; }
html[lang="ar"] :is(.fxp-guide-card li,.fxp-guide-checks li) { padding: 7px 24px 7px 0; }
html[lang="ar"] :is(.fxp-guide-card li,.fxp-guide-checks li):before { right: 0; left: auto; }
html[lang="ar"] .fxp-guide-step { padding: 24px 78px 24px 24px; }
html[lang="ar"] .fxp-guide-step:before { right: 23px; left: auto; direction: ltr; }
html[lang="ar"] :is(.fxp-faq-grid summary,.fxp-guide-faq summary) { padding: 22px 22px 20px 58px; line-height: 1.8; }
html[lang="ar"] :is(.fxp-faq-grid summary,.fxp-guide-faq summary):after { right: auto; left: 20px; }
html[lang="ar"] .fxp-guide-callout { border-left: 1px solid rgba(130,183,225,.24); border-right: 4px solid var(--guide-blue); }
html[lang="ar"] body.fxp-guide-page main#main section.fxp-guide-section .fxp-guide-callout {
  border-left-color: rgba(130,183,225,.24) !important; border-right-color: #47adff !important;
}
html[lang="ar"] body.fxp-guide-page main#main section.fxp-guide-section .fxp-guide-callout-warning { border-right-color: #e7b94f !important; }
html[lang="ar"] .fxp-skip-link { right: 8px; left: auto; }
html[lang="ar"] .fxp-backtest-link:after { right: auto; left: 30px; font-size: 12px; }
html[lang="ar"] :is(.back-to-top,.fxp-scroll-top) { right: auto; left: 18px; inset-inline-end: 18px; inset-inline-start: auto; }
html[lang="ar"] .fxp-scroll-progress { right: 0; left: auto; }
html[lang="ar"] .fa-arrow-right:before { content: "\f060"; }
html[lang="ar"] .fa-arrow-left:before { content: "\f061"; }
html[lang="ar"] .fa-chevron-right:before { content: "\f053"; }
html[lang="ar"] .fa-chevron-left:before { content: "\f054"; }
html[lang="ar"] :is(.fxp-guide-table-wrap,.fxp-report-table) { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; }
html[lang="ar"] .fxp-guide-table { direction: rtl; min-width: 640px; }
html[lang="ar"] .fxp-guide-table :is(th,td) { text-align: start !important; overflow-wrap: anywhere; }
html[lang="ar"] .fxp-report-table table { direction: rtl; }
html[lang="ar"] .fxp-report-table :is(th,td) { text-align: start; }
html[lang="ar"] .fxp-report-table td[dir="ltr"] { text-align: end; font-variant-numeric: tabular-nums; }
html[lang="ar"] .fxp-report-chart-wrap { direction: ltr; }
html[lang="ar"] .fxp-report-chart-wrap figcaption { direction: rtl; text-align: start; line-height: 1.9; }
html[lang="ar"] .fxp-report-note { text-align: start; line-height: 1.9; }
html[lang="ar"] .error-code { direction: ltr; unicode-bidi: isolate; }
@media (min-width: 768px) {
  html[lang="ar"] .row > [class*="col-sm-"] { float: right; }
}
@media (min-width: 992px) {
  html[lang="ar"] .row > [class*="col-md-"] { float: right; }
}
@media (min-width: 1200px) {
  html[lang="ar"] .row > [class*="col-lg-"] { float: right; }
  html[lang="ar"] .navbar-right { float: left !important; margin-left: -15px; margin-right: 0; }
  html[lang="ar"] .navbar-nav { float: right; }
  html[lang="ar"] .navbar-nav > li { float: right; }
}
@media (max-width: 1199px) {
  html[lang="ar"] .navbar-header { float: none !important; width: 100% !important; display: flex !important; align-items: center; }
  html[lang="ar"] .navbar-header .fxp-brand { order: 1; }
  html[lang="ar"] .navbar-header .navbar-toggle { display: block !important; order: 2; margin: 0 auto 0 0 !important; }
  html[lang="ar"] .navbar-collapse { clear: both; float: none !important; width: 100%; max-width: 100%; margin-left: 0; margin-right: 0; box-sizing: border-box; }
  html[lang="ar"] .navbar-collapse.collapse:not(.in) { display: none !important; }
  html[lang="ar"] .navbar-collapse.collapse.in { display: block !important; max-height: calc(100dvh - 78px); overflow-y: auto !important; }
  html[lang="ar"] .navbar-nav { float: none !important; margin: 0 !important; }
  html[lang="ar"] .navbar-nav > li { float: none !important; }
  html[lang="ar"] .navbar-default .navbar-nav > li > a { height: auto !important; min-height: 46px; padding: 10px 16px !important; line-height: 1.8; }
  html[lang="ar"] .fxp-product-toggle { width: 100%; height: auto; min-height: 46px; justify-content: space-between; padding: 10px 16px; }
  html[lang="ar"] .fxp-product-list { position: static; display: none; width: auto; opacity: 1; transform: none; pointer-events: auto; margin: 0 10px 10px; }
  html[lang="ar"] .fxp-product-menu.fxp-open .fxp-product-list { display: block; }
  html[lang="ar"] .fxp-language-switch { display: flex !important; flex-wrap: wrap; margin: 0; padding: 12px 14px; }
}
@media (max-width: 767px) {
  html[lang="ar"] .fxp-guide-step { padding: 76px 21px 22px; }
  html[lang="ar"] .fxp-guide-step:before { right: 21px; }
  html[lang="ar"] .fxp-backtest-link:after { left: 20px; right: auto; font-size: 11px; }
  html[lang="ar"] .fxp-guide-hero h1 { font-size: clamp(30px,8vw,44px); }
}
