.topbar {
    right: 250px;
    left: 0;
}

.wrapper.toggled .topbar {
    left: 0;
    right: 70px;
}

.wrapper.toggled .page-wrapper {
    margin-left: 0;
    margin-right: 70px;
}

.page-wrapper {
    margin-left: 0;
    margin-right: 250px;
}

.page-footer {
    right: 250px;
    left: 0;
}

.topbar, .navbar, .navbar .user-box, .page-content, #crud_datatable_length label {
    direction: rtl;
}

.nav {
    padding-right: 0;
}

.navbar .user-box a div {
    padding-left: 0rem !important;
    padding-right: 1rem !important;
}

.navbar .top-menu {
    margin-right: auto !important;
    margin-left: 0 !important;
}

.breadcrumb-title {
    border-right: none;
    border-left: none;
    padding-left: 0;
}

.search-close {
    right: auto;
    left: 10px;
}

.search-show {
    right: 15px;
}

.page-breadcrumb .ps-3 {
    padding-right: 1rem !important;
    padding-left: 0 !important;
}

.breadcrumb-item + .breadcrumb-item {
    padding-right: 0.5rem;
    padding-left: 0;
}

.page-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "\EA5a";
}

.btn-group > .btn-group:not(:last-child) > .btn, .btn-group > .btn:not(:last-child):not(.dropdown-toggle) {
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}

.btn-group > .btn-group:not(:first-child) > .btn, .btn-group > .btn:nth-child(n+3), .btn-group > :not(.btn-check) + .btn {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}
._auth_form .form-check-input[type=checkbox],._registration_wrapper._auth_form .form-check-input[type=checkbox]:not(.login ._auth_form .form-check-input[type=checkbox]):not(._registration_wrapper._auth_form .gender[type=checkbox])   {

    margin-left: 0.5em !important;
    margin-right:0 !important;
}
div.dataTables_wrapper div.dataTables_filter {
    text-align: left !important;
}

div.dataTables_wrapper div.dataTables_filter input {
    margin-right: 0.5em;
    margin-left: 0 !important;
}

table.table-bordered.dataTable th, table.table-bordered.dataTable td {
    border-left-width: 1px !important;
    border-right: none !important;
}

.page-item:first-child .page-link {
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.page-item:last-child .page-link {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}

.buttons-copy {
    border-top-right-radius: 5px !important;
    border-bottom-right-radius: 5px !important;
}

/* ADD NEW */
.accordion-button::after {
    margin-right: auto;
    margin-left: 0;
}

/* NAVBAR SEARCH */
.search-control {
    padding-right: 2.5rem;
}

/* NOTIFICATION PANEL */

._main_menu .navbar-toggle-icon{
    transform: rotateY(180deg);
}
.dropdown-menu-end[data-bs-popper] {
    left: 0;
    right: auto;
}

.topbar .navbar .dropdown-large .dropdown-menu::after {
    right: auto;
    left: 16px;
}

.dropdown-large .msg-header, .dropdown-item div {
    direction: rtl;
}

.dropdown-large .msg-header .msg-header-clear {
    margin-right: auto;
    margin-left: 0 !important;
}

.dropdown-large .notify {
    margin-right: 0;
    margin-left: 15px;
}

.dropdown-large .msg-info {
    clear: both;
    text-align: start;
}

.dropdown-large .msg-time {
    position: absolute;
    left: 10px;
}

.dropdown-large .msg-name {
    float: right;
}

.navbar-expand .navbar-nav .dropdown-menu {
    direction: ltr;
}

/* MESSAGES */
.dropdown-large .msg-avatar {
    margin-left: 15px;
    margin-right: 0;
}

/* SIDE_MENU */
.sidebar-wrapper {
    right: 0;
    left: auto;
    direction: rtl;
}

.sidebar-wrapper .metismenu a {
    justify-content: right;
}

.sidebar-wrapper .metismenu a .menu-title {
    margin-left: auto;
    margin-right: 10px;
}

.switcher-wrapper {
    left: -280px;
    right: auto;
}

.switcher-btn {
    right: calc(0% - 40px);
    left: 100%;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}

.metismenu .has-arrow:after {
    left: 15px;
    right: auto;
}

.switcher-toggled-rtl {
    left: 0;
    direction: rtl;
}

.sidebar-wrapper .metismenu ul a i {
    margin-left: 10px;
}

.sidebar-header .ms-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
}

/* SETTINGS PANEL */
.btn-close {
    margin-right: auto;
    margin-left: 0 !important;
}

