﻿/* RTL - Bootstrap latest version */

body, .table {
    direction: rtl;
}

th, .dropdown-menu > li > a, .dropdown-header {
    text-align: right;
}

.pager .next > a, .pager .next > span, .list-group-item > .badge, .close {
    float: left;
}

.pager .previous > a, .pager .previous > span, .progress-bar, .nav-tabs > li, .nav-pills > li, .btn-group > .btn, .btn-group-vertical > .btn, .btn-toolbar .btn-group, .btn-toolbar .input-group {
    float: right;
}

.nav-stacked > li {
    float: none;
}

.radio label, .checkbox label {
    padding-left: initial;
    padding-right: 20px;
}

.radio-inline, .checkbox-inline {
    padding-right: 20px;
    padding-left: initial;
}

    .radio input[type=radio], .radio-inline input[type=radio], .checkbox input[type=checkbox], .checkbox-inline input[type=checkbox] {
        margin-left: auto;
        margin-right: -20px;
    }

.input-group .form-control:first-child, .input-group-addon:first-child, .input-group-btn:first-child > .btn, .input-group-btn:first-child > .btn-group > .btn, .input-group-btn:first-child > .dropdown-toggle, .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle), .input-group-btn:last-child > .btn-group:not(:last-child) > .btn, .btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
    border-radius: 0 4px 4px 0;
    border-left: 0;
}

    .input-group .form-control:last-child, .input-group-addon:last-child, .input-group-btn:last-child > .btn, .input-group-btn:last-child > .btn-group > .btn, .input-group-btn:last-child > .dropdown-toggle, .input-group-btn:first-child > .btn:not(:first-child), .input-group-btn:first-child > .btn-group:not(:first-child) > .btn, .btn-group > .btn:last-child:not(:first-child), .btn-group > .dropdown-toggle:not(:first-child) {
        border-radius: 4px 0 0 4px;
    }

.input-group-addon:first-child {
    border-left: 0;
    border-right: 1px solid #ccc;
}


.input-group-addon:last-child {
    border-left: 1px solid #ccc;
    border-right: 0;
}

.form-control-feedback {
    left: 0;
    right: auto;
}

.has-success .input-group-addon {
    border-color: #3c763d;
}

.form-horizontal .has-feedback .form-control-feedback {
    left: 15px;
    right: auto;
}

.dropdown-menu {
    right: 0;
    left: auto;
}

.btn-toolbar > .btn, .btn-toolbar > .btn-group, .btn-toolbar > .input-group {
    margin-right: 5px;
    margin-left: initial;
}

.nav {
    padding-right: 0;
    padding-left: initial;
}

.nav-tabs > li > a, .nav-pills > li > a {
    margin-left: 2px;
    margin-right: initial;
}

.caret {
    margin-right: 2px;
    margin-left: initial;
}

.pagination {
    padding-right: 0;
    padding-left: initial;
}

    .pagination > li > a, .pagination > li > span {
        float: right;
        margin-right: -1px;
        margin-left: initial;
    }

    .pagination > li:first-child > a, .pagination > li:first-child > span {
        margin-left: 0;
        border-radius: 0 4px 4px 0;
    }

    .pagination > li:last-child > a, .pagination > li:last-child > span {
        border-radius: 4px 0 0 4px;
    }



.label, h1 small, h2 small, h3 small, h4 small, h5 small, h6 small, .h1 small, .h2 small, .h3 small, .h4 small, .h5 small, .h6 small, h1 .small, h2 .small,
h3 .small, h4 .small, h5 .small, h6 .small, .h1 .small, .h2 .small, .h3 .small, .h4 .small, .h5 .small, .h6 .small, b, strong, .alert .alert-link {
    display: inline-block;
}

.alert-dismissable .close, .alert-dismissible .close {
    right: 0;
    left: -21px;
    float: left;
}

.list-group {
    padding-right: 0;
}

.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
    float: right;
}

