/* Locale-safe header layout: CSS isolated to headers; does not force page colors. */
html[dir="rtl"] #header, html[dir="rtl"] #mo_header { direction:ltr !important; }
html[dir="rtl"] #header .mo-menu-list > ul { direction:rtl !important; text-align:right !important; }
html[dir="rtl"] #header .mo-menu-list > ul > li {float:none !important;}
html[dir="rtl"] #header .mo-menu-list li ul {direction:rtl !important; text-align:right !important;}
html[dir="rtl"] #header a[href^="tel:"], html[dir="rtl"] #header a[href^="mailto:"] { direction:ltr !important;unicode-bidi:isolate !important; }
@media(min-width:992px) {
 html[dir="rtl"] #header .mo-header-v7 .mo-header-top .row {direction:ltr !important;display:flex !important;flex-direction:row !important;align-items:center !important;}
 html[dir="rtl"] #header .mo-header-v7 .mo-header-top-l {order:2 !important;float:none !important;margin-left:auto !important;text-align:right !important;}
 html[dir="rtl"] #header .mo-header-v7 .mo-header-top-r {order:1 !important;float:none !important;margin-right:auto !important;text-align:left !important;}
 html[dir="rtl"] #header .mo-header-v7 .mo-header-top-l .mo-col-logo {float:none !important;display:flex !important;justify-content:flex-end !important;}
 html[dir="rtl"] #header .mo-header-v7 .mo-header-menu > .container.main-container {direction:ltr !important;display:flex !important;flex-direction:row !important;align-items:center !important;justify-content:space-between !important;}
 html[dir="rtl"] #header .mo-header-v7 .menu_other_v7 {order:1 !important;float:none !important;direction:ltr !important;display:flex !important;align-items:center !important;}
 html[dir="rtl"] #header .mo-header-v7 .mo-col-menu {order:2 !important;float:none !important;direction:rtl !important;display:flex !important;justify-content:flex-end !important;flex:1 1 auto !important;}
 html[dir="rtl"] #header .mo-header-v3 .mo-header-menu > .container.main-container, html[dir="rtl"] #header .mo-header-v2 .mo-header-menu > .container-menu {direction:ltr !important;display:flex !important;flex-direction:row-reverse !important;align-items:center !important;}
 html[dir="rtl"] #header .mo-header-v3 .mo-col-logo,html[dir="rtl"] #header .mo-header-v2 .mo-col-logo {float:none !important;order:0 !important;}
 html[dir="rtl"] #header .mo-header-v3 .mo-col-menu,html[dir="rtl"] #header .mo-header-v2 .mo-col-menu {float:none !important;order:1 !important;direction:rtl !important;flex:1 1 auto !important;}
 html[dir="rtl"] #header .mo-header-v3 .menu_other_v3,html[dir="rtl"] #header .mo-header-v2 .menu_other_v2 {float:none !important;order:2 !important;direction:ltr !important;}
}
html[dir="rtl"] #header .select-languages.skysoft-language-names {direction:ltr !important;white-space:nowrap !important;}
html[dir="rtl"] #header .skysoft-language-names .skysoft-lang-options {direction:ltr !important;left:auto !important;right:0 !important;}
html[dir="rtl"] #header .skysoft-language-names .skysoft-lang-options li a {direction:ltr !important;text-align:left !important;}
html[dir="rtl"] #header .skysoft-language-names .skysoft-lang-options li a[lang^="fa"] .skysoft-lang-label,
html[dir="rtl"] #header .skysoft-language-names .skysoft-lang-options li a[lang^="ps"] .skysoft-lang-label {direction:rtl !important;text-align:right !important;}