.switcher-body .form-check .form-check-input {
    float: right;
    margin-left: 5px;
}

/* PROFILe */
.dropdown-item {
    text-align-last: right;
}

/* SELECT2 */
.select2-container .select2-selection--single .select2-selection__rendered,
.select2-container--bootstrap4 .select2-dropdown.select2-dropdown--below {
    direction: rtl;
}

.sidebar-wrapper .metismenu ul a{
    padding: 6px 50px 6px 15px;
}

.metismenu .has-arrow:after {
    transform: rotate(315deg) translateY(-50%) !important;
}

.dropdown-menu.show::after {
    left: 16px;
    right: auto;
}

td img {
    padding: 0 0 0 10px;
}

.breadcrumb-title:after {
    margin-right: 10px;
    margin-left: auto;
}

tr{
    direction: ltr;
    text-align: right;
}

._count_of_permissions{
    margin-right: auto;
    margin-left: 1rem;
}

.page-content .form-check-input[type=checkbox]:not(._status_toggle_btn) {
    margin-right: auto !important;
    margin-left: 1em !important;
}

.form-check .form-check-input {
    float: right;
}

._auth_form ._password_eye{
    right: auto;
    left: 0;
}

._back_button{
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg); /* Safari and Chrome */
    -moz-transform: rotate(180deg); /* Firefox */
    -ms-transform: rotate(180deg); /* Internet Explorer */
    -o-transform: rotate(180deg); /* Opera */
}

._back_button ._back_button{
    transform: rotate(4deg);
    -webkit-transform: rotate(4deg); /* Safari and Chrome */
    -moz-transform: rotate(4deg); /* Firefox */
    -ms-transform: rotate(4deg); /* Internet Explorer */
    -o-transform: rotate(4deg); /* Opera */
}

/* tinyMCE textarea  */
body[data-id$="ar"],
body[data-id$="ur"],
body[data-id$="ug"],
body[data-id$="uz-Arab"],
body[data-id$="tg-Arab"],
body[data-id$="sd"],
body[data-id$="fa"],
body[data-id$="pa-Arab"],
body[data-id$="ps"],
body[data-id$="ks"],
body[data-id$="ku"] {
    direction: rtl;
}


._contact_us ._contact_listing img {
    float:right
}
.slick-list {
    direction: ltr;
}

._home_section_heading {
    margin-right: 0;
    margin-left: 2.5rem;
}

/* body  */

body * {
    direction: rtl;
}

/* homepage css  */

._counters li + li:before{
    left: unset;
    right: -50%;
    top: -4%;
}

._resources_slider .slick-next.slick-arrow{
    right: unset;
    left: 70px;
    width: 45px;
    height: 45px;
}

._resources_slider .slick-prev.slick-arrow{
    right: unset !important;
    left: 0px;
    width: 60px;
    height: 60px;
}

._news_see_all {
    text-align: left;
}

._custom_slider .slick-prev.slick-arrow{
    right: unset;
    left: 12px;
}

._custom_slider .slick-next.slick-arrow{
    right: unset;
    left : 84px;
}

._latest_news ._title, ._news_wrapper {
    direction: rtl;
    padding: unset
}


._news_wrapper ._tags ._tag:not(._single_details ._tags ._tag:first-child):first-child,
._sidebar ._tags ._tag:first-child
{
    padding-right: 0px;
    padding-left: 18px;
}

._news_wrapper ._tags ._tag:first-child{
    padding-left: 18px;
}


._sidebar ._tags ._tag:first-child {
    padding-right: 0px;
}

._post_details ._date img{
    margin-left:10px;
    margin-right: unset;
}
._news_details p{
    text-align: right;
}

/* about us  */
._years_of_experience ._counters li + li:before {
    left    : unset;
    right   : -100%;
    top     : 25px;
}

._about_us_text ._sub_heading{
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: row-reverse;
}

._success_story ._sub_heading {
    justify-content: center;
}

/* resources  */

/* competition  */

._competition_years {
    display: flex;flex-direction: row-reverse;
}

.accordion-button:not(.collapsed)::after{
    margin-left: 0px;
    margin-right: unset;
    position: absolute;
    left: 0px;
}

._competition_main_title, ._slider_button{
    flex-direction: row-reverse;
}
/* Media  */

/* News  */
._post_details{
    left: unset;
    right: 40px;
}

