﻿/*!
 * Persian Bootstrap v3.1.1 (http://iambehrouz.com)
 * Copyright 2015 Behrouz Zarei.
 */

/* table */
th { text-align: right; }

.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 (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; }
}

@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; }
}

@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; }
}

.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 { border-bottom-left-radius: 0; border-top-left-radius: 0; border-bottom-right-radius: 6px; border-top-right-radius: 6px; }
.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 { border-bottom-left-radius: 6px; border-top-left-radius: 6px; border-bottom-right-radius: 0; border-top-right-radius: 0; }

@media (min-width: 768px) {
    .form-horizontal .control-label { text-align: left; }
}

.input-group-addon:first-child { border-left: 0; text-align: right; border-right: solid 1px #ccc; }
.input-group-addon:last-child { border-right: 0; border-left: solid 1px #ccc; }

.radio-inline, .checkbox-inline { padding: 0 20px 0 0; }
.radio input[type="radio"],
.radio-inline input[type="radio"],
.checkbox input[type="checkbox"],
.checkbox-inline input[type="checkbox"] { float: right; margin-left: 0; margin-right: -20px; }
.radio-inline + .radio-inline,
.checkbox-inline + .checkbox-inline { margin-top: 0; margin-left: 0; margin-right: 10px; }

/* navbar */

.nav { padding-right: 0; }

@media (min-width: 768px) {
    .navbar-nav { float: right; }
    .navbar-nav > li { float: right; }
}

@media (min-width: 768px) {
    .navbar-header { float: right; }
}

.navbar-toggle { float: left; margin-left: 15px; margin-right: 0; }

.navbar-brand { float: right; }

.dropdown-menu { left: auto; right: 0; }
.dropdown-menu a { text-align: right; }

.nav-pills > li { float: right; }
.nav-pills > li + li { margin-left: 0; margin-right: 2px; }
.nav-pills > li a { padding-top: 5px; padding-bottom: 5px; }

/* modal */

.modal .modal-header .close { float: left; }
