/* RTL support for Arabic layouts. Loaded only when the site direction is rtl. */
html[dir="rtl"],
html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] body {
  font-family: Tahoma, Arial, 'Nunito', sans-serif;
}

html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select,
html[dir="rtl"] button {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] input[type="email"],
html[dir="rtl"] input[type="url"],
html[dir="rtl"] input[type="number"],
html[dir="rtl"] input[name*="email"],
html[dir="rtl"] input[name*="url"],
html[dir="rtl"] input[name*="phone"] {
  direction: ltr;
  text-align: left;
}

html[dir="rtl"] .left,
html[dir="rtl"] .float-left {
  float: right !important;
}

html[dir="rtl"] .right,
html[dir="rtl"] .float-right {
  float: left !important;
}

html[dir="rtl"] .text-left {
  text-align: right !important;
}

html[dir="rtl"] .text-right {
  text-align: left !important;
}

html[dir="rtl"] .main-nav,
html[dir="rtl"] .header-menu,
html[dir="rtl"] .vfx-item-nav,
html[dir="rtl"] .right-sub-item-area,
html[dir="rtl"] .user-menu,
html[dir="rtl"] .content-user,
html[dir="rtl"] .footer-about,
html[dir="rtl"] .footer-link,
html[dir="rtl"] .contact-form,
html[dir="rtl"] .dashboard-section,
html[dir="rtl"] .movie-detail,
html[dir="rtl"] .video-posts-data,
html[dir="rtl"] .listing-section,
html[dir="rtl"] .genres-list,
html[dir="rtl"] .search,
html[dir="rtl"] .search-results {
  text-align: right;
}

html[dir="rtl"] .mod-menu .row,
html[dir="rtl"] .right-sub-item-area,
html[dir="rtl"] .movie-detail-meta,
html[dir="rtl"] .single-video-info,
html[dir="rtl"] .dashboard-menu,
html[dir="rtl"] .footer-social,
html[dir="rtl"] .share-item,
html[dir="rtl"] .pagination {
  direction: rtl;
}

html[dir="rtl"] .logo,
html[dir="rtl"] .main-nav,
html[dir="rtl"] .header-section .nav > li,
html[dir="rtl"] .header-section ul li,
html[dir="rtl"] .footer-social li,
html[dir="rtl"] .post-category-list li,
html[dir="rtl"] .video-post-date li,
html[dir="rtl"] .share-item li {
  float: right;
}

html[dir="rtl"] .right-sub-item-area,
html[dir="rtl"] .search-item-block,
html[dir="rtl"] .subscribe-btn-item,
html[dir="rtl"] .signup-btn-item,
html[dir="rtl"] .user-menu {
  float: left;
}

html[dir="rtl"] .header-section ul li ul,
html[dir="rtl"] .header-section ul li ul.dm-align-2,
html[dir="rtl"] .content-user {
  right: 0;
  left: auto;
  text-align: right;
}

html[dir="rtl"] .header-section ul li ul li a,
html[dir="rtl"] .content-user li a {
  text-align: right;
}

html[dir="rtl"] .header-section ul li .arrow,
html[dir="rtl"] #userArrow {
  margin-right: 6px;
  margin-left: 0;
}

html[dir="rtl"] .content-user li a i,
html[dir="rtl"] .dashboard-menu li a i,
html[dir="rtl"] .contact-info-item i,
html[dir="rtl"] .video-post-date li i,
html[dir="rtl"] .post-category-list li i {
  margin-left: 8px;
  margin-right: 0;
}

html[dir="rtl"] .search .search-input input[type="text"] {
  padding-right: 20px;
  padding-left: 55px;
  background-position: left center !important;
}

html[dir="rtl"] .popup-view .close,
html[dir="rtl"] .mfp-close {
  left: 20px;
  right: auto;
}

html[dir="rtl"] .nice-select {
  text-align: right !important;
  padding-right: 18px;
  padding-left: 30px;
}

html[dir="rtl"] .nice-select:after {
  left: 12px;
  right: auto;
}

