html[dir="rtl"] {
  --bs-font-sans-serif: Tahoma, Arial, sans-serif;
}
html[dir="rtl"] body,
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3,
html[dir="rtl"] h4, html[dir="rtl"] h5, html[dir="rtl"] h6,
html[dir="rtl"] input, html[dir="rtl"] select, html[dir="rtl"] textarea,
html[dir="rtl"] button, html[dir="rtl"] .popover, html[dir="rtl"] .tooltip {
  font-family: Tahoma, Arial, sans-serif;
  letter-spacing: normal;
}
html[dir="rtl"] body { direction: rtl; text-align: right; }
html[dir="rtl"] input[type="email"], html[dir="rtl"] input[type="url"],
html[dir="rtl"] input[type="tel"], html[dir="rtl"] input[type="number"],
html[dir="rtl"] input[type="password"], html[dir="rtl"] code,
html[dir="rtl"] pre, html[dir="rtl"] .locale-ltr {
  direction: ltr;
  unicode-bidi: isolate;
}
html[dir="rtl"] input[type="email"], html[dir="rtl"] input[type="url"],
html[dir="rtl"] input[type="tel"], html[dir="rtl"] input[type="password"] { text-align: right; }
html[dir="rtl"] .slick-slider { direction: rtl; }
html[dir="rtl"] .slick-track { direction: rtl; }
html[dir="rtl"] .webui-popover-content { text-align: right; }
html[dir="rtl"] .modal-header .btn-close { margin-inline-start: auto; margin-inline-end: 0; }
html[dir="rtl"] .mobile-main-nav { text-align: right; }
html[dir="rtl"] .select2-container {
  direction: rtl !important;
  text-align: right !important;
  width: 100% !important;
}
html[dir="rtl"] .select2-container .select2-selection--single {
  direction: rtl !important;
  text-align: right !important;
  height: 38px !important;
  line-height: 38px !important;
}
html[dir="rtl"] .select2-container .select2-selection--single .select2-selection__rendered {
  direction: rtl !important;
  text-align: right !important;
  padding-right: 12px !important;
  padding-left: 32px !important;
  line-height: 36px !important;
}
html[dir="rtl"] .select2-container .select2-selection--single .select2-selection__arrow {
  left: 8px !important;
  right: auto !important;
  top: 5px !important;
  height: 26px !important;
}
html[dir="rtl"] .select2-dropdown {
  direction: rtl !important;
  text-align: right !important;
  border-radius: 4px !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15) !important;
  z-index: 1060 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
html[dir="rtl"] .select2-results {
  direction: rtl !important;
  text-align: right !important;
}
html[dir="rtl"] .select2-results__options {
  direction: rtl !important;
  text-align: right !important;
  max-height: 260px !important;
}
html[dir="rtl"] .select2-results__group {
  direction: rtl !important;
  text-align: right !important;
  font-weight: 700 !important;
  color: #313a46 !important;
  padding: 8px 12px !important;
  background-color: #f7f9fa !important;
}
html[dir="rtl"] .select2-results__options--nested {
  padding-right: 15px !important;
  padding-left: 0 !important;
  margin-right: 0 !important;
}
html[dir="rtl"] .select2-results__options--nested .select2-results__option {
  padding-right: 25px !important;
  padding-left: 12px !important;
  text-align: right !important;
  direction: rtl !important;
}
html[dir="rtl"] .select2-results__option {
  padding: 8px 12px !important;
  direction: rtl !important;
  text-align: right !important;
}
html[dir="rtl"] .select2-search--dropdown {
  direction: rtl !important;
  padding: 8px !important;
}
html[dir="rtl"] .select2-search--dropdown .select2-search__field {
  direction: rtl !important;
  text-align: right !important;
  padding: 6px 10px !important;
  border: 1px solid #dee2e6 !important;
  border-radius: 4px !important;
  box-sizing: border-box !important;
  width: 100% !important;
}
html[dir="rtl"] .modal .select2-container {
  width: 100% !important;
}
html[dir="rtl"] .modal .select2-dropdown {
  z-index: 1065 !important;
}
html[dir="rtl"] .table-responsive { max-width: 100%; }
html[dir="rtl"] table th, html[dir="rtl"] table td { text-align: inherit; }
html[dir="rtl"] .dataTables_filter label { text-align: right; }
html[dir="rtl"] .dataTables_filter input { margin-inline-start: .5em; margin-inline-end: 0; }
html[dir="rtl"] .fa-arrow-left, html[dir="rtl"] .fa-arrow-right,
html[dir="rtl"] .fa-chevron-left, html[dir="rtl"] .fa-chevron-right,
html[dir="rtl"] .mdi-chevron-left, html[dir="rtl"] .mdi-chevron-right { transform: scaleX(-1); }
/* Native media controls and programming examples retain their own reading direction. */
html[dir="rtl"] video, html[dir="rtl"] audio, html[dir="rtl"] .plyr { direction: ltr; }
html[dir="rtl"] .cookieConsentContainer {
  max-width: calc(100vw - 32px);
  inset-inline-end: 16px !important;
  inset-inline-start: auto !important;
  box-sizing: border-box;
}
@media (max-width: 991px) {
  html[dir="rtl"] .home-banner-wrap,
  html[dir="rtl"] .home-banner-wrap .search-box {
    width: 100%;
    max-width: 100%;
  }
}
