/*
 * SharkMovie — RTL overrides (ar, he)
 */

html[dir="rtl"] body,
body.sm-rtl {
  direction: rtl;
}

body.sm-rtl .sm-header__logo {
  justify-self: end;
}

body.sm-rtl .sm-header__actions {
  justify-self: start;
}

body.sm-rtl .sm-lang__list {
  right: auto;
  left: 0;
}

body.sm-rtl .sm-nav__menu,
body.sm-rtl .sm-header__actions,
body.sm-rtl .sm-filter-form,
body.sm-rtl .sm-section-head,
body.sm-rtl .sm-search-modal__bar,
body.sm-rtl .sm-hero-banner__actions {
  flex-direction: row-reverse;
}

body.sm-rtl .sm-nav__menu > li > a,
body.sm-rtl .sm-logo,
body.sm-rtl .sm-lang__btn,
body.sm-rtl .sm-lang__option,
body.sm-rtl .sm-search-results__link {
  flex-direction: row-reverse;
}

body.sm-rtl .sm-filter-group label,
body.sm-rtl .sm-section-title,
body.sm-rtl .sm-mp-extra__title,
body.sm-rtl .sm-mp-dl__title,
body.sm-rtl .sm-library-meta,
body.sm-rtl .sm-card-body,
body.sm-rtl .sm-hero-banner__body {
  text-align: right;
}

body.sm-rtl .sm-search-modal__results,
body.sm-rtl .sm-search-results__info {
  text-align: right;
}

body.sm-rtl .sm-hero-slider__nav--prev svg,
body.sm-rtl .sm-hero-slider__nav--next svg,
body.sm-rtl .sm-search-modal__submit svg {
  transform: scaleX(-1);
}

body.sm-rtl .sm-pagination,
body.sm-rtl .sm-importer-pager,
body.sm-rtl [data-sm-catalog-pagination] {
  direction: rtl;
}

@media (max-width: 900px) {
  body.sm-rtl .sm-nav.is-open .sm-nav__menu {
    align-items: stretch;
  }
}