html[dir="rtl"] .nice-select .list {
  right: 0;
  left: auto;
}

html[dir="rtl"] .form-check,
html[dir="rtl"] .custom-checkbox,
html[dir="rtl"] .remember-me,
html[dir="rtl"] .checkbox {
  padding-right: 1.25rem;
  padding-left: 0;
}

html[dir="rtl"] .form-check-input,
html[dir="rtl"] .custom-control-input {
  margin-right: -1.25rem;
  margin-left: 0;
}

html[dir="rtl"] .owl-carousel,
html[dir="rtl"] .splide,
html[dir="rtl"] .video-js,
html[dir="rtl"] .plyr,
html[dir="rtl"] iframe,
html[dir="rtl"] video {
  direction: ltr;
}

html[dir="rtl"] .owl-carousel .item,
html[dir="rtl"] .splide__slide,
html[dir="rtl"] .slider-content,
html[dir="rtl"] .video-carousel-content,
html[dir="rtl"] .poster-content {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .eupopup-container,
html[dir="rtl"] .swal2-popup {
  direction: rtl;
  text-align: right;
}

@media (max-width: 991px) {
  html[dir="rtl"] .header-menu,
  html[dir="rtl"] .header-section ul li,
  html[dir="rtl"] .header-section ul li a {
    text-align: right;
  }

  html[dir="rtl"] .navbar-toggle {
    float: right;
  }
}
/* Header layout fixes */
@media (min-width: 992px) {
  html[dir="rtl"] .header-section .mod-menu > .row {
    direction: ltr;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
  }

  html[dir="rtl"] .header-section .mod-menu > .row > .col-2 {
    order: 3;
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
    text-align: right;
  }

  html[dir="rtl"] .header-section .mod-menu > .row > .col-7 {
    order: 2;
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }

  html[dir="rtl"] .header-section .mod-menu > .row > .col-3 {
    order: 1;
    flex: 0 0 25%;
    max-width: 25%;
  }

  html[dir="rtl"] .header-section .logo {
    float: right;
    display: inline-flex;
    align-items: center;
  }

  html[dir="rtl"] .header-section .main-nav {
    float: none;
    width: 100%;
    text-align: center;
  }

  html[dir="rtl"] .header-section .header-menu > ul.nav {
    display: flex;
    justify-content: center;
    align-items: center;
    direction: rtl;
    float: none;
  }

  html[dir="rtl"] .header-section .header-menu > ul.nav > li {
    float: none;
  }

  html[dir="rtl"] .right-sub-item-area {
    float: none;
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    direction: rtl;
  }

  html[dir="rtl"] .search-item-block,
  html[dir="rtl"] .subscribe-btn-item,
  html[dir="rtl"] .signup-btn-item,
  html[dir="rtl"] .user-menu {
    float: none;
    display: inline-flex;
    align-items: center;
    margin: 0;
  }

  html[dir="rtl"] .search-item-block .navbar-form {
    margin: 0;
  }

  html[dir="rtl"] .user-menu .content-user {
    right: auto;
    left: 0;
  }
}
/* Section headings and carousel controls */
html[dir="rtl"] .vfx-item-section {
  direction: rtl;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  text-align: right;
}

html[dir="rtl"] .vfx-item-section h3,
html[dir="rtl"] .web-series-item-section h3 {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  text-align: right;
  direction: auto;
  unicode-bidi: plaintext;
}

html[dir="rtl"] .vfx-item-section span.view-more,
html[dir="rtl"] .vfx-item-section .see-all-link {
  display: inline-flex;
  flex: 0 0 auto;
  float: none !important;
  margin-right: 12px;
  margin-left: 0;
  white-space: nowrap;
}

html[dir="rtl"] .vfx-item-section span.view-more a,
html[dir="rtl"] .vfx-item-section .see-all-link a {
  float: none !important;
  padding-right: 0;
  padding-left: 0;
  line-height: 1.4;
}

html[dir="rtl"] .owl-carousel,
html[dir="rtl"] .owl-stage-outer,
html[dir="rtl"] .owl-stage,
html[dir="rtl"] .owl-item {
  direction: ltr;
}

html[dir="rtl"] .owl-carousel .single-video,
html[dir="rtl"] .owl-carousel .video-content,
html[dir="rtl"] .owl-carousel .season-title-item {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .owl-prev {
  right: 5px;
  left: auto;
}

html[dir="rtl"] .owl-next {
  left: 5px;
  right: auto;
}

html[dir="rtl"] .owl-prev i.fa-angle-left::before {
  content: "\f105";
}

html[dir="rtl"] .owl-next i.fa-angle-right::before {
  content: "\f104";
}

@media (max-width: 767px) {
  html[dir="rtl"] .vfx-item-section {
    gap: 8px;
    padding-left: 0;
    padding-right: 0;
  }

  html[dir="rtl"] .vfx-item-section h3,
  html[dir="rtl"] .web-series-item-section h3 {
    font-size: 20px;
    line-height: 1.25;
  }

  html[dir="rtl"] .vfx-item-section span.view-more,
  html[dir="rtl"] .vfx-item-section .see-all-link {
    margin-right: 8px;
  }

  html[dir="rtl"] .owl-prev {
    right: 4px;
  }

  html[dir="rtl"] .owl-next {
    left: 4px;
  }
}
/* Center carousel arrow icons inside circular buttons */
html[dir="rtl"] .owl-prev,
html[dir="rtl"] .owl-next {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  line-height: 1 !important;
}

html[dir="rtl"] .owl-prev i,
html[dir="rtl"] .owl-next i {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
}
/* Keep the header action buttons aligned as one block */
@media (min-width: 992px) {
  html[dir="rtl"] .header-section .mod-menu > .row > .col-3 {
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  html[dir="rtl"] .right-sub-item-area {
    width: auto;
    max-width: 100%;
    min-width: 0;
    display: inline-flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    overflow: visible;
  }

  html[dir="rtl"] .search-item-block,
  html[dir="rtl"] .subscribe-btn-item,
  html[dir="rtl"] .signup-btn-item,
  html[dir="rtl"] .user-menu {
    flex: 0 0 auto;
  }

  html[dir="rtl"] .user-menu .user-name {
    display: inline-flex;
    align-items: center;
    max-width: 95px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  html[dir="rtl"] .user-name span {
    flex: 0 0 auto;
  }

  html[dir="rtl"] .subscribe-btn-item a,
  html[dir="rtl"] .signup-btn-item a,
  html[dir="rtl"] .search-item-block .navbar-form [type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}
/* Final desktop header grid for RTL */
@media (min-width: 992px) {
  html[dir="rtl"] .header-section .mod-menu > .row {
    display: grid !important;
    grid-template-columns: 230px minmax(0, 1fr) 230px;
    grid-template-areas: "actions nav logo";
    align-items: center;
    column-gap: 20px;
    direction: ltr;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  html[dir="rtl"] .header-section .mod-menu > .row > .col-2,
  html[dir="rtl"] .header-section .mod-menu > .row > .col-7,
  html[dir="rtl"] .header-section .mod-menu > .row > .col-3 {
    flex: none !important;
    max-width: none !important;
    width: auto !important;
    padding-left: 0;
    padding-right: 0;
  }

  html[dir="rtl"] .header-section .mod-menu > .row > .col-2 {
    grid-area: logo;
    text-align: right;
    justify-self: end;
  }

  html[dir="rtl"] .header-section .mod-menu > .row > .col-7 {
    grid-area: nav;
    justify-self: center;
    min-width: 0;
  }

  html[dir="rtl"] .header-section .mod-menu > .row > .col-3 {
    grid-area: actions;
    justify-self: start;
    min-width: 0;
  }

  html[dir="rtl"] .header-section .logo {
    float: none !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-end;
    max-width: 220px;
  }

  html[dir="rtl"] .header-section .logo img {
    max-width: 100%;
    height: auto;
  }

  html[dir="rtl"] .header-section .header-menu > ul.nav {
    display: flex !important;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 4px;
    direction: rtl;
    float: none !important;
    white-space: nowrap;
  }

  html[dir="rtl"] .header-section .header-menu > ul.nav > li {
    float: none !important;
    flex: 0 0 auto;
  }

  html[dir="rtl"] .right-sub-item-area {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: auto !important;
    direction: rtl;
  }

  html[dir="rtl"] .search-item-block,
  html[dir="rtl"] .subscribe-btn-item,
  html[dir="rtl"] .signup-btn-item,
  html[dir="rtl"] .user-menu {
    float: none !important;
    margin: 0 !important;
    flex: 0 0 auto;
  }
}
/* Force header action buttons to the left side */
@media (min-width: 992px) {
  html[dir="rtl"] header .main-menu,
  html[dir="rtl"] header .header-section,
  html[dir="rtl"] header .mod-menu,
  html[dir="rtl"] header .mod-menu > .row {
    position: relative !important;
  }

  html[dir="rtl"] header .mod-menu > .row > .col-3 {
    position: absolute !important;
    left: 0 !important;
    right: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    z-index: 20 !important;
    padding: 0 !important;
    text-align: left !important;
  }

  html[dir="rtl"] header .right-sub-item-area {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    width: auto !important;
    min-width: max-content !important;
    white-space: nowrap !important;
    direction: rtl !important;
  }

  html[dir="rtl"] header .search-item-block,
  html[dir="rtl"] header .subscribe-btn-item,
  html[dir="rtl"] header .signup-btn-item,
  html[dir="rtl"] header .user-menu {
    float: none !important;
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
  }

  html[dir="rtl"] header .mod-menu > .row > .col-7 {
    padding-left: 285px !important;
    padding-right: 230px !important;
  }
}
/* Mobile RTL header: prevent menu/action overlap */
@media (max-width: 991px) {
  html[dir="rtl"] header .header-section .mod-menu > .row {
    display: flex !important;
    flex-direction: row-reverse !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    direction: ltr !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  html[dir="rtl"] header .header-section .mod-menu > .row > .col-2,
  html[dir="rtl"] header .header-section .mod-menu > .row > .col-7,
  html[dir="rtl"] header .header-section .mod-menu > .row > .col-3 {
    position: static !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    max-width: none !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  html[dir="rtl"] header .header-section .mod-menu > .row > .col-2 {
    flex: 0 0 auto !important;
    width: auto !important;
    order: 1 !important;
    text-align: right !important;
  }

  html[dir="rtl"] header .header-section .mod-menu > .row > .col-7 {
    flex: 0 0 auto !important;
    width: auto !important;
    order: 2 !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  html[dir="rtl"] header .header-section .mod-menu > .row > .col-3 {
    flex: 0 0 auto !important;
    width: auto !important;
    order: 3 !important;
    text-align: left !important;
  }

  html[dir="rtl"] header .header-section .logo {
    float: none !important;
    display: inline-flex !important;
    max-width: 115px !important;
  }

  html[dir="rtl"] header .header-section .logo img {
    max-width: 115px !important;
    height: auto !important;
  }

  html[dir="rtl"] header .main-nav {
    float: none !important;
    width: auto !important;
  }

  html[dir="rtl"] header .main-nav .top-nav,
  html[dir="rtl"] header .main-nav .top-nav li,
  html[dir="rtl"] header .main-nav .menu-icon {
    float: none !important;
    display: inline-flex !important;
    margin: 0 !important;
  }

  html[dir="rtl"] header .navbar-toggle {
    float: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  html[dir="rtl"] header .right-sub-item-area {
    position: static !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    width: auto !important;
    min-width: 0 !important;
    white-space: nowrap !important;
  }

  html[dir="rtl"] header .search-item-block,
  html[dir="rtl"] header .subscribe-btn-item,
  html[dir="rtl"] header .signup-btn-item,
  html[dir="rtl"] header .user-menu {
    float: none !important;
    display: inline-flex !important;
    margin: 0 !important;
  }

  html[dir="rtl"] header .signup-btn-item a span {
    display: none !important;
  }

  html[dir="rtl"] header .subscribe-btn-item a,
  html[dir="rtl"] header .signup-btn-item a,
  html[dir="rtl"] header .search-item-block .navbar-form [type="submit"] {
    min-width: 36px !important;
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
  }

  html[dir="rtl"] header #menu.collapse,
  html[dir="rtl"] header #menu.collapsing,
  html[dir="rtl"] header #menu.show {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 999 !important;
    direction: rtl !important;
    text-align: right !important;
  }

  html[dir="rtl"] header #menu.show ul.nav,
  html[dir="rtl"] header #menu.collapsing ul.nav {
    display: block !important;
    width: 100% !important;
  }
}
/* Compact mobile header layout */
@media (max-width: 991px) {
  html[dir="rtl"] header .main-menu,
  html[dir="rtl"] header .header-section,
  html[dir="rtl"] header .mod-menu {
    min-height: 64px !important;
  }

  html[dir="rtl"] header .header-section .mod-menu > .row {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 64px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 58px 0 86px !important;
  }

  html[dir="rtl"] header .header-section .mod-menu > .row > .col-2 {
    position: static !important;
    order: 2 !important;
    width: auto !important;
    flex: 0 1 auto !important;
    padding: 0 !important;
    text-align: center !important;
    z-index: 2 !important;
  }

  html[dir="rtl"] header .header-section .logo,
  html[dir="rtl"] header .header-section .logo img {
    max-width: 132px !important;
  }

  html[dir="rtl"] header .header-section .mod-menu > .row > .col-7 {
    position: static !important;
    order: 1 !important;
    width: 0 !important;
    flex: 0 0 0 !important;
    padding: 0 !important;
  }

  html[dir="rtl"] header .main-nav .top-nav {
    position: absolute !important;
    right: 10px !important;
    left: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 5 !important;
  }

  html[dir="rtl"] header .main-nav .top-nav li.menu-icon,
  html[dir="rtl"] header .navbar-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html[dir="rtl"] header .header-section .mod-menu > .row > .col-3 {
    position: absolute !important;
    left: 8px !important;
    right: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    order: 3 !important;
    width: auto !important;
    flex: none !important;
    padding: 0 !important;
    z-index: 5 !important;
  }

  html[dir="rtl"] header .right-sub-item-area {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    width: auto !important;
    min-width: 0 !important;
  }

  html[dir="rtl"] header .subscribe-btn-item {
    display: none !important;
  }

  html[dir="rtl"] header .signup-btn-item a,
  html[dir="rtl"] header .search-item-block .navbar-form [type="submit"] {
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
  }

  html[dir="rtl"] header .signup-btn-item a span {
    display: none !important;
  }

  html[dir="rtl"] header #menu.collapse:not(.show) {
    display: none !important;
  }

  html[dir="rtl"] header #menu.show,
  html[dir="rtl"] header #menu.collapsing {
    position: absolute !important;
    top: 64px !important;
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: #000 !important;
    z-index: 9999 !important;
    padding: 10px 16px !important;
    box-shadow: 0 12px 24px rgba(0,0,0,.45) !important;
  }

  html[dir="rtl"] header #menu.show ul.nav,
  html[dir="rtl"] header #menu.collapsing ul.nav {
    display: block !important;
    width: 100% !important;
    direction: rtl !important;
    text-align: right !important;
  }

  html[dir="rtl"] header #menu.show ul.nav > li,
  html[dir="rtl"] header #menu.collapsing ul.nav > li {
    display: block !important;
    width: 100% !important;
    float: none !important;
  }
}
/* Make mobile login button circular like the search button */
@media (max-width: 991px) {
  html[dir="rtl"] header .signup-btn-item a {
    border-radius: 50% !important;
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
  }

  html[dir="rtl"] header .signup-btn-item a img {
    margin: 0 !important;
    max-width: 18px !important;
    max-height: 18px !important;
  }
}
/* Clean mobile dropdown menu in RTL */
@media (max-width: 991px) {
  html[dir="rtl"] header #menu.show,
  html[dir="rtl"] header #menu.collapsing {
    background: #ffffff !important;
    padding: 0 !important;
    border-top: 1px solid #e6e6e6 !important;
    box-shadow: 0 10px 22px rgba(0,0,0,.35) !important;
    overflow: visible !important;
  }

  html[dir="rtl"] header #menu.show ul.nav,
  html[dir="rtl"] header #menu.collapsing ul.nav,
  html[dir="rtl"] header #menu.show ul.vfx-item-nav,
  html[dir="rtl"] header #menu.collapsing ul.vfx-item-nav {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
  }

  html[dir="rtl"] header #menu.show ul.nav > li,
  html[dir="rtl"] header #menu.collapsing ul.nav > li,
  html[dir="rtl"] header #menu.show ul.vfx-item-nav > li,
  html[dir="rtl"] header #menu.collapsing ul.vfx-item-nav > li {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 40px !important;
    border-bottom: 1px solid #e9e9e9 !important;
    background: #ffffff !important;
    clear: both !important;
  }

  html[dir="rtl"] header #menu.show ul.nav > li > a,
  html[dir="rtl"] header #menu.collapsing ul.nav > li > a,
  html[dir="rtl"] header #menu.show ul.vfx-item-nav > li > a,
  html[dir="rtl"] header #menu.collapsing ul.vfx-item-nav > li > a {
    display: block !important;
    width: 100% !important;
    min-height: 40px !important;
    line-height: 40px !important;
    padding: 0 16px 0 52px !important;
    color: #111111 !important;
    background: transparent !important;
    text-align: right !important;
    direction: rtl !important;
    float: none !important;
    white-space: nowrap !important;
  }

  html[dir="rtl"] header #menu.show ul.nav > li > a.active,
  html[dir="rtl"] header #menu.show ul.nav > li > a:hover,
  html[dir="rtl"] header #menu.show ul.vfx-item-nav > li > a.active,
  html[dir="rtl"] header #menu.show ul.vfx-item-nav > li > a:hover {
    color: #ff0015 !important;
    background: #f7f7f7 !important;
  }

  html[dir="rtl"] header #menu.show ul.nav > li > .arrow,
  html[dir="rtl"] header #menu.collapsing ul.nav > li > .arrow,
  html[dir="rtl"] header #menu.show ul.vfx-item-nav > li > .arrow,
  html[dir="rtl"] header #menu.collapsing ul.vfx-item-nav > li > .arrow {
    position: absolute !important;
    left: 16px !important;
    right: auto !important;
    top: 5px !important;
    width: 30px !important;
    height: 30px !important;
    line-height: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #dddddd !important;
    border-radius: 3px !important;
    background: #f5f5f5 !important;
    color: #111111 !important;
    font-size: 0 !important;
    z-index: 2 !important;
  }

  html[dir="rtl"] header #menu.show ul.nav > li > .arrow::before,
  html[dir="rtl"] header #menu.collapsing ul.nav > li > .arrow::before,
  html[dir="rtl"] header #menu.show ul.vfx-item-nav > li > .arrow::before,
  html[dir="rtl"] header #menu.collapsing ul.vfx-item-nav > li > .arrow::before {
    content: "+" !important;
    font-size: 20px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
  }

  html[dir="rtl"] header #menu.show ul.nav ul,
  html[dir="rtl"] header #menu.collapsing ul.nav ul,
  html[dir="rtl"] header #menu.show ul.vfx-item-nav ul,
  html[dir="rtl"] header #menu.collapsing ul.vfx-item-nav ul {
    position: static !important;
    display: none;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #f8f8f8 !important;
    box-shadow: none !important;
  }

  html[dir="rtl"] header #menu.show ul.nav li.hover > ul,
  html[dir="rtl"] header #menu.show ul.nav li:hover > ul,
  html[dir="rtl"] header #menu.show ul.vfx-item-nav li.hover > ul,
  html[dir="rtl"] header #menu.show ul.vfx-item-nav li:hover > ul {
    display: block !important;
  }

  html[dir="rtl"] header #menu.show ul.nav ul li a,
  html[dir="rtl"] header #menu.collapsing ul.nav ul li a,
  html[dir="rtl"] header #menu.show ul.vfx-item-nav ul li a,
  html[dir="rtl"] header #menu.collapsing ul.vfx-item-nav ul li a {
    padding: 0 28px 0 16px !important;
    color: #111111 !important;
    text-align: right !important;
    line-height: 38px !important;
  }
}
/* Remove duplicated plus signs in mobile submenu toggles */
@media (max-width: 991px) {
  html[dir="rtl"] header #menu.show ul.nav > li > .arrow,
  html[dir="rtl"] header #menu.collapsing ul.nav > li > .arrow,
  html[dir="rtl"] header #menu.show ul.vfx-item-nav > li > .arrow,
  html[dir="rtl"] header #menu.collapsing ul.vfx-item-nav > li > .arrow {
    color: transparent !important;
    text-indent: 0 !important;
  }

  html[dir="rtl"] header #menu.show ul.nav > li > .arrow::before,
  html[dir="rtl"] header #menu.collapsing ul.nav > li > .arrow::before,
  html[dir="rtl"] header #menu.show ul.vfx-item-nav > li > .arrow::before,
  html[dir="rtl"] header #menu.collapsing ul.vfx-item-nav > li > .arrow::before {
    color: #111111 !important;
  }
}
/* Draw only one plus icon for mobile submenu toggles */
@media (max-width: 991px) {
  html[dir="rtl"] header #menu.show ul.nav > li > .arrow,
  html[dir="rtl"] header #menu.collapsing ul.nav > li > .arrow,
  html[dir="rtl"] header #menu.show ul.vfx-item-nav > li > .arrow,
  html[dir="rtl"] header #menu.collapsing ul.vfx-item-nav > li > .arrow {
    font-size: 0 !important;
    color: transparent !important;
  }

  html[dir="rtl"] header #menu.show ul.nav > li > .arrow::before,
  html[dir="rtl"] header #menu.collapsing ul.nav > li > .arrow::before,
  html[dir="rtl"] header #menu.show ul.vfx-item-nav > li > .arrow::before,
  html[dir="rtl"] header #menu.collapsing ul.vfx-item-nav > li > .arrow::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    width: 12px !important;
    height: 2px !important;
    left: 50% !important;
    top: 50% !important;
    margin-left: -6px !important;
    margin-top: -1px !important;
    background: #111111 !important;
    transform: none !important;
  }

  html[dir="rtl"] header #menu.show ul.nav > li > .arrow::after,
  html[dir="rtl"] header #menu.collapsing ul.nav > li > .arrow::after,
  html[dir="rtl"] header #menu.show ul.vfx-item-nav > li > .arrow::after,
  html[dir="rtl"] header #menu.collapsing ul.vfx-item-nav > li > .arrow::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    width: 2px !important;
    height: 12px !important;
    left: 50% !important;
    top: 50% !important;
    margin-left: -1px !important;
    margin-top: -6px !important;
    background: #111111 !important;
    transform: none !important;
  }

  html[dir="rtl"] header #menu.show ul.nav > li.hover > .arrow::after,
  html[dir="rtl"] header #menu.show ul.vfx-item-nav > li.hover > .arrow::after {
    display: none !important;
  }
}
/* Center mobile login icon inside its circle */
@media (max-width: 991px) {
  html[dir="rtl"] header .signup-btn-item a {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    border-radius: 50% !important;
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    line-height: 36px !important;
    padding: 0 !important;
  }

  html[dir="rtl"] header .signup-btn-item a img {
    position: static !important;
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    object-fit: contain !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
  }
}