._overlay{
    background-image: linear-gradient(290deg, #e8eaeb 13%, #e8eaeb 0%, transparent 76%);
}

._news_banner ._news_wrapper ._post_details ._title h2,
._news_wrapper ._title,
._post_details ._content
{
    direction: rtl;
    text-align: right;
}
._tag_overflow:not(._single ._tag_overflow){
    display: flex;
    text-align: right;
    direction: rtl;
}

._single_news_container{
    padding-left: unset;
    padding-right: 140px;
}


[dir='rtl'] .slick-slide {
    float: left;
}

/* Educational Sessional  */

/* Publication  */

/* Contact us  */

input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
._contact_us input[type="text"],
.select2-container--bootstrap4 .select2-selection,
select{
    direction: rtl;
}

/* access pages  */

._user_profile .nav-pills .nav-link
{
    text-align: right;
}

._accounts_details ._map_icon, ._registration_wrapper ._map_icon{
    right: unset;
    left: 25px;
}


._news_wrapper ._tags ._tag + ._tag:before,
._sidebar ._tags ._tag + ._tag:before{
    content: unset;
}


._news_wrapper ._tags ._tag:after,
._sidebar ._tags ._tag:after
{
    content: ' ';
    border-right: 1px solid var(--color-two);
    position: absolute;
    height: 15px;
    left: 0px;
    top: 4px;
}

._news_wrapper ._tags ._tag:last-child:after,
._sidebar ._tags ._tag:last-child:after {
    content: unset;
}


._news_banner ._post_details ._tags span:after {
    top: 7px;
}

._checkout_img{
    border-radius: 0 22px 22px 0;
}

._publications ._image-wrapper img{
    left: unset;
    right: 0%;
}

._publications ._image-wrapper .image-2{
    transform: rotate(-7deg);
    right: 13%;
    left: unset;
}

._publications ._image-wrapper .image-3{
    transform: rotate(-14deg);
    right: 22%;
    left: unset;
}




.carousel-item{
    left: unset !important;
}

.carousel-item-1{
    right: 20%;
}

.carousel-item-2{
    right: -4%;
}

.carousel-item-3{
    right: 6%;
}

.carousel-item-4{
    right: -17%;
}
.carousel-item-5{
    right: 47%;
}
.carousel-item-6{
    right: 66%;
}
.carousel-item-7{
    right: 78%;
}

._about_us_text p{
    padding-right: unset;
    padding-left: 40px;
}

._about_us_text ._heading {
    text-align: right;
}

._footer_wrapper ._copyright_wrap {
    display: flex;
    flex-direction: column-reverse;
}

.mfp-title{
    text-align: right;
    padding-right: 0;
    padding-left:36px
}
.mfp-counter{
    right:auto;
    left:0;
}
.mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close{
    text-align: left;
    padding-right: 0;
    padding-left: 6px;
    left: -6px;
    right:auto
}

@media (max-width: 480px) {
    ._single_news_container{
        padding: 30px 0px;
    }

    ._publications ._image-wrapper img{
        left: unset;
        right: -15%;
    }

    ._publications ._image-wrapper .image-2{
        transform: rotate(-7deg);
        right: -7%;
        left: unset;
    }

    ._publications ._image-wrapper .image-3{
        transform: rotate(-14deg);
        right: 0%;
        left: unset;
    }

    ._about_us_text p{
        padding: 0px;
    }
    ._header_lang_profile_button {
        padding-right: 16px;
        padding-left: 0;
    }
}
.privacy-links {
    margin-bottom: 5px;
}
._copyrights .privacy-links a {
    margin-left: 10px;
    margin-right: 0;
}

._resources_main .scroll-btn svg{
    transform: rotate(180deg);
}

._category_subjects #subjectsContainer ._resource_img{
    border-radius: 22px 0 0 22px;
}

._back_container a svg{
    transform: rotate(180deg);
}
._category_subjects #subjectsContainer ._sticker_icon{
    left:auto;
    right: -80px;
}
._resource_section ._overview ._first_image{
    right: auto;
    left: 8%;
}

._resource_section ._overview ._second_image{
    right:0;
    left:auto;
}

._journey .steps .progress-bar{
    left:3%;
    width:94%;
}

._resource_section ._box ._items_menu .card .card-header svg{
    margin-right: 0;
    margin-left:1.25em;
}

._resource_section ._header ._likes ._text{
    margin-left:0;
    margin-right: 0.5em;
}
._resource_section .nav-tabs .nav-link ._text {
    direction: ltr;
}
