.rtl {
 @import "bootstrap/variables.less";
 //bootstrap styles
 //type.less
  ul, ol {
	margin-left:0;
	margin-right:25px;
	&.unstyled , &.inline {
		margin-right:0;
	}
 }
  dd {
	margin-left:0;
	margin-right:10px;
 }
 .dl-horizontal {
  dt {
    float: right;
    clear: right;
    text-align: left;
  }
  dd {
    margin-left:0;
	margin-right: @horizontalComponentOffset;
  }
 }

 blockquote {
	p , small {
		text-align:left;
	}
	small:before {
		content: "";
	}
	small:after {
		content: "\00A0 \2014";
	}
 }
 blockquote.pull-right {	
	p , small {
		text-align:right;
	}
	small:after {
		content: "";
	}
	small:before {
		content: "\2014 \00A0";
	}
 }
 
 
 //forms.less
 .radio,
 .checkbox {
	padding-left: 0;
	padding-right: 20px;
 }
 .radio input[type="radio"],
 .checkbox input[type="checkbox"] {
	float: right;
	margin-left: 0;
	margin-right: -20px;
 }
 .radio.inline + .radio.inline,
 .checkbox.inline + .checkbox.inline {
	margin-left: 0;
	margin-right: 10px;
 }
 .help-inline {
	padding-left:0;
	padding-right:5px;
 }
 .input-prepend {
   .add-on, .btn {
		margin-right: 0;
		margin-left:-1px;
	}
  }
 .input-append {
   .add-on, .btn, .btn-group {
		margin-left: 0;
		margin-right: -1px;
	}
  }
 .input-prepend.input-append {
	.add-on:first-child,
	.btn:first-child {
		margin-left: -1px;
		margin-right: 0;
	}
	.add-on:last-child,
	.btn:last-child {
		margin-left: 0;
		margin-right: -1px;
	}
	.btn-group:first-child {
		margin-right: 0;
	}
 }
 input.search-query {
	padding-left: 14px;
	padding-left: 4px \9;
	padding-right: 14px;
	padding-right: 4px \9;
 }
 // Inline checkbox/radio labels (remove padding on left)
 .form-search .radio,
 .form-search .checkbox,
 .form-inline .radio,
 .form-inline .checkbox {
	padding-right: 0;
 }
 // Remove float and margin, set to inline-block
 .form-search .radio input[type="radio"],
 .form-search .checkbox input[type="checkbox"],
 .form-inline .radio input[type="radio"],
 .form-inline .checkbox input[type="checkbox"] {
	float: right;
	margin-right: 0;
	margin-left: 3px;
 }
 .form-horizontal {
  .control-label {
    float: right;
    text-align: left;
  }
  .controls {
	*padding-left: 0;
	*padding-right: 20px;
	
    margin-left: 0;
	margin-right: @horizontalComponentOffset;
	
    *margin-right: 0;
    &:first-child {
      *padding-left: 0;
	  *padding-right: @horizontalComponentOffset;
    }
  }

  .form-actions {
	padding-left:0;
    padding-right: @horizontalComponentOffset;
  }
 }
 
 //tables.less
 .table {
	th,td {
		text-align:right;
		&.center , &.center-align {
			text-align:center;
		}
		&.left-align {
			text-align:left;
		}
		&.right-align {
			text-align:right;
		}
	}
 }
/**
 .table-bordered {
	border-width:1px 0 1px 1px;
	tr th:first-child, tr td:first-child {
		//border-left: none;
		border-right: 1px solid @tableBorder;
	}
 }
*/

 //buttons.less
 .btn-group + .btn-group {
	margin-left:auto;
	margin-right:5px;
 }
 

 
 //dropdowns.less
 .dropdown-menu {
	margin: 2px 0 0; // override default ul
 }
 .dropdown-submenu > .dropdown-menu {
	left:auto;
	right:100%;
 }
 .dropdown-submenu.pull-left > .dropdown-menu {
	left: auto;
	right: -100%;
    margin-left: auto;
	margin-right: 5px;
 }
 
 .dropdown-submenu > a:after {
	float: left;
	margin-right: 0;
	margin-left: -10px;
 }
 .dropdown-submenu > a:after {
	border-color: transparent #CCCCCC transparent transparent;
	border-width: 5px 5px 5px 0;
 }
 .dropdown-submenu:hover > a:after {
	border-right-color:#FFF;
 }
 .dropdown-light, .dropdown-lighter {
	.dropdown-submenu:hover > a:after {
		border-right-color:#444;
	}
 }
 .dropdown .caret {
	margin-left:0;
	margin-right:2px;
 }
 
 
 //close.less
 .close {
	float: left;
 }
 .table-header .close {
	margin-right:auto;
	margin-left:6px;
 }
 //alerts.less
 .alert {
	padding-right:14px;
	padding-left:35px;
	.close {
		left: -21px;
		right: auto;
	}
 }
 
 //navs.less
 .nav {
	margin-right:0;
 }
 .nav-list [class^="icon-"],
 .nav-list [class*=" icon-"] {

 }
 .nav-tabs > li,
 .nav-pills > li {
	float: right;
 }
 .nav-pills > li > a {
	margin-right: 0;
	margin-left: 2px;
 }
 .nav-stacked > li {
	float:none;
 }


 .nav-tabs > li > a {
	margin-right:0;
	margin-left:-1px;
 }

 .tabs-left > .nav-tabs > li, .tabs-right > .nav-tabs > li {
	float:none;
 }

 //navbar.less
 .navbar {
	direction:rtl;
	text-align:right;
	.brand {
		float:right;
		margin-left:0;
		margin-right:-20px;
	}
	
	.divider-vertical {
		border-left: 1px solid @navbarBackgroundHighlight;
		border-right: 1px solid @navbarBackground;
	}
 }
 .navbar-search {
	float: right;
 }
 .navbar .nav > li {
	float: right;
 }
 .navbar .btn-navbar {
	float: left;
 }

 //pagination.less
 .pagination ul {
	margin-right:0;
 }
.pagination ul > li > a,
.pagination ul > li > span {
  float: right;
}

//pager.less
.pager {
  margin-right:0;
}
.pager .next > a,
.pager .next > span {
  float: left;
}
.pager .previous > a,
.pager .previous > span {
  float: right;
}

//modal.less
.modal {
	direction:rtl;
	text-align:right;
}
.modal-footer {
	text-align:left;
}
.modal-footer .btn + .btn {
	margin-left:0;
	margin-right:5px;
}



//popovers.less
.popover.bottom .arrow:after , .popover.top .arrow:after {
	margin-right:-10px;
	margin-left:auto;
}
.popover-content , .tooltip-inner {
	text-align:right;
	direction:rtl;
}


//thumbnails.less
.thumbnails {
  margin-left: 0;
  margin-right: -@gridGutterWidth;
}
.row-fluid .thumbnails {
  margin-right: 0;
}
.thumbnails > li {
  float: right;
  margin-left: 0;
  margin-right: @gridGutterWidth;
}
//media.less
.media-list {
  margin-right: 0;
}


 
 //ACE
 //general.less
 .main-container {
	direction:rtl;
	text-align:right;
 }
 
 .main-content {
	margin-right:(@sidebar-width + 1);
	margin-left:0;
 }

 //basic.less
 li > ul.margin,
 li > ol.margin
 {
	margin-left:0;
	margin-right:18px;
 }
 
 //ace-nav.less
 .ace-nav {
	> li {
		border-left:none;
		border-right:1px solid #DDD;
		&:first-child {
			border-right:none;
		}

		> a {
			> .badge {
				left:auto; right:2px;
			}
		}
		
		&.no-border { border:none;}
		.marginX (@index) when (@index > 0) {
			&.margin-@{index} { margin-left:0; margin-right:unit(@index,px); }
			.marginX(@index - 1);
		}
		.marginX(4);
	}
	.nav-user-photo {
		margin:-4px 0 0 8px;
	}

	.dropdown-menu.dropdown-closer {
		left:0;
	}
 }
 
 //breadcrumbs.less
 .breadcrumbs {
	padding:0 0 0 12px;
	&.fixed {
		position:fixed;
		left:0; right:(@sidebar-width + 1);
	}
 }
 .breadcrumb {
	margin:0 12px 0 22px;
	.icon-home {
		margin-left:2px; margin-right:4px;
	}
 }
 
 //searchbox.less
 .nav-search {
	left:22px; right:auto;
 }
 .sidebar > .nav-search  {
	&.menu-min {
	  .nav-search {
		.form-search {
			left:auto; right:5px;
		}
	  }
	}
 }
 
 //sidebar.less
 .sidebar {
	border-right:none;
	border-left:1px solid @sidebar-border-right;
	&:before {
		border-right:none;
		border-left:1px solid @sidebar-border-right;
	}
	&.fixed {
		left:auto;
		right:0;
		&:before {
			left:auto;
			right:0;
		}
	}
 }

 .nav-list > li {
	> a {
		padding:0 7px 0 16px;
		&:hover  {
			&:before {
				left:auto;
				right:0;
			}
		}
	}
	
	a > .arrow {
		left:9px; right:auto;
	}
	
	&.active {
		&:after {// the border on left of active item
			left:-2px; right:auto;
			border-right:none;
			border-left:2px solid @menu-active-color;
		}
	}
	
	//
	.submenu {
		> li {
			margin-left:0;
			margin-right:0;
			
			> a {
				padding:7px 37px 8px 0;
			}
			
			a > [class*="icon-"]:first-child {
				left:auto; right:10px;
			}
		}
	}
	> .submenu {
		> li {
			//tree like menu 
			&:before {			
				left:auto; right:18px;
			}
		}
		&:before {
			left:auto; right:18px;
			border-left:none;
			border-right:1px solid @submenu-left-border;
		}
	}
	&.active {
		> .submenu:before {
			border-right-color:@submenu-active-left-border;
		}
	}
 }
 
 .nav-list li {
	&.active > a:after {
		left:0; right:auto;
		
		border-left-color:@menu-active-color;
		border-right-color:transparent;
	}
 }
 
 .nav-list a {
	.badge , .label {
		right:auto;
		left:11px;
	}
	&.dropdown-toggle {
	 .badge , .label {
		right:auto;
		left:28px;
	 }
	}
 }
 .menu-min .nav-list a {
	 .badge , .label {
		left:auto;
		right:4px;
	 }
 }

 .sidebar.menu-min {
	+ .main-content {
		margin-left:auto;
		margin-right:(@sidebar-min-width + 1);
		.breadcrumbs.fixed { left:0; right:(@sidebar-min-width + 1); }
	}
 }

 @menumin-shadow-rtl:~"-2px 1px 2px 0 rgba(0, 0, 0, 0.2)";
 .menu-min .nav-list > li {
	
	> a {
		> .menu-text {
			left:auto; right:(@sidebar-min-width - 1);
			padding-left:0;
			padding-right:12px;
			.box-shadow(@menumin-shadow-rtl);
		}
		&.dropdown-toggle > .menu-text {
			left:auto;
			right:@sidebar-min-width;
			.box-shadow(none);
		}
	}
	&.active > a > .menu-text {
		border-left-color:@menumin-border;
		border-right-color:@menu-focus-color;
	}

	> .submenu {
		.box-shadow(@menumin-shadow-rtl);
		
		left:auto; right:(@sidebar-min-width - 1);
		li {
		  > a {
			//border-right:none;

			margin-left:auto;
			margin-right:0;
			
			padding-left:0;
			padding-right:24px;
			> [class*="icon-"]:first-child {
				left:auto;
				right:4px;
			}
		  }
		}
	}

	&.active > .submenu {
		border-left-color:@menumin-border;
		border-right-color:@menu-focus-color;
	}
 }
 
 .menu-min {
	.sidebar-shortcuts-large {
		.box-shadow(@menumin-shadow-rtl);
		left:auto; right:@sidebar-min-width;
	}
 }
 .nav-list > li > .submenu {
	a > .arrow {
		left:11px; right:auto;
	}
	li > .submenu > li > a > .arrow {
		left:12px; right:auto;
	}
	li > .submenu > li {
		> a {//3rd level
			margin-left:auto;
			padding-left:0;
			margin-right:20px;
			padding-right:22px;
		}
		> .submenu > li > a {//4th level
			margin-left:auto;
			padding-left:0;
			margin-right:20px;
			padding-right:38px;
		}
	}
 }
 .menu-min .nav-list > li > .submenu {
	li > .submenu > li {
		> a {
			margin-right:0px;
			padding-right:30px;
		}
		> .submenu > li > a {
			margin-right:0px;
			padding-right:45px;
		}
	 }
 }

 
 
 //buttons
 button.btn:active  {
	left:-1px;
 }
 .btn.disabled, .btn[disabled] {
	&:active {
		left:0;
	}
 }

 .btn {
	> [class*="icon-"] {
		margin-left:4px;
		margin-right:0;

		&.icon-on-right {
			margin-left:0;
			margin-right:4px;
		}
		&.icon-only {
			margin:0;
		}
	}
 }
 .btn-large > [class*="icon-"] {
	margin-left:6px;
	margin-right:0;
	
	&.icon-on-right {
		margin-left:0;
		margin-right:6px;
	}
 }
 .btn-small > [class*="icon-"] {
	margin-left:3px;
	margin-right:0;
	
	&.icon-on-right {
		margin-left:0;
		margin-right:3px;
	}
 }
 .btn-mini > [class*="icon-"] , &.btn-minier > [class*="icon-"] {
	margin-left:2px;
	margin-right:0;

	&.icon-on-right {
		margin-left:0;
		margin-right:2px;
	}
 }
 .btn-group > .btn {

	> .caret {
		margin-left:0;
		margin-right:1px;
	}
 }
 
 //dropdown.less
 .dropdown-menu.dropdown-icon-only {
	> li {
		float:right;
	}
 }
 .dropdown-light , .dropdown-lighter {
	.dropdown-submenu:hover > a:after {
		border-left-color:transparent;
		border-right-color:#444;
	}
 }
 .dropdown-submenu > a:after {
	margin-left:-5px;
	margin-right:auto;
 }

 .dropdown-navbar {
	> li {
		> [class*="icon-"] , > a > [class*="icon-"] {
			margin-right:0 !important;
			margin-left:5px !important;
		}
	}
	[class*="btn"][class*="icon-"] {
		margin:0 0 0 5px;
	}

	.msg-photo {
		margin-left:6px;
		margin-right:0;
	}

	.user-menu > li > a > [class*="icon-"] {
		margin-left:6px;
		margin-right:0;
	}
 }
 
 
 //form.less
 //.control-group .controls [class*="span"]:first-child {
 //	float:right;
 //}

 .help-button {
	margin-left:0;
	margin-right:4px;
 }
 .form-search , .form-inline {
	.radio [type=radio] + label, .checkbox [type=checkbox] + label {
		 float: right;
		 margin-left: 0;
		 margin-right: -20px;

		.form-search & , .form-inline & {
			margin-right:0;
			margin-left:3px;
		}
	}
 }
 .input-prepend , .input-append {
	> .btn + .btn {
		margin-left:0;
		margin-right:1px;
	}
 }
 
 
 input[type=checkbox] , input[type=radio] {
	+ .lbl {
		&::before {
			margin-right:0;
			margin-left:1px;
		}
	}
	
	&.ace-switch + .lbl {
		&::before {
			direction:ltr;
			text-align:left;
		}
	}
 }
 
 
 
 .ace-file-input {
	label {
		&:before {
			right:auto;
			left:0;
		}
		span {
			padding-left:0;
			padding-right:30px;
		}
		&.selected  {
			left:16px;
			right:0;
		}
		[class*="icon-"] {
			//.ace-file-icon();
			right:0; left:auto;
		}
	}
	.remove {
		left:-8px;
		right:auto;
	}
 }
 .ace-file-multiple {
	label {
		&.selected span [class*="icon-"] {
			//.ace-file-icon();
			right:0; left:auto;
		}
		span {
			padding:0;
			text-align:right;
			img {
				margin:4px 1px 4px 8px;
			}
			&.large {
				text-align:center;
				img {
					margin:0;
				}
			}
		}
	}
	
	.remove {
		left:-11px; right:auto;
	}
 }
 .ace-file-multiple label {
	&.selected span [class*="icon-"]  {
		margin-left:4px; margin-right:2px;
	}
 }

 
 //tab-accordion.less
 .nav-tabs {
  .navtab-paddingX (@index) when (@index > 0) {
	&.padding-@{index} { padding-left:0; padding-right:unit(@index,px); }
	.navtab-paddingX(@index - 4);
   }
   .navtab-paddingX(24);
   .navtab-paddingX(22);
 }
 .tabs-right > .nav-tabs[class*="padding-"] , .tabs-left > .nav-tabs[class*="padding-"] {
	padding-right:0;
 }
 .tabs-left > .nav-tabs {
	margin-left:auto;
	margin-right:-1px;//was overriden by .rtl .nav
	> li > a {
		& , &:hover, &:focus {
			margin:0 -1px 0 0;
		}
	}
	> li.active > a {
		& , &:hover, &:focus {
			margin:0 -1px;
		}
	}
 }

 .accordion-heading .accordion-toggle {
	&:after{
		left:6px;
		right:auto;
	}
	&.collapsed:after{
		content:"\f105";
	}
 }


 //tables.less
 .table {
	thead:first-child tr th {
		[class*="icon-"]:first-child {
			margin-left:2px;
			margin-right:0;
		}
	}
 }

 //widgets.less
 .widget-main.no-padding , .widget-main.padding-0 {
  .table-bordered th:first-child,
  .table-bordered td:first-child {
	 border-left-width:1px;
  }
  .table-bordered th:last-child,
  .table-bordered td:last-child {
	 border-left-width:0;
  }
 }
 
 //tables.less
 .table-header {
	padding-left:0;
	padding-right:12px;
 }
 
 .dataTables_length {
	margin-left:0;
	margin-right:8px;
 }
 .dataTables_filter {
	margin-left:8px;
	margin-right:0;
	
	text-align:left;
 }
 .dataTables_info {
	margin:0 12px 0 0;
 }
 .dataTables_paginate {
	text-align:left;
 }
.dataTable th[class*=sort]:after {
	float:left;
	margin-right:0;
	margin-left:4px;
 }
 
 .dataTables_wrapper > .row-fluid > .span6 {
	float:right;
	margin-left:0;
	width:50%;
	.box-sizing(border-box);
 }
 
 
 //widget.less
 .widget-header {
	padding-left:0;
	padding-right:12px;
	text-align:left;
 }
 .widget-header-large {
	padding-left:0;
	padding-right:18px;
 }
 .widget-header-small {
	padding-left:0;
	padding-right:10px;
 }
 .widget-header > .widget-caption , .widget-header > :first-child {
	float:right;
	text-align:right;
	 
	> [class*="icon-"] {
		margin-right:0;
		margin-left:5px;
	}
 }
 .widget-toolbar {
	text-align:right;
	&:before {
		left:auto;
		right:-1px;
		border-width:0 0 0 1px;
	}
 }

 .widget-toolbar > [data-action] {
	> [class*="icon-"] {
		margin-right:auto;
		margin-left:0;
	}
 }

 .widget-box.transparent {
	> .widget-header {
		padding-left:0;
		padding-right:3px;
	}
	> .widget-header-large {
		padding-left:0;
		padding-right:5px;
	}
	> .widget-header-small {
		padding-left:0;
		padding-right:1px;
	}
 }
 [class*="header-color-"] > .widget-toolbar > .nav-tabs > li > a {
	margin-right:0;
	margin-left:1px;
 }


 //infobox.less
 .infobox {
	padding:8px 9px 6px 3px;
	text-align:right;
	> .infobox-icon > [class*="icon-"] {
		 padding:1px 2px 0 1px;
	}
	> .infobox-data {
		text-align:right;
		padding-left:0;
		padding-right:8px;
		
	}
 }
 .infobox {
	> .stat {
		left:20px;
		right:auto;
		padding-left:18px;
		padding-right:0;
		&:before {
			left:4px;
			right:auto;
		}
		&:after {
			left:1px;
			right:auto;
		}
	}
	> .badge {
		left:20px;
		right:auto;
	}
	&.infobox-dark > .badge {
		left:2px;
		right:auto;
	}
 }
 
 .infobox-small {
	text-align:right;
	> .infobox-data {
		text-align:right;
	}
	> .infobox-chart > .sparkline {
		margin-left:auto;
		margin-right:2px;
	}
 }
 .infobox-small .percentage {
	margin-left:auto;
	margin-right:2px;
 }
 
 //pricing
 .pricing-box {
	.widget-header > .widget-caption , .widget-header > :first-child {/* the title */
		margin-right:-9px;
		margin-left:0;
		text-align:center;
		float:none;
	 }
 }
 
 .pricing-table-header {
	text-align:right;
	> li {
		padding:7px 11px 7px 0;
	}
 }
 .pricing-box-small {
	margin-left:0;
	margin-right:-2px;
 }
 .pricing-span[class*="span"] {
 	float:right !important;
 }
 .pricing-span-header:first-child {
	float:right;
 }

 //page.login.less
 &.login-layout {
	.main-content , #main-content {
		margin-right:0;
	}
	.login-box {
	  .toolbar {
		> div {
			&:first-child {
				float:right;
				text-align:right;
				> a {
					margin-left:0;
					margin-right:11px;
				}
				
				+ div {//the next one
					float:left;
					text-align:left;
					> a {
						margin-left:11px;
						margin-right:0;
					}
				}
			}
		}
	  }
	}
 }
 
 //gallery
 .ace-thumbnails {
	margin-right:0;
	> li {
		float:right;
		.tags {
			direction:ltr;
			
			> .label {
				margin:1px 0 0 1px;

				direction:rtl;
				text-align:right;
			}
		}
	}
 }
 
 //items.less
 .itemdiv {
	padding-right:0;
	padding-left:3px;
	> .user {
		left:auto;
		right:0;
	}
	> .body {
		margin-right:50px;
		margin-left:12px;
		> .time {
			right:auto;
			left:9px;
		}
		> .text {
			padding-left:0;
			padding-right:7px;
			&:after {
				right:16px; left:-12px;
			}
			
			> [class*="icon-quote-"]:first-child {
				margin-left:4px;
				margin-right:0;
			}
		}
	}
	
	&.dialogdiv {
		&:before {
			left:auto;
			right:19px;
		}
		> .body {
			border-left-width:1px;
			border-right-width:2px;
			margin-left:1px;

			&:before{
				left:auto; right:-7px;
				border-width:2px 2px 0 0;
				.rotate(45deg);
			}
			> .time {
				float:left;
			}
			> .text {
				padding-right:0;
			}
		}
	}
	
	&.memberdiv {
		float:right;
	}
	
	
	.tools {
		right:auto;
		left:4px;
	}
	&.commentdiv .tools {
		right:auto;
		left:9px;
	}
 }
 .item-list {
	margin:0;
	> li {
		border-left-width:1px;
		border-right-width:3px;
		border-left-color:#DDD;
		
		&.item-orange  { border-right-color:@item-list-orange-border; }
		&.item-red     { border-right-color:@item-list-red-border; }
		&.item-green   { border-right-color:@item-list-green-border; }
		&.item-blue    { border-right-color:@item-list-blue-border; }
		&.item-pink    { border-right-color:@item-list-pink-border; }
		&.item-black   { border-right-color:@item-list-black-border; }
		&.item-grey    { border-right-color:@item-list-grey-border; }
		&.item-brown   { border-right-color:@item-list-brown-border; }
		&.item-default { border-right-color:@item-list-default-border; }
	}
 }
 
 //page.profile.less
 .profile-info-name {
	text-align:left;
	padding-right:0;
	padding-left:10px;

	left:auto;
	right:0;
 }
 .profile-info-value {
	padding-right:6px;
	padding-left:4px;
	
	margin-left:auto;
	margin-right:120px;
	
	> span  + span:before{
		margin-left:3px;
		margin-right:1px;
	}
 }
 
 .profile-user-info-striped {
	.profile-info-value {
		padding-left:0;
		padding-right:12px;
	}
 }
 .profile-activity {
	img , .thumbicon {
		margin-right:0;
		margin-left:10px;
	}
	.tools {
		left: 12px;
		right:auto;
	}
 }
 .user-profile .user-title-label + .dropdown-menu {
	margin-left:auto;
	margin-right:-12px;
 }
 .user-status {
	margin-right:auto;
	margin-left:1px;
 }
 
 .user-profile .form-horizontal .controls {
	margin-left:auto;
	margin-right:140px;
 }
 .tab-content.profile-edit-tab-content {
	.box-shadow(~"-1px 1px 0 0 rgba(0, 0, 0, 0.2)");
 }
 
 
 
 
 
 //other.less
 .ace-settings-container {
	left:0;
	right:auto;
 }
 .btn.ace-settings-btn {
	float:right;
	.border-radius(~"0 6px 6px 0") !important;
 }
 .ace-settings-box {
	float:right;
 }
 .btn-scroll-up {
	right:auto;
	left:2px;
 }
 .grid2, .grid3, .grid4 {
	float:right;

	border-left:none;
	border-right:1px solid #E3E3E3;
	
	&:first-child {
		border-right:none;
	}
 }
 .easyPieChart canvas{
 	left: auto;
	right: 0;
 }
 
 
 
 //thirdparty-calendar.less
 .external-event {
	> [class*="icon-"]:first-child {
		margin-right:0;
		margin-left:5px;

		border-right:none;
		border-left:1px solid #FFF;
	}  
 }
 
 //thirdparty-colorbox.less
 #cboxCurrent {
	left:auto;
	right:61px;
 }
 #cboxNext , #cboxPrevious {
	margin-left:0;
	margin-right:7px;
 }
 #cboxPrevious {
	left:auto; right:27px;
 }
 #cboxNext {
	left:auto; right:0;
 }
 
 //thirdparty-fuelux.less
 .ace-spinner .spinner-buttons > button.btn:active { left:auto; top:auto; }

 .wizard-steps {
	margin-right:0;
	li {
		float:right;
		&:first-child:before {
			left:auto;
			right:50%;
		}
	}
 }
 .wizard-actions {
	text-align:left;
 }
 
 .tree {
	padding-left:0;
	padding-right:9px;
	&:before {
		left:auto;
		right:0;
		border-width: 0 1px 0 0;
	}
	
	.tree-folder {
		.tree-folder-header {
			.tree-folder-name  {
				margin-left:0;
				margin-right:2px;
			}
			> [class*="icon-"]:first-child {
				margin:-2px -2px 0 0;
			}
		}
		&:last-child:after {
			left:auto;
			right:-15px;
			border-left:none;
			border-right:1px solid #FFF;
		}
		.tree-folder-content {
			margin-left: 0;
			margin-right: 23px;
			&:before {
				left:auto;
				right:-14px;
				border-width:0 1px 0 0;
			}
		}
	}
	
	.tree-item {
		.tree-item-name {
			margin-left:0;
			margin-right:3px;
			> [class*="icon-"]:first-child {
				margin-right:0;
				margin-left:3px;
			}
		}
	}
	.tree-folder , .tree-item {
		&:before {
			left:auto;
			right:-13px;
		}
	}
	.tree-loading {
		margin-left:0;
		margin-right:36px;
	}
 }
 
 
 //thirdpart-gritter.less
 #gritter-notice-wrapper {
	text-align:right;
	direction:rtl;
	left:20px;
	right:auto;
 }
 .gritter-close {
	right:auto;
	left:3px;
 }
 .gritter-image {
	float:right;
 }
 .gritter-with-image , .gritter-without-image {
	float:left;
 }

 //thirdparty-wysiwyg.less
 .wysiwyg-toolbar {
	.dropdown-menu {
		text-align:right;
	}
	.btn-group > .btn  {
		&.dropdown-toggle > [class*="icon-"]:last-child {
			margin-right:0;
			margin-left:4px;
		}
	}
	.wysiwyg-choose-file {
		margin-left:auto;
	}
 }
 .wysiwyg-style1 , .wysiwyg-style2 {
	.btn-group:after{
		left:auto;
		border-left:none;
		right:-2px;
		border-right:1px solid #E1E6EA;
	}
 }
 .wysiwyg-style2 {
	.btn-group > .btn  {
		margin:0 0 0 1px !important;
	}
 }
 .wysiwyg-toolbar {
	.dropdown-menu {
		input[type=text] {
			margin-left:0;
			margin-right:8px;
		}
		.btn {
			margin-right:0;
			margin-left:8px;
		}
	}
 }
 .widget-body .md-header {
	margin-left:0;
	margin-right:9px;
	.btn-inverse {
		padding-right:0;
		padding-left:5px;
	}
 }
 
 
 //thirdparty-select2.less
 .select2-container .select2-choice {
	padding-left:0;
	padding-right:8px;
 }
 .select2-container.select2-allowclear .select2-choice .select2-chosen {
	margin-right:auto;
	margin-left:42px;
 }

 .select2-container .select2-choice > .select2-chosen {
	margin-left:26px;
	margin-right:auto;
 }
 .select2-container .select2-choice abbr {
	right:auto;
	left:20px;
 }
 .select2-container .select2-choice .select2-arrow {
	right:auto;
	left:0;
 }
 .select2-container .select2-choice .select2-arrow b:before {
	right:5px;
	left:auto;
 }
 
 .select2-container-multi .select2-choices li {
	float:right;
 }
 .select2-container-multi .select2-choices .select2-search-choice {
	margin: 3px 5px 3px 0;
	padding: 3px 18px 3px 5px;
 }
 
 .select2-results {
	margin-right:0;
 }
 
 .select2-drop {
	direction:rtl;
	text-align:right;
	input {
		padding-right:5px;
		padding-left:20px;
	}
	.select2-results {
		padding-right:4px;
		padding-left:0;
	}
 }
 
 .select2-search:after {
	right:-20px;
	left:auto;
 }
 .select2-search input.select2-active {
	background-position:0%;
 }

 //thirdparty-editable
 .editable-buttons {
	margin-left:auto;
	margin-right:1px;
	.btn {
		margin:0 0 0 1px;
	}
 }
 .editable-input .ace-spinner {
	margin-right:auto;
	margin-left:8px;
 }
 .editable-inline .editable-slider {
	margin-right:auto;
	margin-left:4px;
 }
 
 //bootstrap-tag.less
 .tags .tag {
	padding-left:22px;
	padding-right:9px;
	text-shadow:-1px 1px 1px rgba(0, 0, 0, 0.15);
	.close {
		float:none;
		left:0;
		right:auto;
	}
 }
 
 
 //thirdpart misc
 .limiterBox {
	direction:rtl;
	text-align:right;
 }
 
 
 //pretty print
 ol.linenums {
	margin-right:33px;
	li {
		padding-left:0;
		padding-right:12px;
	}
 }
 .prettyprint.linenums {
	.box-shadow(~"-40px 0 0 #FBFBFC inset, -41px 0 0 #ECECF0 inset");
 }

}