.rtl {
    text-align: right;
    direction: rtl;
    .swiper {
        direction: ltr;
    }
    .swiper-slide {
        direction: rtl;
    }
    .text-end {
        text-align: left !important;
    }
    .offset-xl-1,
    .offset-lg-1 {
        margin-left: 0;
        margin-right: 8.33333333%;
    }
    .offset-xl-2,
    .offset-lg-2 {
        margin-left: 0;
        margin-right: 16.66666667%;
    }
    .offset-xl-3,
    .offset-lg-3 {
        margin-left: 0;
        margin-right: 25%;
    }
    .offset-xl-4,
    .offset-lg-4 {
        margin-left: 0;
        margin-right: 33.33333333%;
    }
    .offset-xl-5,
    .offset-lg-5 {
        margin-left: 0;
        margin-right: 41.66666667%;
    }
    .offset-xl-6,
    .offset-lg-6 {
        margin-left: 0;
        margin-right: 58.33333333%;
    }
    .offset-xl-7,
    .offset-lg-7 {
        margin-left: 0;
        margin-right: 58.33333333%;
    }
    .offset-xl-8,
    .offset-lg-8 {
        margin-left: 0;
        margin-right: 66.66666667%;
    }
    .offset-xl-9,
    .offset-lg-9 {
        margin-left: 0;
        margin-right: 75%;
    }
    .offset-xl-10,
    .offset-lg-10 {
        margin-left: 0;
        margin-right: 83.33333333%;
    }
    .offset-xl-11,
    .offset-lg-11 {
        margin-left: 0;
        margin-right: 91.66666667%;
    }
    @media (max-width: 1199px) {
        .offset-xl-1,
        .offset-xl-2,
        .offset-xl-3,
        .offset-xl-4,
        .offset-xl-5,
        .offset-xl-6,
        .offset-xl-7,
        .offset-xl-8,
        .offset-xl-9,
        .offset-xl-10,
        .offset-xl-11 {
            margin-right: 0;
        }
    }
    @media (max-width: 991px) {
        .offset-lg-1,
        .offset-lg-2,
        .offset-lg-3,
        .offset-lg-4,
        .offset-lg-5,
        .offset-lg-6,
        .offset-lg-7,
        .offset-lg-8,
        .offset-lg-9,
        .offset-lg-10,
        .offset-lg-11 {
            margin-right: 0;
        }
    }

    @media screen and (min-width: 1200px) {
        .cs_nav .cs_nav_list > li.menu-item-has-children > a::after {
            margin-left: initial;
            margin-right: 6px;
        }
    }
    @media screen and (min-width: 1200px) {
        .cs_nav .cs_nav_list > li {
            margin-right: 0;
            margin-left: 40px;
            &:last-child {
                margin-left: 0;
            }
        }
    }
    .cs_site_branding + .cs_nav {
        margin-left: 0px;
        margin-right: 60px;
    }
    @media (max-width: 1540px) {
        .cs_site_branding + .cs_nav {
            margin-right: 30px;
        }
    }
    @media (max-width: 1199px) {
        .cs_site_header.cs_style_1 .cs_main_header_right,
        .cs_site_header.cs_style_2 .cs_main_header_right {
            padding-right: 0;
            padding-left: 45px;
        }
    }
    .cs_header_search_form {
        padding-right: 0px;
        padding-left: 5px;
    }
    .cs_header_search_form::after {
        right: initial;
        left: 0;
    }
    .cs_header_search_form .cs_header_search_field {
        padding: 0 28px 0 0;
        @media (max-width: 450px) {
            padding: 0 40px 0 0;
        }
    }
    .cs_header_submit_btn {
        left: initial;
        right: 0;
    }
    @media screen and (max-width: 1199px) {
        .cs_site_header.cs_style_1 .cs_menu_toggle {
            right: inherit;
            left: 0px;
        }
    }
    .cs_hero.cs_style_1 .cs_hero_thumb {
        right: initial;
        left: 0;
    }
    .cs_hero.cs_style_1 .cs_hero_title_box.cs_title_cloned {
        right: initial;
        left: 0;
    }
    @media (max-width: 991px) {
        .cs_hero.cs_style_1 .cs_hero_subtitle {
            text-align: right;
        }
    }
    @media (max-width: 450px) {
        .cs_header_search_form .cs_header_submit_btn {
            left: inherit;
            right: 12px;
        }
    }
    .cs_btn.cs_style_1 span {
        transform: rotateY(180deg);
        width: 13px;
        justify-content: flex-end;
    }
    .cs_slider_arrows.cs_style1 .cs_left_arrow,
    .cs_slider_arrows.cs_style1 .cs_right_arrow {
        transform: rotateY(180deg);
    }
    .cs_card.cs_style_2 .cs_card_in::before {
        left: initial;
        right: 0;
    }
    .cs_section_heading.cs_style_2 {
        @media (min-width: 992px) {
            .cs_section_heading_left {
                padding-left: 40px;
            }
            .cs_section_heading_right {
                padding: 8px 40px 8px 0;
            }
        }
        @media (min-width: 1200px) {
            .cs_section_heading_left {
                padding-left: 65px;
                padding-right: 0;
            }
            .cs_section_heading_right {
                padding: 8px 65px 8px 0px;
            }
        }
    }
    @media (min-width: 992px) {
        .cs_section_heading.cs_style_2 .cs_section_heading_right {
            border-left: 0;
            border-right: 1px solid var(--ternary);
        }
    }

    .cs_section_heading.cs_style_1 .cs_section_subtitle,
    .cs_section_heading.cs_style_2 .cs_section_subtitle,
    .cs_section_heading.cs_style_3 .cs_section_subtitle {
        padding-left: 0px;
        padding-right: 17px;
    }
    .cs_section_heading.cs_style_1 .cs_section_subtitle::before,
    .cs_section_heading.cs_style_2 .cs_section_subtitle::before,
    .cs_section_heading.cs_style_3 .cs_section_subtitle::before {
        left: initial;
        right: 0;
    }
    .cs_image_box.cs_style_1 .cs_image_box_info {
        padding-right: 0;
        padding-left: 188px;
        @media (max-width: 575px) {
            padding-left: 0;
        }
    }
    .cs_image_box.cs_style_1 .cs_image_box_btn {
        right: initial;
        left: 0;
        transform: rotateY(180deg) translateY(-50%);
        @media (max-width: 575px) {
            transform: rotateY(180deg) translateY(0%);
            margin-top: 20px;
            margin-left: 0;
        }
    }
    .cs_iconbox.cs_style_1::before {
        left: initial;
        right: 0;
    }
    .cs_newsletter.cs_style_1 .cs_newsletter_input {
        padding: 10px 20px 10px 215px;
    }
    @media (min-width: 576px) {
        .cs_newsletter.cs_style_1 .cs_btn.cs_style_1 {
            right: initial;
            left: 12px;
        }
    }
    .cs_header_user_dropdown,
    .cs_dropdown_list {
        right: initial;
        left: 0;
    }
    .cs_close {
        right: initial;
        left: 30px;
    }
    .cs_side_header .cs_side_header_in {
        right: initial;
        left: -500px;
        margin-left: initial;
        margin-right: auto;
    }
    .cs_side_header.active .cs_side_header_in {
        left: 0;
    }
    .cs_side_header .cs_side_header_contact_info li {
        padding-left: 0;
        padding-right: 32px;
    }
    .cs_side_header .cs_side_header_contact_info i {
        left: initial;
        right: 0;
    }
    .cs_post.cs_style_1 .cs_post_info {
        padding-left: 0;
        padding-right: 44px;
    }
    .cs_post.cs_style_1 .cs_post_info::before {
        left: initial;
        right: 0;
    }
    .cs_post.cs_style_1 .cs_post_meta > span:not(:last-child)::before {
        right: initial;
        left: -20px;
    }
    .cs_why_choose_us_1 .cs_why_choose_us_thumb {
        margin-left: 0;
        margin-right: calc(-50vw + 100%);
        padding-left: 55px;
        padding-right: 0;
    }
    @media (max-width: 991px) {
        .cs_why_choose_us_1 .cs_why_choose_us_thumb {
            padding-right: 0;
            margin-right: 0;
            padding-left: 0;
            width: 100%;
        }
    }
    .cs_hero_social_wrap {
        left: initial;
        right: 0;
        border-left: 0;
        border-right: 1px solid rgba(255, 255, 255, 0.3);
    }
    .cs_swiper_number_pagination_wtap .swiper-horizontal > .swiper-pagination-bullets {
        left: 0;
        right: 91.6%;
    }
    .cs_swiper_number_pagination_wtap .swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet::after {
        right: initial;
        left: 100%;
    }
    @media (max-width: 991px) {
        .cs_swiper_number_pagination_wtap .swiper-horizontal > .swiper-pagination-bullets {
            left: 30px;
        }
        .cs_swiper_number_pagination_wtap .swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet::after {
            left: 0;
        }
    }
    .cs_list.cs_style_1 li {
        padding-left: 0;
        padding-right: 38px;
    }
    .cs_list.cs_style_1 li i {
        left: 0;
        right: 0;
    }
    .cs_btn.cs_style_1.cs_type_4::before,
    .cs_btn.cs_style_1.cs_type_5::before {
        left: initial;
        right: 0;
    }
    .cs_right_full_width {
        margin-left: 0px;
        margin-right: -12px;
        &.cs_space_120 {
            padding-left: 0;
            padding-right: 120px;
            @media (max-width: 1400px) {
                padding-right: 70px;
            }
            @media (max-width: 1199px) {
                padding-right: 20px;
            }
            @media (max-width: 991px) {
                padding-right: 0px;
            }
        }
        @media (max-width: 991px) {
            margin-right: 0;
        }
    }
    .cs_iconbox.cs_style_3 .cs_iconbox_icon {
        padding-right: 0px;
        padding-left: 30px;
    }
    @media (min-width: 575px) {
        .cs_counter_1_wrap .cs_counter.cs_style_1:not(:nth-child(4n + 0))::before {
            right: initial;
            left: -50px;
        }
    }
    .cs_cta.cs_style_3 {
        padding: 100px 180px 100px 0;
        @media (max-width: 1400px) {
            padding: 100px 120px 100px 0;
        }
        @media (max-width: 1199px) {
            padding: 100px 60px 100px 0;
        }
        @media (max-width: 991px) {
            padding: 80px 40px;
        }
        @media (max-width: 575px) {
            padding: 80px 25px;
        }
        .cs_cta_icon {
            right: initial;
            left: 180px;
            @media (max-width: 1400px) {
                left: 120px;
            }
            @media (max-width: 1199px) {
                left: 60px;
            }
        }
    }
    .cs_hero.cs_style_3 .cs_hero_info i {
        margin-right: 0;
        margin-left: 25px;
    }
    @media (max-width: 991px) {
        .cs_hero.cs_style_3 .cs_hero_info i {
            margin-left: 12px;
        }
    }
    .cs_hero.cs_style_3 .cs_hero_btn svg {
        transform: rotateY(180deg);
    }
    .cs_hamburger_header.cs_start_left .cs_close_hamburger {
        left: 20px;
    }
    .cs_moving_section_wrap {
        direction: ltr;
    }
    @media (min-width: 768px) {
        .cs_image_box.cs_style_1 .cs_btn.cs_style_1.cs_type_4 {
            right: initial;
            left: 0;
        }
    }
    .cs_pricing_table.cs_style_1 .cs_pricing_feature li {
        padding-left: 0;
        padding-right: 40px;
    }
    .cs_pricing_table.cs_style_1 .cs_pricing_feature i {
        left: initial;
        right: 0;
    }
    .cs_header_contact_list li {
        padding-left: 0;
        padding-right: 25px;
    }
    .cs_header_contact_list li i {
        left: inherit;
        right: 0;
    }
    .cs_header_contact_list li:not(:last-child) {
        border-left: 1px solid rgba(255, 255, 255, 0.3);
        border-right: 0;
        padding-left: 25px;
        margin-right: 0;
        margin-left: 25px;
    }
    .cs_why_choose_us_2 .cs_why_choose_us_thumb {
        padding-left: 0;
        padding-right: 55px;
        @media (max-width: 1199px) {
            padding-right: 25px;
        }
        @media (max-width: 991px) {
            padding-right: 0px;
        }
    }
    .cs_list.cs_style_2 li {
        padding-left: 0;
        padding-right: 32px;
    }
    .cs_list.cs_style_2 li::before {
        left: initial;
        right: 0px;
    }
    .cs_list.cs_style_3 li {
        padding-left: 0;
        padding-right: 87px;
    }
    .cs_list.cs_style_3::before {
        left: initial;
        right: 30px;
    }
    .cs_list.cs_style_3 li::before {
        left: initial;
        right: 0;
    }
    .cs_hero.cs_style_5 .cs_hero_img {
        border-radius: 0 250px 0 0;
        right: initial;
        left: 0;
        @media (max-width: 991px) {
            border-radius: 0;
        }
    }
    .cs_swiper_pagination_wrap_1.cs_type_1 .swiper-pagination-bullets {
        left: initial;
        right: 6.5%;
        @media (max-width: 1600px) {
            right: 25px;
        }
        @media (max-width: 1199px) {
            right: initial;
            left: 50%;
        }
    }
    .cs_image_card.cs_style_2 {
        padding-right: 0;
        padding-left: 65px;
        @media (max-width: 1199px) {
            padding-left: 0;
        }
    }
    .cs_testimonial.cs_style_2 .cs_testimonial_quote {
        right: initial;
        left: 0;
    }
    .cs_accordians.cs_style_1 .cs_accordian_head {
        padding-left: 30px;
        padding-right: 0;
    }
    .cs_accordians.cs_style_1 .cs_accordian_toggle {
        right: initial;
        left: 10px;
    }
    .cs_testimonial_1_2_quote {
        left: 15%;
        right: initial;
    }
    .cs_hero.cs_style_7 .cs_hero_info_list h3::before {
        left: initial;
        right: 0;
    }
    .container-fluid.pr-0 {
        padding-right: 75px;
        padding-left: 0;
        @media (max-width: 1199px) {
            padding-right: 30px;
            padding-left: 30px;
        }
        @media (max-width: 575px) {
            padding-right: 15px;
            padding-left: 15px;
        }
    }
    .cs_hero.cs_style_8 {
        .cs_hero_right {
            padding: 100px 112px 100px 40px;
            @media (max-width: 1600px) {
                padding: 100px 90px 100px 20px;
            }
            @media (max-width: 1400px) {
                padding: 100px 60px 100px 20px;
            }
            @media (max-width: 1199px) {
                padding: 100px 50px 100px 10px;
            }
            @media (max-width: 991px) {
                padding: 50px 50px 100px 50px;
            }
        }
    }
    .cs_planing_thumb::before {
        left: initial;
        right: 30%;
    }
    .cs_counter_1_wrap.cs_type_1 .cs_counter.cs_style_1:not(:nth-child(4n + 0))::before {
        right: initial;
        left: 0;
    }
    .cs_hamburger_header.cs_start_right .cs_close_hamburger {
        right: 420px;
    }
    .cs_case_study.cs_style_2 .cs_case_study_number {
        margin-right: 0;
        padding-right: 0;
        margin-left: 32px;
        padding-left: 26px;
    }
    .cs_case_study.cs_style_2 .cs_case_study_number::after {
        right: initial;
        left: 0;
    }
    @media screen and (min-width: 1200px) {
        .cs_nav + .cs_toolbox {
            margin-left: 0px;
            margin-right: 40px;
        }
    }
    .cs_radius_50_0_0_0 {
        border-radius: 0 50px 0 0;
    }
    .cs_section_heading.cs_style_1 .cs_shape_1 {
        right: initial;
        left: 10%;
    }
    @media (min-width: 1400px) {
        .cs_right_sidebar {
            padding-left: 0px;
            padding-right: 80px;
        }
    }
    .cs_list.cs_style_5 {
        li {
            padding-left: 0;
            padding-right: 17.5%;
            @media (max-width: 767px) {
                padding-left: 0px;
                padding-right: 50px;
            }
            &::before {
                left: initial;
                right: 0;
            }
        }
    }
    .breadcrumb-item + .breadcrumb-item {
        padding-left: left;
        padding-right: var(--bs-breadcrumb-item-padding-x);
    }
    .breadcrumb-item + .breadcrumb-item::before {
        padding-right: 0;
        padding-left: var(--bs-breadcrumb-item-padding-x);
    }
    .widget_archive ul li,
    .widget_categories ul li {
        padding-left: 0;
        padding-right: 35px;
    }
    .widget_archive ul li::before,
    .widget_categories ul li::before {
        left: initial;
        right: 0;
    }
    .widget_archive ul li::after,
    .widget_categories ul li::after {
        left: initial;
        right: 5px;
        transform: rotateY(180deg) rotate(45deg);
    }
    .cs_blog_details blockquote {
        border-left: 0;
        border-right: 5px solid var(--ternary);
    }
    .breadcrumb-item {
        display: flex;
    }
    .cs_casestudy_details {
        padding-left: 0;
        padding-right: 45px;
        @media (max-width: 991px) {
            padding-right: 0px;
        }
    }
    @media (min-width: 1400px) {
        .cs_pr_70 {
            padding-right: 0;
            padding-left: 70px;
        }
    }
}
