body.rtl {
  direction: rtl;
  unicode-bidi: embed;
  text-align: right;
  .text-left, .align-left {
    text-align: right;
  }
  .slick-slide {
    float: right;
  }
  .ct-demo-bar {
    left: 0;
    right: auto;
    @include transform(translate(-301px, 0px));
    &.active {
      @include transform(translate(0px, 0px));
    }
    .ct-demo-option {
      left: auto;
      right: -40px;
      @include border-radius(0 5px 5px 0);
      span {
        right: auto;
        left: 100%;
        margin-right: 0;
        margin-left: 12px;
        &:before {
          right: auto;
          left: -12px;
          border-color: transparent #222 transparent transparent;
        }
      }
    }
  }
  .btn .ct-align-icon-left i {
    margin-right: 0;
    margin-left: 8px;
  }
  .ct-grid .ct-load-more i {
    margin-right: 0;
    margin-left: 8px;
  }
  input[type="text"],
  input[type="email"],
  input[type="url"],
  input[type="password"],
  input[type="search"],
  input[type="tel"],
  input[type="number"],
  input[type="range"],
  input[type="date"],
  input[type="month"],
  input[type="week"],
  input[type="time"],
  input[type="datetime"],
  input[type="datetime-local"],
  input[type="color"],
  textarea, select, .nice-select {
    text-align: right;
  }
  .nice-select {
    padding-left: 40px;
    padding-right: 22px;
    &:after {
      left: 18px;
      right: auto;
    }
  }
  .ct-nav-carousel {
    .nav-prev {
      .fac-angle-left::before {
        content: "\f105";
      }
    }
    .nav-next {
      margin-left: 0;
      margin-right: 10px;
      .fac-angle-right::before {
        content: "\f104";
      }
    }
  }

  /* Header */
  #ct-header-wrap .ct-header-branding .logo-light, #ct-header-wrap .ct-header-branding .logo-mobile {
    left: auto;
    right: 0%;
  }
  .header-mobile-search .search-submit {
    right: auto;
    left: 0;
  }
  .ct-menu-toggle {
    right: auto;
    left: 0;
  }
  .ct-header-arrow {
    &:before {
      left: auto;
      right: 0;
      @include transform(skew(30deg));
    }
  }
  #ct-header-wrap {
    .ct-header-meta .header-right-item.h-btn-cart .widget_cart_counter_header {
      right: auto;
      left: -11px;
    }
    #ct-header-top .ct-header-social a + a {
      margin-left: 0;
      margin-right: 10px;
    }
    .ct-header-holder .ct-header-address {
      margin-left: 0px;
      padding-left: 0px;
      margin-right: 35px;
      padding-right: 35px;
      &:before {
        left: auto;
        right: 0;
      }
    }
    .ct-header-holder .ct-header-call i, .ct-header-holder .ct-header-address i {
      margin-right: 0;
      margin-left: 12px;
    }
    .ct-header-button {
      margin-right: 0;
      margin-left: 15px;
    }
    .ct-header-meta {
      margin-left: 0;
      margin-right: 18px;
    }
    .ct-header-meta .header-right-item + .header-right-item {
      margin-left: 0;
      margin-right: 36px;
    }
    &.ct-header-layout1 {
      .ct-header-main:not(.h-fixed) .ct-header-navigation-bg {
        padding: 0 80px 0 30px;
      }
      .ct-header-main:not(.h-fixed) .ct-header-navigation {
        margin-right: 15px;
        margin-left: 10px;
      }
      .ct-header-button .btn i {
        margin-left: 0;
        margin-right: 14px;
      }
      .ct-arrow-right::before {
        right: auto;
        left: 0;
        @include transform(scaleX(-1) translate(0, -50%));
      }
    }
  }

  @media #{$min-xl} {
    .ct-main-menu > li {
      float: right;
    }
    .ct-main-menu > li.menu-item-has-children > a::after {
      margin-left: 0;
      margin-right: 4px;
    }
    .ct-main-menu .sub-menu {
      left: auto;
      right: 0;
      a {
        padding-left: 10px;
        padding-right: 0;
      }
      li {
        &.menu-item-has-children > a::after {
          right: auto;
          left: 0;
          content: "\f104";
        }
        > a:hover,
        &.current_page_item > a,
        &.current-menu-item > a,
        &.current_page_ancestor > a,
        &.current-menu-ancestor > a {
            &:before {
              left: auto;
              right: -23px;
            }
        }
      }
      .sub-menu {
        right: 100%;
        @include border-radius(7px 0 7px 7px);
      }
    }
    #ct-header-wrap {
      &.ct-header-layout1 {
        .ct-main-menu > li:first-child {
          margin-left: 18px;
          margin-right: 0;
        }
      }
      &.ct-header-layout2 #ct-header:not(.h-fixed) .ct-header-branding {
        padding-right: 0;
        padding-left: 20px;
        &:before {
          left: -26px;
          right: auto;
          @include transform(skew(26deg));
        }
      }
    }
  }

  @media #{$max-lg} {
    .ct-main-menu .sub-menu li a {
      padding-left: 0;
      padding-right: 15px;
    }
    #ct-menu-mobile .btn-nav-cart {
      margin-right: 0;
      margin-left: 6px;
    }
    #ct-header-wrap #ct-menu-mobile {
      right: auto;
      left: 15px;
    }
    .ct-header-navigation {
      .ct-main-navigation {
        @include transform(translateX(100%));
      }
      &.navigation-open .ct-main-navigation {
        @include transform(translateX(0%));
      }
    }
  }
  .ct-modal-search {
    .search-field {
      margin-right: 0;
      margin-left: 60px;
    }
    .search-submit {
      left: 0;
      right: auto;
      text-align: left;
    }
  }
  /* End Header */

  /* Blog */
  .entry-meta li, .item--meta-default li {
    margin-right: 0;
    margin-left: 20px;
    i {
      margin-right: 0;
      margin-left: 4px;
    }
  }
  .entry-readmore .fac-angle-right:before {
    content: "\f104";
  }
  .posts-pagination {
    .fac-angle-right:before {
      content: "\f104";
    }
    .fac-angle-left:before {
      content: "\f105";
    }
  }
  /* End Blog */

  /* Widget */
  #content .widget_product_categories ul li a::before, #content .widget_categories ul li a::before, #content .widget_nav_menu ul li a::before, #content .widget_pages ul li a::before, #content .widget_archive ul li a::before, #content .widget_meta ul li a::before, #content .widget_recent_entries ul li a::before {
    content: "\f104";
    margin-left: 8px;
    margin-right: 0;
    float: right;
  }
  span.count.left {
    float: left;
  }
  .widget-title::before, .comments-title::before, .comment-reply-title::before {
    left: auto;
    right: 0;
  }
  .widget_search .search-form .search-submit {
    right: auto;
    left: 0;
  }
  .widget_ct_recent_posts .entry-media {
    margin-right: 0;
    margin-left: 25px;
  }
  .ct-getintouch .ct-getintouch-item i {
    margin-right: 0;
    margin-left: 12px;
  }
  .ct-getintouch .ct-getintouch-item a.btn i {
    margin-left: 12px;
    margin-right: 0;
  }
  /* End Widget */
  
  /* Shortcode */
  .ct-feature-layout1 .item--title i {
    margin-right: 0;
    margin-left: 6px;
    &:before {
      content: "\f100";
    }
  }
  .ct-heading .item--title.st-line-left1 {
    padding-left: 0px;
    padding-right: 82px;
    &:before {
      left: auto;
      right: 0;
    }
    @media #{$max-md2} {
      padding-left: 0px;
      padding-right: 68px;
    }
    @media #{$max-xs} {
      padding-left: 0;
      padding-right: 0;
    }
  }
  .ct-service-carousel2 .grid-item-inner .grid-item-holder .item--overlay::before, .ct-service-grid3 .grid-item-inner .grid-item-holder .item--overlay::before {
    right: auto;
    left: -11px;
  }
  .ct-service-carousel2 .item--icon-abs, .ct-service-grid3 .item--icon-abs {
    right: auto;
    left: 0;
  }
  .ct-portfolio-grid1 .item--holder .item--meta, .ct-portfolio-carousel1 .item--holder .item--meta {
    margin-right: 0;
    margin-left: 20px;
  }
  .ct-fancy-box-layout3 .item--icon {
    margin-right: 0;
    margin-left: 38px;
  }
  .ct-contact-info1 .ct-contact-icon {
    margin-right: 0;
    margin-left: 10px;
  }
  .ct-title1.style1 h3 span {
    margin-right: 0;
    margin-left: 20px;
  }
  .ct-newsletter1 .tnp-field-button, .ct-newsletter1 .tnp-field-button .tnp-button {
    right: auto;
    left: 0;
  }
  .ct-navigation-menu1.tow-col-light ul.menu li a {
    padding-left: 0;
    padding-right: 16px;
    &:before {
      content: "\f104";
      left: auto;
      right: 0;
      margin-left: 8px;
      margin-right: 0;
    }
    &:after {
      display: none;
    }
  }
  .ct-signature1 .signature-image {
    margin-right: 0;
    margin-left: 48px;
    @media #{$max-sm} {
        margin-right: 0px;
        margin-left: 20px;
    }
  }
  .ct-heading .item--sub-title.style1 {
    padding-left: 0;
    padding-right: 75px;
    &:before {
      left: auto;
      right: 0;
    }
  }
  .ct-progressbar1 .ct-progress-meta {
    margin-right: 0;
    margin-left: 15px;
  }
  .ct-progressbar1 .ct-progress-percentage {
    text-align: left;
  }
  .ct-counter-layout2 .ct-counter-icon {
    margin-right: 0;
    margin-left: 25px;
  }
  .ct-fancy-box-layout1.style1 .item--icon {
    margin-right: 0;
    margin-left: 30px;
  }
  .ct-pricing-layout1 .pricing-meta .pricing-description {
    padding-right: 0;
    padding-left: 16%;
    @media #{$max-lg} {
      padding-left: 0;
    }
  }
  .ct-pricing-layout1 .pricing-feature li i {
    margin-right: 0;
    margin-left: 8px;
  }
  .ct-pricing-layout1 .pricing-price span {
    margin-left: 0;
    margin-right: 4px;
  }
  .ct-team-grid1 .item--image .item--social {
    right: auto;
    left: -18px;
  }
  .about-call2 i {
    margin-right: 0;
    margin-left: 10px;
  }
  .ct-case-study-grid1 .item--readmore a {
    right: auto;
    left: 0;
    &:before {
      @include border-radius(5px 0 5px 0px);
    }
  }
  .ct-blog-grid-layout2 .entry-meta li {
    margin-right: 0;
    margin-left: 8px;
    padding-right: 0;
    padding-left: 8px;
    &:before {
      right: auto;
      left: 0;
    }
  }
  .cta-custom-bg > .elementor-column-wrap::before {
    left: auto;
    right: 0;
    @include border-radius(0 5px 5px 0px);
  }
  .ct-fancy-box-layout1.style2 .item--icon {
    margin-right: 0;
    margin-left: 20px;
  }
  .ct-fancy-box-layout1.style3 .item--icon {
    margin-right: 0;
    margin-left: 35px;
  }
  .ct-fancy-box-layout1.style4 .item--icon {
    margin-right: 0;
    margin-left: 17px;
  }
  .ct-fancy-box-layout1.style4::after {
    right: auto;
    left: 0;
  }
  .ct-testimonial-carousel3 .item--description::before {
    left: auto;
    right: 0;
  }
  .ct-testimonial-carousel3 .item--inner:hover .item--description {
    @include border-radius(9px 9px 0px 9px);
  }
  .ct-testimonial-carousel3 .item--holder {
    padding-left: 0;
    padding-right: 17px;
  }
  .ct-testimonial-carousel3 .item--image {
    margin-right: 0;
    margin-left: 21px;
  }
  .ct-testimonial-carousel3 .item--inner:hover .item--image {
    margin-right: 0;
    margin-left: 41px;
  }
  &.site-h4:not(.elementor-editor-active) .elementor-section-wrap > .elementor-element {
    right: 0 !important;
    left: auto !important;
  }
  &.site-h4:not(.elementor-editor-active) .site-content .elementor-section.elementor-section-boxed:not(.elementor-section-stretched) > .elementor-container {
    left: auto;
    right: 50%;
    @include transform(translate(50%, 0));
  }
  /* End Shortcode */

  /* Single Post & Comment & Form */
  blockquote {
    &:before {
      left: auto;
      right: 0;
    }
  }
  &.single-post {
    .entry-category {
      right: auto;
      left: 35px;
    }
    .entry-meta::before { 
      left: auto;
      right: 0;
    }
    .entry-footer label {
      margin-right: 0;
      margin-left: 17px;
    }
    .post-previous-next {
      .fac-angle-double-left::before {
          content: "\f101";
      }
      .fac-angle-double-right::before {
          content: "\f100";
      }
      .post-previous {
        margin-right: 0;
        margin-left: 30px;
      }
    }
  }
  .comment-inner img.avatar {
    margin-right: 0;
    margin-left: 30px;
    @media #{$max-sm} {
      margin-left: 18px;
      margin-right: 0px;
    }
    @media #{$max-xs} {
      margin: 0 auto 22px auto;
    }
  }
  .comment-reply {
    right: auto;
    left: 22px;
    a {
      i {
        margin-left: 0;
        margin-right: 4px;
        &:before {
          content: "\f104";
        }
      }
    }
  }
  .comment-form-cookies-consent {
    padding-left: 0;
    padding-right: 20px;
    input {
      left: auto;
      right: 0;
    }
    label {
      &:before, &:after {
        left: auto;
        right: 0;
      }
    }
  }

  .ct-portfolio-detail li i {
    margin-right: 0;
    margin-left: 4px;
  }

  /* End Single Post */
  
  /* Woocommerce */
  .ct-widget-cart-sidebar .widget_shopping_cart {
    width: auto;
    .widget_shopping_cart_content {
      ul.cart_list li {
        padding-right: 0;
        padding-left: 15px;
      }
      .cart-product-image {
        margin-right: 0;
        margin-left: 15px;
      }
      a.remove_from_cart_button {
        right: auto;
        left: 0;
      }
    }
    .widget_shopping_cart_footer {
      p.buttons .btn:not(.checkout) {
        margin-right: 0;
        margin-left: 20px;
      }
    }
  } 
  &.woocommerce #secondary .widget_product_search button {
    right: auto;
    left: 0;
    border-left: none;
    border-right: 1px solid #ececf0;
  }
  &.woocommerce #secondary .widget_product_search .woocommerce-product-search::before {
    display: none;
  }
  &.woocommerce #secondary .widget_price_filter .price_slider_amount .button {
    margin-left: 20px;
    margin-right: 0;
  }
  &.woocommerce #secondary .widget_products ul li {
    padding-left: 0;
    padding-right: 95px;
  }
  &.woocommerce #secondary .widget_products ul li img {
    left: auto;
    right: 0;
  }
  &.single-product #primary div.product .woocommerce-sg-product-feature li i {
    margin-right: 0;
    margin-left: 8px;
  }
  &.single-product #primary div.product .quantity {
    margin-right: 0;
    margin-left: 30px;
  }
  #yith-wcwl-form .product-add-to-cart {
    text-align: left !important;
  }
  /* End Woocommerce */

  /* Footer */
  .scroll-top {
    right: auto;
    left: 30px;
  }
  @media #{$max-sm} {
    .scroll-top {
      @include border-radius(0 2px 0 0);
      left: 0;
    }
  }
  /* End Footer */
}