body.rtl {
    text-align: right;
    direction: rtl;
}

.rtl {
    .alert.alert-dismissible span.alert-inner--icon {
        float: right;
    }
    .ckbox span,.rdiobox span {
        margin-right: 5px;
        margin-left: inherit;
    }
    #chartD .apexcharts-toolbar {
        left: 60px;
        top: -25px;
        right: inherit;
    }
    .transaction-icon i{
        margin-left: 12px;
        margin-right: inherit;
    }
    .sales-stats {
        padding-right: 0px;
    }
    .projects.project-type-container .project-type .nav-link {
        margin-right: 5px;
        margin-left: inherit;
    }
    &.dark-mode .invoice-bottom-table-container .invoice-table-bottom td {
        border-left: 0px;
        border-bottom: 1px solid $border-dark;
        border-top: 0px;
        border-right: 1px solid $border-dark;
        &:last-child {
            border-left: 1px solid $border-dark;
        }
    }
    .attached-file-container .attached-file-image .image-pic {
        padding: 9px 15px 20px 0px;
    }
    .tags button.btn-close {
        left: 0px;
        right: inherit;
    }
    table.table-bordered tr th:last-child,table.table-bordered tr td:last-child {
        border-left: 1px solid $border !important;
    }
    table.table-bordered tr:first-child th {
        border-top: 0px !important;
    }
    table.table-bordered tr:first-child td {
        border-top: 1px solid $border-dark;
    }
    .table.table-bordered tr th:first-child,.table.table-bordered tr td:first-child {
        border-right: 0px !important;
    }
    table.table-bordered th, table.table-bordered td {
        border-left-width: 0px !important;
    }
    table.table-bordered th, table.table-bordered td {
        border-bottom-width: 0px !important;
    }
    table {
        // border-collapse: separate;
        border-spacing: 0px;
    }
    @media (max-width:991.98px) {
        &.app.sidebar-mini.dark-mode.light-menu.header-light {
            .logo-horizontal  {
                .header-brand-img.desktop-logo {
                    display: none !important;
                }
                .header-brand-img.light-logo1 {
                    display: block !important;
                }
            }
        }
    }    
    .btn-group .btn:first-child.btn-pill.dropdown-toggle {
        border-bottom-right-radius: 10rem !important;
        border-top-right-radius: 10rem !important;
    }
    #delete-datatable,#basic-datatable,#file-information {
        th:last-child,td:last-child {
            border-left-width: 2px !important;
        }
    }	
    .slide-menu {
        margin-right: 20px;
        margin-left: inherit;
    }
    .editorpicks-suggestions {
        border-top-left-radius: 5px;
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 0px;
        border-top-right-radius: 0px;
    }
    .ps__thumb-y {
        left: 0px !important;
        right: inherit !important;
    }
    .ps__rail-y {
        left: 0 !important;
        right: inherit !important;
    }
    .btn-group .btn:last-child {
        border-top-left-radius: 3px !important;
        border-bottom-left-radius: 3px !important;
    }
    .btn .badge {
        right: inherit;
        left: -3px;
    }
    .owl-nav .owl-prev {
        right: -25px;
        left: inherit;
    }
    .btn-group>.btn-group:not(:first-child)>.btn, .btn-group>.btn:nth-child(n+3), .btn-group>:not(.btn-check)+.btn {
        border-top-right-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }
    .btn-group>.btn:not(:last-child):not(.dropdown-toggle) {
        border-top-left-radius: 0 !important;
        border-bottom-left-radius: 0 !important;
        border-top-right-radius: 3px !important;
        border-bottom-right-radius:3px !important ;
    }
    .btn-group .btn:first-child {
        border-bottom-right-radius: 3px !important;
        border-top-right-radius: 3px !important;
    }
    @media (min-width: 768px) {
        .table-responsive.export-table .dt-buttons.btn-group {
            right: 186px;
            left: inherit;
        }
    }    
    .select2-container .select2-search--inline {
        float: right;
    }
    .select2-container--default .select2-selection--single .select2-selection__arrow b {
        margin-right: -4px;
        margin-left: inherit;
    }
    @media (min-width: 576px) {
        .br-br-sm-5 {
            border-bottom-left-radius: 5px !important;
            border-bottom-right-radius: inherit !important;
        }
        .br-tr-sm-5 {
            border-top-left-radius: 5px !important;
            border-top-right-radius: inherit !important;
        }
        .br-bl-sm-5 {
            border-bottom-right-radius: 5px !important;
            border-bottom-left-radius: inherit !important;
        }
        .br-tl-sm-5 {
            border-top-right-radius: 5px !important;
            border-top-left-radius: inherit !important;
        }
    }   
    @media (min-width: 576px) {
        .editorpick-suggestion-img {
            border-top-right-radius: 5px;
            border-bottom-right-radius: 5px;
            border-top-left-radius: 0px;
            border-bottom-left-radius: 0px;
        }
    }    
    .blog-label { 
        right: 15px;
        left: inherit;
    }
    .panel-heading1.collapsed:before {
        left: 10px;
        right: inherit;
    }
    .color-acc i {
        float: right;
    }
    .bootstrap-tagsinput .badge [data-role="remove"] {
        margin-right: 8px;
        margin-left: inherit;
    }
    .indicators .avatar.avatar-xxl.rounded-circle::after,.indicators .avatar.avatar-xl.rounded-circle::after,.indicators .avatar.avatar-lg.rounded-circle::after,.indicators .avatar.avatar-md.rounded-circle::after,.indicators .avatar.avatar-sm.rounded-circle::after {
        right: inherit;
        left: -1px;
    }
    .indicators .avatar.avatar-normal.rounded-circle::after {
        left: -3px;
        right: inherit;
    }
    #remove-btn {
        right: -6px;
        left: inherit;
    }
    .status-indicator.invoice-bill::before {
        right: -20px;
        left: inherit;
        transform: translate(-50%, -41%);
    }
    .options-inv {
        left: 11px;
        right: inherit;
    }
    .nv-series text {
        text-anchor: end;
    }
    .wizard.vertical>.steps ul li+li {
        margin-right: 10px;
        margin-left: inherit;
    }
    .editable-buttons {
        margin-right: 7px;
        margin-left: inherit !important;
    }
    .ff_fileupload_wrap table.ff_fileupload_uploads td.ff_fileupload_actions button.ff_fileupload_start_upload {
        margin-left: 0.5em;
        margin-right: inherit;
    }
    .select2-selection__rendered span {
        float: right;
    }
    .select2-container--default .select2-search--dropdown .select2-search__field {
        text-align: right;
    }
    .material-switch.toggle-sm input[type=checkbox]:checked+label::after {
        right: 13px;
        left: inherit;
    }
    .material-switch>input[type=checkbox]:checked+label::after {
        right: 50%;
        left: inherit;
    }
    .main-toggle-group .toggle {
        margin-right: 10px;
        margin-left: inherit !important;
    }
    .material-switch>label::after {
        right: -4px;
        left: inherit !important;
    }
    .material-switch.toggle-lg input[type=checkbox]:checked+label::after {
        right: 77%;
        left: inherit !important;
    }
    .profile-1 {
        .nav-link {
            padding-right: 0.9rem !important;
        }
    }
    &.error-bg .demo-icon {
        left: 40px;
        right: initial;
    }
    .symbol-input100 {
        right: 0;
        padding-right: 22px;
        padding-left: inherit;
    }
    .input100 {
        padding: 0 54px 0 30px;
    }
    &.login-img .demo-icon {
        left: 40px;
        right: initial;
    }
    @media (max-width:575.98px) {
        &.login-img .demo-icon {
            left: 20px !important;
            right: initial !important;
        }
    }    
    table.table-bordered.dataTable th:last-child, table.table-bordered.dataTable th:last-child, table.table-bordered.dataTable td:last-child, table.table-bordered.dataTable td:last-child {
        border-left: 1px solid $border !important;
    }
    .mixed-color-progress .bar-end {
        border-top-right-radius: 0px;
        border-bottom-right-radius: 0px;
        border-top-left-radius: inherit;
        border-bottom-left-radius: inherit;
    }
    .project-status,.project-date {
        float: right;
    }
    .project-status::before {
        right: -11px;
        left: inherit;
    }
    .select2-container--default .select2-selection--single .select2-selection__arrow b {
        right: 50%;
        margin-top: -4px;
    }
    @media (min-width: 768px) {
        .table-responsive.deleted-table .data-table-btn {
            right: 223px;
            left: inherit;
        }
    }
    .editable-buttons .editable-cancel {
        margin-right: 7px;
        margin-left: inherit;
    }
    .editable-checklist .form-label.ckbox span {
        margin-right:10px;
        margin-left: inherit;
    }
    .select2-results__option span img,.select2-selection__rendered  span img{
        float: inherit;
    }
    .select2-container--default .select2-search--inline .select2-search__field{
        // text-align: end;
        padding: 0px 10px;
    }
    .form-select.is-invalid:not([multiple]):not([size]), .form-select.is-invalid:not([multiple])[size="1"], .was-validated .form-select:invalid:not([multiple]):not([size]), .was-validated .form-select:invalid:not([multiple])[size="1"] {
        padding-left: 4.125rem;
        padding-right: 0.75rem;
    }
    .main-form-group .form-label {
        right: 0px;
        left: inherit;
    }
    .state-invalid,.state-valid {
        padding-left: 2rem !important;
        padding-right: 1rem !important;
    }
    .rdiobox span:after {
        right: 5px;
        left: inherit;
    }
    .rdiobox span:before {
        right: 0;
        left: inherit;
    }
    .status-indicator.projects::before {
        right: -20px;
        left: inherit;
        transform: translate(-15%, -50%);
    }
    .status-indicator {
        margin-right: 18px;
        margin-left: inherit;
    }
    .select2-container .select2-selection--single .select2-selection__rendered {
        padding-right: 8px;
        padding-left: 20px;
    }
    .media-body .badge {
        line-height: 1.5;
    }
    .dropdown-item i {
        float: right;
    }
    .ckbox span:before {
        right: 0;
        left: inherit;
    }
    .ckbox span::after {
        right: 0;
        left: inherit;
    }
    .nav1.nav-column .nav-link svg {
        margin-left: 5px;
        margin-right: inherit;
    }
    .main-parent .main-child {
        left: 5px;
        right: inherit;
    }
    #basic-addon3 {
        border-top-left-radius: 0px;
        border-bottom-left-radius: 0px;
    }
    .apexcharts-yaxis-title {
        transform: translate(-35px, 10px);
    }
    @media (max-width: 991.98px) {
        &.app.sidebar-mini.sidenav-toggled .side-menu .side-menu__icon {
            margin-left: 8px !important;
            margin-right: inherit !important;
        }
    }    
    &.dark-mode {
        .tl-blog:before {
            border-right: 1px solid $white-2;
            border-left: inherit;
        }
    }
    &.app.sidebar-mini .slide-menu a:before {
        margin-left: 10px;
        margin-right: inherit;
    }
    @media (min-width: 992px) {
        &.horizontal .slide-menu a:before {
            right: -15px;
            left: inherit;
        }
    }
    @media (min-width: 992px) {
        &.horizontal .side-menu__label {
            margin-left: 6px;
            margin-right: inherit;
        }
    }
    .select2-container .select2-selection--single {
        text-align: right;
    }
    .task-list li:hover .task-icon::before,
    .task-list li:focus .task-icon::before {
        right: -5px;
    }
    .task-list li:hover .task-icon,
    .task-list li:focus .task-icon {
        right: 24px;
    }
    .task-list li {
        display: inherit;
    }
    .tl-blog:before {
        right: 20px;
        left: inherit;
        border-right: 1px solid #eaedf1;
        border-left: inherit;
    }
    .tl-blog {
        margin-right: 10px;
        margin-left: inherit;
    }
    .tl-blog .tl-details {
        margin-right: 15px;
        margin-left: inherit;
    }
    .todo-blog {
        margin-right: 10px;
        margin-left: inherit;
    }
    .todo-blog .todo-details {
        margin-right: 15px;
        margin-left: inherit;
    }
    .todo-blog:before {
        right: -6px;
        left: inherit;
    }
    .task-list1 li {
        display: inherit;
        padding-right: 20px;
    }
    .task-list1 li .task-icon1 {
        right: 4px;
        left: inherit;
        margin-left: 5px;
        margin-right: inherit;
    }
    #circle1 canvas {
        left: 15px;
        right: inherit;
    }
    #circle1 strong {
        left: 37px;
        right: inherit;
    }
    .profile-1 .dropdown-item svg {
        margin-left: 5px;
        margin-right: inherit;
    }
    .notifyimg {
        float: right;
    }
    .custom-radio-lg .custom-control-label::after {
        right: 2px;
        left: inherit;
    }
    .app-sidebar {
        right: 0;
        left: inherit;
        border-left: 1px solid $border;
        border-right: inherit;
    }
    .app-content {
        -webkit-transition: margin-right 450ms ease;
        -o-transition: margin-right 450ms ease;
        transition: margin-right 450ms ease;
    }
    @media (min-width: 992px) {
        .app-content {
            margin-left: inherit;
            margin-right: 270px;
        }
        .app-header {
            padding-left: 10px;
            padding-right: 285px;
        }
        &.sidebar-mini.sidenav-toggled .app-content {
            margin-right: 80px;
            margin-left: inherit;
        }
        &.sidebar-mini.sidenav-toggled .app-header.header {
            padding-left: 10px !important;
            padding-right: 100px !important;
        }
    }
    @media (max-width: 991px) {
        &.app.sidenav-toggled .app-sidebar {
            right: 0 !important;
            left: inherit !important;
        }
        &.app .app-sidebar {
            right: -270px !important;
            left: inherit !important;
        }
        .responsive-navbar .header-search .input-group .input-group-text.btn {
            left: 6px;
            right: inherit;
        }
        .fc .fc-toolbar-title {
            left: 10px;
            right: inherit;
        }
    }
    .app-header {
        transition: padding-right 0.3s ease;
    }
    .app-sidebar__toggle {
        transition: padding-right 0.3s ease;
        left: 7px;
        right: inherit;
    }
    .app-sidebar__toggle:after {
        right: 12px;
        left: inherit;
    }
    .header .main-header-center {
        padding-left: inherit;
        padding-right: 0px;
    }
    .header .btn {
        margin-left: inherit;  
    }
    @media (min-width: 992px) {
        .main-header-center .btn {
            left: 12px;
            right: inherit;
            padding-left: 2px;
            padding-right: 0.65rem;
        }
        .main-chat-contacts-wrapper {
            padding: 10px 0 10px 15px;
        }
    }
    .dropdown-menu-end[data-bs-popper] {
        left: 0 !important;
        right: auto;
    }
    .dropdown-menu-arrow.dropdown-menu-end:before,
    .dropdown-menu-arrow.dropdown-menu-end:after {
        right: auto;
        left: 5%;
    }
    .dropdown-menu {
        text-align: right;
    }
    .dropdown-icon {
        margin-left: 0.5rem;
        margin-right: -0.5rem;
    }
    .input-group
        > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
        margin-left: inherit;
        margin-right: -1px;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        border-top-left-radius: 7px;
        border-bottom-left-radius: 7px;
    }
    .input-group:not(.has-validation) > .dropdown-toggle:nth-last-child(n + 3),
    .input-group:not(.has-validation) > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu) {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        border-top-right-radius: 7px;
        border-bottom-right-radius: 7px;
    }
    .input-group-btn .btn {
        border-radius: 4px 0px 0px 4px;
    }
    .page-header .breadcrumb {
        padding-right: 0 !important;
        padding-left: inherit !important;
    }
    .breadcrumb {
        right: inherit;
        left: 0;
    }
    .breadcrumb-item + .breadcrumb-item {
        padding-left: 0.5rem;
        padding-right: inherit;
    }
    .breadcrumb-item + .breadcrumb-item::before {
        padding-left: inherit;
        padding-right: 0.5rem;
    }
    .modal-header .btn-close {
        padding: 1rem;
        margin: -1rem auto -1rem -1rem;
    }
    // Sidebar //
    .sidebar.sidebar-right {
        left: 0;
        right: initial;
        transform: translate(-100%, 0);
        .latest-tasks {
            .tabs-menu {
                .nav {
                    &.panel-tabs {
                        li {
                            a {
                                i {
                                    float: right;
                                    margin-top: 3px;
                                    margin-left: 3px;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
    .sidebar-right .panel-primary .tab-menu-heading i {
        float: right;
        margin-top: 4px;
    }
    .side-header {
        border-left: 1px solid $border;
        border-right: initial;
    }
    // SIDEMENU STYLES //
    .side-menu .sub-category {
        padding: 12px 20px 2px 30px;
    }
    .slide.is-expanded a {
        text-decoration: none;
    }
    .side-menu__item.active {
        color: var(--primary-bg-color);
    }
    .side-menu__item.active {
        text-decoration: none;
        color: var(--primary-bg-color);
    }
    .side-menu__item {
        -webkit-transition: border-right-color 0.3s ease, background-color 0.3s ease;
        -o-transition: border-right-color 0.3s ease, background-color 0.3s ease;
        transition: border-right-color 0.3s ease, background-color 0.3s ease;
    }
    .side-menu .side-menu__icon {
        margin-left: 8px;
        margin-right: inherit !important;
    }
    .side-menu .side-menu__icon::after {
        left: 3px;
        right: inherit;
    }
    .side-badge,
    .slide-menu open.slide-menu hide .side-badge {
        left: 20px;
        right: inherit;
    }
    &.app.sidebar-mini .slide-menu {
        padding-right: 20px !important;
        padding-left: 30px !important;
    }
    .slide-menu li .slide-item:before {
        content: "\e0e7";
    }
    .sub-slide-menu {
        padding: 0 0 15px 15px;
    }
    .sub-slide-item {
        padding: 8px 24px 8px 0 !important;
    }
    .sub-side-menu__item2 {
        padding: 8px 24px 8px 2px;
    }
    .sub-angle2 {
        float: left;
        margin-right: inherit;
    }
    .sub-slide-menu2 {
        padding-right: 0;
        padding-left: inherit;
    }
    .sub-slide-item2 {
        padding: 8px 40px 8px 0px !important;
    }
    @media (min-width: 992px) {
        &.sidebar-mini.sidenav-toggled .side-badge,
        &.sidebar-mini.sidenav-toggled .slide-menu open.slide-menu hide .side-badge {
            left: 21px;
            right: inherit;
        }
        &.sidebar-mini.sidenav-toggled.sidenav-toggled-open .side-badge {
            left: 20px;
            right: inherit;
        }
        &.sidebar-mini footer.footer {
            padding: 1.25rem 270px 1.25rem 1.25rem;
        }
    }
    .pulse {
        left: 8px;
        right: inherit;
    }
    .pulse:before {
        left: -4px;
        right: inherit;
    }
    .pulse-danger {
        left: 8px;
        right: inherit;
    }
    .sidebar .tabs-menu ul li a {
        padding: 15px 22px 15px 17px;
    }
    .feeds.avatar-circle::before {
        right: -15px;
        left: inherit;
    }
    .task-list.timeline-task::before {
        right: 25px;
        left: inherit;
    }
    .task-list:before {
        right: 15px;
        left: inherit;
        border-right: 1px solid #e0e9f1;
        border-right: initial;
    }
    .task-list li {
        padding-right: 55px;
        padding-left: 8px;
    }
    .task-list li .task-icon1 {
        right: 20px;
        left: inherit;
    }
    .task-list li .task-icon {
        right: 10px;
        left: inherit;
    }
    .nav.product-sale {
        left: 5px;
        right: inherit;
    }
    //TABLES STYLES //
    .select2-container--default .select2-selection--single .select2-selection__arrow {
        left: 0px !important;
        right: inherit !important;
    }
    div.dataTables_wrapper div.dataTables_length label {
        text-align: right;
    }
    div.dataTables_wrapper div.dataTables_filter {
        text-align: left;
    }
    div.dataTables_wrapper div.dataTables_filter input {
        margin-right: 0.5em;
        margin-left: inherit;
    }
    @media (max-width: 1363px) {
        .dt-buttons.btn-group {
            right: 0 !important;
            left: inherit;
        }
    }
    .card-options {
        margin-right: auto;
        margin-left: inherit;
    }
    // CALENDAR STYLES //
    .cal1 .clndr .clndr-controls .clndr-control-button.rightalign {
        text-align: left;
    }
    .fc-h-event .fc-event-title {
        float: right;
    }
    .fc-direction-ltr {
        direction: rtl;
        text-align: right;
    }
    .fc-direction-ltr .fc-list-day-side-text,
    .fc-direction-rtl .fc-list-day-text {
        float: left;
    }
    .fc-direction-ltr .fc-list-day-text,
    .fc-direction-rtl .fc-list-day-side-text {
        float: right;
    }
    .fc-direction-ltr .fc-button-group > .fc-button:last-child {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        border-top-left-radius: 5px !important;
        border-bottom-left-radius: 5px !important;
    }
    .fc-direction-ltr .fc-button-group > .fc-button:first-child {
        margin-right: -1px;
        margin-left: inherit;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        border-top-right-radius: 5px !important;
        border-bottom-right-radius: 5px !important;
    }

    .fc-direction-ltr .fc-button-group > .fc-button:not(:last-child),
    .fc-direction-ltr .fc-button-group > .fc-button:not(:first-child) {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }
    .fc-direction-ltr .fc-toolbar > * > :not(:first-child) {
        margin-right: 0.75em;
        margin-left: inherit;
    }
    .fc-icon-chevron-right {
        transform: rotate(180deg);
    }
    .fc-icon-chevron-left {
        transform: rotate(-180deg);
    }
    // CHAT //
    .main-chat-msg-name {
        margin-right: 15px;
        margin-left: inherit;
    }
    .dot-label {
        margin-left: 5px !important;
        margin-right: 0 !important;
    }
    .main-content-app .dropdown i {
        float: right;
    }
    .main-content-app {
        .main-chat-body {
            .content-inner {
                .main-msg-wrapper {
                    .fe-download {
                        float: left;
                        margin-top: 4px !important;
                    }
                }
            }
        }
    }
    .main-chat-contacts .lslide {
        margin-left: 10px;
        margin-right: inherit;
    }
    .main-chat-list .media-body {
        margin-right: 15px;
        margin-left: inherit;
    }
    .main-chat-list .main-img-user span {
        right: -2px;
        left: inherit;
    }
    .main-chat-header .nav {
        margin-right: auto;
        margin-left: inherit;
    }
    .main-chat-body .media.flex-row-reverse .media-body {
        margin-right: 0 !important;
        margin-left: 20px !important;
    }
    .main-chat-body .media-body {
        margin-right: 20px !important;
        margin-left: inherit !important;
    }
    .btn-list > .btn:not(:last-child),
    .btn-list > .dropdown:not(:last-child) {
        margin-left: 0.5rem;
        margin-right: inherit;
    }
    .growl .growl-close {
        float: left;
    }
    // TIMELINE //
    @media (max-width: 576px) {
        .card-body .vtimeline .timeline-wrapper .timeline-panel {
            margin-right: 24% !important;
            margin-left: inherit !important;
        }
        .card-body .vtimeline .timeline-wrapper.timeline-inverted.timeline-wrapper-primary .timeline-panel {
            margin-right: 24% !important;
            margin-left: inherit !important;
        }
    }    
    @media (max-width: 992px) {
        .vtimeline .timeline-wrapper .timeline-panel {
            margin-right: 15% !important;
            margin-left: inherit !important;
        }
        .vtimeline .timeline-wrapper {
            padding-left: 0px !important;
            padding-right: inherit !important;
        }
        .vtimeline .timeline-wrapper.timeline-inverted.timeline-wrapper-primary .timeline-panel {
            margin-right: 14% !important;
            margin-left: inherit !important;
        }
        .vtimeline .timeline-wrapper .timeline-panel:after {
            border-left: 14px solid $dark-bg !important;
            border-right: 0 !important;
            right: -14px !important;
            left: auto !important;
        }
        .vtimeline:before {
            right: 26px !important;
            left: inherit !important;
        }
        .vtimeline .timeline-wrapper .timeline-badge {
            right: 0 !important;
            left: inherit !important;
        }
    }    
    .vtimeline .timeline-wrapper.timeline-inverted {
        padding-left: 0;
        padding-right: 90px;
    }
    .vtimeline:before {
        margin-right: -1.5px;
        margin-left: inherit;
    }
    .vtimeline .timeline-wrapper .timeline-panel {
        margin-right: 15%;
        margin-left: inherit;
    }
    .vtimeline .timeline-wrapper {
        padding-left: 90px;
        padding-right: inherit;
    }
    .vtimeline .timeline-wrapper.timeline-inverted .timeline-panel {
        margin-right: auto !important;
        margin-left: 15% !important;
    }
    .vtimeline .timeline-wrapper.timeline-inverted {
        padding-left: 0;
        padding-right: 90px;
    }
    .vtimeline .timeline-wrapper .timeline-panel:after {
        left: -10px;
        right: inherit;
        border-left: 0 solid #f9f9fb;
        border-right: 10px solid #f9f9fb;
    }
    .vtimeline .timeline-wrapper.timeline-inverted .timeline-panel:after {
        border-right-width: 0;
        border-left: 10px solid #f9f9fb;
        right: -10px;
        left: auto;
    }
    // TREEVIEW //
    .tree li i {
        margin-left: 10px;
        margin-right: inherit;
        float: right;
        margin-top: 6px;
    }
    .tree ul {
        margin-right: 1em;
        margin-left: inherit;
    }
    .tree li {
        padding: 0.5em 1em 0.5em 1em;
    }
    .tree ul:before {
        border-right: 1px solid $border;
        border-left: inherit;
    }
    .tree ul:before {
        right: -10px;
        left: inherit;
    }
    .tree ul li:before {
        right: -10px;
        left: inherit;
    }
    .main {
        float: right;
    }
    .join {
        float: right;
        transform: rotate(180deg);
    }
    .dTree .page-tree {
        float: right;
    }
    .dTree .plus {
        padding-right: 20px;
        padding-left: inherit;
        float: right;
        transform: rotate(180deg);
    }
    .folder {
        padding-right: 20px;
        padding-left: inherit;
        float: right;
    }
    .last .plus {
        padding-right: 20px;
        padding-left: inherit;
        float: right;
    }
    .dTree a {
        padding-right: 8px;
    }
    .dTree .minus {
        padding-right: 20px;
        padding-left: inherit;
        float: right;
    }
    .folder-open {
        padding-right: 20px;
        padding-left: inherit;
        float: right;
    }
    .folder-group ul {
        padding-right: 20px;
        padding-left: inherit;
    }
    .folder-group.last .minus {
        padding-right: 20px;
        padding-left: inherit;
        float: right;
    }
    .join-last .join {
        float: right;
    }
    .folder-group {
        background: none;
    }
    code,
    kbd,
    pre,
    samp {
        direction: rtl;
        unicode-bidi: normal;
    }
    // HEADER STYLES //
    .header.header-2 .form-inline .btn {
        border-bottom-left-radius: 3px;
        border-top-left-radius: 3px;
        border-bottom-right-radius: inherit;
        border-top-right-radius: inherit;
        margin-right: -45px;
        margin-left: inherit;
    }
    .header-1 .form-inline .btn {
        border-bottom-left-radius: 3px;
        border-top-left-radius: 3px;
        border-bottom-right-radius: inherit;
        border-top-right-radius: inherit;
        margin-right: -50px;
        margin-left: inherit;
    }
    .header .form-inline .form-control {
        padding-right: 20px;
        padding-left: 40px;
    }
    // FOOTERS STYLES //
    .footer .social ul li {
        float: right;
    }
    .footer-social-list li:not(:last-child) {
        margin-left: 1.5rem;
        margin-right: inherit;
    }
    .footer-payments li:not(:last-child) {
        margin-left: 1.5rem;
        margin-right: inherit;
    }
    .page-options {
        margin-right: auto;
        margin-left: inherit;
    }
    .btn-group > .btn-group:not(:first-child) > .btn,
    .btn-group > .btn:nth-child(n + 3),
    .btn-group > :not(.btn-check) + .btn {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        border-top-left-radius: 3px;
        border-bottom-left-radius: 3px;
    }
    .btn-group .btn + .btn,
    .btn-group .btn + .btn-group {
        margin-right: -1px;
        margin-left: initial;
    }
    .btn-group > .btn:last-child:not(.dropdown-toggle) {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        border-top-right-radius: 3px;
        border-bottom-right-radius: 3px;
    }
    .tags > .tag:not(:last-child) {
        margin-left: 0.5rem;
        margin-right: inherit;
    }
    .tag-addon:last-child {
        border-top-left-radius: 3px;
        border-bottom-left-radius: 3px;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }
    .tag-addon {
        margin: 0 0.5rem 0 -0.5rem;
    }
    .card-options a:not(.btn) {
        margin-right: 0.5rem;
        margin-left: inherit;
    }
    // ALERTS STYLES //
    .btn-close {
        float: left;
    }
    .alert-avatar .avatar {
        right: 0.75rem;
        left: inherit;
    }
    button.btn-close {
        left: 15px;
        right: inherit;
    }
    .alert-dismissible .btn-close {
        left: 0;
        right: inherit;
    }
    .alert-avatar {
        padding-right: 3.75rem !important;
        padding-left: inherit !important;
    }
    .alert-inner--icon {
        float: right;
        padding-left: 5px;
    }
    // COLORS STYLES //
    .color-card-radius .card-header {
        border-top-right-radius: 7px;
        border-bottom-right-radius: 7px;
        border-top-left-radius: 0px;
        border-bottom-left-radius: 0px;
    }
    // AVATARS STYLES //
    .avatar-list .avatar:not(:last-child) {
        margin-left: 0.5rem;
        margin-right: initial;
    }
    .avatar-status {
        left: -2px;
        right: initial;
    }
    .avatar-badges {
        left: -4px;
        right: initial;
    }
    .avatar-icons {
        left: 0px;
        right: initial;
    }
    [type="email"],
    [type="number"],
    [type="tel"],
    [type="url"] {
        direction: rtl;
    }
    .badgetext {
        float: left;
    }
    // LIST GROUP //
    .list-style-1 {
        padding-right: inherit;
    }
    .list-style2 {
        padding-right: inherit;
    }
    .list-style4 {
        padding-right: inherit;
    }
    .list-style3 {
        padding-right: inherit;
    }
    .list-style6 {
        padding-right: inherit;
    }
    .list-style5 {
        padding-right: inherit;
    }
    .list-style2 ul {
        padding-right: 30px;
        padding-left: initial;
    }
    .list-style-1 ul {
        padding-right: 30px;
        padding-left: initial;
    }
    .list-style4 ul {
        padding-right: 30px;
        padding-left: initial;
    }
    .list-style3 ul {
        padding-right: 30px;
        padding-left: initial;
    }
    .list-style6 ul {
        padding-right: 30px;
        padding-left: initial;
    }
    .list-style5 ul {
        padding-right: 30px;
        padding-left: initial;
    }
    // TAGS STYLES //
    .tag-round::before {
        margin-left: 5px;
        margin-right: inherit;
    }
    .tag-addon.tag-addon-cross {
        border-radius: 50px 0px 0px 50px;
    }
    .tag-avatar {
        margin: 0 -0.5rem 0 0.5rem;
    }
    .tag-radius {
        border-radius: 0px 50px 50px 0px;
    }
    // PAGINATION //
    .page-item:last-child .page-link {
        border-top-left-radius: 5px;
        border-bottom-left-radius: 5px;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }
    .page-item:not(:first-child) .page-link {
        margin-left: 0;
    }
    .fa.fa-angle-right {
        transform: rotate(180deg);
    }
    .fa.fa-angle-left {
        transform: rotate(180deg);
    }
    .page-item:first-child .page-link {
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
        border-top-left-radius: 0px;
        border-bottom-left-radius: 0px;
    }
    .fa.fa-angle-double-right {
        transform: rotate(180deg);
    }
    .fa.fa-angle-double-left {
        transform: rotate(180deg);
    }
    // ACCORDION STYLES //
    .accordion-button:not(.collapsed)::after {
        margin-left: 5px;
        margin-right: auto;
    }
    .accordionjs .acc_section .acc_head h3:before {
        right: 12px;
        left: inherit;
    }
    .accordionjs .acc_section .acc_head h3 {
        padding-right: 25px;
        padding-left: inherit;
    }
    .panel-heading1 a:before {
        left: 16px;
        right: inherit;
    }
    // TOOLTIP & POPOVER STYLES //

    .bs-tooltip-end .tooltip-arrow,
    .bs-tooltip-auto[data-popper-placement^="right"] .tooltip-arrow {
        left: 0;
    }
    .bs-tooltip-auto[data-popper-placement^="right"] .tooltip-arrow,
    .bs-tooltip-end .tooltip-arrow {
        left: 0;
        right: inherit;
    }

    .bs-popover-end,
    .bs-popover-auto[data-popper-placement^="end"] {
        margin-right: 0.5rem;
    }

    .bs-popover-end > .popover-arrow,
    .bs-popover-auto[data-popper-placement^="end"] > .popover-arrow {
        left: calc((0.5rem + 1px) * -1);
        right: auto;
    }

    .bs-popover-end > .popover-arrow::before,
    .bs-popover-auto[data-popper-placement^="end"] > .popover-arrow::before {
        right: 0;
        border-width: 0.5rem 0.5rem 0.5rem 0;
        border-right-color: #ededf5;
    }

    .bs-popover-end > .popover-arrow::after,
    .bs-popover-auto[data-popper-placement^="end"] > .popover-arrow::after {
        right: -1px;
        border-width: 0.5rem 0.5rem 0.5rem 0;
        border-right-color: #fff;
    }
    // CAROUSEL STYLES//
    .carousel-control-prev {
        left: 0;
        right: inherit;
    }
    .carousel-control-next {
        right: 0;
        left: inherit;
    }
    .active.carousel-item-start,
    .carousel-item-prev:not(.carousel-item-end) {
        transform: translateX(100%) !important;
    }
    .active.carousel-item-end {
        transform: translateX(-100%) !important;
    }
    .carousel-item-next:not(.carousel-item-start) {
        transform: translateX(-100%) !important;
        transform: translateX(-100%) !important;
    }
    // FORM ELEMENTS //
    .custom-control-label::after {
        right: 0;
        left: inherit;
    }
    .custom-control-label::before {
        right: 0;
        left: inherit;
    }
    .custom-control {
        padding-right: 1.5rem;
        padding-left: inherit;
    }
    .custom-radio-md.custom-control {
        padding-right: 2rem;
        padding-left: inherit;
    }
    .custom-radio-lg.custom-control {
        padding-right: 3rem;
        padding-left: inherit;
    }
    .custom-checkbox-md.custom-control {
        padding-right: 2rem;
        padding-left: inherit;
    }
    .custom-checkbox-lg.custom-control {
        padding-right: 3rem;
        padding-left: inherit;
    }
    .custom-switch-indicator:before {
        left: 1px;
        right: inherit;
    }
    .custom-switch-description {
        margin-right: 0.5rem;
        margin-left: inherit;
    }
    .custom-switch {
        padding-right: 0;
        padding-left: inherit;
    }
    .pull-right {
        float: left;
    }
    .select2-container--default .select2-selection--multiple .select2-selection__choice {
        float: right;
        margin-left: 5px;
        margin-right: inherit;
    }
    .pcr-app .pcr-interaction .pcr-result {
        text-align: right;
    }
    .ms-choice > div {
        left: 7px;
        right: inherit;
    }
    .ms-choice > span {
        right: 0;
        left: inherit;
        padding-right: 8px;
        padding-left: inherit;
    }
    .checkbox-group label:before {
        right: 0;
        left: inherit;
    }
    .checkbox-group label {
        padding-right: 25px;
        padding-left: 25px;
    }
    .transfer-double-list-main
        .transfer-double-group-list-ul
        .transfer-double-group-list-li
        .transfer-double-group-list-li-ul {
        padding-right: 20px;
        padding-left: inherit;
    }
    .transfer-double-list-footer label {
        margin-right: 10px;
        margin-left: inherit;
    }
    .transfer-double-list-search-input {
        padding: 5px 8px 4px 0px;
    }
    .transfer-double-list-main .transfer-double-group-list-ul {
        padding-right: 7px;
        padding-left: inherit;
    }
    .iti--allow-dropdown .iti__flag-container,
    .iti--separate-dial-code .iti__flag-container {
        right: 0;
        left: auto;
    }
    .iti__selected-flag {
        padding: 0 8px 0 0px;
        border-left: 1px solid #ecf0fa;
        border-right: inherit;
    }
    .iti--allow-dropdown input,
    .iti--allow-dropdown input[type="text"],
    .iti--allow-dropdown input[type="tel"],
    .iti--separate-dial-code input,
    .iti--separate-dial-code input[type="text"],
    .iti--separate-dial-code input[type="tel"] {
        padding-left: 6px;
        padding-right: 52px;
        margin-right: 0;
        margin-left: 0;
    }
    .iti__arrow {
        margin-right: 6px;
        margin-left: inherit;
    }
    .iti__country-list {
        text-align: right;
        margin: 0 -1px 0 0;
    }
    .iti__flag-box,
    .iti__country-name {
        margin-left: 6px;
        margin-right: inherit;
    }
    // FORM EDITOR //
    input[type="radio"],
    input[type="checkbox"] {
        margin-left: 7px;
        margin-right: inherit;
    }
    .richText .richText-toolbar ul li {
        float: right;
    }
    .richText .richText-toolbar ul li a .richText-dropdown-outer .richText-dropdown .richText-dropdown-close {
        left: 5px;
        right: inherit !important;
    }
    .ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg {
        left: 6px;
        right: inherit;
    }
    .ql-toolbar.ql-snow .ql-formats {
        margin-left: 25px;
        margin-right: inherit;
    }
    .ql-editor {
        text-align: right;
    }
    // FORM WIZARD //
    .sw-theme-dots > ul.step-anchor > li > a:before {
        right: 37%;
        left: inherit;
    }
    .sw-theme-dots > ul.step-anchor > li > a:after {
        right: 35%;
        left: inherit;
    }
    .sw-theme-dots .step-content {
        text-align: right;
    }
    .form-wizard-title {
        margin-right: 10px;
        margin-left: inherit;
    }
    @media (min-width: 576px) {
        .wizard > .steps > ul li .title {
            margin-left: 10px;
            margin-right: inherit;
        }
        .wizard.vertical > .steps {
            float: right;
        }
        .wizard.vertical > .steps ul li + li {
            margin-right: 0;
            margin-left: auto;
        }
    }
    @media (min-width: 992px) {
        .wizard > .steps > ul li + li {
            margin-right: 30px;
            margin-left: inherit;
        }
    }
    .wizard > .steps a .number,
    .wizard > .steps a:hover .number,
    .wizard > .steps a:active .number {
        margin-left: 5px;
        margin-right: inherit;
    }
    .form-check .form-check-input {
        float: left;
        margin-right: -1.5em;
        margin-left: inherit;
    }
    .form-check {
        padding-right: 1.25rem;
        padding-left: inherit;
    }
    .form-file-label::after {
        left: 0;
        right: initial;
        border-right: 1px solid $border;
        border-left: inherit;
        border-radius: 3px 0px 0px 3px;
    }
    // TABLE //
    div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:first-child {
        padding-right: 0;
        padding-left: initial;
    }
    .dt-buttons.btn-group {
        right: 193px;
        left: inherit;
    }
    .data-table-btn {
        right: 185px;
    }
    // PROFILE //
    .btn-profile {
        left: 32px;
        right: inherit;
    }
    .profile-cover__action {
        padding: 252px 185px 10px 30px;
    }
    .profile-cover__img {
        right: 50px;
        left: inherit;
    }
    .profile-cover__img .profile-img-1 > img {
        margin-right: -9px;
        margin-left: inherit;
    }
    .profile-cover__img .profile-img-content {
        margin-right: 10px;
        margin-left: inherit;
    }
    @media (max-width: 992px) {
        .wideget-user .social.social-profile-buttons {
            float: left !important;
            margin-right: 153px;
            margin-left: inherit;
        }
    }
    .avatar-list-stacked .avatar {
        margin-left: -0.8em !important;
        margin-right: inherit !important;
    }
    // NOTIFICATION //
    .notification:before {
        right: 20%;
        left: inherit;
        margin-right: -1px;
        margin-left: inherit;
    }
    .notification .notification-time {
        right: -7px;
        left: inherit;
        text-align: left;
    }
    .notification .notification-icon {
        right: 15%;
        left: inherit;
    }
    .notification .notification-body {
        margin-right: 25%;
        margin-left: 18%;
    }
    .notification .notification-body:before {
        border-left-color: #fff;
        border-right-color: transparent;
        right: -20px;
        left: inherit;
    }
    .notify-time {
        right: auto;
        left: 25px;
    }
    #growls-default {
        left: 10px;
        right: inherit;
    }
    #ui_notifIt {
        left: 10px !important;
        right: inherit !important;
    }
    // MAIL STYLES //
    .mail-inbox .icons {
        margin-left: 8px;
        margin-right: 0;
    }
    .mail-option .btn-group,
    .mail-option .chk-all {
        margin-left: 5px;
        margin-right: inherit;
    }
    ul.inbox-pagination {
        float: left;
    }
    // GALLERY //
    .lg-toolbar .lg-icon {
        float: left;
    }
    #lg-counter {
        padding-right: 20px;
        padding-left: inherit;
    }
    // ECOMMERCE //
    .product-label {
        float: left;
    }
    .product-grid6 .icons {
        left: 25px;
        right: inherit;
        text-align: left;
    }
    .customer-services h4 {
        margin-right: 27px;
        margin-left: inherit;
    }
    .product-grid6 .icons-wishlist {
        left: 25px;
        right: inherit;
        text-align: left;
    }
    .owl-nav .owl-next {
        left: -25px;
        right: inherit;
    }
    // FILE ATTACHMENT //
    .file-transparent-rounded i {
        margin-right: 5px !important;
    }
    .tag-outline-secondary i {
        margin-right: 5px !important;
    }
    .tag-outline-primary i {
        margin-right: 5px !important;
    }
    .tag-outline-success i {
        margin-right: 5px !important;
    }
    .tag-outline-warning i {
        margin-right: 5px !important;
    }
    .tag-outline-danger i {
        margin-right: 5px !important;
    }
    .tag-outline-pink i {
        margin-right: 5px !important;
    }
    .tag-outline-info i {
        margin-right: 5px !important;
    }
    .file-image .icons {
        left: 22px;
        right: inherit;
        text-align: left;
    }
    .file-image-1 .icons {
        left: 7px;
        right: inherit;
        text-align: left;
    }
    // WIDGETS //
    .card-img-absolute {
        margin-right: -40px;
        margin-left: inherit;
    }
    .circle-icon {
        margin-right: 13px;
        margin-left: inherit;
        float: left;
    }
    // PRICING TABLES //
    .price .list-group-flush .list-group-item {
        padding: 0px 16px 0px 0px;
    }
    .ion-chevron-right {
        transform: rotate(180deg);
    }
    #external-events {
        text-align: right;
    }
    @media only screen and (max-width: 991px) {
        .header-1 .animated-arrow {
            margin: 0px -11px 0 0px;
        }
        .animated-arrow {
            right: 0;
            left: inherit;
            padding: 25px 0px 16px 35px !important;
        }
    }
    .tab_wrapper .content_wrapper .accordian_header .arrow {
        float: left;
    }
    // FORM WIZARD //
    @media screen and (max-width: 480px) {
        .sw-theme-dots > ul.step-anchor:before {
            right: 19px;
            left: auto;
            margin-left: 10px;
            margin-right: auto;
        }
        .sw-theme-dots > ul.step-anchor > li > a:before {
            right: -14px;
            left: 0;
            margin-left: 10px;
            margin-right: 0;
        }
        .sw-theme-dots > ul.step-anchor > li > a:after {
            right: -36px;
            left: 0;
            margin-left: 10px;
            margin-right: 0;
        }
        .sw-theme-dots > ul.step-anchor > li > a {
            text-align: right;
            margin-right: 0;
            margin-left: inherit;
        }
    }
    #back-to-top {
        left: 20px;
        right: inherit;
    }
    .custom-layout {
        left: 50px;
        right: inherit;
    }
    //icon-text sidemenu//
    @media (min-width: 992px) {
        &.icontext-menu &.hover-submenu {
            &.sidebar-mini.sidenav-toggled .app-content {
                margin-right: 120px;
                margin-left: inherit;
            }
            &.sidebar-mini.sidenav-toggled .app-header.header {
                padding-right: 130px !important;
                padding-left: 10px !important;
            }
            &.sidebar-mini.sidenav-toggled .side-badge {
                left: 40px;
                right: inherit;
            }
            &.sidebar-mini.sidenav-toggled.sidenav-toggled-open .side-badge {
                left: 20px !important;
                right: inherit !important;
            }
            .app-content {
                margin-right: 270px;
                margin-left: inherit;
            }
            .app-header {
                padding-left: 10px;
                padding-right: 285px;
            }
            .side-badge {
                left: 20px;
                right: inherit !important;
            }
        }
    }
    //icon-text sidemenu//
    @media (min-width: 992px) {
        &.icontext-menu {
            &.sidebar-mini.sidenav-toggled .app-content {
                margin-right: 120px;
                margin-left: inherit;
            }
            &.sidebar-mini.sidenav-toggled .app-header.header {
                padding-right: 130px !important;
                padding-left: 10px !important;
            }
            &.sidebar-mini.sidenav-toggled .side-badge {
                left: 40px;
                right: inherit;
            }
            &.sidebar-mini.sidenav-toggled.sidenav-toggled-open .side-badge {
                left: 20px !important;
                right: inherit !important;
            }
            .app-content {
                margin-right: 270px;
                margin-left: inherit;
            }
            .app-header {
                padding-left: 10px;
                padding-right: 285px;
            }
            .side-badge {
                left: 20px;
                right: inherit !important;
            }
            .app-sidebar__toggle {
                left: 4px;
                right: inherit;
            }
            .side-header {
                left: initial;
            } 
            .app-sidebar{
                right: 0;
                left: inherit;
            } 
            &.sidebar-mini.sidenav-toggled .app-sidebar {
                right: 0;
                left: initial;
            }
        }
    }
    //Hover-submenu//
    @media (min-width: 992px) {
        &.hover-submenu {
            &.sidebar-mini.sidenav-toggled .app-content {
                margin-right: 120px;
                margin-left: inherit;
            }
            &.sidebar-mini.sidenav-toggled .app-header.header {
                padding-right: 130px;
                padding-left: 10px;
            }
            &.sidebar-mini.sidenav-toggled .side-badge {
                left: 40px;
                right: inherit;
            }
            .app-content {
                margin-right: 270px;
                margin-left: inherit;
            }
            .app-header {
                padding-left: 10px;
                padding-right: 285px;
            }
            .side-badge {
                left: 20px;
                right: inherit !important;
            }
            &.sidebar-mini.sidenav-toggled.sidenav-toggled-open .slide .slide-menu {
                right: 106px;
                left: inherit;
            }
            .app-sidebar__toggle {
                left: 4px;
                right: inherit;
            }
            .side-header {
                left: initial;
            }  
            .app-sidebar{
                right: 0;
                left: inherit;
            } 
            &.sidebar-mini.sidenav-toggled .app-sidebar {
                right: 0;
                left: initial;
            }
        }
        .slide-menu {
            margin-right: 12px;
            margin-left: inherit !important;
        }
    }
    //Hover-submenu1//
    @media (min-width: 992px) {
        &.hover-submenu1 {
            &.sidebar-mini.sidenav-toggled .app-content {
                margin-right: 80px;
                margin-left: inherit;
            }
            &.sidebar-mini.sidenav-toggled .app-header.header {
                padding-right: 100px;
                padding-left: inherit;
            }
            &.sidebar-mini.sidenav-toggled .side-badge {
                left: 40px;
                right: inherit;
            }
            .app-content {
                margin-right: 270px;
                margin-left: inherit;
            }
            .app-header {
                padding-left: 10px;
                padding-right: 285px;
            }
            &.sidebar-mini.sidenav-toggled.sidenav-toggled-open .slide .slide-menu {
                right: 62px;
                left: inherit;
            }
            .app-sidebar__toggle {
                left: 10px;
                right: inherit;
            }
            .side-header {
                left: initial;
            }  
            .app-sidebar{
                right: 0;
                left: inherit;
            } 
            &.sidebar-mini.sidenav-toggled .app-sidebar {
                right: 0;
                left: initial;
            }
        }
    }
    //closed-menu//
    @media (min-width: 992px) {
        &.closed-leftmenu {
            &.sidebar-mini.sidenav-toggled .app-header.header {
                padding-right: 0px;
                padding-left: inherit;
            }
            &.sidebar-mini.sidenav-toggled .app-content {
                margin-right: 0px;
                margin-left: inherit;
            }
            .app-content {
                margin-right: 270px;
                margin-left: inherit;
            }
            .app-header {
                padding-left: 10px;
                padding-right: 285px;
            }
            .side-badge {
                left: 20px;
                right: inherit !important;
            }
            .app-sidebar__toggle {
                right: initial;
                left: 0px;
            }
            .side-header {
                left: initial;
            }  
            .app-sidebar{
                right: 0;
                left: inherit;
            } 
            &.sidebar-mini.sidenav-toggled .app-sidebar {
                right: 0;
                left: initial;
            }
        }
    }
    .side-badge {
        left: 20px;
        right: inherit !important;
    }
}

// BORDERS //
.rtl {
    .border-end {
        border-left: 1px solid $border !important;
        border-right: initial !important;
    }

    .border-start {
        border-right: 1px solid $border !important;
        border-left: initial !important;
    }

    .border-end-0 {
        border-left: 0 !important;
        border-right: 1px solid $border !important;
    }

    .border-start-0 {
        border-right: 0 !important;
        border-left: 1px solid $border !important;
    }

    .br-ts-7 {
        border-top-right-radius: 7px !important;
        border-top-left-radius: initial !important;
    }

    .br-bs-7 {
        border-bottom-left-radius: 7px !important;
        border-bottom-left-radius: initial !important;
    }

    .br-ts-5 {
        border-top-right-radius: 5px !important;
        border-top-left-radius: initial !important;
    }

    .br-bs-5 {
        border-bottom-right-radius: 5px !important;
        border-bottom-left-radius: initial !important;
    }

    .br-te-7 {
        border-top-left-radius: 7px !important;
        border-top-right-radius: inherit !important;
    }

    .br-be-7 {
        border-bottom-left-radius: 7px !important;
        border-bottom-right-radius: inherit !important;
    }

    .br-ts-0 {
        border-top-right-radius: 0px !important;
        border-top-left-radius: 5px !important;
    }

    .br-bs-0 {
        border-bottom-right-radius: 0px !important;
        border-bottom-left-radius: 5px !important;
    }

    .br-te-0 {
        border-top-left-radius: 0px !important;
        border-top-right-radius: 5px !important;
    }

    .br-be-0 {
        border-bottom-left-radius: 0px !important;
        border-bottom-right-radius: 5px !important;
    }

    .border-end-1 {
        border-left: 1px solid #d5dce3;
        border-right: inherit;
    }
    .theme-container .active {
        margin-left: 5px;
        margin-right: inherit;
    }

    .theme-container1 .active {
        margin-left: 5px;
        margin-right: inherit;
    }

    .theme-container2 .active {
        margin-left: 5px;
        margin-right: inherit;
    }
}

// FLOAT STYLES//

.rtl {
    .float-start {
        float: right !important;
    }
    .float-end {
        float: left !important;
    }
    @media (min-width: 576px) {
        .float-sm-start {
            float: right !important;
        }
        .float-sm-end {
            float: left !important;
        }
    }
    @media (min-width: 768px) {
        .float-md-start {
            float: right !important;
        }
        .float-md-end {
            float: left !important;
        }
    }
    @media (min-width: 992px) {
        .float-lg-start {
            float: right !important;
        }
        .float-lg-end {
            float: left !important;
        }
    }
    @media (min-width: 1280px) {
        .float-xl-start {
            float: right !important;
        }
        .float-xl-end {
            float: left !important;
        }
        .float-xl-none {
            float: none !important;
        }
    }
}

// MARGINS STYLES//

.rtl {
    /*--------- Margin--------------*/

    .me-0 {
        margin-left: 0 !important;
        margin-right: inherit !important;
    }

    .mx-0 {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .ms-0 {
        margin-right: 0 !important;
        margin-left: inherit !important;
    }

    .me-1 {
        margin-left: 0.25rem !important;
        margin-right: inherit !important;
    }

    .mx-1 {
        margin-left: 0.25rem !important;
        margin-right: 0.25rem !important;
    }

    .ms-1 {
        margin-right: 0.25rem !important;
        margin-left: inherit !important;
    }

    .me-2 {
        margin-left: 0.5rem !important;
        margin-right: inherit !important;
    }

    .mx-2 {
        margin-left: 0.5rem !important;
        margin-right: 0.5rem !important;
    }

    .ms-2 {
        margin-right: 0.5rem !important;
        margin-left: inherit !important;
    }

    .me-3 {
        margin-left: 0.75rem !important;
        margin-right: initial !important;
    }

    .mx-3 {
        margin-left: 0.75rem !important;
        margin-right: 0.75rem !important;
    }

    .ms-3 {
        margin-right: 0.75rem !important;
        margin-left: inherit !important;
    }

    .me-4 {
        margin-left: 1rem !important;
        margin-right: initial !important;
    }

    .mx-4 {
        margin-left: 1rem !important;
        margin-right: 1rem !important;
    }

    .ms-4 {
        margin-right: 1rem !important;
        margin-left: inherit !important;
    }

    .me-5 {
        margin-left: 1.5rem !important;
        margin-right: inherit !important;
    }
    .mx-5 {
        margin-left: 1.5rem !important;
        margin-right: 1.5rem !important;
    }

    .ms-5 {
        margin-right: 1.5rem !important;
        margin-left: inherit !important;
    }

    .me-6 {
        margin-left: 2rem !important;
        margin-right: inherit !important;
    }

    .mx-6 {
        margin-left: 2rem !important;
        margin-right: 2rem !important;
    }

    .ms-6 {
        margin-right: 2rem !important;
        margin-left: inherit !important;
    }

    .me-7 {
        margin-left: 3rem !important;
        margin-right: inherit !important;
    }

    .mx-7 {
        margin-left: 3rem !important;
        margin-right: 3rem !important;
    }

    .ms-7 {
        margin-right: 3rem !important;
        margin-left: inherit !important;
    }

    .mx-7 {
        margin-right: 3rem !important;
        margin-left: 3rem !important;
    }

    .me-8 {
        margin-left: 4rem !important;
        margin-right: inherit !important;
    }

    .mx-8 {
        margin-left: 4rem !important;
        margin-right: 4rem !important;
    }

    .ms-8 {
        margin-right: 4rem !important;
        margin-left: inherit !important;
    }

    .mx-8 {
        margin-right: 4rem !important;
        margin-left: 4rem !important;
    }

    .me-9 {
        margin-left: 6rem !important;
        margin-right: inherit !important;
    }

    .mx-9 {
        margin-left: 6rem !important;
        margin-right: 6rem !important;
    }

    .ms-9 {
        margin-right: 6rem !important;
        margin-left: inherit !important;
    }

    .me-auto {
        margin-left: auto !important;
        margin-right: inherit !important;
    }

    .mx-auto {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .ms-auto {
        margin-right: auto !important;
        margin-left: inherit !important;
    }

    @media (min-width: 576px) {
        .me-sm-0 {
            margin-left: 0 !important;
            margin-right: inherit !important;
        }
        .mx-sm-0 {
            margin-left: 0 !important;
            margin-right: 0 !important;
        }
        .ms-sm-0 {
            margin-right: 0 !important;
            margin-left: inherit !important;
        }
        .me-sm-1 {
            margin-left: 0.25rem !important;
            margin-right: inherit !important;
        }
        .mx-sm-1 {
            margin-left: 0.25rem !important;
            margin-right: 0.25rem !important;
        }
        .ms-sm-1 {
            margin-right: 0.25rem !important;
            margin-left: inherit !important;
        }
        .me-sm-2 {
            margin-left: 0.5rem !important;
            margin-right: inherit !important;
        }
        .mx-sm-2 {
            margin-left: 0.5rem !important;
            margin-right: 0.5rem !important;
        }
        .ms-sm-2 {
            margin-right: 0.5rem !important;
            margin-left: inherit !important;
        }
        .me-sm-3 {
            margin-left: 0.75rem !important;
            margin-right: inherit !important;
        }
        .mx-sm-3 {
            margin-left: 0.75rem !important;
            margin-right: 0.75rem !important;
        }
        .ms-sm-3,
        .mx-sm-3 {
            margin-right: 0.75rem !important;
            margin-left: inherit !important;
        }
        .me-sm-4 {
            margin-left: 1rem !important;
            margin-right: inherit !important;
        }
        .mx-sm-4 {
            margin-left: 1rem !important;
            margin-right: 1rem !important;
        }
        .ms-sm-4 {
            margin-right: 1rem !important;
            margin-left: inherit !important;
        }
        .me-sm-5 {
            margin-left: 1.5rem !important;
            margin-right: inherit !important;
        }
        .mx-sm-5 {
            margin-left: 1.5rem !important;
            margin-right: 1.5rem !important;
        }
        .ms-sm-5 {
            margin-right: 1.5rem !important;
            margin-left: inherit !important;
        }
        .me-sm-6 {
            margin-left: 2rem !important;
            margin-right: inherit !important;
        }
        .mx-sm-6 {
            margin-left: 2rem !important;
            margin-right: 2rem !important;
        }
        .ms-sm-6 {
            margin-right: 2rem !important;
            margin-left: inherit !important;
        }
        .me-sm-7 {
            margin-left: 3rem !important;
            margin-right: inherit !important;
        }
        .mx-sm-7 {
            margin-left: 3rem !important;
            margin-right: 3rem !important;
        }
        .ms-sm-7 {
            margin-right: 3rem !important;
            margin-left: inherit !important;
        }
        .me-sm-8 {
            margin-left: 4rem !important;
            margin-right: inherit !important;
        }
        .mx-sm-8 {
            margin-left: 4rem !important;
            margin-right: 4rem !important;
        }
        .ms-sm-8 {
            margin-right: 4rem !important;
            margin-left: inherit !important;
        }
        .me-sm-9 {
            margin-left: 6rem !important;
            margin-right: inherit !important;
        }
        .mx-sm-9 {
            margin-left: 6rem !important;
            margin-right: 6rem !important;
        }
        .ms-sm-9 {
            margin-right: 6rem !important;
            margin-left: inherit !important;
        }
        .me-sm-auto {
            margin-left: auto !important;
            margin-right: inherit !important;
        }
        .mx-sm-auto {
            margin-left: auto !important;
            margin-right: auto !important;
        }
        .ms-sm-auto {
            margin-right: auto !important;
            margin-left: inherit !important;
        }
    }

    @media (min-width: 768px) {
        .me-md-0 {
            margin-left: 0 !important;
            margin-right: inherit !important;
        }
        .mx-md-0 {
            margin-left: 0 !important;
            margin-right: 0 !important;
        }
        .ms-md-0 {
            margin-right: 0 !important;
            margin-left: inherit !important;
        }
        .me-md-1 {
            margin-left: 0.25rem !important;
            margin-right: inherit !important;
        }
        .mx-md-1 {
            margin-left: 0.25rem !important;
            margin-right: 0.25rem !important;
        }
        .ms-md-1 {
            margin-right: 0.25rem !important;
            margin-left: inherit !important;
        }
        .me-md-2 {
            margin-left: 0.5rem !important;
            margin-right: inherit !important;
        }
        .mx-md-2 {
            margin-left: 0.5rem !important;
            margin-right: 0.5rem !important;
        }
        .ms-md-2 {
            margin-right: 0.5rem !important;
            margin-left: inherit !important;
        }
        .me-md-3 {
            margin-left: 0.75rem !important;
            margin-right: inherit !important;
        }
        .mx-md-3 {
            margin-left: 0.75rem !important;
            margin-right: 0.75rem !important;
        }
        .ms-md-3 {
            margin-right: 0.75rem !important;
            margin-left: inherit !important;
        }
        .me-md-4 {
            margin-left: 1rem !important;
            margin-right: inherit !important;
        }
        .mx-md-4 {
            margin-left: 1rem !important;
            margin-right: 1rem !important;
        }
        .ms-md-4 {
            margin-right: 1rem !important;
            margin-left: inherit !important;
        }
        .me-md-5 {
            margin-left: 1.5rem !important;
            margin-right: inherit !important;
        }
        .mx-md-5 {
            margin-left: 1.5rem !important;
            margin-right: 1.5rem !important;
        }
        .ms-md-5 {
            margin-right: 1.5rem !important;
            margin-left: inherit !important;
        }
        .me-md-6 {
            margin-left: 2rem !important;
            margin-right: inherit !important;
        }
        .mx-md-6 {
            margin-left: 2rem !important;
            margin-right: 2rem !important;
        }
        .ms-md-6 {
            margin-right: 2rem !important;
            margin-left: inherit !important;
        }
        .me-md-7 {
            margin-left: 3rem !important;
            margin-right: inherit !important;
        }
        .mx-md-7 {
            margin-left: 3rem !important;
            margin-right: 3rem !important;
        }
        .ms-md-7 {
            margin-right: 3rem !important;
            margin-left: inherit !important;
        }
        .me-md-8 {
            margin-left: 4rem !important;
            margin-right: inherit !important;
        }
        .mx-md-8 {
            margin-left: 4rem !important;
            margin-right: 4rem !important;
        }
        .ms-md-8 {
            margin-right: 4rem !important;
            margin-left: inherit !important;
        }
        .me-md-9 {
            margin-left: 6rem !important;
            margin-right: inherit !important;
        }
        .mx-md-9 {
            margin-left: 6rem !important;
            margin-right: 6rem !important;
        }
        .ms-md-9 {
            margin-right: 6rem !important;
            margin-left: inherit !important;
        }
        .me-md-auto {
            margin-left: auto !important;
            margin-right: inherit !important;
        }
        .mx-md-auto {
            margin-left: auto !important;
            margin-right: auto !important;
        }
        .ms-md-auto {
            margin-right: auto !important;
            margin-left: inherit !important;
        }
    }

    @media (min-width: 992px) {
        .me-lg-0 {
            margin-left: 0 !important;
            margin-right: inherit !important;
        }
        .mx-lg-0 {
            margin-left: 0 !important;
            margin-right: 0 !important;
        }
        .ms-lg-0 {
            margin-right: 0 !important;
            margin-left: inherit !important;
        }
        .me-lg-1 {
            margin-left: 0.25rem !important;
            margin-right: inherit !important;
        }
        .mx-lg-1 {
            margin-left: 0.25rem !important;
            margin-right: 0.25rem !important;
        }
        .ms-lg-1 {
            margin-right: 0.25rem !important;
            margin-left: inherit !important;
        }
        .me-lg-2 {
            margin-left: 0.5rem !important;
            margin-right: inherit !important;
        }
        .mx-lg-2 {
            margin-left: 0.5rem !important;
            margin-right: 0.5rem !important;
        }
        .ms-lg-2 {
            margin-right: 0.5rem !important;
            margin-left: inherit !important;
        }
        .me-lg-3 {
            margin-left: 0.75rem !important;
            margin-right: inherit !important;
        }
        .mx-lg-3 {
            margin-left: 0.75rem !important;
            margin-right: 0.75rem !important;
        }
        .ms-lg-3 {
            margin-right: 0.75rem !important;
            margin-left: inherit !important;
        }
        .me-lg-4 {
            margin-left: 1rem !important;
            margin-right: inherit !important;
        }
        .mx-lg-4 {
            margin-left: 1rem !important;
            margin-right: 1rem !important;
        }
        .ms-lg-4 {
            margin-right: 1rem !important;
            margin-left: inherit !important;
        }
        .me-lg-5 {
            margin-left: 1.5rem !important;
            margin-right: inherit !important;
        }
        .mx-lg-5 {
            margin-left: 1.5rem !important;
            margin-right: 1.5rem !important;
        }
        .ms-lg-5 {
            margin-right: 1.5rem !important;
            margin-left: inherit !important;
        }
        .me-lg-6 {
            margin-left: 2rem !important;
            margin-right: inherit !important;
        }
        .mx-lg-6 {
            margin-left: 2rem !important;
            margin-right: 2rem !important;
        }
        .ms-lg-6 {
            margin-right: 2rem !important;
            margin-left: inherit !important;
        }
        .me-lg-7 {
            margin-left: 3rem !important;
            margin-right: inherit !important;
        }
        .mx-lg-7 {
            margin-left: 3rem !important;
            margin-right: 3rem !important;
        }
        .ms-lg-7 {
            margin-right: 3rem !important;
            margin-left: 3rem !important;
        }
        .me-lg-8 {
            margin-left: 4rem !important;
            margin-right: inherit !important;
        }
        .ms-lg-8 {
            margin-right: 4rem !important;
            margin-left: inherit !important;
        }
        .mx-lg-8 {
            margin-right: 4rem !important;
            margin-left: 4rem !important;
        }
        .me-lg-9 {
            margin-left: 6rem !important;
            margin-right: inherit !important;
        }
        .ms-lg-9 {
            margin-right: 6rem !important;
            margin-left: inherit !important;
        }
        .mx-lg-9 {
            margin-right: 6rem !important;
            margin-left: 6rem !important;
        }
        .me-lg-auto {
            margin-left: auto !important;
            margin-right: inherit !important;
        }
        .ms-lg-auto {
            margin-right: auto !important;
            margin-left: inherit !important;
        }
        .mx-lg-auto {
            margin-right: auto !important;
            margin-left: auto !important;
        }
    }

    @media (min-width: 1280px) {
        .me-xl-0 {
            margin-left: 0 !important;
            margin-right: inherit !important;
        }
        .ms-xl-0 {
            margin-right: 0 !important;
            margin-left: inherit !important;
        }
        .mx-xl-0 {
            margin-right: 0 !important;
            margin-left: 0 !important;
        }
        .me-xl-1 {
            margin-left: 0.25rem !important;
            margin-right: inherit !important;
        }
        .ms-xl-1 {
            margin-right: 0.25rem !important;
            margin-left: inherit !important;
        }
        .mx-xl-1 {
            margin-right: 0.25rem !important;
            margin-left: 0.25rem !important;
        }
        .me-xl-2 {
            margin-left: 0.5rem !important;
            margin-right: inherit !important;
        }
        .ms-xl-2 {
            margin-right: 0.5rem !important;
            margin-left: inherit !important;
        }
        .mx-xl-2 {
            margin-right: 0.5rem !important;
            margin-left: 0.5rem !important;
        }
        .me-xl-3 {
            margin-left: 0.75rem !important;
            margin-right: inherit !important;
        }
        .ms-xl-3 {
            margin-right: 0.75rem !important;
            margin-left: inherit !important;
        }
        .mx-xl-3 {
            margin-right: 0.75rem !important;
            margin-left: 0.75rem !important;
        }
        .me-xl-4 {
            margin-left: 1rem !important;
            margin-right: inherit !important;
        }
        .ms-xl-4 {
            margin-right: 1rem !important;
            margin-left: inherit !important;
        }
        .mx-xl-4 {
            margin-right: 1rem !important;
            margin-left: 1rem !important;
        }
        .me-xl-5 {
            margin-left: 1.5rem !important;
            margin-right: inherit !important;
        }
        .ms-xl-5 {
            margin-right: 1.5rem !important;
            margin-left: inherit !important;
        }
        .mx-xl-5 {
            margin-right: 1.5rem !important;
            margin-left: 1.5rem !important;
        }
        .me-xl-6 {
            margin-left: 2rem !important;
            margin-right: inherit !important;
        }
        .ms-xl-6 {
            margin-right: 2rem !important;
            margin-left: inherit !important;
        }
        .mx-xl-6 {
            margin-right: 2rem !important;
            margin-left: 2rem !important;
        }
        .me-xl-7 {
            margin-left: 3rem !important;
            margin-right: inherit !important;
        }
        .ms-xl-7 {
            margin-right: 3rem !important;
            margin-left: inherit !important;
        }
        .mx-xl-7 {
            margin-right: 3rem !important;
            margin-left: 3rem !important;
        }
        .me-xl-8 {
            margin-left: 4rem !important;
            margin-right: inherit !important;
        }
        .ms-xl-8 {
            margin-right: 4rem !important;
            margin-left: inherit !important;
        }
        .mx-xl-8 {
            margin-right: 4rem !important;
            margin-left: 4rem !important;
        }
        .me-xl-9 {
            margin-left: 6rem !important;
            margin-right: inherit !important;
        }
        .ms-xl-9 {
            margin-right: 6rem !important;
            margin-left: inherit !important;
        }
        .mx-xl-9 {
            margin-right: 6rem !important;
            margin-left: 6rem !important;
        }
        .me-xl-auto {
            margin-left: auto !important;
            margin-right: auto !important;
        }
        .ms-xl-auto {
            margin-right: auto !important;
            margin-left: inherit !important;
        }
        .mx-xl-auto {
            margin-right: auto !important;
            margin-left: auto !important;
        }
    }
}

/*--------- Paddings--------------*/

.rtl {
    .pe-0 {
        padding-left: 0 !important;
        padding-right: inherit !important;
    }
    .px-0 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .ps-0 {
        padding-right: 0 !important;
        padding-left: inherit !important;
    }
    .pe-1 {
        padding-left: 0.25rem !important;
        padding-right: inherit !important;
    }
    .px-1 {
        padding-left: 0.25rem !important;
        padding-right: 0.25rem !important;
    }
    .ps-1 {
        padding-right: 0.25rem !important;
        padding-left: inherit !important;
    }
    .pe-2 {
        padding-left: 0.5rem !important;
        padding-right: inherit !important;
    }
    .px-2 {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
    .ps-2 {
        padding-right: 0.5rem !important;
        padding-left: inherit !important;
    }
    .pe-3 {
        padding-left: 0.75rem !important;
        padding-right: inherit !important;
    }
    .px-3 {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    .ps-3 {
        padding-right: 0.75rem !important;
        padding-left: inherit !important;
    }
    .pe-4 {
        padding-left: 1rem !important;
        padding-right: inherit !important;
    }
    .px-4 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    .ps-4 {
        padding-right: 1rem !important;
        padding-left: inherit !important;
    }
    .pe-5 {
        padding-left: 1.5rem !important;
        padding-right: inherit !important;
    }
    .px-5 {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
    .ps-5 {
        padding-right: 1.5rem !important;
        padding-left: inherit !important;
    }
    .px-5 {
        padding-right: 1.5rem !important;
        padding-left: 1.5rem !important;
    }
    .pe-6 {
        padding-left: 2rem !important;
        padding-right: inherit !important;
    }
    .px-6 {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
    .ps-6 {
        padding-right: 2rem !important;
        padding-left: inherit !important;
    }
    .pe-7 {
        padding-left: 3rem !important;
        padding-right: inherit !important;
    }
    .px-7 {
        padding-left: 3rem !important;
        padding-right: 3rem !important;
    }
    .ps-7 {
        padding-right: 3rem !important;
        padding-left: inherit !important;
    }
    .pe-8 {
        padding-left: 4rem !important;
        padding-right: inherit !important;
    }
    .px-8 {
        padding-left: 4rem !important;
        padding-right: 4rem !important;
    }
    .ps-8 {
        padding-right: 4rem !important;
        padding-left: 4rem !important;
    }
    .pe-9 {
        padding-left: 6rem !important;
        padding-right: inherit !important;
    }
    .px-9 {
        padding-left: 6rem !important;
        padding-right: 6rem !important;
    }
    .ps-9 {
        padding-right: 6rem !important;
        padding-left: inherit !important;
    }
    @media (min-width: 576px) {
        .pe-sm-0 {
            padding-left: 0 !important;
            padding-right: 0 !important;
        }
        .px-sm-0 {
            padding-left: 0 !important;
            padding-right: inherit !important;
        }
        .ps-sm-0 {
            padding-right: 0 !important;
            padding-left: inherit !important;
        }
        .pe-sm-1 {
            padding-left: 0.25rem !important;
            padding-right: inherit !important;
        }
        .px-sm-1 {
            padding-left: 0.25rem !important;
            padding-right: 0.25rem !important;
        }
        .ps-sm-1 {
            padding-right: 0.25rem !important;
            padding-left: inherit !important;
        }
        .pe-sm-2 {
            padding-left: 0.5rem !important;
            padding-right: inherit !important;
        }
        .px-sm-2 {
            padding-left: 0.5rem !important;
            padding-right: 0.5rem !important;
        }
        .ps-sm-2 {
            padding-right: 0.5rem !important;
            padding-left: inherit !important;
        }
        .pe-sm-3 {
            padding-left: 0.75rem !important;
            padding-right: inherit !important;
        }
        .px-sm-3 {
            padding-left: 0.75rem !important;
            padding-right: 0.75rem !important;
        }
        .ps-sm-3 {
            padding-right: 0.75rem !important;
            padding-left: inherit !important;
        }
        .pe-sm-4 {
            padding-left: 1rem !important;
            padding-right: inherit !important;
        }
        .px-sm-4 {
            padding-left: 1rem !important;
            padding-right: 1rem !important;
        }
        .ps-sm-4 {
            padding-right: 1rem !important;
            padding-left: inherit !important;
        }
        .pe-sm-5 {
            padding-left: 1.5rem !important;
            padding-right: inherit !important;
        }
        .px-sm-5 {
            padding-left: 1.5rem !important;
            padding-right: 1.5rem !important;
        }
        .ps-sm-5 {
            padding-right: 1.5rem !important;
            padding-left: inherit !important;
        }
        .pe-sm-6 {
            padding-left: 2rem !important;
            padding-right: inherit !important;
        }
        .px-sm-6 {
            padding-left: 2rem !important;
            padding-right: 2rem !important;
        }
        .ps-sm-6 {
            padding-right: 2rem !important;
            padding-left: inherit !important;
        }
        .pe-sm-7 {
            padding-left: 3rem !important;
            padding-right: inherit !important;
        }
        .px-sm-7 {
            padding-left: 3rem !important;
            padding-right: 3rem !important;
        }
        .ps-sm-7 {
            padding-right: 3rem !important;
            padding-left: inherit !important;
        }
        .pe-sm-8 {
            padding-left: 4rem !important;
            padding-right: inherit !important;
        }
        .px-sm-8 {
            padding-left: 4rem !important;
            padding-right: 4rem !important;
        }
        .ps-sm-8 {
            padding-right: 4rem !important;
            padding-left: inherit !important;
        }
        .pe-sm-9 {
            padding-left: 6rem !important;
            padding-right: inherit !important;
        }
        .px-sm-9 {
            padding-left: 6rem !important;
            padding-right: 6rem !important;
        }
        .ps-sm-9 {
            padding-right: 6rem !important;
            padding-left: inherit !important;
        }
    }
    @media (min-width: 768px) {
        .pe-md-0 {
            padding-left: 0 !important;
            padding-right: inherit !important;
        }
        .px-md-0 {
            padding-left: 0 !important;
            padding-right: 0 !important;
        }
        .ps-md-0 {
            padding-right: 0 !important;
            padding-left: inherit !important;
        }
        .pe-md-1 {
            padding-left: 0.25rem !important;
            padding-right: inherit !important;
        }
        .px-md-1 {
            padding-left: 0.25rem !important;
            padding-right: 0.25rem !important;
        }
        .ps-md-1 {
            padding-right: 0.25rem !important;
            padding-left: inherit !important;
        }
        .pe-md-2 {
            padding-left: 0.5rem !important;
            padding-right: inherit !important;
        }
        .px-md-2 {
            padding-left: 0.5rem !important;
            padding-right: 0.5rem !important;
        }
        .ps-md-2 {
            padding-right: 0.5rem !important;
            padding-left: inherit !important;
        }
        .pe-md-3 {
            padding-left: 0.75rem !important;
            padding-right: inherit !important;
        }
        .ps-md-3 {
            padding-right: 0.75rem !important;
            padding-left: inherit !important;
        }
        .px-md-3 {
            padding-right: 0.75rem !important;
            padding-left: 0.75rem !important;
        }
        .pe-md-4 {
            padding-left: 1rem !important;
            padding-right: inherit !important;
        }
        .px-md-4 {
            padding-left: 1rem !important;
            padding-right: 1rem !important;
        }
        .ps-md-4 {
            padding-right: 1rem !important;
            padding-left: inherit !important;
        }
        .pe-md-5 {
            padding-left: 1.5rem !important;
            padding-right: 1.5rem !important;
        }
        .ps-md-5 {
            padding-right: 1.5rem !important;
            padding-left: inherit !important;
        }
        .px-md-5 {
            padding-right: 1.5rem !important;
            padding-left: 1.5rem !important;
        }
        .pe-md-6 {
            padding-left: 2rem !important;
            padding-right: inherit !important;
        }
        .px-md-6 {
            padding-left: 2rem !important;
            padding-right: 2rem !important;
        }
        .ps-md-6 {
            padding-right: 2rem !important;
            padding-left: inherit !important;
        }
        .pe-md-7 {
            padding-left: 3rem !important;
            padding-right: inherit !important;
        }
        .px-md-7 {
            padding-left: 3rem !important;
            padding-right: 3rem !important;
        }
        .ps-md-7 {
            padding-right: 3rem !important;
            padding-left: inherit !important;
        }
        .pe-md-8 {
            padding-left: 4rem !important;
            padding-right: inherit !important;
        }
        .px-md-8 {
            padding-left: 4rem !important;
            padding-right: 4rem !important;
        }
        .ps-md-8 {
            padding-right: 4rem !important;
            padding-left: inherit !important;
        }
        .pe-md-9 {
            padding-left: 6rem !important;
            padding-right: inherit !important;
        }
        .px-md-9 {
            padding-left: 6rem !important;
            padding-right: 6rem !important;
        }
        .ps-md-9 {
            padding-right: 6rem !important;
            padding-left: 6rem !important;
        }
    }
    @media (min-width: 992px) {
        .pe-lg-0 {
            padding-left: 0 !important;
            padding-right: inherit !important;
        }
        .px-lg-0 {
            padding-left: 0 !important;
            padding-right: 0 !important;
        }
        .ps-lg-0 {
            padding-right: 0 !important;
            padding-left: inherit !important;
        }
        .pe-lg-1 {
            padding-left: 0.25rem !important;
            padding-right: inherit !important;
        }
        .px-lg-1 {
            padding-left: 0.25rem !important;
            padding-right: 0.25rem !important;
        }
        .ps-lg-1 {
            padding-right: 0.25rem !important;
            padding-left: inherit !important;
        }
        .pe-lg-2 {
            padding-left: 0.5rem !important;
            padding-right: inherit !important;
        }
        .px-lg-2 {
            padding-left: 0.5rem !important;
            padding-right: 0.5rem !important;
        }
        .ps-lg-2 {
            padding-right: 0.5rem !important;
            padding-left: inherit !important;
        }
        .px-lg-2 {
            padding-right: 0.5rem !important;
            padding-left: 0.5rem !important;
        }
        .pe-lg-3 {
            padding-left: 0.75rem !important;
            padding-right: inherit !important;
        }
        .px-lg-3 {
            padding-left: 0.75rem !important;
            padding-right: 0.75rem !important;
        }
        .ps-lg-3 {
            padding-right: 0.75rem !important;
            padding-left: inherit !important;
        }
        .pe-lg-4 {
            padding-left: 1rem !important;
            padding-right: inherit !important;
        }
        .px-lg-4 {
            padding-left: 1rem !important;
            padding-right: 1rem !important;
        }
        .ps-lg-4 {
            padding-right: 1rem !important;
            padding-left: inherit !important;
        }
        .pe-lg-5 {
            padding-left: 1.5rem !important;
            padding-right: inherit !important;
        }
        .px-lg-5 {
            padding-left: 1.5rem !important;
            padding-right: 1.5rem !important;
        }
        .ps-lg-5 {
            padding-right: 1.5rem !important;
            padding-left: inherit !important;
        }
        .pe-lg-6 {
            padding-left: 2rem !important;
            padding-right: inherit !important;
        }
        .px-lg-6 {
            padding-left: 2rem !important;
            padding-right: 2rem !important;
        }
        .ps-lg-6 {
            padding-right: 2rem !important;
            padding-left: inherit !important;
        }
        .pe-lg-7 {
            padding-left: 3rem !important;
            padding-right: inherit !important;
        }
        .px-lg-7 {
            padding-left: 3rem !important;
            padding-right: 3rem !important;
        }
        .ps-lg-7 {
            padding-right: 3rem !important;
            padding-left: inherit !important;
        }
        .pe-lg-8 {
            padding-left: 4rem !important;
            padding-right: inherit !important;
        }
        .px-lg-8 {
            padding-left: 4rem !important;
            padding-right: 4rem !important;
        }
        .ps-lg-8 {
            padding-right: 4rem !important;
            padding-left: inherit !important;
        }
        .pe-lg-9 {
            padding-left: 6rem !important;
            padding-right: inherit !important;
        }
        .px-lg-9 {
            padding-left: 6rem !important;
            padding-right: 6rem !important;
        }
        .ps-lg-9 {
            padding-right: 6rem !important;
            padding-left: onh !important;
        }
    }
    @media (min-width: 1280px) {
        .pe-xl-0 {
            padding-left: 0 !important;
            padding-right: inherit !important;
        }
        .px-xl-0 {
            padding-left: 0 !important;
            padding-right: 0 !important;
        }
        .ps-xl-0 {
            padding-right: 0 !important;
            padding-left: inherit !important;
        }
        .pe-xl-1 {
            padding-left: 0.25rem !important;
            padding-right: inherit !important;
        }
        .px-xl-1 {
            padding-left: 0.25rem !important;
            padding-right: 0.25rem !important;
        }
        .ps-xl-1 {
            padding-right: 0.25rem !important;
            padding-left: inherit !important;
        }
        .pe-xl-2 {
            padding-left: 0.5rem !important;
            padding-right: inherit !important;
        }
        .px-xl-2 {
            padding-left: 0.5rem !important;
            padding-right: 0.5rem !important;
        }
        .ps-xl-2 {
            padding-right: 0.5rem !important;
            padding-left: inherit !important;
        }
        .pe-xl-3 {
            padding-left: 0.75rem !important;
            padding-right: inherit !important;
        }
        .px-xl-3 {
            padding-left: 0.75rem !important;
            padding-right: 0.75rem !important;
        }
        .ps-xl-3 {
            padding-right: 0.75rem !important;
            padding-left: inherit !important;
        }
        .pe-xl-4 {
            padding-left: 1rem !important;
            padding-right: inherit !important;
        }
        .px-xl-4 {
            padding-left: 1rem !important;
            padding-right: 1rem !important;
        }
        .ps-xl-4 {
            padding-right: 1rem !important;
            padding-left: inherit !important;
        }
        .pe-xl-5 {
            padding-left: 1.5rem !important;
            padding-right: inherit !important;
        }
        .px-xl-5 {
            padding-left: 1.5rem !important;
            padding-right: 1.5rem !important;
        }
        .ps-xl-5 {
            padding-right: 1.5rem !important;
            padding-left: inherit !important;
        }
        .pe-xl-6 {
            padding-left: 2rem !important;
            padding-right: inherit !important;
        }
        .px-xl-6 {
            padding-left: 2rem !important;
            padding-right: 2rem !important;
        }
        .ps-xl-6,
        .px-xl-6 {
            padding-right: 2rem !important;
            padding-left: inherit !important;
        }
        .pe-xl-7 {
            padding-left: 3rem !important;
            padding-right: inherit !important;
        }
        .px-xl-7 {
            padding-left: 3rem !important;
            padding-right: 3rem !important;
        }
        .ps-xl-7 {
            padding-right: 3rem !important;
            padding-left: inherit !important;
        }
        .pe-xl-8 {
            padding-left: 4rem !important;
            padding-right: inherit !important;
        }
        .px-xl-8 {
            padding-left: 4rem !important;
            padding-right: 4rem !important;
        }
        .ps-xl-8 {
            padding-right: 4rem !important;
            padding-left: inherit !important;
        }
        .pe-xl-9 {
            padding-left: 6rem !important;
            padding-right: inherit !important;
        }
        .px-xl-9 {
            padding-left: 6rem !important;
            padding-right: 6rem !important;
        }
        .ps-xl-9 {
            padding-right: 6rem !important;
            padding-left: inherit !important;
        }
    }
}

// TYPOGRAPHY //@at-root

.rtl {
    .text-start {
        text-align: right !important;
    }
    .text-end {
        text-align: left !important;
    }
    @media (min-width: 576px) {
        .text-sm-left {
            text-align: right !important;
        }
        .text-sm-right {
            text-align: left !important;
        }
    }
    @media (min-width: 768px) {
        .text-md-left {
            text-align: right !important;
        }
        .text-md-right {
            text-align: left !important;
        }
    }
    @media (min-width: 992px) {
        .text-lg-left {
            text-align: right !important;
        }
        .text-lg-right {
            text-align: left !important;
        }
    }
    @media (min-width: 1280px) {
        .text-xl-left {
            text-align: right !important;
        }
        .text-xl-right {
            text-align: left !important;
        }
    }
    .text-end {
        text-align: left;
    }
}

.rtl .fc .fc-scroller-harness {
    direction: rtl;
}
.rtl {
    &.hover-submenu .sub-angle {
        margin-left: 0;
        margin-right: inherit;
    }
    &.hover-submenu1 .sub-angle {
        margin-left: 0;
        margin-right: inherit;
    }
    .fe-chevron-right:before {
        content: "\e92e";
    }
    &.hover-submenu .slide-menu li .slide-item:before {
        content: "\e0e7";
    }
    &.hover-submenu .slide-menu a:before {
        content: "\e0e7";
    }
    &.icontext-menu .slide-menu li .slide-item:before {
        content: "\e0e7";
    }
    &.icontext-menu .slide-menu a:before {
        content: "\e0e7";
    }
    &.closed-leftmenu .slide-menu a:before {
        content: "\e0e7";
    }
    &.closed-leftmenu .slide-menu li .slide-item:before {
        content: "\e0e7";
    }
    &.hover-submenu1 .slide-menu li .slide-item:before {
        content: "\e0e7";
    }
    &.hover-submenu1 .slide-menu a:before {
        content: "\e0e7";
    }
    #transactions {
        width: 100% !important;
    }
    #chartBar1 {
        width: 100% !important;
    }
    #chartLine {
        width: 100% !important;
    }
    #chartArea {
        width: 100% !important;
    }
    #chartBar2 {
        width: 100% !important;
    }
}
.rtl {
    &.horizontal {
        .sub-slide .sub-slide-menu {
            right: 180px;
            left: inherit;
        }
        .main-sidemenu i.angle {
            left: -4px;
            right: inherit;
        }
        .sub-slide .sub-slide-menu2 {
            right: 180px;
            left: inherit;
        }
        .sub-angle2 {
            margin-left: 11px;
            margin-right: 11px;
        }
        .sub-slide .sub-angle {
            left: 0px;
            top: -2px;
            right: auto;
            margin-left: 0 !important;
            margin-right: inherit !important;
        }
        // .main-sidemenu .slide.is-expanded i.angle {
        //     transform: rotate(90deg);
        // }
    }
}

.rtl {
    &.color-header.gradient-menu .app-sidebar {
        border-left: 1px solid rgba(255, 255, 255, 0.05);
        border-right: inherit;
    }
    &.dark-menu .side-header {
        border-left: 1px solid $border-dark;
        border-right: inherit;
    }
    &.color-header.color-menu .side-header {
        border-left: 1px solid $border-dark;
        border-right: inherit;
    }
    &.color-header.gradient-menu .side-header {
        border-left: 1px solid $border-dark;
        border-right: inherit;
    }
    &.gradient-header.color-menu .side-header {
        border-left: 1px solid $border-dark;
        border-right: inherit;
    }
    &.gradient-header.gradient-menu .side-header {
        border-left: 1px solid $border-dark;
        border-right: inherit;
    }
    &.dark-header.color-menu .side-header {
        border-left: 1px solid $border-dark;
        border-right: inherit;
    }
    &.dark-header.gradient-menu .side-header {
        border-left: 1px solid $border-dark;
        border-right: inherit;
    }
    &.dark-header.gradient-menu .app-sidebar {
        border-left: 1px solid rgba(255, 255, 255, 0.05);
        border-right: inherit;
    }
    &.gradient-header.gradient-menu .app-sidebar {
        border-left: 1px solid rgba(255, 255, 255, 0.05);
        border-right: inherit;
    }
}
@media (min-width: 768px) {
    .rtl.horizontal .main-sidemenu .slide-right {
        right: initial !important;
        left: 20px;
        transform: rotate(180deg);
    }
    .rtl.horizontal .main-sidemenu .slide-left {
        left: initial !important;
        right: 20px;
        transform: rotate(180deg);
    }
}
.rtl .cal1 .clndr .clndr-table tr .day {
    border-right: 1px solid $border;
}
.rtl .cal1 .clndr .clndr-table tr .day:last-child {
    border-right: 1px solid $border;
    border-left: 1px solid $border;
}
.rtl .main-content-body-chat {
    .border-start-0 {
        border-left: 1px solid $border !important;
    }
}

.rtl .main-chat-footer {
    padding-right: inherit;
    padding-left: 20px;
}
.rtl .main-chat-footer .form-control {
    padding-left: 0;
    padding-right: 12px;
}
.rtl table.dataTable > thead .sorting::before,
.rtl table.dataTable > thead .sorting_asc::before,
.rtl table.dataTable > thead .sorting_desc::before,
.rtl table.dataTable > thead .sorting_asc_disabled::before,
.rtl table.dataTable > thead .sorting_desc_disabled::before {
    left: 1em;
    right: auto;
}
.rtl table.dataTable > thead .sorting::after,
.rtl table.dataTable > thead .sorting_asc::after,
.rtl table.dataTable > thead .sorting_desc::after,
.rtl table.dataTable > thead .sorting_asc_disabled::after,
.rtl table.dataTable > thead .sorting_desc_disabled::after {
    left: 0.5em;
    right: auto;
}
.rtl .like,
.rtl .reply {
    i {
        float: right;
    }
}
.rtl .file-dropdown {
    .dropdown-item {
        i {
            float: right;
        }
    }
}
.rtl {
    &.dark-mode.light-menu.header-light .app-sidebar {
        border-left-color: #e6e6e6;
        border-right-color: #e6e6e6;
    }
}
@media (min-width: 992px) {
    .rtl.dark-mode.light-menu .side-header {
        border-left: 1px solid $border !important;
        border-right: 0px !important;
    }
}

@media (max-width: 576px) {
    .rtl .wideget-user .social.social-profile-buttons {
        margin-right: 0;
    }
}
@media only screen and (max-width: 460px) {
    .rtl .profile-cover__img .profile-img-1 > img {
        margin-right: -29px;
        margin-left: inherit;
    }
}
@media (min-width: 576px) {
    .rtl .wizard > .steps > ul li + li {
        margin-right: 20px;
        margin-left: inherit;
    }
    .rtl .wizard.vertical > .actions {
        float: left;
        border-right: 1px solid $border;
        border-left: 0;
    }
    .rtl .wizard.vertical > .content {
        float: left;
        border-right: 1px solid $border;
        border-left: 0;
    }
}
.rtl .wizard > .steps > ul li + li {
    margin-right: 5px;
    margin-left: inherit;
}

.rtl.dark-menu .app-sidebar {
    border-left-color: $dark-theme;
    border-right: inherit;
}

.rtl.dark-mode .cal1 .clndr .clndr-table tr .day:last-child {
    border-left-color: $border-dark;
    border-right-color: $border-dark;
}
.rtl.dark-mode .cal1 .clndr .clndr-table tr .day {
    border-right-color: $border-dark;
}

.rtl {
    table.dataTable > thead > tr > th:not(.sorting_disabled),
    table.dataTable > thead > tr > td:not(.sorting_disabled) {
        padding-right: 0.65rem !important;
        padding-left: 30px;
    }
    table.table-bordered.dataTable th:last-child,
    table.table-bordered.dataTable th:last-child,
    table.table-bordered.dataTable td:last-child,
    table.table-bordered.dataTable td:last-child {
        border-left-width: 2px !important;
    }
    blockquote {
        padding-left: 0;
        border-left: 0;
        padding-right: 2rem;
        border-right: 2px solid $border;
    }
    .btn-list-icon {
        i {
            float: right;
            margin-top: 4px;
        }
    }
    .btn-list {
        .dropdown {
            i {
                float: right;
            }
        }
    }
    .card-img-left {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        border-top-right-radius: 7px;
        border-bottom-right-radius: 7px;
    }
    .card-img-right {
        border-top-left-radius: 7px;
        border-bottom-left-radius: 7px;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }
    .panel-tabs {
        li a {
            i {
                float: right;
                margin-top: 3px;
            }
        }
    }
    .product-list .icons {
        right: auto;
        left: 10px;
        text-align: left;
    }
    .chart-circle.chart-circle-sm {
        margin-left: auto !important;
    }
    div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:last-child {
        padding-left: 0;
        padding-right: initial;
    }
    .blockquote-reverse {
        border-left: 2px solid #e9edf4;
        border-right: 0;
        text-align: left;
        padding-right: 0;
        padding-left: 2rem;
    }
}
@media screen and (max-width: 1354px) {
    .rtl #tab5 table.table-bordered.dataTable th:last-child,
    .rtl #tab5 table.table-bordered.dataTable th:last-child,
    .rtl #tab5 table.table-bordered.dataTable td:last-child,
    .rtl #tab5 table.table-bordered.dataTable td:last-child {
        border-left-width: 1px;
    }
    .rtl {
        .example {
            .btn {
                .badge {
                    margin-left: 0 !important;
                }
            }
        }
    }
}

@media (max-width: 1620px) and (min-width: 1280px) {
    .rtl #user-profile {
        .media.media-xs {
            .social-profile-buttons,
            .text-end {
                float: right !important;
            }
        }
    }
}
.rtl {
    .tag-avatar {
        border-radius: 0px 3px 3px 0px;
    }
    .status-indicator.tickets::before {
        right: -20px;
        left: inherit;
        transform: translate(-50%, -41%);
    }
    .list-group {
        .list-group-item.border-0.p-0 {
            a {
                i {
                    float: right;
                    margin-top: 4px;
                }
            }
        }
    }
    table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control {
        padding-right: 30px !important;
        padding-left: inherit !important;
    }
    table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before,
    table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control:before {
        right: 5px;
        left: 0;
    }
    @media (max-width: 767px) {
        .table-inbox {
            td,
            th {
                &:last-child {
                    border-left-width: 1px;
                }
            }
        }
    }
    .scrollspy-example-2 {
        border-radius: 5px 0 0 5px;
    }

    .dtr-bs-modal {
        .dtr-details {
            tr {
                td {
                    &:first-child {
                        border-left: 1px solid $border;
                        border-right: 0px;
                    }
                }
            }
        }
    }
    @media screen and (max-width: 480px) {
        .sw-theme-dots > ul.step-anchor > li {
            margin-left: auto;
            margin-right: 20px;
        }
    }
    .login-social-icon::after {
        left: 0;
        right: auto;
    }
    .main-chat-time::after {
        left: 0;
        right: auto;
    }
    @media (max-width: 576px) {
        .custom-layout {
            right: auto;
            left: 7px;
        }
    }
}
@media (min-width:992px) {
    .rtl.dark-mode {
        .app-sidebar {
            border-left: 1px solid $border-dark;
            border-right: inherit;
        }
        .side-header {
            border-left: 0px solid $border-dark;
            border-right: initial;
        }
    }
    .rtl.sidebar-mini.sidenav-toggled .app-sidebar{
        right: 0;
        left: initial;
    }
}
@media (max-width:991.98px) {
    .rtl.dark-mode {
        .app-sidebar {
            border-left: 1px solid $border-dark;
            border-right: inherit;
        }
    }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .rtl {
        .logo-horizontal .header-brand-img {
            margin-right: 60px;
            margin-left: inherit;
        }
    }    
}
@media (min-width: 768px) {
    .rtl.sidebar-mini.sidenav-toggled.sidenav-toggled-open .side-menu__icon {
        margin-left: 8px !important;
        margin-right: inherit !important;
    }
    .rtl {
        .side-header {
            left: initial;
        }  
    }
}    
@media (min-width: 991.98px) and (max-width: 1276px) {
    .rtl .header .btn {
        // margin-right: 222px !important;
    }
}  

.rtl{
    #chartD{
        .apexcharts-canvas{
            width: 100% !important;
            svg{
                width: 100% !important;
            }
        }
    }
}