/*===================================== 
	-- Media Queries --
=====================================*/
@media (min-width: 768px) {
    .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
        float: right;
    }

    .col-sm-pull-12 {
        left: 100%;
    }

    .col-sm-pull-11 {
        left: 91.66666667%;
    }

    .col-sm-pull-10 {
        left: 83.33333333%;
    }

    .col-sm-pull-9 {
        left: 75%;
    }

    .col-sm-pull-8 {
        left: 66.66666667%;
    }

    .col-sm-pull-7 {
        left: 58.33333333%;
    }

    .col-sm-pull-6 {
        left: 50%;
    }

    .col-sm-pull-5 {
        left: 41.66666667%;
    }

    .col-sm-pull-4 {
        left: 33.33333333%;
    }

    .col-sm-pull-3 {
        left: 25%;
    }

    .col-sm-pull-2 {
        left: 16.66666667%;
    }

    .col-sm-pull-1 {
        left: 8.33333333%;
    }

    .col-sm-pull-0 {
        left: auto;
    }

    .col-sm-push-12 {
        right: 100%;
    }

    .col-sm-push-11 {
        right: 91.66666667%;
    }

    .col-sm-push-10 {
        right: 83.33333333%;
    }

    .col-sm-push-9 {
        right: 75%;
    }

    .col-sm-push-8 {
        right: 66.66666667%;
    }

    .col-sm-push-7 {
        right: 58.33333333%;
    }

    .col-sm-push-6 {
        right: 50%;
    }

    .col-sm-push-5 {
        right: 41.66666667%;
    }

    .col-sm-push-4 {
        right: 33.33333333%;
    }

    .col-sm-push-3 {
        right: 25%;
    }

    .col-sm-push-2 {
        right: 16.66666667%;
    }

    .col-sm-push-1 {
        right: 8.33333333%;
    }

    .col-sm-push-0 {
        right: auto;
    }

    .col-sm-offset-12 {
        margin-right: 100%;
    }

    .col-sm-offset-11 {
        margin-right: 91.66666667%;
    }

    .col-sm-offset-10 {
        margin-right: 83.33333333%;
    }

    .col-sm-offset-9 {
        margin-right: 75%;
    }

    .col-sm-offset-8 {
        margin-right: 66.66666667%;
    }

    .col-sm-offset-7 {
        margin-right: 58.33333333%;
    }

    .col-sm-offset-6 {
        margin-right: 50%;
    }

    .col-sm-offset-5 {
        margin-right: 41.66666667%;
    }

    .col-sm-offset-4 {
        margin-right: 33.33333333%;
    }

    .col-sm-offset-3 {
        margin-right: 25%;
    }

    .col-sm-offset-2 {
        margin-right: 16.66666667%;
    }

    .col-sm-offset-1 {
        margin-right: 8.33333333%;
    }

    .col-sm-offset-0 {
        margin-right: 0;
    }

    .form-horizontal .control-label {
        text-align: left;
    }

    .nav-justified > li {
        display: table-cell;
        float: none;
    }

    .navbar-header {
        float: right;
    }

    .navbar-brand {
        float: right;
    }

    .navbar > .container .navbar-brand, .navbar > .container-fluid .navbar-brand {
        margin-right: -15px;
        margin-left: initial;
    }

    .navbar-nav, .navbar-nav > li, .navbar-text {
        float: right;
    }
}

