body {
    direction: rtl;
}

.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1,
.col-xs-2, .col-sm-2, .col-md-2, .col-lg-2,
.col-xs-3, .col-sm-3, .col-md-3, .col-lg-3,
.col-xs-4, .col-sm-4, .col-md-4, .col-lg-4,
.col-xs-5, .col-sm-5, .col-md-5, .col-lg-5,
.col-xs-6, .col-sm-6, .col-md-6, .col-lg-6,
.col-xs-7, .col-sm-7, .col-md-7, .col-lg-7,
.col-xs-8, .col-sm-8, .col-md-8, .col-lg-8,
.col-xs-9, .col-sm-9, .col-md-9, .col-lg-9,
.col-xs-10, .col-sm-10, .col-md-10, .col-lg-10,
.col-xs-11, .col-sm-11, .col-md-11, .col-lg-11,
.pull-right {
    float: right !important;
}

.pull-left {
    float: left !important;
}

.btn:before {
    left: 0;
}

.right-fa {
    margin-left: 5px;
}

.left-fa {
    margin-right: 5px;
}

.progress-bar {
    float: right;
}

.input-with-button .icon {
    left: 0;
}

.radio label, .checkbox label {
    padding-left: 0;
    padding-right: 20px;
}

.radio input[type="radio"], .radio-inline input[type="radio"],
.checkbox input[type="checkbox"], .checkbox-inline input[type="checkbox"] {
    margin-right: -20px;
    margin-left: 0;
}

.upload-img:before{
    right: 0;
}

.panel-heading:after {
    right: 0;
}

.top-header .menu-btn {
    margin-right: 15px;
}

.dropdown-menu {
    text-align: right;
}

.side-menu {
    right: 0;
}

.side-menu.close-menu {
    transform: translateX(100%);
    -o-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -webkit-transform: translateX(100%);
}

.user-info-box .user-details {
    padding-right: 10px;
}

.side-menu .menu-links li ul a {
    padding-right: 20px;
}

.side-menu .menu-links li ul a:hover, .side-menu .menu-links li ul a.active {
    padding-right: 25px;
}

.side-menu .menu-links a .fa {
    float: left;
    margin-left: 5px;
}

.side-menu .menu-links a .badge {
    float: left;
}

.footer-fixed-bottom {
    right: 0;
}

.statistics .fa {
    left: -20px;
}

.upload-img .btn {
    left: 0;
}

.select2-dropdown {
    text-align: right;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-right: 5px;
    padding-left: 20px;
    text-align: right;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    left: 1px;
    right: auto;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    text-align: right;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
    text-align: right;
}

.select2-container .select2-search--inline {
    float: right;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    float: right;
    margin-right: 0;
    margin-left: 5px;
}

.switch .checkbox-icon {
    right: 0;
}

.switch input:checked + .checkbox-icon {
    right: 25px;
}

.close {
    float: left;
}

.rating label {
    float: left;
}

th {
    text-align: right;
}

div.dataTables_wrapper div.dataTables_filter, div.dataTables_wrapper div.dataTables_paginate {
    text-align: left;
    direction: rtl;
}

div.dataTables_wrapper div.dataTables_filter input {
    margin-right: 0.5em;
}

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-right-width: 1px;
}

table.table-bordered.dataTable th:first-child,
table.table-bordered.dataTable th:first-child,
table.table-bordered.dataTable td:first-child,
table.table-bordered.dataTable td:first-child {
    border-right-width: 0;
}

.nav-tabs .glyphicon:not(.no-margin) {
    margin-left: 10px;
}

.tab-pane .list-group .glyphicon {
    margin-right: 5px;
}

.nav-pills > li > a > .badge {
    margin-left: 0;
}

.nav-tabs > li {
    float: right;
}

.modal-footer {
    text-align: left;
}

.modal-footer .btn + .btn {
    margin-left: 0;
    margin-right: 5px;
}

@media (min-width: 768px) {

    .text-align-right {
        text-align: right;
    }

    .text-align-left {
        text-align: left;
    }

    .main-content {
        margin-right: 240px;
    }

    .main-content.close-menu {
        margin-right: 0;
    }

}