body {
  direction: rtl;
}

.text-justify {
  text-align: justify;
}

span.badge {
  margin-right: 14px;
  margin-left: 0;
  float: left;
}

span.badge.new:after {
  content: " جدید";
}

.dropdown-content {
  padding: 0;
}

.dropdown-content li {
  text-align: right;
}

.collapsible-header i {
  margin-right: 0;
  margin-left: 1rem;
}

ul:not(.browser-default) {
  padding-right: 0;
}

.collapsible span.badge {
  margin-right: auto;
  margin-left: 0;
}

.dropdown-content li > a > i {
  float: right;
  margin: 0 0 0 24px;
}

.breadcrumb:before {
  transform: rotateY(180deg);
}

.card .card-action a:not(.btn):not(.btn-large):not(.btn-small):not(.btn-large):not(.btn-floating) {
  margin-right: 0;
  margin-left: 24px;
}

.secondary-content {
  float: left;
}

.collection.with-header .collection-item {
  padding-left: 20px;
}

.collection .collection-item.avatar {
  padding-left: 0;
  padding-right: 72px;
}

.collection .collection-item.avatar .secondary-content {
  left: 16px;
  right: unset;
}

.collection .collection-item.avatar:not(.circle-clipper) > .circle, .collection .collection-item.avatar :not(.circle-clipper) > .circle {
  right: 15px;
  left: unset;
}

.row .col {
  float: right;
}

.input-field .prefix ~ input, .input-field .prefix ~ textarea, .input-field .prefix ~ label, .input-field .prefix ~ .validate ~ label, .input-field .prefix ~ .helper-text, .input-field .prefix ~ .autocomplete-content {
  margin-right: 3rem;
  margin-left: 0;
}

.input-field .prefix{
  text-align: right;
}

.input-field>label {
	left: inherit;
	right: 0;
}

.input-field label, .input-field label:not(.label-icon).active {
  -webkit-transform-origin: right!important;
  transform-origin: right!important;
}

.input-field .helper-text::after {
	left:inherit;
	right:0px;
}

input.invalid[type=text]:not(.browser-default) {
	box-shadow: 0 0 0 0 #F44336;
}

[type="checkbox"] + span:not(.lever) {
  padding-left: 0;
  padding-right: 35px;
}

[type="checkbox"] + span:not(.lever):before, [type="checkbox"]:not(.filled-in) + span:not(.lever):after {
  right: 0;
  left: unset;
}

[type="checkbox"].filled-in + span:not(.lever):before, [type="checkbox"].filled-in + span:not(.lever):after {
  right: 0;
  left: unset;
}

[type="checkbox"]:checked + span:not(.lever):before {
  left: unset;
  right: 10px;
}

.chip {
    margin-right: 0;
    margin-left: 5px;
}

[type="radio"]:not(:checked) + span, [type="radio"]:checked + span {
    padding-left: 0;
    padding-right: 35px;
}

[type="radio"] + span:before, [type="radio"] + span:after {
    right: 0;
    left: unset;
}

.input-field.col label {
    right: 0.75rem;
    left: unset;
}

.select-wrapper .caret {
    right: unset;
    left: 0;
}

/*------------------------------------------------------------------------------
   table
------------------------------------------------------------------------------*/
@media only screen and (max-width: 992px) {
	table.responsive-table {
		border: 1px solid rgba(0, 0, 0, 0.12);
	}
	table.responsive-table tbody tr {
		padding: 0 0 0 0;
		min-width: 100%;
	}	
	table.responsive-table thead {
		display: block;
		float: right;
	}
	table.responsive-table thead tr {
		padding: 0 0 0 0;
	}
	table.responsive-table th {
		display: flex;
		align-items: center;	  
		text-align: right;
		height:36px;
		padding-right: 5px;
	}
	table.responsive-table td {
		display: flex;
		align-items: center;	  
		text-align: right;
		height:36px;
		padding-right: 5px;
	}
	table.responsive-table thead {
		border: 0;
		border-right: none;
		border-left: 1px solid rgba(0, 0, 0, 0.12);
	}
	table.responsive-table.striped > tbody > tr:nth-child(odd) {
		background-color: inherit;
		/*background-color: rgba(242, 242, 242, 0.5);*/
	}
	table.responsive-table.striped > tbody > tr > td:nth-child(odd) {
		background-color: rgba(242, 242, 242, 0.5);
	} 
	table.responsive-table.striped > thead > tr > th:nth-child(odd) {
		background-color: rgba(242, 242, 242, 0.5);
	}	
}