/* Force RTL direction + right-align for RTL languages inside ABW widgets */
.azb-wrap[dir="rtl"],
.azb-wrap[dir="rtl"] * {
  direction: rtl !important;
  text-align: right !important;
}

.azb-wrap[dir="rtl"] .azb-row {
  flex-direction: row-reverse;
}

/* LTR reset */
.azb-wrap[dir="ltr"],
.azb-wrap[dir="ltr"] * {
  direction: ltr;
}

/* News Ticker RTL Override */
@keyframes azb-ticker-marquee {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(50%, 0, 0);
  }
}

@-webkit-keyframes azb-ticker-marquee {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(50%, 0, 0);
  }
}

.azb-dir-rtl .azb-ticker-label {
  box-shadow: -6px 0 15px rgba(0, 0, 0, 0.3) !important;
}

.azb-dir-rtl .azb-ticker-scroll {
  justify-content: flex-end !important;
  flex-direction: row-reverse !important;
}