@media (min-width: 992px) {
    .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
        float: right;
    }

    .col-md-pull-12 {
        left: 100%;
    }

    .col-md-pull-11 {
        left: 91.66666667%;
    }

    .col-md-pull-10 {
        left: 83.33333333%;
    }

    .col-md-pull-9 {
        left: 75%;
    }

    .col-md-pull-8 {
        left: 66.66666667%;
    }

    .col-md-pull-7 {
        left: 58.33333333%;
    }

    .col-md-pull-6 {
        left: 50%;
    }

    .col-md-pull-5 {
        left: 41.66666667%;
    }

    .col-md-pull-4 {
        left: 33.33333333%;
    }

    .col-md-pull-3 {
        left: 25%;
    }

    .col-md-pull-2 {
        left: 16.66666667%;
    }

    .col-md-pull-1 {
        left: 8.33333333%;
    }

    .col-md-pull-0 {
        left: auto;
    }

    .col-md-push-12 {
        right: 100%;
    }

    .col-md-push-11 {
        right: 91.66666667%;
    }

    .col-md-push-10 {
        right: 83.33333333%;
    }

    .col-md-push-9 {
        right: 75%;
    }

    .col-md-push-8 {
        right: 66.66666667%;
    }

    .col-md-push-7 {
        right: 58.33333333%;
    }

    .col-md-push-6 {
        right: 50%;
    }

    .col-md-push-5 {
        right: 41.66666667%;
    }

    .col-md-push-4 {
        right: 33.33333333%;
    }

    .col-md-push-3 {
        right: 25%;
    }

    .col-md-push-2 {
        right: 16.66666667%;
    }

    .col-md-push-1 {
        right: 8.33333333%;
    }

    .col-md-push-0 {
        right: auto;
    }

    .col-md-offset-12 {
        margin-right: 100%;
    }

    .col-md-offset-11 {
        margin-right: 91.66666667%;
    }

    .col-md-offset-10 {
        margin-right: 83.33333333%;
    }

    .col-md-offset-9 {
        margin-right: 75%;
    }

    .col-md-offset-8 {
        margin-right: 66.66666667%;
    }

    .col-md-offset-7 {
        margin-right: 58.33333333%;
    }

    .col-md-offset-6 {
        margin-right: 50%;
    }

    .col-md-offset-5 {
        margin-right: 41.66666667%;
    }

    .col-md-offset-4 {
        margin-right: 33.33333333%;
    }

    .col-md-offset-3 {
        margin-right: 25%;
    }

    .col-md-offset-2 {
        margin-right: 16.66666667%;
    }

    .col-md-offset-1 {
        margin-right: 8.33333333%;
    }

    .col-md-offset-0 {
        margin-right: 0;
    }
}

@media (min-width: 1200px) {
    .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
        float: right;
    }

    .col-lg-pull-12 {
        left: 100%;
    }

    .col-lg-pull-11 {
        left: 91.66666667%;
    }

    .col-lg-pull-10 {
        left: 83.33333333%;
    }

    .col-lg-pull-9 {
        left: 75%;
    }

    .col-lg-pull-8 {
        left: 66.66666667%;
    }

    .col-lg-pull-7 {
        left: 58.33333333%;
    }

    .col-lg-pull-6 {
        left: 50%;
    }

    .col-lg-pull-5 {
        left: 41.66666667%;
    }

    .col-lg-pull-4 {
        left: 33.33333333%;
    }

    .col-lg-pull-3 {
        left: 25%;
    }

    .col-lg-pull-2 {
        left: 16.66666667%;
    }

    .col-lg-pull-1 {
        left: 8.33333333%;
    }

    .col-lg-pull-0 {
        left: auto;
    }

    .col-lg-push-12 {
        right: 100%;
    }

    .col-lg-push-11 {
        right: 91.66666667%;
    }

    .col-lg-push-10 {
        right: 83.33333333%;
    }

    .col-lg-push-9 {
        right: 75%;
    }

    .col-lg-push-8 {
        right: 66.66666667%;
    }

    .col-lg-push-7 {
        right: 58.33333333%;
    }

    .col-lg-push-6 {
        right: 50%;
    }

    .col-lg-push-5 {
        right: 41.66666667%;
    }

    .col-lg-push-4 {
        right: 33.33333333%;
    }

    .col-lg-push-3 {
        right: 25%;
    }

    .col-lg-push-2 {
        right: 16.66666667%;
    }

    .col-lg-push-1 {
        right: 8.33333333%;
    }

    .col-lg-push-0 {
        right: auto;
    }

    .col-lg-offset-12 {
        margin-right: 100%;
    }

    .col-lg-offset-11 {
        margin-right: 91.66666667%;
    }

    .col-lg-offset-10 {
        margin-right: 83.33333333%;
    }

    .col-lg-offset-9 {
        margin-right: 75%;
    }

    .col-lg-offset-8 {
        margin-right: 66.66666667%;
    }

    .col-lg-offset-7 {
        margin-right: 58.33333333%;
    }

    .col-lg-offset-6 {
        margin-right: 50%;
    }

    .col-lg-offset-5 {
        margin-right: 41.66666667%;
    }

    .col-lg-offset-4 {
        margin-right: 33.33333333%;
    }

    .col-lg-offset-3 {
        margin-right: 25%;
    }

    .col-lg-offset-2 {
        margin-right: 16.66666667%;
    }

    .col-lg-offset-1 {
        margin-right: 8.33333333%;
    }

    .col-lg-offset-0 {
        margin-right: 0;
    }
}

